Skip to content

Commit

Permalink
Partial fix for issue #1902
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koefferlein committed Oct 19, 2024
1 parent 9cf3c52 commit f213e96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ant/ant/antService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1750,10 +1750,11 @@ Service::transform (const db::DCplxTrans &trans)
if (robj) {

// compute transformed object and replace
int id = robj->id ();
ant::Object *rnew = new ant::Object (*robj);
rnew->transform (trans);
mp_view->annotation_shapes ().replace (s->first, db::DUserObject (rnew));
annotation_changed_event (rnew->id ());
annotation_changed_event (id);

}

Expand Down

0 comments on commit f213e96

Please sign in to comment.