tweak scenes.

This commit is contained in:
hecomi
2016-11-19 21:55:25 +09:00
parent 72376b9e91
commit 88e8342d7a
3 changed files with 1 additions and 1 deletions
@@ -106,7 +106,7 @@ public class MultipleMonitorCreator : MonoBehaviour
go.name = "Monitor " + i;
// Expand AABB
var mesh = go.GetComponent<MeshFilter>().sharedMesh;
var mesh = go.GetComponent<MeshFilter>().mesh; // clone
var aabbScale = mesh.bounds.size;
aabbScale.y = Mathf.Max(aabbScale.y, aabbScale.x);
aabbScale.z = Mathf.Max(aabbScale.z, aabbScale.x);