SDK:
- fix issue in SDK scene property sync git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10693 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
3f607632d4
commit
d5569d0861
@ -124,7 +124,7 @@ public class SceneExplorerProperty<T> extends PropertySupport.Reflection<T> {
|
||||
di.setEditor(valueType, this);
|
||||
}
|
||||
//TODO: instantiates editor?
|
||||
editable = getPropertyEditor() != null;
|
||||
editable = this.canWrite();
|
||||
logger.log(Level.FINE, "Created SceneExplorerProperty for {0},\n cloneable = {1},\n instantiatable = {2},\n primitive = {3},\n editable = {4}", new Object[]{valueType, cloneable, instantiable, primitive, editable});
|
||||
addPropertyChangeListener(listener);
|
||||
}
|
||||
@ -134,9 +134,6 @@ public class SceneExplorerProperty<T> extends PropertySupport.Reflection<T> {
|
||||
* thread.
|
||||
*/
|
||||
public void syncValue() {
|
||||
if (!editable) {
|
||||
return;
|
||||
}
|
||||
final T realValue = getSuperValue();
|
||||
mutex.readAccess(new Runnable() {
|
||||
public void run() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user