| 
															
																@@ -5,11 +5,12 @@ namespace COM3D2.MeidoPhotoStudio.Plugin 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     using Input = InputManager; 
															 | 
															
															 | 
															
																     using Input = InputManager; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     internal class DragPointFinger : DragPointMeido 
															 | 
															
															 | 
															
																     internal class DragPointFinger : DragPointMeido 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     { 
															 | 
															
															 | 
															
																     { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        private static readonly Color dragpointColour = new Color(0.1f, 0.4f, 0.95f, defaultAlpha); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         private readonly TBody.IKCMO IK = new TBody.IKCMO(); 
															 | 
															
															 | 
															
																         private readonly TBody.IKCMO IK = new TBody.IKCMO(); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         private readonly Quaternion[] jointRotation = new Quaternion[2]; 
															 | 
															
															 | 
															
																         private readonly Quaternion[] jointRotation = new Quaternion[2]; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        private IKCtrlData ikCtrlData; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         private Transform[] ikChain; 
															 | 
															
															 | 
															
																         private Transform[] ikChain; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         private bool baseFinger; 
															 | 
															
															 | 
															
																         private bool baseFinger; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        private static readonly Color dragpointColour = new Color(0.1f, 0.4f, 0.95f, defaultAlpha); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         public override void Set(Transform myObject) 
															 | 
															
															 | 
															
																         public override void Set(Transform myObject) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         { 
															 | 
															
															 | 
															
																         { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -21,6 +22,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 myObject.parent, 
															 | 
															
															 | 
															
																                 myObject.parent, 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 myObject 
															 | 
															
															 | 
															
																                 myObject 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             }; 
															 | 
															
															 | 
															
																             }; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            ikCtrlData = IkCtrlData; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         } 
															 | 
															
															 | 
															
																         } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																         private void SetRotation(int joint) 
															 | 
															
															 | 
															
																         private void SetRotation(int joint) 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -61,7 +63,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																             if (CurrentDragType == DragType.MoveXZ) 
															 | 
															
															 | 
															
																             if (CurrentDragType == DragType.MoveXZ) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             { 
															 | 
															
															 | 
															
																             { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-                Porc(IK, ikChain[jointUpper], ikChain[jointUpper], ikChain[jointMiddle]); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+                Porc(IK, ikCtrlData, ikChain[jointUpper], ikChain[jointUpper], ikChain[jointMiddle]); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 if (!baseFinger) 
															 | 
															
															 | 
															
																                 if (!baseFinger) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 { 
															 | 
															
															 | 
															
																                 { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                     SetRotation(jointUpper); 
															 | 
															
															 | 
															
																                     SetRotation(jointUpper); 
															 |