mirror of https://github.com/KLayout/klayout.git
Partial fix for issue #1902
This commit is contained in:
parent
9cf3c528a3
commit
f213e96d4a
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue