Blender Git Loki

Git Commits -> Revision 8cb10c1

Revision 8cb10c1 by Philipp Oeser (master)
April 16, 2020, 15:38 (GMT)
Fix T75675: Unlinking [with setting users to zero] not clearing
LIB_TAG_EXTRAUSER_SET flag

For example in the Image Editor, an assert would be triggered after
unlinking an image [with setting users to zero] and then setting the
image for the Image Editor again.

Whenever we set an Image for Image Editor, the Image ID is flagged
LIB_TAG_EXTRAUSER_SET, when we unlink [with setting users to zero] this
flag was not cleared.

quote @mont29: "a proper fix would be to move this to modern code, and
actually delete the ID..." but that is for later.

Maniphest Tasks: T75675

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

Commit Details:

Full Hash: 8cb10c124efebc27a7451f3d3a4c62d23c3927b5
Parent Commit: e9bf624
Lines Changed: +1, -0

1 Modified Path:

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