Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#5907 closed defect (fixed)

Wrong repainting of diagrams of extended models in Omedit

Reported by: Andrea.Bartolini Owned by: adeas31
Priority: blocker Milestone: 1.16.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc: casella

Description

Please consider the following model:

model test
  extends Modelica.Blocks.Examples.LogicalNetwork1;

  annotation(Diagram(coordinateSystem(extent = {{-200, -100}, {200, 100}}, grid = {0.5, 0.5})));  

end test;

If you switch to diagram view you will see that the wires on the diagram are broken/reshuffled (see attached picture).

This misbehavior seem to be generated by the annotation, that changes the diagram extension and grid.

The problem has shown after the software update made yesterday.

OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.16.0~dev-263-g761b5de
sysop Ubuntu 18.04

Attachments (1)

Screenshot from 2020-04-06 14-19-14.png (8.0 KB) - added by Andrea.Bartolini 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by Andrea.Bartolini

comment:1 Changed 4 years ago by adeas31

  • Status changed from new to accepted

comment:2 Changed 4 years ago by adeas31

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:3 Changed 4 years ago by casella

Wow, 2 1/2 hours for a fix. Fastest ever :)

Note: See TracTickets for help on using tickets.