From 357187ddee7f93151315847a5ec90cf8512f2d50 Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Sat, 15 Jun 2019 15:40:54 +0200 Subject: [PATCH] @ohif/extension-vtk: Enable rotate button (0.0.5) --- extensions/ohif-vtk-extension/package.json | 2 +- extensions/ohif-vtk-extension/src/ConnectedToolbarSection.js | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/extensions/ohif-vtk-extension/package.json b/extensions/ohif-vtk-extension/package.json index 0d93f4693..5ad4832d8 100644 --- a/extensions/ohif-vtk-extension/package.json +++ b/extensions/ohif-vtk-extension/package.json @@ -1,6 +1,6 @@ { "name": "@ohif/extension-vtk", - "version": "0.0.4", + "version": "0.0.5", "description": "OHIF extension for VTK.js", "author": "OHIF", "license": "MIT", diff --git a/extensions/ohif-vtk-extension/src/ConnectedToolbarSection.js b/extensions/ohif-vtk-extension/src/ConnectedToolbarSection.js index a740c5b3a..1717501fd 100644 --- a/extensions/ohif-vtk-extension/src/ConnectedToolbarSection.js +++ b/extensions/ohif-vtk-extension/src/ConnectedToolbarSection.js @@ -28,8 +28,7 @@ const mapStateToProps = state => { // TODO: Make these use setToolActive instead window.commandsManager.runCommand('enableLevelTool', {}, 'vtk'); } - } - /* Disabled temporarily due to issues with the interactor style + }, { command: 'Rotate', type: 'tool', @@ -40,7 +39,7 @@ const mapStateToProps = state => { // TODO: Make these use setToolActive instead window.commandsManager.runCommand('enableRotateTool', {}, 'vtk'); } - },*/ + }, ], activeCommand: 'Crosshairs' };