Changeset b375c82c in OpenModelica


Ignore:
Timestamp:
2023-03-29T20:52:53+02:00 (13 months ago)
Author:
anotheruserofgithub <96748782+anotheruserofgithub@…>
Parents:
740a8c7
git-author:
anotheruserofgithub <96748782+anotheruserofgithub@…> (03/29/23 18:08:48)
git-committer:
anotheruserofgithub <96748782+anotheruserofgithub@…> (03/29/23 20:52:53)
Message:

Fix dumping visualizers with identical cref parts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/BackEnd/VisualXML.mo

    r2368bd5b rb375c82c  
    420420    local
    421421      DAE.ComponentRef crefCut1, crefIn1;
    422 
     422/* Issue #5953
    423423    case(DAE.CREF_QUAL(componentRef=crefIn1),DAE.CREF_QUAL())
    424424      algorithm
     
    427427      then
    428428        splitCrefAfter(crefIn1,crefCut);
    429 
     429*/
    430430    case(DAE.CREF_QUAL(componentRef=crefIn1),DAE.CREF_QUAL(componentRef=crefCut1))
    431431      algorithm
     
    472472      algorithm
    473473        //this var belongs to the visualization object
    474         //crefIdent := makeCrefQualFromString(ident); // make a qualified cref out of the shape ident
    475         (cref1,true) := splitCrefAfter(cref,ident); // check if this occures in the qualified var cref
     474        //crefIdent := makeCrefQualFromString(ident); // make a qualified cref out of the visualizer ident
     475        (cref1,true) := splitCrefAfter(cref,ident); // check if this occurs in the qualified var cref
    476476        filled_vis := fillShapeObject(cref1,varIn,storeProtectedCrefs,program,vis);
    477477      then
     
    481481      algorithm
    482482        //this var belongs to the visualization object
    483         //crefIdent := makeCrefQualFromString(ident); // make a qualified cref out of the shape ident
    484         (cref1,true) := splitCrefAfter(cref,ident); // check if this occures in the qualified var cref
     483        //crefIdent := makeCrefQualFromString(ident); // make a qualified cref out of the visualizer ident
     484        (cref1,true) := splitCrefAfter(cref,ident); // check if this occurs in the qualified var cref
    485485        filled_vis := fillVectorObject(cref1,varIn,storeProtectedCrefs,program,vis);
    486486      then
     
    490490      algorithm
    491491        //this var belongs to the visualization object
    492         //crefIdent := makeCrefQualFromString(ident); // make a qualified cref out of the shape ident
    493         (cref1,true) := splitCrefAfter(cref,ident); // check if this occures in the qualified var cref
     492        //crefIdent := makeCrefQualFromString(ident); // make a qualified cref out of the visualizer ident
     493        (cref1,true) := splitCrefAfter(cref,ident); // check if this occurs in the qualified var cref
    494494        filled_vis := fillSurfaceObject(cref1,varIn,storeProtectedCrefs,program,vis);
    495495      then
Note: See TracChangeset for help on using the changeset viewer.