Преглед на файлове

Canvas2D: remove debug log...

nockawa преди 9 години
родител
ревизия
f6d01a0055
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      src/Canvas2d/babylon.canvas2d.ts

+ 0 - 4
src/Canvas2d/babylon.canvas2d.ts

@@ -552,10 +552,6 @@
             this._previousOverPrimitive = this._actualOverPrimitive;
             this._actualOverPrimitive = ii.topMostIntersectedPrimitive;
 
-            if (this._previousOverPrimitive && this._actualOverPrimitive && this._previousOverPrimitive.prim !== this._actualOverPrimitive.prim) {
-                console.log("changed");
-            }
-
             this._intersectionRenderId = this.scene.getRenderId();
         }