diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-02-22 12:47:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-02-22 12:47:40 +0300 |
commit | 6bac7c35e8bbed490d5db1af7758516eca0e919c (patch) | |
tree | 12dde246a8206aac50f57ad2b5ea096865603ba5 /source/blender/depsgraph/intern/depsgraph_intern.h | |
parent | 4ab002bca36ace4d2b4b21efce622a682b99b844 (diff) | |
parent | 51483bd49f19d9babd49e75941383ee8aa85098f (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_intern.h')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_intern.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_intern.h b/source/blender/depsgraph/intern/depsgraph_intern.h index 256b52a78f3..e310608b25e 100644 --- a/source/blender/depsgraph/intern/depsgraph_intern.h +++ b/source/blender/depsgraph/intern/depsgraph_intern.h @@ -112,12 +112,11 @@ void deg_editors_id_update(const DEGEditorUpdateContext *update_ctx, void deg_editors_scene_update(const DEGEditorUpdateContext *update_ctx, bool updated); -#define DEG_DEBUG_PRINTF(...) \ - do { \ - if (G.debug & G_DEBUG_DEPSGRAPH_BUILD) { \ - fprintf(stderr, __VA_ARGS__); \ - fflush(stderr); \ - } \ +#define DEG_DEBUG_PRINTF(type, ...) \ + do { \ + if (G.debug & G_DEBUG_DEPSGRAPH_ ## type) { \ + fprintf(stderr, __VA_ARGS__); \ + } \ } while (0) #define DEG_ERROR_PRINTF(...) \ |