MeshFlattening: add function to unwrap mesh

This commit is contained in:
looooo
2017-10-03 22:52:49 +02:00
committed by wmayer
parent eb783b9054
commit 22fbe35ceb
5 changed files with 44 additions and 25 deletions

View File

@@ -112,6 +112,13 @@ PyMOD_INIT_FUNC(MeshGui)
// instantiating the commands
CreateMeshCommands();
(void)new MeshGui::CleanupHandler;
// try to instantiate flat-mesh commands
try{
Base::Interpreter().runString("import MeshFlatteningCommand");
} catch (Base::PyException &err){
err.ReportException();
}
// register preferences pages
(void)new Gui::PrefPageProducer<MeshGui::DlgSettingsMeshView> ("Display");