Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 2c7afbd

Browse files
vwaurichOpenModelica-Hudson
authored andcommitted
fix signalArrows in visualization
1 parent e68f0a0 commit 2c7afbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Compiler/BackEnd/VisualXML.mo

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ author:Waurich TUD 2015-04"
607607
algorithm
608608
(visPath,numOut) := matchcontinue(pathsIn,numIn)
609609
local
610-
String name;
610+
String name, shapeIdent;
611611
Integer num;
612612
Boolean b;
613613
Absyn.Path path;
@@ -620,6 +620,8 @@ algorithm
620620
then (name,num);
621621
case(Absyn.QUALIFIED(name="Modelica",path=Absyn.QUALIFIED(name="Mechanics",path=Absyn.QUALIFIED(name="MultiBody",path=Absyn.QUALIFIED(name="Visualizers",path=Absyn.QUALIFIED(name="Advanced",path=Absyn.IDENT(name=name))))))::_,_)
622622
algorithm
623+
shapeIdent := stringAppendList(List.firstN(stringListStringChar(name),6));
624+
true := stringEqual(shapeIdent,"Shape$");
623625
then (name,numIn);
624626
case(_::rest,_)
625627
algorithm

0 commit comments

Comments
 (0)