@@ -76,7 +76,7 @@ class PluginState extends PluginComponent {
...
@@ -76,7 +76,7 @@ class PluginState extends PluginComponent {
awaitthis.animation.stop();
awaitthis.animation.stop();
// this needs to go 1st since these changes are already baked into the behavior and data state
// this needs to go 1st since these changes are already baked into the behavior and data state
if (snapshot.structureComponentManager?.options)awaitthis.plugin.managers.structure.component.setOptions(snapshot.structureComponentManager?.options);
if (snapshot.structureComponentManager?.options)this.plugin.managers.structure.component._setSnapshotState(snapshot.structureComponentManager?.options);
if (snapshot.behaviour)awaitthis.plugin.runTask(this.behaviors.setSnapshot(snapshot.behaviour));
if (snapshot.behaviour)awaitthis.plugin.runTask(this.behaviors.setSnapshot(snapshot.behaviour));
if (snapshot.data)awaitthis.plugin.runTask(this.data.setSnapshot(snapshot.data));
if (snapshot.data)awaitthis.plugin.runTask(this.data.setSnapshot(snapshot.data));