[vtk-developers] vtkFixedPointVolumeRayCastMapperComputeGradients odd thread check

Sean McBride sean at rogue-research.com
Thu Aug 11 10:32:40 EDT 2016


Hi all,

git blame doesn't suggest anyone specific to ask, so... this cppcheck warning:

Rendering/Volume/vtkFixedPointVolumeRayCastMapper.cxx:401: style: Condition 'thread_id==0' is always true

anyone know that code?  line 398 forcing 0 is suspiciously different vs line 307.  I figure it's copy-paste and deliberate, or should be like 307, but am not in a position to decide. :)

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtk-developers mailing list