Explorar o código

Fix hardware line skinning

Popov72 %!s(int64=5) %!d(string=hai) anos
pai
achega
f414e5f1a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Meshes/linesMesh.ts

+ 1 - 1
src/Meshes/linesMesh.ts

@@ -134,7 +134,7 @@ export class LinesMesh extends Mesh {
         scene.clipPlane5 ? this._addClipPlaneDefine("CLIPPLANE5") : this._removeClipPlaneDefine("CLIPPLANE5");
         scene.clipPlane6 ? this._addClipPlaneDefine("CLIPPLANE6") : this._removeClipPlaneDefine("CLIPPLANE6");
 
-        if (!this._colorShader.isReady()) {
+        if (!this._colorShader.isReady(this)) {
             return false;
         }