static void AdvancedClick(Window callingWindow) { mTypesToLoad = new TypesToLoad(); mLastAsclw = new AdvancedShapeCollectionLoadingWindow( GuiManager.Cursor, CreateMbmb(mFileNameToLoad), mTypesToLoad); GuiManager.AddWindow(mLastAsclw); }
static void InsertClicked(Window callingWindow) { if (mLastAsclw == null) { mOffset = new Vector3(); } else { mOffset = mLastAsclw.Offset; } LoadShapeCollection(mFileNameToLoad, ReplaceOrInsert.Insert); mLastAsclw = null; }