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:
authorLuca Rood <dev@lucarood.com>2017-06-08 11:14:53 +0300
committerLuca Rood <dev@lucarood.com>2017-06-08 11:17:04 +0300
commitd675415eef9f565b1828f48dfe874321af1c4af8 (patch)
tree84f7e210a0dd17c538e3480a33af82f4e1f86dc2 /source/blender/editors/interface/interface_ops.c
parent7f480352caaa14a20c0438ae0ed1c2607b6c2c00 (diff)
Replace all old DAG calls with direct calls to new DEG and remove BKE_depsgraph.h
This removes BKE_depsgraph.h and depsgraph.c
Diffstat (limited to 'source/blender/editors/interface/interface_ops.c')
-rw-r--r--source/blender/editors/interface/interface_ops.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index 09388ff1a18..e47088d020e 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -42,7 +42,6 @@
#include "BLT_lang.h"
#include "BKE_context.h"
-#include "BKE_depsgraph.h"
#include "BKE_idprop.h"
#include "BKE_layer.h"
#include "BKE_screen.h"
@@ -51,6 +50,8 @@
#include "BKE_text.h" /* for UI_OT_reports_to_text */
#include "BKE_report.h"
+#include "DEG_depsgraph.h"
+
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_types.h"
@@ -396,7 +397,7 @@ static int use_property_button_exec(bContext *C, wmOperator *UNUSED(op))
}
/* TODO(sergey): Use proper flag for tagging here. */
- DAG_id_tag_update((ID *)CTX_data_scene(C), 0);
+ DEG_id_tag_update((ID *)CTX_data_scene(C), 0);
return OPERATOR_FINISHED;
}
@@ -431,7 +432,7 @@ static int unuse_property_button_exec(bContext *C, wmOperator *UNUSED(op))
IDP_FreeFromGroup(props, prop_to_remove);
/* TODO(sergey): Use proper flag for tagging here. */
- DAG_id_tag_update((ID *)CTX_data_scene(C), 0);
+ DEG_id_tag_update((ID *)CTX_data_scene(C), 0);
return OPERATOR_FINISHED;
}