Skip to content

Commit c1f012e

Browse files
committed
chore: fix a typo in PAM that caused allowed atlases to get lost
1 parent 8a6cf90 commit c1f012e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Assets/Scripts/Pinpoint/PinpointAtlasManager.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public void Startup()
6060
break;
6161
}
6262

63+
PopulateAtlasDropdown();
6364
PopulateTransformDropdown();
6465
}
6566

@@ -75,10 +76,10 @@ public void PopulateAtlasDropdown()
7576
if (_allowedOnWebGLMapping[atlasNames[i]])
7677
_allowedNames.Add(atlasNames[i]);
7778
#else
78-
var allowedNames = atlasNames;
79+
var _allowedNames = atlasNames;
7980
#endif
8081

81-
_atlasDropdown.options = _allowedNames.ConvertAll(ConvertAtlas2Userfriendly);
82+
_atlasDropdown.options = _allowedNames.ConvertAll(x => ConvertAtlas2Userfriendly(x));
8283
}
8384

8485
public void ResetAtlasDropdownIndex()

0 commit comments

Comments
 (0)