]> gerrit.simantics Code Review - simantics/3d.git/commit
Simplified free ended variable length component update 04/3104/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 14 Aug 2019 15:19:00 +0000 (18:19 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 14 Aug 2019 15:19:00 +0000 (18:19 +0300)
commit0ad74f024bc769b126a2e46d0015fe0deb30b34c
treea33e1129a45925ad545e3105deb8fcfeb1036db5
parentc17574943c09c562588136dbbc8585d6615b3a49
Simplified free ended variable length component update

* Previous code was combined with route pipe action, which did not take
account spaced reserved by previous turn component.
* The update code caused undo/redo synchronization issues, since it
altered intended position of the control point

gitlab #24
gitlab #26

Change-Id: I89c7bbc608e7900f0b18b33ce1e390c5469cf0bd
org.simantics.plant3d/src/org/simantics/plant3d/actions/AddComponentAction.java
org.simantics.plant3d/src/org/simantics/plant3d/actions/RoutePipeAction.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipingRules.java