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>2020-01-24 13:26:15 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-01-24 14:44:16 +0300
commitcf84db61a6baf160fc3521e5b5a4121609b9ea8d (patch)
treefb7b233ee0bb78f751b45ac121e7876a2d074d42 /source/blender/depsgraph/intern/depsgraph.h
parentc89e103348414feb3396c7b10abb594c77d8c333 (diff)
Depsgraph: Refactor, move debug struct to own file
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph.h')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.h b/source/blender/depsgraph/intern/depsgraph.h
index 89c5af9c798..a7ee5612af4 100644
--- a/source/blender/depsgraph/intern/depsgraph.h
+++ b/source/blender/depsgraph/intern/depsgraph.h
@@ -40,6 +40,7 @@
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_physics.h"
+#include "intern/debug/deg_debug.h"
#include "intern/depsgraph_type.h"
struct GHash;
@@ -156,14 +157,7 @@ struct Depsgraph {
* to read stuff from. */
bool is_active;
- struct {
- /* NOTE: Corresponds to G_DEBUG_DEPSGRAPH_* flags. */
- int flags;
-
- /* Name of this dependency graph (is used for debug prints, helping to distinguish graphs
- * created for different view layer). */
- string name;
- } debug;
+ DepsgraphDebug debug;
bool is_evaluating;