diff --git a/Assets/Story Generator/Scripts/GraphExpander.cs b/Assets/Story Generator/Scripts/GraphExpander.cs index c1139701..bf254277 100644 --- a/Assets/Story Generator/Scripts/GraphExpander.cs +++ b/Assets/Story Generator/Scripts/GraphExpander.cs @@ -341,6 +341,7 @@ private void DoExpandScene(Transform transform, EnvironmentGraph graph, Environm newGo.transform.position = newGo.transform.position - loc + objc; object_inst = true; obj.transform = newGo.transform; + ObjectAnnotator.AnnotateObj(newGo.transform); ColorEncoding.EncodeGameObject(newGo); } @@ -358,7 +359,7 @@ private void DoExpandScene(Transform transform, EnvironmentGraph graph, Environm } object_inst = true; - + ObjectAnnotator.AnnotateObj(newGo.transform); ColorEncoding.EncodeGameObject(newGo); }