static void AdvancedClick(Window callingWindow)
        {
            mTypesToLoad = new TypesToLoad();
            mLastAsclw   = new AdvancedShapeCollectionLoadingWindow(
                GuiManager.Cursor, CreateMbmb(mFileNameToLoad), mTypesToLoad);

            GuiManager.AddWindow(mLastAsclw);
        }
Exemple #2
0
        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;
        }
Exemple #4
0
        static void InsertClicked(Window callingWindow)
        {
            if (mLastAsclw == null)
            {
                mOffset = new Vector3();
            }
            else
            {
                mOffset = mLastAsclw.Offset;
            }

            LoadShapeCollection(mFileNameToLoad, ReplaceOrInsert.Insert);

            mLastAsclw = null;
        }