Blender Git Commit Log

Git Commits -> Revision cb2b5da

Revision cb2b5da by Nathan Craddock (soc-2020-outliner)
June 11, 2020, 02:57 (GMT)
Outliner: Pass tselem instead of te to button functions

When adding callback functions to icon buttons in the outliner, don't
pass the tree element as a pointer because the pointer address changes
between redraws. Instead, pass the tree store element, or pass the data
that is needed.

Commit Details:

Full Hash: cb2b5da12db6aec13c022db31773fa1bbd75cbca
Parent Commit: ef48790
Lines Changed: +19, -23

3 Modified Paths:

/source/blender/editors/space_outliner/outliner_draw.c (+13, -14) (Diff)
/source/blender/editors/space_outliner/outliner_intern.h (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_select.c (+5, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021