Blender Git Loki
Git Commits -> Revision 2a515fe
Revision 2a515fe by Julian Eisel (temp-ui-button-type-refactor) June 7, 2020, 21:27 (GMT) |
Store search item in search-button data, don't reuse general void pointer Rather than re-using the `uiBut.func_arg2` pointer to reference the active search item, have an own pointer for that in `uiButSearch`. Unfortunately, we still need to pass the reference as `arg2` to the `uiBut.func` callback. But we don't need to keep `uiBut.func_arg2` set the entire time for that. |
Commit Details:
Full Hash: 2a515fe61244b3837fc77e5dfe9870ee6d934dfb
Parent Commit: 190ef51
Lines Changed: +26, -9