[vtk-developers] A weird 6.x specific bug with ModifiedEvents

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Mon Apr 14 15:44:05 EDT 2014


On 4/15/14 12:27 AM, David Gobbi wrote:
> On Mon, Apr 14, 2014 at 12:28 PM, Prabhu Ramachandran
> <prabhu at aero.iitb.ac.in>  wrote:
>>
>> I am sure there must be a fair number of folks who continue to use
>> Get/SetColor so this will be a pain point when migrating older code.  In the
>> interest of other consumers of the API not littering code with special cases
>> for VTK 6.x, I humbly request that a less drastic measure be chosen than
>> deprecation.
>
> I'm not in favor of deprecation, either, so I've posted a fix that just makes
> sure that Modified() isn't called until SetColor() has finished.  This should be
> enough to resolve the issue that was reported:
>
> http://review.source.kitware.com/#/c/15138/

Thats perfect, thank you!

cheers,
Prabhu



More information about the vtk-developers mailing list