From c944cab220a247635821fd04e920328780c4554a Mon Sep 17 00:00:00 2001 From: Andy Baker Date: Tue, 10 Dec 2024 18:13:36 +0000 Subject: [PATCH] fix a mistaken formatting fix --- Assets/Scripts/Model.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Assets/Scripts/Model.cs b/Assets/Scripts/Model.cs index c3cc07d0c..f6537790e 100644 --- a/Assets/Scripts/Model.cs +++ b/Assets/Scripts/Model.cs @@ -32,7 +32,6 @@ namespace TiltBrush public class Model { - public struct Location { public enum Type @@ -250,13 +249,13 @@ public IExportableMaterial GetExportableMaterial(Material material) return m_ImportMaterialCollector.GetExportableMaterial(material); } - public Model(Location location) { m_Location = location; } - - public Location GetLocation() + public Model(Location location) { - return m_Location; + m_Location = location; } + public Location GetLocation() { return m_Location; } + /// A helper class which allows import to run I/O on a background thread before producing Unity /// GameObject(s). Usage: /// BeginAsyncLoad()