terrain editor node listener changes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8275 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
bre..ns 2011-09-23 06:02:25 +00:00
parent 0bcf848922
commit 5ee9306454

View File

@ -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) {