소스 검색

Merge pull request #1751 from nockawa/shapeFillBug

Canvas2D: Shape2D fill and border change bug
Loïc Baumann 8 년 전
부모
커밋
ed36b3869b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      canvas2D/src/Engine/babylon.smartPropertyPrim.ts

+ 1 - 0
canvas2D/src/Engine/babylon.smartPropertyPrim.ts

@@ -1170,6 +1170,7 @@
             // Set the dirty flags
             if (!instanceDirty && (propInfo.kind === Prim2DPropInfo.PROPKIND_MODEL)) {
                 if (!this.isDirty) {
+                    this.onPrimBecomesDirty();
                     this._setFlags(SmartPropertyPrim.flagModelDirty);
                 }
             } else if (instanceDirty || (propInfo.kind === Prim2DPropInfo.PROPKIND_INSTANCE) || (propInfo.kind === Prim2DPropInfo.PROPKIND_DYNAMIC)) {