From 0566ba0a9e66ef9de2b37eec09ca8641fe375d97 Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 2 Jan 2023 12:48:40 +0100 Subject: [PATCH] Core: fixes #8119: Make axis values in Property view persistent --- src/App/PropertyGeo.cpp | 4 ++-- src/Mod/Test/Document.py | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/App/PropertyGeo.cpp b/src/App/PropertyGeo.cpp index 3b8b0849d4..7fb82d88c8 100644 --- a/src/App/PropertyGeo.cpp +++ b/src/App/PropertyGeo.cpp @@ -803,7 +803,7 @@ void PropertyPlacement::Save (Base::Writer &writer) const << "\" Q3=\"" << _cPos.getRotation()[3] << "\""; Vector3d axis; double rfAngle; - _cPos.getRotation().getValue(axis, rfAngle); + _cPos.getRotation().getRawValue(axis, rfAngle); writer.Stream() << " A=\"" << rfAngle << "\" Ox=\"" << axis.x << "\" Oy=\"" << axis.y @@ -1190,7 +1190,7 @@ void PropertyRotation::Save (Base::Writer &writer) const { Vector3d axis; double rfAngle; - _rot.getValue(axis, rfAngle); + _rot.getRawValue(axis, rfAngle); writer.Stream() << writer.ind() << "