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