Skip to content

Commit

Permalink
fix(PaintWidget): worldCoords can be null
Browse files Browse the repository at this point in the history
  • Loading branch information
floryst committed Jan 26, 2024
1 parent 050019b commit a523323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Widgets/Widgets3D/PaintWidget/behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function widgetBehavior(publicAPI, model) {
model._apiSpecificRenderWindow
);

if (!worldCoords.length) {
if (!worldCoords?.length) {
return macro.VOID;
}

Expand Down

0 comments on commit a523323

Please sign in to comment.