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:
parent
0bcf848922
commit
5ee9306454
@ -1070,14 +1070,14 @@ public class TerrainEditorController implements NodeListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void childrenAdded(NodeMemberEvent ev) {
|
public void childrenAdded(NodeMemberEvent ev) {
|
||||||
topComponent.reinitTextureTable();
|
//topComponent.reinitTextureTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void childrenRemoved(NodeMemberEvent ev) {
|
public void childrenRemoved(NodeMemberEvent ev) {
|
||||||
terrainNode = null;
|
//terrainNode = null;
|
||||||
Node t = getTerrain(rootNode);
|
//Node t = getTerrain(rootNode);
|
||||||
if (t == null)
|
//if (t == null)
|
||||||
topComponent.reinitTextureTable();
|
// topComponent.reinitTextureTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void childrenReordered(NodeReorderEvent ev) {
|
public void childrenReordered(NodeReorderEvent ev) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user