[Bf-blender-cvs] [550446bade] render-layers: Tag areas of code that require TODO_LAYER_COPY

Dalai Felinto noreply at git.blender.org
Wed Jan 18 15:41:32 CET 2017


Commit: 550446bade47ae55234f38c1590d9bbad3674dd7
Author: Dalai Felinto
Date:   Wed Jan 18 15:41:27 2017 +0100
Branches: render-layers
https://developer.blender.org/rB550446bade47ae55234f38c1590d9bbad3674dd7

Tag areas of code that require TODO_LAYER_COPY

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

M	source/blender/editors/armature/armature_relations.c
M	source/blender/editors/curve/editcurve.c
M	source/blender/editors/mesh/editmesh_tools.c

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

diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c
index ad53b4c478..c1821a8781 100644
--- a/source/blender/editors/armature/armature_relations.c
+++ b/source/blender/editors/armature/armature_relations.c
@@ -578,7 +578,7 @@ static void separate_armature_bones(Object *ob, short sel)
 /* separate selected bones into their armature */
 static int separate_armature_exec(bContext *C, wmOperator *op)
 {
-#if 0 /* TODO_LAYER */
+#if 0
 	Main *bmain = CTX_data_main(C);
 	Scene *scene = CTX_data_scene(C);
 	SceneLayer *sl = CTX_data_scene_layer(C);
@@ -661,10 +661,13 @@ static int separate_armature_exec(bContext *C, wmOperator *op)
 	
 	return OPERATOR_FINISHED;
 #else
+	TODO_LAYER_COPY;
+
 	(void)C;
 	(void)op;
 	(void)separate_armature_bones;
 	(void)separated_armature_fix_links;
+	BKE_report(op->reports, RPT_ERROR, "ARMATURE_OT_separate not supported at the moment");
 	return OPERATOR_CANCELLED;
 #endif
 }
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 448d6db510..63c67b1016 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -1331,7 +1331,8 @@ static int separate_exec(bContext *C, wmOperator *op)
 	return OPERATOR_FINISHED;
 #else
 	/* need to refactor this to use ObjectBase and create a new object in the correct SceneCollection */
-	TODO_LAYER_BASE
+	TODO_LAYER_COPY;
+	TODO_LAYER_BASE;
 	(void)C;
 	BKE_report(op->reports, RPT_ERROR, "CURVE_OT_separate not supported at the moment");
 	return OPERATOR_CANCELLED;
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index 87b7b25f16..e97b230470 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -3360,7 +3360,8 @@ static int edbm_separate_exec(bContext *C, wmOperator *op)
 	return OPERATOR_CANCELLED;
 #else
 	/* need to refactor this to use ObjectBase and create a new object in the correct SceneCollection */
-	TODO_LAYER_BASE
+	TODO_LAYER_BASE;
+	TODO_LAYER_COPY;
 	(void)C;
 	(void)mesh_separate_loose;
 	(void)mesh_separate_material;




More information about the Bf-blender-cvs mailing list