diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 4c2687215e..cac1031eaf 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -1744,7 +1744,7 @@ void PlacementEditor::showValue(const QVariant& d) const Base::Placement& p = d.value(); double angle; Base::Vector3d dir, pos; - p.getRotation().getValue(dir, angle); + p.getRotation().getRawValue(dir, angle); angle = Base::toDegrees(angle); pos = p.getPosition(); QString data = QString::fromUtf8("[(%1 %2 %3);%4 \xc2\xb0;(%5 %6 %7)]") @@ -1806,7 +1806,7 @@ Base::Quantity PropertyPlacementItem::getAngle() const const Base::Placement& val = value.value(); double angle; Base::Vector3d dir; - val.getRotation().getValue(dir, angle); + val.getRotation().getRawValue(dir, angle); if (dir * this->rot_axis < 0.0) angle = -angle; return Base::Quantity(Base::toDegrees(angle), Base::Unit::Angle); @@ -1883,7 +1883,7 @@ void PropertyPlacementItem::assignProperty(const App::Property* prop) const Base::Placement& value = static_cast(prop)->getValue(); double angle; Base::Vector3d dir; - value.getRotation().getValue(dir, angle); + value.getRotation().getRawValue(dir, angle); Base::Vector3d cross = this->rot_axis.Cross(dir); double len2 = cross.Sqr(); if (angle != 0) { @@ -1905,7 +1905,7 @@ QVariant PropertyPlacementItem::value(const App::Property* prop) const const Base::Placement& value = static_cast(prop)->getValue(); double angle; Base::Vector3d dir; - value.getRotation().getValue(dir, angle); + value.getRotation().getRawValue(dir, angle); if (!init_axis) { if (m_a->hasExpression()) { QString str = m_a->expressionAsString(); @@ -1943,7 +1943,7 @@ QVariant PropertyPlacementItem::toolTip(const App::Property* prop) const const Base::Placement& p = static_cast(prop)->getValue(); double angle; Base::Vector3d dir, pos; - p.getRotation().getValue(dir, angle); + p.getRotation().getRawValue(dir, angle); angle = Base::toDegrees(angle); pos = p.getPosition(); QString data = QString::fromUtf8("Axis: (%1 %2 %3)\n" @@ -1964,7 +1964,7 @@ QVariant PropertyPlacementItem::toString(const QVariant& prop) const const Base::Placement& p = prop.value(); double angle; Base::Vector3d dir, pos; - p.getRotation().getValue(dir, angle); + p.getRotation().getRawValue(dir, angle); angle = Base::toDegrees(angle); pos = p.getPosition(); QString data = QString::fromUtf8("[(%1 %2 %3); %4; (%5 %6 %7)]")