forked from Hubs-Foundation/Spoke
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove Google Poly integration"
This reverts commit 4b1c762.
- Loading branch information
Showing
5 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import ModelMediaSource from "../ModelMediaSource"; | ||
import { TransformPivot } from "../../../editor/controls/SpokeControls"; | ||
|
||
export default class PolySource extends ModelMediaSource { | ||
constructor(api) { | ||
super(api); | ||
this.id = "poly"; | ||
this.name = "Google Poly"; | ||
this.tags = [ | ||
{ label: "Featured", value: "" }, | ||
{ label: "Animals", value: "animals" }, | ||
{ label: "Architecture", value: "architecture" }, | ||
{ label: "Art", value: "art" }, | ||
{ label: "Food", value: "food" }, | ||
{ label: "Nature", value: "nature" }, | ||
{ label: "Objects", value: "objects" }, | ||
{ label: "People", value: "people" }, | ||
{ label: "Scenes", value: "scenes" }, | ||
{ label: "Transport", value: "transport" } | ||
]; | ||
|
||
this.searchLegalCopy = "Search by Google"; | ||
this.privacyPolicyUrl = "https://policies.google.com/privacy"; | ||
this.transformPivot = TransformPivot.Bottom; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters