From: Marko Luukkainen Date: Mon, 18 Nov 2019 13:21:40 +0000 (+0200) Subject: Adding specified equipment with nozzles did not work X-Git-Tag: v1.43.0~117 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=84f0830facd7781f3fe39a777b7ceb3ab2982bd7;p=simantics%2F3d.git Adding specified equipment with nozzles did not work Constructor nozzle parameter was not stored... gitlab #27 Change-Id: I4f353edaf1c6a33a6c2c6ce8b377c8b11d55b483 (cherry picked from commit ec0ebd74b66427ce92c64eda89d58a0117137eb6) --- diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction2.java b/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction2.java index f232937f..69ce7739 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction2.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/actions/AddEquipmentAction2.java @@ -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()); }