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:
authorCampbell Barton <ideasman42@gmail.com>2011-02-18 01:34:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-18 01:34:41 +0300
commit27e812d69702c43313af8a5521841fd7f4da69f1 (patch)
treeb54543b140c5d38a46eef7ddf189adfaaafe8d54 /source/blender/editors/object
parent456ca98564555bb072e0e72b64f790e4b8c6ceec (diff)
Clear some compiler warnings by commenting some functions, adding others to headers.
left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r--source/blender/editors/object/object_edit.c9
-rw-r--r--source/blender/editors/object/object_relations.c4
2 files changed, 2 insertions, 11 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index 28566dcda07..cb0b251c101 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -592,15 +592,6 @@ void OBJECT_OT_posemode_toggle(wmOperatorType *ot)
/* *********************** */
-static void check_editmode(int type)
-{
- Object *obedit= NULL; // XXX
-
- if (obedit==NULL || obedit->type==type) return;
-
-// XXX ED_object_exit_editmode(C, EM_FREEDATA|EM_FREEUNDO|EM_WAITCURSOR|EM_DO_UNDO); /* freedata, and undo */
-}
-
#if 0
// XXX should be in view3d?
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index d64fc4960bd..ad79cbb262b 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1156,9 +1156,9 @@ void OBJECT_OT_move_to_layer(wmOperatorType *ot)
/************************** Link to Scene Operator *****************************/
+#if 0
static void link_to_scene(Main *UNUSED(bmain), unsigned short UNUSED(nr))
{
-#if 0
Scene *sce= (Scene*) BLI_findlink(&bmain->scene, G.curscreen->scenenr-1);
Base *base, *nbase;
@@ -1174,8 +1174,8 @@ static void link_to_scene(Main *UNUSED(bmain), unsigned short UNUSED(nr))
id_us_plus((ID *)base->object);
}
}
-#endif
}
+#endif
static int make_links_scene_exec(bContext *C, wmOperator *op)
{