]> gerrit.simantics Code Review - simantics/3d.git/commit
Fix direction calculations in addComponent() 93/3993/1
authorReino Ruusu <reino.ruusu@semantum.fi>
Fri, 13 Mar 2020 09:48:45 +0000 (11:48 +0200)
committerReino Ruusu <reino.ruusu@semantum.fi>
Fri, 13 Mar 2020 09:48:45 +0000 (11:48 +0200)
commitbf8d749e159470552b86484450b8b227b7985559
tree25e1bd1f71245cab247b8627848e41c4a9029ca6
parent00d89b11003337725acf8ac8a429942d6584d647
Fix direction calculations in addComponent()

Change direction returned by getDirection(PREVIOUS) so that it matches
the expectations of calling routines and is consistent with other
direction vector getters.

gitlab #110

Change-Id: I003d7c720f7643aedb5d545648bda1148cb96315
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java
org.simantics.plant3d/src/org/simantics/plant3d/utils/ComponentUtils.java