Blender Git Loki

Git Commits -> Revision 121b2c0

Revision 121b2c0 by Bastien Montagne (master)
May 18, 2020, 13:47 (GMT)
Fix T76799: Crash from undoing the copy-pasting of multiple data blocks.

Bug was actually in outliner code, paste operator would not generate any
undo step...

This was not correct ever, but with new undo code this has become a
critical issue, it cannot survive a situation where current main data
has been changed without a proper undo push.

This illustrates again how much of a catastrophic mess the 'tools'
callbacks of the outliner are currently, it has already caused us quiet
some pain in the past, and will keep doing so until this is fully
sanitized am afraid.

Would strongly suggest getting rid of thosw nasty mix of custom
callbacks requiring manual undo pushes, I do not see the added value of
this compared to regular menus calling regular operators. It only adds
confusion and extra code for nothing...

Commit Details:

Full Hash: 121b2c0424465800ba79c0c7a4403cc2999b261b
Parent Commit: b487ef6
Lines Changed: +13, -2

2 Modified Paths:

/source/blender/editors/space_outliner/outliner_edit.c (+2, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+11, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021