- change fix for Light not triggering save button
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8416 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
51aa80a71a
commit
0e605579f8
@ -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…
x
Reference in New Issue
Block a user