Minor test tweaks, and small fixes to pass tests

This commit is contained in:
bgbsww
2024-05-17 10:46:15 -04:00
committed by Chris Hennes
parent 40befa8708
commit e50ef22e7b
5 changed files with 13 additions and 4 deletions

View File

@@ -1450,9 +1450,13 @@ void Feature::onChanged(const App::Property* prop)
if (!this->Shape.getValue().IsNull()) {
try {
p.fromMatrix(this->Shape.getShape().getTransform());
#ifdef FC_USE_TNP_FIX
this->Placement.setValueIfChanged(p);
#else
if (p != this->Placement.getValue()) {
this->Placement.setValue(p);
}
#endif
}
catch (const Base::ValueError&) {
}