소스 검색

Canvas2D: Shape2D fill and border change bug

[Trello](https://trello.com/c/QqIn8U67)
nockawa 8 년 전
부모
커밋
b2fe6af006
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)) {