Blender Git Commit Log

Git Commits -> Revision ba20da7

Revision ba20da7 by Campbell Barton (master)
August 6, 2020, 12:49 (GMT)
Cleanup: avoid debug-only includes for BLI_assert.h

Having includes in debug builds makes it possible to accidentally
break release builds.

Avoid this by moving calls to other modules out of BLI_assert.h
into BLI_assert.c

Commit Details:

Full Hash: ba20da7214e0a71e843b0a6a8b11e0173599a0f0
Parent Commit: 73a43c9
Lines Changed: +68, -34

1 Added Path:

/source/blender/blenlib/intern/BLI_assert.c (+51, -0) (View)

7 Modified Paths:

/source/blender/blenlib/BLI_alloca.h (+2, -0) (Diff)
/source/blender/blenlib/BLI_assert.h (+9, -34) (Diff)
/source/blender/blenlib/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpencil_modifiers/intern/mod_gpenciltime.c (+1, -0) (Diff)
/source/blender/makesdna/intern/CMakeLists.txt (+2, -0) (Diff)
/source/blender/makesdna/intern/makesdna.c (+1, -0) (Diff)
/source/blender/makesrna/intern/makesrna.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021