- change fix for Light not triggering save button

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8416 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 51aa80a71a
commit 0e605579f8
  1. 8
      sdk/jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java

@ -75,11 +75,9 @@ public class JmeLight extends AbstractSceneExplorerNode {
protected void fireSave(boolean modified) {
Node parent = getParentNode();
if (parent != null) {
dataObject = parent.getLookup().lookup(DataObject.class);
}
if (dataObject != null) {
dataObject.setModified(true);
if (parent instanceof AbstractSceneExplorerNode) {
AbstractSceneExplorerNode par=(AbstractSceneExplorerNode)parent;
par.fireSave(modified);
}
}

Loading…
Cancel
Save