• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Revisión14c932f3add5eb74205c15798f58a3bf9f5e6111 (tree)
Tiempo2013-06-30 05:24:19
Autornormen667 <normen667@75d0...>
Commiternormen667

Log Message

SDK:
- fix issue in SDK scene property sync

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10693 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Cambiar Resumen

Diferencia incremental

--- a/sdk/jme3-core/src/com/jme3/gde/core/properties/SceneExplorerProperty.java
+++ b/sdk/jme3-core/src/com/jme3/gde/core/properties/SceneExplorerProperty.java
@@ -124,7 +124,7 @@ public class SceneExplorerProperty<T> extends PropertySupport.Reflection<T> {
124124 di.setEditor(valueType, this);
125125 }
126126 //TODO: instantiates editor?
127- editable = getPropertyEditor() != null;
127+ editable = this.canWrite();
128128 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});
129129 addPropertyChangeListener(listener);
130130 }
@@ -134,9 +134,6 @@ public class SceneExplorerProperty<T> extends PropertySupport.Reflection<T> {
134134 * thread.
135135 */
136136 public void syncValue() {
137- if (!editable) {
138- return;
139- }
140137 final T realValue = getSuperValue();
141138 mutex.readAccess(new Runnable() {
142139 public void run() {