]> gerrit.simantics Code Review - simantics/platform.git/commit
Fix graph.tg hardcoded in CompilePGraphs code 02/3602/2
authorMiro Richard Eklund <miro.eklund@semantum.fi>
Fri, 22 Nov 2019 11:03:07 +0000 (13:03 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 29 Nov 2019 19:46:35 +0000 (19:46 +0000)
commit922dcf7ab2d716a6d17e6224bc1a12b1196233aa
tree47cd5d4b62785f35b7e0a6f2b4923617991310e3
parent55a5cc624db15470d464a4a6fc9aa5e1db774b94
Fix graph.tg hardcoded in CompilePGraphs code

Ontology cannot be compiled if it depends on a tg that has another name
than graph.tg. Fixed this by searching for all .tg files instead of
those called graph.tg.

gitlab #422

Change-Id: I52fb91f31b0ae052097fdedd36efa56e314adec5
bundles/org.simantics.graph/src/org/simantics/graph/representation/TransferableGraphUtils.java
bundles/org.simantics.modeling/src/org/simantics/modeling/CompilePGraphs.java