@@ -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) {
@@ -635,4 +635,4 @@
}, progressCallBack, database);
};
-})();
+})();
@@ -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))