[Bf-committers] IMAGE_OT_invert missing undo

2013-10-30 Thread Antony Riakiotakis
Codemanx brought this into attention on irc. If this was a paint operation I would just use the paint undo stack, but I have no idea how something like that is to be handled...ideas? ___ Bf-committers mailing list Bf-committers@blender.org

Re: [Bf-committers] IMAGE_OT_invert missing undo

2013-10-30 Thread CoDEmanX
Just noticed another issue: If the image datablock is float (and not int), it doesn't update on inversion. One can call Image.update() and Area.tag_redraw() with python to force the update. But should be handled by C op for sure. Am 30.10.2013 18:15, schrieb Antony Riakiotakis: Codemanx