Преглед изворни кода

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe пре 8 година
родитељ
комит
9d7f60ebbb
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      canvas2D/src/Engine/babylon.group2d.ts

+ 2 - 0
canvas2D/src/Engine/babylon.group2d.ts

@@ -558,6 +558,8 @@
                     }
                 }
 
+                this._renderableData._primDirtyList.length = 0;
+                
                 // Restore saved states
                 engine.setAlphaTesting(curAlphaTest);
                 engine.setDepthWrite(curDepthWrite);