We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b0cd1 commit dabd6a7Copy full SHA for dabd6a7
Assets/Scripts/Pinpoint/TrajectoryPlannerManager.cs
@@ -166,7 +166,11 @@ public async void Startup()
166
167
// Load Atlas
168
// Settings.AtlasName returns CCF if PlayerPrefs is cleared, otherwise returns the previous atlas setting
169
- await BrainAtlasManager.LoadAtlas(Settings.AtlasName);
+ string atlasName = Settings.AtlasName;
170
+ if (!BrainAtlasManager.AtlasNames.Contains(atlasName))
171
+ atlasName = "allen_mouse_25um";
172
+
173
+ await BrainAtlasManager.LoadAtlas(atlasName);
174
ReferenceAtlas referenceAtlas = BrainAtlasManager.ActiveReferenceAtlas;
175
176
// Set the reference coordinate before anything else happen
0 commit comments