]> gerrit.simantics Code Review - simantics/3d.git/commit
Clear removed objects from mapping cache 96/3096/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 13 Aug 2019 13:52:55 +0000 (16:52 +0300)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Tue, 13 Aug 2019 13:52:55 +0000 (16:52 +0300)
commit9fcc0bba531cd91842769f293b155c99cc5c5937
tree6336af07e3adbb7ba1d7dcefc39e928dc2fcfd03
parentaae56c70a404cb2198761325eaea81140947b6df
Clear removed objects from mapping cache

* Using undo/redo caused mapping cache to return already removed
objects, which caused bookkeeping issues.
* PipeControlPoints structure is now more resilient to random order of
graph side changes.

gitlab #24

Change-Id: Ia3e00f116bb86be3ef4472a646058842d1c28c27
org.simantics.g3d.vtk/src/org/simantics/g3d/vtk/common/AbstractVTKNodeMap.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/PipelineComponent.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java
org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipingRules.java