Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-02-22 12:47:40 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-02-22 12:47:40 +0300
commit6bac7c35e8bbed490d5db1af7758516eca0e919c (patch)
tree12dde246a8206aac50f57ad2b5ea096865603ba5 /source/blender/depsgraph/intern/depsgraph_intern.h
parent4ab002bca36ace4d2b4b21efce622a682b99b844 (diff)
parent51483bd49f19d9babd49e75941383ee8aa85098f (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.h11
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(...) \