public void Clear() { _clipboard_ModMesh = null; _clipboard_Keyframe = null; _clipboard_VertRig = null; _clipboard_ModBone = null; _snapShotList.Clear(); //_curSnapShot = null; //_iCurSnapShot = -1; //_restoredSnapShot = false; _clipboard_AnimClipOfKeyframes = null; _clipboard_Keyframes = null; _copied_keyframes_StartFrame = -1; _copied_keyframes_EndFrame = -1; //추가 19.8.9 : Rigging의 Pos-Copy 기능용 코드 //이건 별도로 처리한다. if (_clipboard_MultipleVertRig == null) { _clipboard_MultipleVertRig = new apSnapShot_MultipleVertRig(); } _clipboard_MultipleVertRig.Clear(); }
public void Copy_MultipleVertRig(apMeshGroup keyMeshGroup, List <apSelection.ModRenderVert> modRenderVerts) { if (_clipboard_MultipleVertRig == null) { _clipboard_MultipleVertRig = new apSnapShot_MultipleVertRig(); } List <apModifiedVertexRig> vertRigs = new List <apModifiedVertexRig>(); apSelection.ModRenderVert curModRenderVert = null; for (int i = 0; i < modRenderVerts.Count; i++) { curModRenderVert = modRenderVerts[i]; if (curModRenderVert != null && curModRenderVert._modVertRig != null) { vertRigs.Add(curModRenderVert._modVertRig); } } _clipboard_MultipleVertRig.Copy(keyMeshGroup, vertRigs); }