Skip to content

Commit

Permalink
Change SketchFab uploads to upload as OpenBrush
Browse files Browse the repository at this point in the history
  • Loading branch information
PerlinWarp committed Mar 30, 2021
1 parent 28b3faf commit 1d3fc5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Scripts/Sharing/SketchfabService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public async Task<CreateResponse> CreateModel(

var moreParams = new List<(string, string)> {
("name", name),
("source", "tilt-brush"),
("source", "open-brush"),
("private", "true"), // TODO: remove when this feature is not secret
// https://docs.sketchfab.com/data-api/v3/index.html#!/models/post_v3_models
// "Enables 2D view in model inspector. All downloadable models must have isInspectable
Expand All @@ -294,7 +294,7 @@ public async Task<CreateResponse> CreateModel(
("license", "by-sa"),
// This is how you specify multiple tags:
// ("tags", "[\"tiltbrush\", \"some-other-tag\"]"),
("tags", "tiltbrush"),
("tags", "[\"openbrush\", \"tiltbrush\"]"),
("isPublished", "false"),
// ("description", "Dummy description"),
};
Expand Down

0 comments on commit 1d3fc5a

Please sign in to comment.