Skip to content

Commit

Permalink
[Sketcher] Assist user in finding the sketch with the error
Browse files Browse the repository at this point in the history
  • Loading branch information
Syres916 authored and chennes committed Nov 15, 2024
1 parent a2ca158 commit 08b9411
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Mod/Sketcher/App/SketchObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 08b9411

Please sign in to comment.