@kitware/vtk.js 27.3.0 → 27.3.1

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.
@@ -126,9 +126,6 @@ function vtkOpenGLImageResliceMapper(publicAPI, model) {
126
126
  });
127
127
  model.renderable.update();
128
128
  model.currentInput = model.renderable.getInputData();
129
- publicAPI.invokeEvent({
130
- type: 'EndEvent'
131
- });
132
129
 
133
130
  if (!model.currentInput) {
134
131
  vtkErrorMacro('No input!');
@@ -139,6 +136,9 @@ function vtkOpenGLImageResliceMapper(publicAPI, model) {
139
136
  publicAPI.renderPieceStart(ren, actor);
140
137
  publicAPI.renderPieceDraw(ren, actor);
141
138
  publicAPI.renderPieceFinish(ren, actor);
139
+ publicAPI.invokeEvent({
140
+ type: 'EndEvent'
141
+ });
142
142
  };
143
143
 
144
144
  publicAPI.renderPieceStart = function (ren, actor) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "27.3.0",
3
+ "version": "27.3.1",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",