[Bf-blender-cvs] [4091f5ecb64] temp-workspace-object-mode-removal: Remove unused eval_ctx

Campbell Barton noreply at git.blender.org
Tue Feb 6 15:41:47 CET 2018


Commit: 4091f5ecb64a32d2cbafbaacc664d6bf60594d00
Author: Campbell Barton
Date:   Wed Feb 7 01:44:22 2018 +1100
Branches: temp-workspace-object-mode-removal
https://developer.blender.org/rB4091f5ecb64a32d2cbafbaacc664d6bf60594d00

Remove unused eval_ctx

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

M	source/blender/editors/armature/armature_relations.c

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

diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c
index 98d007ab44a..8fc7aeaf029 100644
--- a/source/blender/editors/armature/armature_relations.c
+++ b/source/blender/editors/armature/armature_relations.c
@@ -567,8 +567,6 @@ static void separate_armature_bones(Object *ob, short sel)
 /* separate selected bones into their armature */
 static int separate_armature_exec(bContext *C, wmOperator *op)
 {
-	EvaluationContext eval_ctx;
-	CTX_data_eval_ctx(C, &eval_ctx);
 	Main *bmain = CTX_data_main(C);
 	Scene *scene = CTX_data_scene(C);
 	ViewLayer *view_layer = CTX_data_view_layer(C);



More information about the Bf-blender-cvs mailing list