/// <summary> /// internal. /// </summary> internal static void Pop() { MeshCreatorItem M = S.Pop() as MeshCreatorItem; //MeshContainer M = S.Pop() as MeshContainer; //MeshCreator.MeshListCurrent = M; M.Reset(); }
/// <summary> /// internal. /// </summary> internal static void Push() { MeshCreatorItem MC = new MeshCreatorItem(MeshCreator.MeshVertices, MeshCreator.MeshNormals, MeshCreator.MeshTextureCoords, MeshIndices, MeshCreator.MeshListCurrent, MeshCreator.PenWidth, MeshCreator.SnapItem, MeshCreator.MeshMode, Selector.StoredSnapItems); S.Push(MC); Clear(); //S.Push(MeshCreator.MeshListCurrent); //MeshCreator.MeshListCurrent = new MeshContainer(); }