瀏覽代碼

Merge pull request #1395 from nockawa/master

Canvas2D: remove debug log...
Loïc Baumann 8 年之前
父節點
當前提交
1f7766841e
共有 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();
         }