public void TestEntityEditor() { WizardsEditor editor = new WizardsEditor(); EntityWizardsEditorExtension extension = new EntityWizardsEditorExtension(editor); editor.RunEditor(); }
public void TestCreateObjectAndSaveWorkingCopy() { WizardsEditor wizardsEditor = new WizardsEditor(); EntityWizardsEditorExtension extension = new EntityWizardsEditorExtension(wizardsEditor); EditorObject obj = new EditorObject(); obj.FullData = new ObjectFullData(); extension.EditorObjects.Add(obj); ObjectEditor objectEditor = new ObjectEditor(obj, wizardsEditor); objectEditor.AddColladaModel(ColladaModel.LoadWall001()); wizardsEditor.SaveToWorkingCopy(); }