Blender Git Loki

Git Commits -> Revision a2de3d8

Revision a2de3d8 by Julian Eisel (master)
April 26, 2020, 15:39 (GMT)
Fix utterly wrong decorator button logic

This was in fact completely messed up, but it worked by accident for all
current cases. That is, we always inserted the decorator buttons
immediately after the button they applied to. So the first button
comparision in ui_but_anim_decorate_find_attached_button() would
succeed, because it just compared a few values that all happened to be
NULL and thus the comparison returned true.

Further, avoid NULL-pointer dereferences and incorrect printing.

Commit Details:

Full Hash: a2de3d86de29575698f42a167b8d2c4acf05c38e
Parent Commit: 066b024
Lines Changed: +9, -7

1 Modified Path:

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