Преглед на файлове

Fixed issue when BatchNode's light list flag was not cleared

Nehon преди 10 години
родител
ревизия
1616b08c5b
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      jme3-core/src/main/java/com/jme3/scene/BatchNode.java

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

@@ -131,6 +131,7 @@ public class BatchNode extends GeometryGroupNode implements Savable {
             updateWorldTransforms();
         }
 
+        refreshFlags &= ~RF_CHILD_LIGHTLIST;
         if (!children.isEmpty()) {
             // the important part- make sure child geometric state is refreshed
             // first before updating own world bound. This saves