- 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) {
|
protected void fireSave(boolean modified) {
|
||||||
Node parent = getParentNode();
|
Node parent = getParentNode();
|
||||||
if (parent != null) {
|
if (parent instanceof AbstractSceneExplorerNode) {
|
||||||
dataObject = parent.getLookup().lookup(DataObject.class);
|
AbstractSceneExplorerNode par=(AbstractSceneExplorerNode)parent;
|
||||||
}
|
par.fireSave(modified);
|
||||||
if (dataObject != null) {
|
|
||||||
dataObject.setModified(true);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user