when resetting expression on angle convert value back to radian
This commit is contained in:
@@ -704,7 +704,7 @@ const boost::any PropertyPlacement::getPathValue(const ObjectIdentifier &path) c
|
||||
|
||||
if (p == ".Rotation.Angle") {
|
||||
// Convert angle to degrees
|
||||
return Base::Quantity(Base::toDegrees(boost::any_cast<double>(Property::getPathValue(path))), Unit::Angle);
|
||||
return Base::Quantity(Base::toDegrees(boost::any_cast<double>(Property::getPathValue(path))), Unit::Angle);
|
||||
}
|
||||
else if (p == ".Base.x" || p == ".Base.y" || p == ".Base.z") {
|
||||
// Convert double to quantity
|
||||
|
||||
Reference in New Issue
Block a user