소스 검색

Update C2D preview build

nockawa 8 년 전
부모
커밋
723ed1d529
2개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 2
      dist/preview release/canvas2D/babylon.canvas2d.js
  2. 3 3
      dist/preview release/canvas2D/babylon.canvas2d.min.js

+ 4 - 2
dist/preview release/canvas2D/babylon.canvas2d.js

@@ -8780,8 +8780,10 @@ var BABYLON;
                 return false;
             }
             if (this._isFlagSet(BABYLON.SmartPropertyPrim.flagUsePositioning)) {
-                console.log("You can't set the position/x/y of " + this.id + " properties while positioning engine is used (margin, margin alignment and/or padding are set");
-                return false;
+                if (this instanceof BABYLON.Group2D && this.trackedNode == null) {
+                    console.log("You can't set the position/x/y of " + this.id + " properties while positioning engine is used (margin, margin alignment and/or padding are set");
+                    return false;
+                }
             }
             return true;
         };

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3 - 3
dist/preview release/canvas2D/babylon.canvas2d.min.js