예제 #1
0
 void on_save_sm3_activate(object o, EventArgs e)
 {
     if (MetaverseClient.GetInstance().worldstorage.terrainmodel.Sm3Filename == "")
     {
         on_save_sm3_as1_activate(o, e);
         return;
     }
     Sm3Persistence.GetInstance().SaveSm3(MetaverseClient.GetInstance().worldstorage.terrainmodel.Sm3Filename);
 }
예제 #2
0
        void on_open_sm3_activate(object o, EventArgs e)
        {
            string filepath = GetFilePath("Open SM3", "*.sm3");

            if (filepath != "")
            {
                Sm3Persistence.GetInstance().LoadSm3(filepath);
            }
        }
예제 #3
0
        void on_save_sm3_as1_activate(object o, EventArgs e)
        {
            string filepath = GetFilePath("Save SM3 as", "*.sm3");

            if (filepath != "")
            {
                Sm3Persistence.GetInstance().SaveSm3(filepath);
            }
        }
예제 #4
0
 void on_new_sm3_activate(object o, EventArgs e)
 {
     Sm3Persistence.GetInstance().NewSm3();
 }