From b9b9a8568d04f57c3e1b53e8b3c0fedcea3ae7ab Mon Sep 17 00:00:00 2001 From: Daan Vanden Bosch Date: Mon, 6 Jan 2020 23:38:25 +0100 Subject: [PATCH] The current model isn't cleared anymore before loading a new model to make transitions smoother. --- src/viewer/stores/ModelStore.ts | 2 -- version.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/viewer/stores/ModelStore.ts b/src/viewer/stores/ModelStore.ts index d37d8241..c6d1f546 100644 --- a/src/viewer/stores/ModelStore.ts +++ b/src/viewer/stores/ModelStore.ts @@ -238,8 +238,6 @@ export class ModelStore extends Store { if (body == undefined) return; try { - this._current_nj_object.val = undefined; - const nj_object = await this.asset_loader.load_geometry(character_class); this._current_textures.val = await this.asset_loader.load_textures( diff --git a/version.txt b/version.txt index ea90ee31..9e5feb52 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -45 +46