PartDesign: add ViewProviderPython
+ bind PartDesign::Feature to PartDesign::ViewProvider, and adjust viewprovider of PartDesign::FeaturePython accordingly.
This commit is contained in:
committed by
Yorik van Havre
parent
eae0d6594c
commit
5e5b3f8b61
@@ -182,7 +182,7 @@ namespace App {
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(PartDesign::FeaturePython, PartDesign::Feature)
|
||||
template<> const char* PartDesign::FeaturePython::getViewProviderName(void) const {
|
||||
return "PartGui::ViewProviderPython";
|
||||
return "PartDesignGui::ViewProviderPython";
|
||||
}
|
||||
template<> PyObject* PartDesign::FeaturePython::getPyObject(void) {
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
|
||||
Reference in New Issue
Block a user