Hello Johannes,

On 08/12/2014 04:52 PM, Johannes wrote:
>> hmm, I suspect it does change the meaning (not sure though), but I'm
>> wondering more why this is necessary? At least according to the docs
>> vtkMapper::GetInput() has not been removed in vtk 6.
>> Could you post the error message?
>>
> No, not currently. But the vtkDataObject does not have an Update()
> method anymore.

ah, of course, I managed to confuse myself about which type had the 
function removed.

> See:
> http://www.vtk.org/Wiki/VTK/VTK_6_Migration_Guide
> http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Removal_of_Methods_for_Manipulating_Update_Extent

Thanks for these links. Reading a bit about the upgrade recommendations 
it seems to me we can just unconditionally change it to 
_pMapper->Update() - that works with 5 and 6.
Alternatively we can just guard this with VTK_MAJOR_VERSION >= 6, since 
the code is only compiled when VTK is available and thus avoid adding 
more custom defines :)
I've committed the change, thanks!

        Cheers,
                Carsten

------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to