diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2024-02-03 21:41:00 -0600 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2024-02-04 02:58:29 -0600 |
commit | 2d38c980ee91bae816fd84e6cffb779c291ab089 (patch) | |
tree | ea7fc247b0306cd0fc6d7dda9a0a5dc197e5448c /core/error | |
parent | b4e2a24c1f62088b3f7ce0197afc90832fc25009 (diff) | |
download | redot-engine-2d38c980ee91bae816fd84e6cffb779c291ab089.tar.gz |
Fix GLTF exporting invalid meshes and attempting to export gizmo meshes
Diffstat (limited to 'core/error')
-rw-r--r-- | core/error/error_macros.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/error/error_macros.h b/core/error/error_macros.h index 016c963e04..ab7dbcbd44 100644 --- a/core/error/error_macros.h +++ b/core/error/error_macros.h @@ -730,6 +730,16 @@ void _err_flush_stdout(); } else \ ((void)0) +/** + * Warns about `m_msg` only when verbose mode is enabled. + */ +#define WARN_VERBOSE(m_msg) \ + { \ + if (is_print_verbose_enabled()) { \ + WARN_PRINT(m_msg); \ + } \ + } + // Print deprecated warning message macros. /** |