Skip to content

Commit

Permalink
Poly to Icosa
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Aug 30, 2024
1 parent e80dc4c commit fd86858
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import MediaFrameNode from "./editor/nodes/MediaFrameNode";
import MediaFrameNodeEditor from "./ui/properties/MediaFrameNodeEditor";

import SketchfabSource from "./ui/assets/sources/SketchfabSource";
import PolySource from "./ui/assets/sources/PolySource";
import IcosaSource from "./ui/assets/sources/IcosaSource";
import BingImagesSource from "./ui/assets/sources/BingImagesSource";
import BingVideosSource from "./ui/assets/sources/BingVideosSource";
import TenorSource from "./ui/assets/sources/TenorSource";
Expand Down Expand Up @@ -108,7 +108,7 @@ export function createEditor(api, settings) {
editor.registerSource(new ArchitectureKitSource(api));
editor.registerSource(new RockKitSource(api));
editor.registerSource(new SketchfabSource(api));
editor.registerSource(new PolySource(api));
editor.registerSource(new IcosaSource(api));
editor.registerSource(new BingImagesSource(api));
editor.registerSource(new BingVideosSource(api));
editor.registerSource(new HubsSoundPackSource(editor));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import ModelMediaSource from "../ModelMediaSource";
import { TransformPivot } from "../../../editor/controls/SpokeControls";

export default class PolySource extends ModelMediaSource {
export default class IcosaSource extends ModelMediaSource {
constructor(api) {
super(api);
this.id = "poly";
this.name = "Google Poly";
this.id = "icosa";
this.name = "Icosa Gallery";
this.tags = [
{ label: "Featured", value: "" },
{ label: "Animals", value: "animals" },
Expand All @@ -19,8 +19,8 @@ export default class PolySource extends ModelMediaSource {
{ label: "Transport", value: "transport" }
];

this.searchLegalCopy = "Search by Google";
this.privacyPolicyUrl = "https://policies.google.com/privacy";
this.searchLegalCopy = "Search by Icosa";
this.privacyPolicyUrl = "https://icosa.gallery/privacy";
this.transformPivot = TransformPivot.Bottom;
}
}
}

0 comments on commit fd86858

Please sign in to comment.