Fix #27532: Undo test texture after painting gives black blocks.
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 3 Oct 2011 13:01:24 +0000 (13:01 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 3 Oct 2011 13:01:24 +0000 (13:01 +0000)
commit782499717efa2464b700360ded6193a67a170781
tree1112ce19ac91370d9c3643d9731bac86aedcfcc1
parent758e34b45d3fd3470e847b972897e6aff50954dd
Fix #27532: Undo test texture after painting gives black blocks.

- Do not apply undo tiles on image if source or generated type was changed.
- Added null-check in own recent commit in this area.
source/blender/editors/sculpt_paint/paint_image.c