From 9e068ff9bc0443d1e41a7bec1989bb3209fc1a1c Mon Sep 17 00:00:00 2001 From: Jo-Byr Date: Fri, 24 Jul 2026 15:18:53 +0200 Subject: [PATCH] fix(PaintWidget): fix widget deactivation when not painting Replace macro.VOID return by macro.EVENT_ABORT return in handleEvent to avoid call to deactivateAllWidgets in macros invoke --- Sources/Widgets/Widgets3D/PaintWidget/behavior.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Widgets/Widgets3D/PaintWidget/behavior.js b/Sources/Widgets/Widgets3D/PaintWidget/behavior.js index 9a4fffc9c61..e9562ca4ce8 100644 --- a/Sources/Widgets/Widgets3D/PaintWidget/behavior.js +++ b/Sources/Widgets/Widgets3D/PaintWidget/behavior.js @@ -76,7 +76,7 @@ export default function widgetBehavior(publicAPI, model) { model.activeState.get('origin', 'up', 'right', 'direction', 'scale1') ); } else { - return macro.VOID; + return macro.EVENT_ABORT; } publicAPI.invokeInteractionEvent();