Blender Git Commit Log

Git Commits -> Revision f250b1f

Revision f250b1f by Philipp Oeser (master)
April 15, 2020, 15:20 (GMT)
Fix assert for Image Editor invert/resize operators

Caused by rB2bf4c74130ff.

For undo, the ImageUser's scene should be NULL (see D7022 for
discussion).

PaintTiles were already doing it beforehand in ED_image_paint_tile_push,
but Image ops [scale/invert] are calling
ED_image_undo_push_begin_with_image directly.

Now actually set the UndoImageHandle iuser.scene to NULL (rather than
asserting)

ref T75675

Maniphest Tasks: T75675

Differential Revision: https://developer.blender.org/D7435

Commit Details:

Full Hash: f250b1f5a007a85a646a809a29b706e814f4cf32
Parent Commit: 54736d5
Lines Changed: +1, -1

1 Modified Path:

/source/blender/editors/space_image/image_undo.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021