Skip to content

Fix mlab.move error#306

Merged
prabhuramachandran merged 4 commits into
masterfrom
fix-issue-292
Mar 9, 2016
Merged

Fix mlab.move error#306
prabhuramachandran merged 4 commits into
masterfrom
fix-issue-292

Conversation

@kitchoi
Copy link
Copy Markdown
Contributor

@kitchoi kitchoi commented Mar 2, 2016

Fix #292
camera.view_plane_normal is a tuple and so it needs to be converted to an array before being multiplied to -1

@dmsurti, @prabhuramachandran where should I put the tests for this? NullEngine can't be used because a scene is required. integrationtests/mayavi/test_mlab_* or create a test_camera.py under mayavi/tests ?

@prabhuramachandran
Copy link
Copy Markdown
Member

I think an integration test would work best as you need a UI. Thanks.

@kitchoi
Copy link
Copy Markdown
Contributor Author

kitchoi commented Mar 4, 2016

@prabhuramachandran I have added tests to integratedtests
The failed test on AppVeyor does not seem to be related to this PR and has occurred intermittently in the past.

@prabhuramachandran
Copy link
Copy Markdown
Member

Thanks LGTM.

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.

3 participants