Skip to content

Fix pick_world bug with VTK >= 6#508

Merged
prabhuramachandran merged 2 commits into
enthought:masterfrom
FedeMiorelli:patch-2
May 11, 2017
Merged

Fix pick_world bug with VTK >= 6#508
prabhuramachandran merged 2 commits into
enthought:masterfrom
FedeMiorelli:patch-2

Conversation

@FedeMiorelli
Copy link
Copy Markdown
Contributor

The pick_world function is still using the old VTK pipeline functions, added a check to that effect.

The pick_world function is still using the old VTK pipeline functions, added a check to that effect.
Comment thread tvtk/pyface/picker.py Outdated
from tvtk.common import configure_input
from apptools.persistence import state_pickler

VTK_MAJOR_VERSION = tvtk.Version().vtk_major_version
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just use from tvtk.common import vtk_major_version to get this instead of doing this again.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #508 into master will decrease coverage by <.01%.
The diff coverage is 16.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #508      +/-   ##
==========================================
- Coverage   48.92%   48.91%   -0.01%     
==========================================
  Files         255      255              
  Lines       23234    23238       +4     
  Branches     3064     3065       +1     
==========================================
+ Hits        11367    11368       +1     
- Misses      11138    11141       +3     
  Partials      729      729
Impacted Files Coverage Δ
tvtk/pyface/picker.py 36.53% <16.66%> (-0.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e94f1dd...48ff2a4. Read the comment docs.

@FedeMiorelli
Copy link
Copy Markdown
Contributor Author

@prabhuramachandran OK, modified

@prabhuramachandran
Copy link
Copy Markdown
Member

Thank you!

@prabhuramachandran prabhuramachandran merged commit 93d5d0a into enthought:master May 11, 2017
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