浏览代码

Canvas2D: Disable debug infos + new preview build

nockawa 8 年之前
父节点
当前提交
53ea279a41

+ 9 - 0
dist/preview release/canvas2D/babylon.canvas2d.d.ts

@@ -845,8 +845,17 @@ declare module BABYLON {
         removeActor(actor: Prim2DBase): void;
         actorDirty(actor: ActorInfo): void;
         update(): void;
+        /**
+         * Renders the World AABB of all Actors
+         */
         debugRenderAABB: any;
+        /**
+         * Renders the area of the Clusters
+         */
         debugRenderClusters: any;
+        /**
+         * Display stats about the PCM on screen
+         */
         debugStats: any;
         readonly intersectedActors: ObservableStringDictionary<{
             a: Prim2DBase;

+ 3 - 3
dist/preview release/canvas2D/babylon.canvas2d.js

@@ -2509,9 +2509,9 @@ var BABYLON;
                 _this._clusterDirty = true;
                 console.log("canvas size changed");
             }, flagId);
-            _this.debugRenderAABB = true;
-            _this.debugRenderClusters = true;
-            _this.debugStats = true;
+            _this.debugRenderAABB = false;
+            _this.debugRenderClusters = false;
+            _this.debugStats = false;
             return _this;
         }
         BasicPrimitiviceCollisionManager.prototype.addActor = function (actor, deep) {

文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/canvas2D/babylon.canvas2d.min.js