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); }
void on_open_sm3_activate(object o, EventArgs e) { string filepath = GetFilePath("Open SM3", "*.sm3"); if (filepath != "") { Sm3Persistence.GetInstance().LoadSm3(filepath); } }
void on_save_sm3_as1_activate(object o, EventArgs e) { string filepath = GetFilePath("Save SM3 as", "*.sm3"); if (filepath != "") { Sm3Persistence.GetInstance().SaveSm3(filepath); } }
void on_new_sm3_activate(object o, EventArgs e) { Sm3Persistence.GetInstance().NewSm3(); }