David Catuhe 12 năm trước cách đây
mục cha
commit
8ee76ff521

+ 6 - 2
Babylon/Rendering/babylon.renderingManager.js

@@ -31,8 +31,12 @@
                 this._scene.getEngine().clear(0, false, true);
             }
 
-            if (renderingGroup && !renderingGroup.render(customRenderFunction, index == 0 ? beforeTransparents  : null)) {
-                this._renderingGroups.splice(index, 1);
+            if (renderingGroup) {
+                if (!renderingGroup.render(customRenderFunction, index == 0 ? beforeTransparents : null)) {
+                    this._renderingGroups.splice(index, 1);
+                }
+            } else if (beforeTransparents && index == 0) {
+                beforeTransparents();
             }
 
             if (renderParticles) {

+ 1 - 1
Babylon/Tools/babylon.sceneLoader.js

@@ -635,4 +635,4 @@
             }, progressCallBack, database);
         }
     };
-})();
+})();

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
babylon.1.5.0.js


+ 6 - 0
what's new.md

@@ -1,5 +1,11 @@
 Changes list
 ============
+- 1.5.1:
+ - **Updates**
+ - Massive update of typescript files ([jroblak](http://www.github.com/jroblak))
+ - **Bugfixes**
+ - Fixing an issue with ```SceneLoader.ImportMesh``` ([nicolas-obre](http://www.github.com/nicolas-obre))
+ - Fixing an issue with sprites rendering when no mesh is present ([deltakosh](http://www.github.com/deltakosh))
 - 1.5.0:
  - **Major updates**
  - New ```DeviceOrientationCamera``` that supports W3C DeviceOrientations events ([deltakosh](http://www.github.com/deltakosh))