@kitware/vtk.js 28.2.6 → 28.2.7

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.
@@ -50,13 +50,13 @@ var BEHAVIORS_TYPES = {
50
50
  CameraSync: CameraSync
51
51
  };
52
52
  function applyBehaviors(renderWindow, state, context) {
53
- if (!state.behaviors || !renderWindow.getSynchronizedViewId) {
53
+ var rwId = renderWindow.get('synchronizedViewId').synchronizedViewId;
54
+
55
+ if (!state.behaviors || !rwId) {
54
56
  return;
55
57
  } // Apply auto behavior
56
58
 
57
59
 
58
- var rwId = renderWindow.getSynchronizedViewId();
59
-
60
60
  if (!BEHAVIORS[rwId]) {
61
61
  BEHAVIORS[rwId] = {};
62
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "28.2.6",
3
+ "version": "28.2.7",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",