From 5ee9306454cb8b51bc136465c6a1c0cf4a5bfd22 Mon Sep 17 00:00:00 2001 From: "bre..ns" Date: Fri, 23 Sep 2011 06:02:25 +0000 Subject: [PATCH] terrain editor node listener changes git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8275 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../gde/terraineditor/TerrainEditorController.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java b/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java index 9a3782183..3a4e9aead 100644 --- a/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java +++ b/sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/TerrainEditorController.java @@ -1070,14 +1070,14 @@ public class TerrainEditorController implements NodeListener { } public void childrenAdded(NodeMemberEvent ev) { - topComponent.reinitTextureTable(); + //topComponent.reinitTextureTable(); } public void childrenRemoved(NodeMemberEvent ev) { - terrainNode = null; - Node t = getTerrain(rootNode); - if (t == null) - topComponent.reinitTextureTable(); + //terrainNode = null; + //Node t = getTerrain(rootNode); + //if (t == null) + // topComponent.reinitTextureTable(); } public void childrenReordered(NodeReorderEvent ev) {