CAM: apply precommit
This commit is contained in:
@@ -49,9 +49,10 @@ void ViewProviderPathCompound::unsetEdit(int ModNum)
|
||||
Gui::Control().closeDialog();
|
||||
}
|
||||
|
||||
std::vector<App::DocumentObject*> ViewProviderPathCompound::claimChildren()const
|
||||
std::vector<App::DocumentObject*> ViewProviderPathCompound::claimChildren() const
|
||||
{
|
||||
return std::vector<App::DocumentObject*>(static_cast<Path::FeatureCompound *>(getObject())->Group.getValues());
|
||||
return std::vector<App::DocumentObject*>(
|
||||
static_cast<Path::FeatureCompound*>(getObject())->Group.getValues());
|
||||
}
|
||||
|
||||
bool ViewProviderPathCompound::canDragObjects() const
|
||||
@@ -61,7 +62,7 @@ bool ViewProviderPathCompound::canDragObjects() const
|
||||
|
||||
void ViewProviderPathCompound::dragObject(App::DocumentObject* obj)
|
||||
{
|
||||
static_cast<Path::FeatureCompound *>(getObject())->removeObject(obj);
|
||||
static_cast<Path::FeatureCompound*>(getObject())->removeObject(obj);
|
||||
}
|
||||
|
||||
bool ViewProviderPathCompound::canDropObjects() const
|
||||
@@ -71,7 +72,7 @@ bool ViewProviderPathCompound::canDropObjects() const
|
||||
|
||||
void ViewProviderPathCompound::dropObject(App::DocumentObject* obj)
|
||||
{
|
||||
static_cast<Path::FeatureCompound *>(getObject())->addObject(obj);
|
||||
static_cast<Path::FeatureCompound*>(getObject())->addObject(obj);
|
||||
}
|
||||
|
||||
QIcon ViewProviderPathCompound::getIcon() const
|
||||
@@ -81,11 +82,12 @@ QIcon ViewProviderPathCompound::getIcon() const
|
||||
|
||||
// Python object -----------------------------------------------------------------------
|
||||
|
||||
namespace Gui {
|
||||
namespace Gui
|
||||
{
|
||||
/// @cond DOXERR
|
||||
PROPERTY_SOURCE_TEMPLATE(PathGui::ViewProviderPathCompoundPython, PathGui::ViewProviderPathCompound)
|
||||
/// @endcond
|
||||
|
||||
// explicit template instantiation
|
||||
template class PathGuiExport ViewProviderFeaturePythonT<PathGui::ViewProviderPathCompound>;
|
||||
}
|
||||
} // namespace Gui
|
||||
|
||||
Reference in New Issue
Block a user