Explorar o código

* Nifty Gui dynamic resolution changing is now supported

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7632 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
sha..rd %!s(int64=14) %!d(string=hai) anos
pai
achega
11a8c132fc

+ 1 - 0
engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java

@@ -148,6 +148,7 @@ public class NiftyJmeDisplay implements SceneProcessor {
         this.w = w;
         this.w = w;
         this.h = h;
         this.h = h;
         inputSys.setHeight(h);
         inputSys.setHeight(h);
+        nifty.resolutionChanged();
     }
     }
 
 
     public boolean isInitialized() {
     public boolean isInitialized() {