OpenModelicaText getting commented when adding Bitmaps in Icon/Diagram View

StackOverflow https://stackoverflow.com//questions/24030689

  •  21-12-2019
  •  | 
  •  

سؤال

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;

enter image description here

This may be a bug. Hence I've reported it

هل كانت مفيدة؟

المحلول

OpenModelica bug reports should be reported at: https://trac.openmodelica.org/OpenModelica/newticket

And yes, it is a bug so it does not really belong on stackoverflow.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top