﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2586	Icon does not show in OMEdit	massimo ceraolo	somebody	"I've created a model icon in another tool (dymola 2014). This does not show in OMEdit (r18954). 
I've already discussed this in the forum and Adeel showed that the issue is related to an undefined heat port.

However this case should be handled by OM. Here is  the icon-only model: 

{{{
model justIcon 
equation 
  annotation(Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-100,-100},{100,100}}), graphics), Icon(coordinateSystem(preserveAspectRatio = false, extent = {{-100,-100},{100,100}}), graphics={  Text(extent = {{-154,-47},{146,-87}}, textString = ""%name"", lineColor = {0,0,255}),Polygon(points = {{26,0},{-34,40},{-34,-40},{26,0}}, lineColor = {0,0,0}, fillColor = {255,255,255}, 
            fillPattern =  FillPattern.Solid),Line(points = {{-94,0},{96,0}}, color = {0,0,255}),Line(points = {{26,40},{26,-40}}, color = {0,0,255}),Line(points = {{26,20},{54,50},{54,76}}, color = {0,0,255}),Line(points = {{36,50},{56,30}}, color = {0,0,255}),Line(visible = useHeatPort, points = {{-4,-100},{-4,-20}}, color = {127,0,0}, smooth = Smooth.None, pattern = LinePattern.Dot),Rectangle(extent = {{-66,84},{68,62}}, lineColor = {0,0,255}, fillColor = {255,255,255}, 
            fillPattern =  FillPattern.Solid),Line(points = {{0,84},{0,106}}, color = {0,0,255}, smooth = Smooth.None)}), 
    uses(Modelica(version=""3.2""))); 
end justIcon; 

}}}
"	defect	closed	normal	1.9.2	Frontend	trunk	duplicate		
