Skip to content

Fix crash when upgrade vtk.js to newer version#160

Open
hqdung99 wants to merge 1 commit intoOHIF:masterfrom
hqdung99:master
Open

Fix crash when upgrade vtk.js to newer version#160
hqdung99 wants to merge 1 commit intoOHIF:masterfrom
hqdung99:master

Conversation

@hqdung99
Copy link

When upgrading vtk.js to the newer version (>= 15.0.0). View2D component crash because:
TypeError: handle.rotateFromDirections is not a function.
So I think we should check if rotateFromDirections exists before executing that code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant