From 654a679f7207f9d82b016faecc2e53cb97d9e128 Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Sat, 15 Aug 2020 17:52:39 +0200 Subject: [PATCH] Fix issue with loading textures in edit session --- js/edit_sessions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/edit_sessions.js b/js/edit_sessions.js index 66703469..91dd7be9 100644 --- a/js/edit_sessions.js +++ b/js/edit_sessions.js @@ -50,7 +50,7 @@ const EditSession = { type: 'chat_message', data: {text: tl('edit_session.welcome', [EditSession.username]), color: 'yellow'} }) - var model = Codecs.project.compile({uuids: true, bitmaps: true, history: true}) + var model = Codecs.project.compile({uuids: true, bitmaps: true, backup: true, history: true}) client.send({ type: 'init_model', fromHost: EditSession.hosting, @@ -191,7 +191,7 @@ const EditSession = { }, initNewModel(force) { if (EditSession.active && EditSession.hosting) { - var model = Codecs.project.compile({uuids: true, bitmaps: true, flag: force ? 'force' : null}) + var model = Codecs.project.compile({uuids: true, bitmaps: true, backup: true, flag: force ? 'force' : null}) if (force) { model.flag = 'force' }