Opened 11 years ago

Closed 11 years ago

#2716 closed defect (fixed)

OpenModelicaText getting commented when adding Bitmaps in Icon/Diagram View

Reported by: sanjay9591@… Owned by: Adeel Asghar
Priority: high Milestone: 1.9.1
Component: OMEdit Version: trunk
Keywords: Cc:

Description (last modified by Martin Sjölund)

I've noticed that the OM Script gets commented when I add a bitmap in either the Icon/Diagram View.

I'm using OpenModelica 1.9.1+dev (r18667) (RML version)

Code for reference

model Test
  annotation(Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2}), graphics = {Bitmap(origin = {0.12,-0.47}, extent = {{-99.77,99.65000000000001},{99.77,-99.65000000000001}}, fileName = "modelica://Test/C:/Users/MSK/Desktop/Capture.PNG")}));
end Test;

Attachments (1)

Capture.PNG (44.0 KB ) - added by sanjay9591@… 11 years ago.
Snapshot of the OMEdit script

Download all attachments as: .zip

Change History (3)

by sanjay9591@…, 11 years ago

Attachment: Capture.PNG added

Snapshot of the OMEdit script

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

Component: UnknownOMEdit
Description: modified (diff)
Owner: changed from MSK to Adeel Asghar
Status: newassigned
Summary: Stack Overflow Questions Tags Users Badges Unanswered Ask Question OpenModelicaText getting commented when adding Bitmaps in Icon/Diagram ViewOpenModelicaText getting commented when adding Bitmaps in Icon/Diagram View

comment:2 by Adeel Asghar, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r20995.

Note: See TracTickets for help on using tickets.