Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")
This shows the text as part of the assertion message.
This commit is contained in:
@@ -225,7 +225,7 @@ PyObject *BPY_app_handlers_struct(void)
|
||||
#endif
|
||||
|
||||
if (PyType_Ready(&BPyPersistent_Type) < 0) {
|
||||
BLI_assert(!"error initializing 'bpy.app.handlers.persistent'");
|
||||
BLI_assert_msg(0, "error initializing 'bpy.app.handlers.persistent'");
|
||||
}
|
||||
|
||||
PyStructSequence_InitType(&BlenderAppCbType, &app_cb_info_desc);
|
||||
|
||||
Reference in New Issue
Block a user