Changeset 9dbd194a in OpenModelica


Ignore:
Timestamp:
2020-11-11T13:41:59+01:00 (4 years ago)
Author:
Adeel Asghar <adeel.asghar@…>
Parents:
78a2103d
git-author:
Adeel Asghar <adeel.asghar@…> (11/11/20 13:38:27)
git-committer:
Adeel Asghar <adeel.asghar@…> (11/11/20 13:41:59)
Message:

Set the transformation instead of setting position and rotation

Fixes ticket:6157

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMEdit/OMEditLIB/Annotations/ShapeAnnotation.cpp

    re1105bf r9dbd194a  
    12671267      prepareGeometryChange();
    12681268      updateShape(pShapeAnnotation);
    1269       setPos(mOrigin);
    1270       setRotation(mRotation);
     1269      applyTransformation();
    12711270      if (dynamic_cast<TextAnnotation*>(this)) {
    12721271        TextAnnotation *pTextAnnotation = dynamic_cast<TextAnnotation*>(this);
Note: See TracChangeset for help on using the changeset viewer.