Skip to content

Commit

Permalink
Rename config item GenerateNewGlb to UseNewGlb
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Feb 5, 2025
1 parent f00fdb0 commit 6258f66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/Sharing/VrAssetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ private async Task CreateZipFileAsync(
.Append(tempTiltPath)
.Append(tempThumbnailPath);

if (App.UserConfig?.Sharing.GenerateNewGlb ?? false)
if (App.UserConfig?.Sharing.UseNewGlb ?? false)
{
string newGlbPath = Path.Combine(tempUploadDir, $"{uploadName}.glb");
Export.ExportNewGlb(tempUploadDir, uploadName, true);
Expand Down
2 changes: 1 addition & 1 deletion Assets/Scripts/UserConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ public struct SharingConfig
{
public string IcosaApiRoot;
public string IcosaHomePage;
public bool GenerateNewGlb;
public bool UseNewGlb;
}
public SharingConfig Sharing;

Expand Down

0 comments on commit 6258f66

Please sign in to comment.