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:
authorSybren A. Stüvel <sybren@blender.org>2020-05-25 11:45:39 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-05-25 11:45:39 +0300
commit528f0b95c4462b2e429600a566ca0434c90310f6 (patch)
tree1185ea1afe8107fc48a794e1fb97e08d004e5711 /source/blender/blenkernel/intern
parent5a842b3412c100588bc1f7a9d4532e810e8e1792 (diff)
parent41bb0548b0c1ac62d30cf14fca371b220e40f72e (diff)
Merge remote-tracking branch 'origin/blender-v2.83-release'
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/light.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/light.c b/source/blender/blenkernel/intern/light.c
index 9dc338ce580..aa1005c663f 100644
--- a/source/blender/blenkernel/intern/light.c
+++ b/source/blender/blenkernel/intern/light.c
@@ -48,6 +48,8 @@
#include "BLT_translation.h"
+#include "DEG_depsgraph.h"
+
static void light_init_data(ID *id)
{
Light *la = (Light *)id;
@@ -178,3 +180,8 @@ Light *BKE_light_localize(Light *la)
return lan;
}
+
+void BKE_light_eval(struct Depsgraph *depsgraph, Light *la)
+{
+ DEG_debug_print_eval(depsgraph, __func__, la->id.name, la);
+}