فهرست منبع

BatchNode now updates its geometric state right after batching.
This is to avoid to wait for the next update for the generated mesh to be consistent with underlying geometries.

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

rem..om 12 سال پیش
والد
کامیت
e3236e20b4
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      engine/src/core/com/jme3/scene/BatchNode.java

+ 1 - 0
engine/src/core/com/jme3/scene/BatchNode.java

@@ -181,6 +181,7 @@ public class BatchNode extends Node implements Savable {
             batch.geometry.setIgnoreTransform(true);
             batch.geometry.setUserData(UserData.JME_PHYSICSIGNORE, true);
         }
+        updateGeometricState();
     }
 
     protected void doBatch() {