]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
Adding specified equipment with nozzles did not work 58/3558/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 18 Nov 2019 13:21:40 +0000 (15:21 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 18 Nov 2019 13:25:19 +0000 (13:25 +0000)
Constructor nozzle parameter was not stored...

gitlab #27

Change-Id: I4f353edaf1c6a33a6c2c6ce8b377c8b11d55b483
(cherry picked from commit ec0ebd74b66427ce92c64eda89d58a0117137eb6)

org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction2.java

index f232937fe7fc5df1d0d1edcdabbf79c4486a8d22..69ce7739ebc6ccd06261cd1c831ada66234d83f0 100644 (file)
@@ -26,6 +26,7 @@ public class AddEquipmentAction2 extends Action {
        public AddEquipmentAction2(P3DRootNode root, Item item, Item nozzleItem) {
                this.root = root;
                this.item = item;
+               this.nozzleItem = nozzleItem;
                setText("Add " + item.getName());
        }