Gui: Zero out rotation only if more than 1 axis changed
This commit is contained in:
@@ -308,6 +308,11 @@ Base::Placement ViewProviderDragger::getDraggerPlacement() const
|
||||
);
|
||||
}
|
||||
|
||||
Base::Placement ViewProviderDragger::getOriginalDraggerPlacement() const
|
||||
{
|
||||
return draggerPlacement;
|
||||
}
|
||||
|
||||
void ViewProviderDragger::setDraggerPlacement(const Base::Placement& placement)
|
||||
{
|
||||
csysDragger->translation.setValue(Base::convertTo<SbVec3f>(placement.getPosition()));
|
||||
|
||||
Reference in New Issue
Block a user