Blender Git Loki

Git Commits -> Revision 507c19c

Revision 507c19c by Campbell Barton (master)
June 2, 2021, 07:35 (GMT)
Docs: formalize naming for generic callbacks in BKE_callbacks.h

Add a doc-string explaining the purpose of each call back and
how they should be used.

Also add a currently unused callback 'POST_FAIL' that is to be used in
cases the action fails - giving script authors, a guarantee that a
call to `pre` will always have a matching `post/post_fail` call.

- D11422: adds a callback that can use 'post_fail'.
- T88696: proposed these conventions.

Commit Details:

Full Hash: 507c19c0f7a1dc7a46ec8ac19d9e904c9e825a9b
Parent Commit: 3b3742c
Lines Changed: +57, -5

2 Modified Paths:

/source/blender/blenkernel/BKE_callbacks.h (+54, -5) (Diff)
/source/blender/python/intern/bpy_app_handlers.c (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021