From 84f0830facd7781f3fe39a777b7ceb3ab2982bd7 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Mon, 18 Nov 2019 15:21:40 +0200 Subject: [PATCH] Adding specified equipment with nozzles did not work Constructor nozzle parameter was not stored... gitlab #27 Change-Id: I4f353edaf1c6a33a6c2c6ce8b377c8b11d55b483 (cherry picked from commit ec0ebd74b66427ce92c64eda89d58a0117137eb6) --- .../src/org/simantics/plant3d/actions/AddEquipmentAction2.java | 1 + 1 file changed, 1 insertion(+) 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()); } -- 2.47.1