From 8ac0d63a07609f14e1a0abbd0312b6c272cce806 Mon Sep 17 00:00:00 2001 From: JannisX11 Date: Sat, 2 Nov 2024 22:42:08 +0100 Subject: [PATCH] Fix layers not working when editing texture with layers in new tab --- js/texturing/textures.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/texturing/textures.js b/js/texturing/textures.js index d2e5ff56..4ad8e318 100644 --- a/js/texturing/textures.js +++ b/js/texturing/textures.js @@ -1922,7 +1922,7 @@ class Texture { tex2.select(); } else { let original_uuid = Project.uuid; - let copy = texture.getUndoCopy(); + let copy = texture.getUndoCopy(true); Codecs.image.load(copy, texture.path, [texture.uv_width, texture.uv_height]); // Sync texture.sync_to_project = Project.uuid;