Browse Source

Change Reset Method in NotBlocking Textures

sevan 8 years ago
parent
commit
4b3ed9819d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Materials/Textures/babylon.texture.ts

+ 1 - 1
src/Materials/Textures/babylon.texture.ts

@@ -110,7 +110,7 @@
                 }
 
                 if (!this.isBlocking) {
-                    scene.markAllMaterialsAsDirty(Material.TextureDirtyFlag);
+                    scene.resetCachedMaterial();
                 }
             }