diff --git a/Sources/Widgets/Widgets3D/SeedWidget/behavior.js b/Sources/Widgets/Widgets3D/SeedWidget/behavior.js index 6dd9851959c..48e58548cb2 100644 --- a/Sources/Widgets/Widgets3D/SeedWidget/behavior.js +++ b/Sources/Widgets/Widgets3D/SeedWidget/behavior.js @@ -5,7 +5,6 @@ export default function widgetBehavior(publicAPI, model) { const moveHandle = model.widgetState.getMoveHandle(); moveHandle.setVisible(true); - moveHandle.setDirection([0, 0, 1]); model._isDragging = false; model.previousPosition = null; diff --git a/Sources/Widgets/Widgets3D/SeedWidget/state.js b/Sources/Widgets/Widgets3D/SeedWidget/state.js index 9fc9ee32872..3e83edc60e5 100644 --- a/Sources/Widgets/Widgets3D/SeedWidget/state.js +++ b/Sources/Widgets/Widgets3D/SeedWidget/state.js @@ -19,6 +19,7 @@ export default function stateGenerator() { initialValues: { scale1: 20, visible: true, + direction: [0, 0, 1], }, }) .build();