Fix for Python binding in FEM result objects
This commit is contained in:
parent
15089556cd
commit
5a4b4da59f
|
@ -64,7 +64,7 @@ namespace App {
|
|||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(Fem::FemResultValuePython, Fem::FemResultValue)
|
||||
template<> const char* Fem::FemResultValuePython::getViewProviderName(void) const {
|
||||
return "FemGui::ViewProviderFemResultValuePython";
|
||||
return "FemGui::ViewProviderResultPython";
|
||||
}
|
||||
/// @endcond
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ namespace App {
|
|||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(Fem::FemResultVectorPython, Fem::FemResultVector)
|
||||
template<> const char* Fem::FemResultVectorPython::getViewProviderName(void) const {
|
||||
return "FemGui::ViewProviderFemResultVectorPython";
|
||||
return "FemGui::ViewProviderResultPython";
|
||||
}
|
||||
/// @endcond
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ void FemGuiExport initFemGui()
|
|||
FemGui::ViewProviderFemConstraintGear ::init();
|
||||
FemGui::ViewProviderFemConstraintPulley ::init();
|
||||
FemGui::ViewProviderResult ::init();
|
||||
FemGui::ViewProviderResultPython ::init();
|
||||
|
||||
Base::Interpreter().loadModule("MechanicalAnalysis");
|
||||
Base::Interpreter().loadModule("MechanicalMaterial");
|
||||
|
|
Loading…
Reference in New Issue
Block a user