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-05-02 12:46:56 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-02 18:09:44 +0300
commit65e6654c85a5b2fd44444057e87bd36d6ee0597a (patch)
tree15399f3ecb648f3ce99b93b17317a8a7e838c730 /source/blender/blenkernel/intern/material.c
parent2f4dea0ef987abe0e2c11ed01df1645a59c58a74 (diff)
Depsgraph: Allow per-depsgraph debug flags
Currently only affects EVALUATION debug messages, rest are to be supported on per-depsgraph level.
Diffstat (limited to 'source/blender/blenkernel/intern/material.c')
-rw-r--r--source/blender/blenkernel/intern/material.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c
index 2f2f2fb3599..725a7b07194 100644
--- a/source/blender/blenkernel/intern/material.c
+++ b/source/blender/blenkernel/intern/material.c
@@ -1309,9 +1309,9 @@ void paste_matcopybuf(Material *ma)
ma->nodetree = ntreeCopyTree_ex(matcopybuf.nodetree, G.main, false);
}
-void BKE_material_eval(struct Depsgraph *UNUSED(depsgraph), Material *material)
+void BKE_material_eval(struct Depsgraph *depsgraph, Material *material)
{
- DEG_debug_print_eval(__func__, material->id.name, material);
+ DEG_debug_print_eval(depsgraph, __func__, material->id.name, material);
if ((BLI_listbase_is_empty(&material->gpumaterial) == false)) {
GPU_material_uniform_buffer_tag_dirty(&material->gpumaterial);
}