[Sketcher] Assist user in finding the sketch with the error

This commit is contained in:
Syres916
2024-07-04 12:57:15 +01:00
committed by Chris Hennes
parent a2ca158e94
commit 08b9411e15

View File

@@ -10071,8 +10071,9 @@ void SketchObject::onChanged(const App::Property* prop)
}
else {
Base::Console().Error(
"SketchObject::onChanged(): Unmanaged change of Geometry Property "
"results in invalid constraint indices\n");
this->getFullLabel() + " SketchObject::onChanged ",
QT_TRANSLATE_NOOP("Notifications", "Unmanaged change of Geometry Property "
"results in invalid constraint indices") "\n");
}
Base::StateLocker lock(internaltransaction, true);
setUpSketch();
@@ -10101,8 +10102,9 @@ void SketchObject::onChanged(const App::Property* prop)
}
else {
Base::Console().Error(
"SketchObject::onChanged(): Unmanaged change of Constraint "
"Property results in invalid constraint indices\n");
this->getFullLabel() + " SketchObject::onChanged ",
QT_TRANSLATE_NOOP("Notifications", "Unmanaged change of Constraint "
"Property results in invalid constraint indices") "\n");
}
Base::StateLocker lock(internaltransaction, true);
setUpSketch();