FEM: extend the C++ fem mesh object to be able make python mesh object childs

This commit is contained in:
Bernd Hahnebach
2016-11-22 19:47:50 +01:00
parent e4803de36f
commit 735d70bca0
7 changed files with 47 additions and 2 deletions

View File

@@ -2464,3 +2464,15 @@ void ViewProviderFEMMeshBuilder::createMesh(const App::Property* prop,
}
// Python feature -----------------------------------------------------------------------
namespace Gui {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(FemGui::ViewProviderFemMeshPython, FemGui::ViewProviderFemMesh)
/// @endcond
// explicit template instantiation
template class FemGuiExport ViewProviderPythonFeatureT<ViewProviderFemMesh>;
}