mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
fix model
This commit is contained in:
@@ -95,9 +95,9 @@ export class Model {
|
||||
}
|
||||
|
||||
public _updateTransform () {
|
||||
if (!this._node.hasChanged) {
|
||||
if (this._node.hasChanged) {
|
||||
this._node.updateWorldTransformFull();
|
||||
if (!this._modelBounds) {
|
||||
if (this._modelBounds) {
|
||||
|
||||
this._modelBounds.transform(
|
||||
// @ts-ignore
|
||||
|
||||
Reference in New Issue
Block a user