implemented feedback
This commit is contained in:
parent
7c6b73efdb
commit
e5a196a42b
9 changed files with 31 additions and 35 deletions
|
@ -7,7 +7,7 @@ import { TextField } from "../Components/TextField";
|
|||
import { EnableCameraSceneName } from "./EnableCameraScene";
|
||||
import { localUserStore } from "../../Connexion/LocalUserStore";
|
||||
import { CompanionResourceDescriptionInterface } from "../Companion/CompanionTextures";
|
||||
import { getAllResources, lazyLoadAllResources } from "../Companion/CompanionTexturesLoadingManager";
|
||||
import { getAllCompanionResources } from "../Companion/CompanionTexturesLoadingManager";
|
||||
|
||||
export const SelectCompanionSceneName = "SelectCompanionScene";
|
||||
|
||||
|
@ -38,11 +38,9 @@ export class SelectCompanionScene extends ResizableScene {
|
|||
}
|
||||
|
||||
preload() {
|
||||
lazyLoadAllResources(this.load).then(() => {
|
||||
console.log("Loaded all companion textures.");
|
||||
});
|
||||
addLoader(this);
|
||||
|
||||
getAllResources().forEach(model => {
|
||||
getAllCompanionResources(this.load).forEach(model => {
|
||||
this.companionModels.push(model);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue