<div dir="ltr"><div>Hi Rostislav - </div><div><br></div><div>Yes, this is a nasty issue introduced by the vtkPickeringManager.  I ran into this last year [1] and put a workaround in our version of VTK [2] but it doesn't solve the whole problem.  I didn't propose this back to VTK-proper because widget needs to be fixed in order for this to work.  Maybe there's a better way?</div><div><br></div><div>The bug report includes simple instructions on how to reproduce the issue.</div><div><br></div><div>-Steve</div><div><br></div><div>[1] <a href="http://na-mic.org/Bug/view.php?id=3808">http://na-mic.org/Bug/view.php?id=3808</a><br></div><div><br></div>[2] <a href="https://github.com/Slicer/VTK/commit/539b56d2334cf292d3fbfc18cef9543a56fb9362">https://github.com/Slicer/VTK/commit/539b56d2334cf292d3fbfc18cef9543a56fb9362</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 12:22 PM, Rostislav Khlebnikov <span dir="ltr"><<a href="mailto:rostislav.khlebnikov@kcl.ac.uk" target="_blank">rostislav.khlebnikov@kcl.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear VTK developers,<br>
<br>
I am using vtkCellPicker (and consequently vtkPicker) to pick cells on objects. However, apparently, if a prop assembly is marked as invisible, it is still possible to pick the parts of assembly marked invisible if these parts are not explicitly marked invisible themselves. This happens in case a pick list is used, i.e. line vtkPicker.cxx:L278 is executed (not sure whether the same would happen if pick lists are not used). In any case, checking whether prop obtained in line 294 of vtkPicker.cxx is visible and pickable before initializing path traversal, should fix the problem.<br>
<br>
So my question is:<br>
  - is it supposed to behave like this? (I doubt it as it is rather unintuitive)<br>
  - should I make a fix for this?<br>
    - If yes - is it possible to make such a small fix (probably two lines of code) in some simple way?<br>
<br>
All best,<br>
   Rostislav.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br></div>