PartDesign: expose SubShapeBinderPython

This commit is contained in:
Zheng, Lei
2020-01-11 09:38:21 +08:00
committed by Chris Hennes
parent 8bb8bf8644
commit 73d0de60ae
6 changed files with 25 additions and 0 deletions

View File

@@ -907,3 +907,13 @@ void SubShapeBinder::handleChangedPropertyType(
}
}
////////////////////////////////////////////////////////////////////////////////////////
namespace App {
PROPERTY_SOURCE_TEMPLATE(PartDesign::SubShapeBinderPython, PartDesign::SubShapeBinder)
template<> const char* PartDesign::SubShapeBinderPython::getViewProviderName(void) const {
return "PartDesignGui::ViewProviderSubShapeBinderPython";
}
template class PartDesignExport FeaturePythonT<PartDesign::SubShapeBinder>;
}