[Bf-blender-cvs] [3b9e8b385c8] blender2.8: Fix compilation issue

Clément Foucault noreply at git.blender.org
Fri Jun 9 01:29:00 CEST 2017


Commit: 3b9e8b385c8323248e2e0b7d8246089d736940ae
Author: Clément Foucault
Date:   Fri Jun 9 01:28:43 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB3b9e8b385c8323248e2e0b7d8246089d736940ae

Fix compilation issue

===================================================================

M	source/blender/editors/object/object_add.c
M	source/blender/makesrna/intern/rna_probe.c

===================================================================

diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 26a1f56bff9..411f8eb7347 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -536,7 +536,7 @@ static int probe_add_exec(bContext *C, wmOperator *op)
 	probe = (Probe *)ob->data;
 	probe->type = type;
 
-	DAG_relations_tag_update(CTX_data_main(C));
+	DEG_relations_tag_update(CTX_data_main(C));
 
 	return OPERATOR_FINISHED;
 }
diff --git a/source/blender/makesrna/intern/rna_probe.c b/source/blender/makesrna/intern/rna_probe.c
index c8006787783..9f8f14d4312 100644
--- a/source/blender/makesrna/intern/rna_probe.c
+++ b/source/blender/makesrna/intern/rna_probe.c
@@ -39,7 +39,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#include "BKE_depsgraph.h"
 #include "BKE_main.h"
 
 #include "WM_api.h"




More information about the Bf-blender-cvs mailing list