Fix layers not working when editing texture with layers in new tab

This commit is contained in:
JannisX11 2024-11-02 22:42:08 +01:00
parent b84a22b368
commit 8ac0d63a07

View File

@ -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;