+ need dummy class for FeaturePython class to work
This commit is contained in:
@@ -69,6 +69,8 @@ void FemAnalysis::onChanged(const Property* prop)
|
||||
}
|
||||
|
||||
|
||||
// Dummy class 'DocumentObject' in Fem namespace
|
||||
PROPERTY_SOURCE_ABSTRACT(Fem::DocumentObject, App::DocumentObject)
|
||||
|
||||
// Python feature ---------------------------------------------------------
|
||||
|
||||
@@ -95,7 +97,7 @@ template class AppFemExport FeaturePythonT<Fem::FemAnalysis>;
|
||||
|
||||
namespace App {
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(Fem::FeaturePython, App::DocumentObject)
|
||||
PROPERTY_SOURCE_TEMPLATE(Fem::FeaturePython, Fem::DocumentObject)
|
||||
template<> const char* Fem::FeaturePython::getViewProviderName(void) const {
|
||||
return "Gui::ViewProviderPythonFeature";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user