Opened 13 years ago

Closed 10 years ago

#1716 closed defect (fixed)

OMEdit does not automatically add points to line-connection-annotations when objects are moved

Reported by: perob88 Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: trunk
Keywords: Cc: perob88

Description

It seems like OMEdit does not add necessary points to a connection annotation  when objects are moved.

I have converted a library  from Dymola 7.4 to openModelica and in dymola all connections look nice. For some reason things does not look as smooth in OMEdit though. The problem is that objects that where lined up exactly so that the connections only consists of 2 points in dymola does not look good when moved. 

For example, if the objects are lined up horizontally and are moved vertically the end of the line does not follow the moved objevt. The line changes it's length to match the horizontal position but no vertical part is added so the connected line just seems to sit there.

What it should do in my opinion is add a third point and make it two lines, one vertical and one horizontal.

I'm also having another issue with models that are moved around when opening a model from dymola in OMEdit. This could be related since it's hard to do the right thing if the connection annotation does not match the actual position. 

Change History (2)

comment:1 by Martin Sjölund, 12 years ago

Cc: perob88, → perob88
Owner: changed from perob88 to Adeel Asghar
Status: newassigned

comment:2 by Adeel Asghar, 10 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r23357.

Note: See TracTickets for help on using tickets.