Gui: Hide Placement Indicator with object
This commit is contained in:
committed by
Benjamin Nauck
parent
2a4c7bc0b5
commit
5dc2ba40ea
@@ -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