terrain editor node listener changes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8275 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
bre..ns 13 years ago
parent 0bcf848922
commit 5ee9306454
  1. 10
      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) {

Loading…
Cancel
Save