mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-05 07:18:29 +08:00
The current model isn't cleared anymore before loading a new model to make transitions smoother.
This commit is contained in:
parent
542f61bf0c
commit
b9b9a8568d
@ -238,8 +238,6 @@ export class ModelStore extends Store {
|
|||||||
if (body == undefined) return;
|
if (body == undefined) return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this._current_nj_object.val = undefined;
|
|
||||||
|
|
||||||
const nj_object = await this.asset_loader.load_geometry(character_class);
|
const nj_object = await this.asset_loader.load_geometry(character_class);
|
||||||
|
|
||||||
this._current_textures.val = await this.asset_loader.load_textures(
|
this._current_textures.val = await this.asset_loader.load_textures(
|
||||||
|
@ -1 +1 @@
|
|||||||
45
|
46
|
||||||
|
Loading…
Reference in New Issue
Block a user