Gui: Hide Placement Indicator with object
This commit is contained in:
committed by
Benjamin Nauck
parent
fba2e31f6c
commit
3e2f88b74c
@@ -108,8 +108,8 @@ void ViewProviderDragger::onChanged(const App::Property* property)
|
||||
if (property == &TransformOrigin) {
|
||||
updateDraggerPosition();
|
||||
}
|
||||
else if (property == &ShowPlacement) {
|
||||
pcPlacement->whichChild = ShowPlacement.getValue() ? SO_SWITCH_ALL : SO_SWITCH_NONE;
|
||||
else if (property == &ShowPlacement || property == &Visibility) {
|
||||
pcPlacement->whichChild = (ShowPlacement.getValue() && Visibility.getValue()) ? SO_SWITCH_ALL : SO_SWITCH_NONE;
|
||||
}
|
||||
|
||||
ViewProviderDocumentObject::onChanged(property);
|
||||
|
||||
Reference in New Issue
Block a user