PartDesign: add ViewProviderPython

+ bind PartDesign::Feature to PartDesign::ViewProvider, and adjust
viewprovider of PartDesign::FeaturePython accordingly.
This commit is contained in:
DeepSOIC
2017-03-04 19:16:39 -03:00
committed by Yorik van Havre
parent 722ffe5ecb
commit 0160478242
5 changed files with 19 additions and 2 deletions
+11
View File
@@ -251,3 +251,14 @@ void ViewProvider::makeTemporaryVisible(bool onoff)
else
Gui::ViewProvider::hide();
}
namespace Gui {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(PartDesignGui::ViewProviderPython, PartDesignGui::ViewProvider);
/// @endcond
// explicit template instantiation
template class PartDesignGuiExport ViewProviderPythonFeatureT<PartDesignGui::ViewProvider>;
}