ソースを参照

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)) {