Merge pull request #84 from YunHsiao/gfx

fix model
This commit is contained in:
Weiliang Wang
2019-01-21 17:08:07 +08:00
committed by GitHub
+2 -2
View File
@@ -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