@kitware/vtk.js 28.0.1 → 28.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,7 +131,10 @@ function widgetBehavior(publicAPI, model) {
131
131
 
132
132
  publicAPI.updateFromNormal = function (callData) {
133
133
  model.trackballManipulator.setWidgetNormal(model.activeState.getNormal());
134
- var newNormal = model.trackballManipulator.handleEvent(callData, model._apiSpecificRenderWindow);
134
+
135
+ var _model$trackballManip = model.trackballManipulator.handleEvent(callData, model._apiSpecificRenderWindow),
136
+ newNormal = _model$trackballManip.worldCoords;
137
+
135
138
  model.activeState.setNormal(newNormal);
136
139
  }; // --------------------------------------------------------------------------
137
140
  // initialization
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "28.0.1",
3
+ "version": "28.1.0",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",