From f47ebd9887fcaa64e58c55a78efb2d09fd041ca6 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 19 Nov 2026 06:31:19 -0800 Subject: [PATCH] Color: a bad target is refused for a picked object with a null id With an object of a dynamic symbol instance selected, `id: null` or `ids: null` reached the item check, which stops at those keys before it reads `target`, so a bad `target` changed the object. The target is now read first. --- crates/engine/src/cmd/paint.rs | 2 ++ crates/engine/src/tests/paintopacity.rs | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/crates/engine/src/cmd/paint.rs b/crates/engine/src/cmd/paint.rs index 16cd564668..f0fbb91ff1 100644 --- a/crates/engine/src/cmd/paint.rs +++ b/crates/engine/src/cmd/paint.rs @@ -855,6 +855,8 @@ fn selected_part_target(s: &Session, p: &Value, cmd: &str) -> Result