transform.position更改不需要修改dirty

This commit is contained in:
YHH
2022-03-06 18:40:42 +08:00
parent 1a41533d15
commit 3f7ef284fc
3 changed files with 3 additions and 3 deletions

View File

@@ -2053,7 +2053,7 @@ var es;
else { else {
this.localPosition = position; this.localPosition = position;
} }
this.setDirty(DirtyType.positionDirty); this._positionDirty = false;
return this; return this;
}; };
/** /**

File diff suppressed because one or more lines are too long

View File

@@ -296,7 +296,7 @@ module es {
} else { } else {
this.localPosition = position; this.localPosition = position;
} }
this.setDirty(DirtyType.positionDirty); this._positionDirty = false;
return this; return this;
} }