From: Marko Luukkainen Date: Mon, 18 Nov 2019 13:21:40 +0000 (+0200) Subject: Adding specified equipment with nozzles did not work X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F56%2F3556%2F1;p=simantics%2F3d.git Adding specified equipment with nozzles did not work Constructor nozzle parameter was not stored... gitlab #27 Change-Id: I4f353edaf1c6a33a6c2c6ce8b377c8b11d55b483 --- 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()); }