Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5907 closed defect (fixed)

Wrong repainting of diagrams of extended models in Omedit

Reported by: Andrea Bartolini Owned by: Adeel Asghar
Priority: blocker Milestone: 1.16.0
Component: OMEdit Version: v1.16.0-dev
Keywords: Cc: Francesco 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 5 years ago.

Download all attachments as: .zip

Change History (4)

by Andrea Bartolini, 5 years ago

comment:1 by Adeel Asghar, 5 years ago

Status: newaccepted

comment:2 by Adeel Asghar, 5 years ago

Resolution: fixed
Status: acceptedclosed

comment:3 by Francesco Casella, 5 years ago

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

Note: See TracTickets for help on using tickets.