From 0a9a76e46d7ecac7c0654a211d93ed45c2b3e654 Mon Sep 17 00:00:00 2001 From: javasabr Date: Mon, 4 Sep 2017 18:04:46 +0300 Subject: [PATCH] missed one collection --- .../src/main/java/com/jme3/material/ShaderGenerationInfo.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/material/ShaderGenerationInfo.java b/jme3-core/src/main/java/com/jme3/material/ShaderGenerationInfo.java index 8efc56679..dda02c67c 100644 --- a/jme3-core/src/main/java/com/jme3/material/ShaderGenerationInfo.java +++ b/jme3-core/src/main/java/com/jme3/material/ShaderGenerationInfo.java @@ -196,7 +196,7 @@ public class ShaderGenerationInfo implements Savable, Cloneable { clone.fragmentUniforms = new ArrayList<>(); clone.fragmentGlobals = new ArrayList<>(); clone.unusedNodes = new ArrayList<>(); - + clone.varyings = new ArrayList<>(); for (ShaderNodeVariable attribute : attributes) { clone.attributes.add(attribute.clone()); @@ -208,7 +208,6 @@ public class ShaderGenerationInfo implements Savable, Cloneable { clone.vertexGlobal = vertexGlobal.clone(); - for (ShaderNodeVariable varying : varyings) { clone.varyings.add(varying.clone()); }