Julien Barrois 7 年之前
父节点
当前提交
343986245f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/Mesh/babylon.geometry.ts

+ 2 - 1
src/Mesh/babylon.geometry.ts

@@ -62,8 +62,9 @@
          */
         public set boundingBias(value: Vector2) {
             if (this._boundingBias) {
-                if (this._boundingBias.equals(value))
+                if (this._boundingBias.equals(value)) {
                     return;
+                }
                 this._boundingBias.copyFrom(value);
             }
             else {