]> gerrit.simantics Code Review - simantics/3d.git/commit
Fix directed path leg update failing to update inline lengths 79/3679/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 5 Dec 2019 12:31:00 +0000 (14:31 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Thu, 5 Dec 2019 12:31:00 +0000 (14:31 +0200)
commit61ce1ae33f46cf6d73a8d0ec151dcf1cd27db49f
tree46c8b52408ac0620fb50ed5c4ac292356c5a0494
parentcf6b9ba427c210e1074d51bbc5712486f80930ec
Fix directed path leg update failing to update inline lengths

Changed PipeControlPoint.getPathLegDirection to return normalized
vectors, or null.

Also, now Plant3D editor reports PipingRule errors happening during
model load.

gitlab #35

Change-Id: I159db0a8f04ed69df0b98fd859a4bf0fd58427de
org.simantics.plant3d/src/org/simantics/plant3d/editor/Plant3DEditor.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipingRules.java