Partial fix for issue #1902

This commit is contained in:
Matthias Koefferlein 2024-10-19 17:12:53 +02:00
parent 9cf3c528a3
commit f213e96d4a
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}