Skip to content

Commit 31db4ac

Browse files
author
Alex Menzies
committed
Fixed scale issue when changing the scale of the root tileset behavior object at runtime
1 parent 328f472 commit 31db4ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/Unity3DTiles/Unity3DTile.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ public void RequestContent(float priority)
283283
go.transform.parent = this.tileset.Behaviour.transform;
284284
go.transform.localPosition = Vector3.zero;
285285
go.transform.localRotation = Quaternion.identity;
286+
go.transform.localScale = Vector3.one;
286287
go.layer = this.tileset.Behaviour.gameObject.layer;
287288
go.SetActive(false);
288289
this.Content = new Unity3DTileContent(go);

0 commit comments

Comments
 (0)