From a523323dbe8b2c234c4ea2952aa8eb60d9bca202 Mon Sep 17 00:00:00 2001 From: Forrest Date: Wed, 24 Jan 2024 13:19:33 -0500 Subject: [PATCH] fix(PaintWidget): worldCoords can be null --- 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 4ef751e8a98..b1907d0cc13 100644 --- a/Sources/Widgets/Widgets3D/PaintWidget/behavior.js +++ b/Sources/Widgets/Widgets3D/PaintWidget/behavior.js @@ -49,7 +49,7 @@ export default function widgetBehavior(publicAPI, model) { model._apiSpecificRenderWindow ); - if (!worldCoords.length) { + if (!worldCoords?.length) { return macro.VOID; }