Blender Git Commit Log

Git Commits -> Revision beea601

Revision beea601 by Sybren A. Stüvel (master)
October 25, 2021, 10:08 (GMT)
BKE Callbacks: more explicit initialisation check

Add static boolean to track whether the callbacks system has been
initialised. This makes it possible to make the `BKE_callback_remove()`
function more noisy in case of programming errors, and avoids accessing
`funcstore->alloc` when `funcstore` was potentially already freed.

Thanks @campbellbarton for pointing this out.

Commit Details:

Full Hash: beea601e7253f1eafbf43ce3c0e59497788335bc
Parent Commit: 8e56f3e
Lines Changed: +24, -5

1 Modified Path:

/source/blender/blenkernel/intern/callbacks.c (+24, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021