[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [18916] branches/blender2.5/blender/source /blender: Setting svn-property 'eol-style' to 'native' for all animation-related files.
Joshua Leung
aligorith at gmail.com
Tue Feb 10 23:45:20 CET 2009
Revision: 18916
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=18916
Author: aligorith
Date: 2009-02-10 23:45:20 +0100 (Tue, 10 Feb 2009)
Log Message:
-----------
Setting svn-property 'eol-style' to 'native' for all animation-related files. No more need to do save overs in text editors or with fancy UNIX tools.
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/editors/object/object_edit.c
Property Changed:
----------------
branches/blender2.5/blender/source/blender/blenkernel/BKE_animsys.h
branches/blender2.5/blender/source/blender/blenkernel/BKE_fcurve.h
branches/blender2.5/blender/source/blender/blenkernel/intern/anim_sys.c
branches/blender2.5/blender/source/blender/blenkernel/intern/fcurve.c
branches/blender2.5/blender/source/blender/editors/animation/anim_channels.c
branches/blender2.5/blender/source/blender/editors/animation/anim_draw.c
branches/blender2.5/blender/source/blender/editors/animation/anim_filter.c
branches/blender2.5/blender/source/blender/editors/animation/anim_ipo_utils.c
branches/blender2.5/blender/source/blender/editors/animation/anim_ops.c
branches/blender2.5/blender/source/blender/editors/animation/keyframes_draw.c
branches/blender2.5/blender/source/blender/editors/animation/keyframes_edit.c
branches/blender2.5/blender/source/blender/editors/animation/keyframes_general.c
branches/blender2.5/blender/source/blender/editors/animation/keyframing.c
branches/blender2.5/blender/source/blender/editors/include/ED_anim_api.h
branches/blender2.5/blender/source/blender/editors/include/ED_armature.h
branches/blender2.5/blender/source/blender/editors/include/ED_keyframes_draw.h
branches/blender2.5/blender/source/blender/editors/include/ED_keyframes_edit.h
branches/blender2.5/blender/source/blender/editors/include/ED_keyframing.h
branches/blender2.5/blender/source/blender/editors/include/UI_view2d.h
branches/blender2.5/blender/source/blender/editors/interface/view2d.c
branches/blender2.5/blender/source/blender/editors/interface/view2d_ops.c
branches/blender2.5/blender/source/blender/editors/space_action/action_draw.c
branches/blender2.5/blender/source/blender/editors/space_action/action_edit.c
branches/blender2.5/blender/source/blender/editors/space_action/action_header.c
branches/blender2.5/blender/source/blender/editors/space_action/action_intern.h
branches/blender2.5/blender/source/blender/editors/space_action/action_ops.c
branches/blender2.5/blender/source/blender/editors/space_action/action_select.c
branches/blender2.5/blender/source/blender/editors/space_action/space_action.c
branches/blender2.5/blender/source/blender/editors/space_graph/graph_draw.c
branches/blender2.5/blender/source/blender/editors/space_graph/graph_edit.c
branches/blender2.5/blender/source/blender/editors/space_graph/graph_header.c
branches/blender2.5/blender/source/blender/editors/space_graph/graph_intern.h
branches/blender2.5/blender/source/blender/editors/space_graph/graph_ops.c
branches/blender2.5/blender/source/blender/editors/space_graph/graph_select.c
branches/blender2.5/blender/source/blender/editors/space_graph/space_graph.c
branches/blender2.5/blender/source/blender/makesdna/DNA_anim_types.h
Property changes on: branches/blender2.5/blender/source/blender/blenkernel/BKE_animsys.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/blenkernel/BKE_fcurve.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/blenkernel/intern/anim_sys.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/blenkernel/intern/fcurve.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/anim_channels.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/anim_draw.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/anim_filter.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/anim_ipo_utils.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/anim_ops.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/keyframes_draw.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/keyframes_edit.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/keyframes_general.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/animation/keyframing.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/include/ED_anim_api.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/include/ED_armature.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/include/ED_keyframes_draw.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/include/ED_keyframes_edit.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/include/ED_keyframing.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/include/UI_view2d.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/interface/view2d.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/interface/view2d_ops.c
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: branches/blender2.5/blender/source/blender/editors/object/object_edit.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/object/object_edit.c 2009-02-10 21:41:14 UTC (rev 18915)
+++ branches/blender2.5/blender/source/blender/editors/object/object_edit.c 2009-02-10 22:45:20 UTC (rev 18916)
@@ -477,6 +477,49 @@
}
+static int object_add_armature_exec(bContext *C, wmOperator *op)
+{
+ Object *obedit= CTX_data_edit_object(C);
+ bArmature *arm;
+ EditBone *ebone;
+ int newob= 0;
+
+ if ((obedit==NULL) || (obedit->type != OB_ARMATURE)) {
+ object_add_type(C, OB_ARMATURE);
+ ED_object_enter_editmode(C, 0);
+ newob = 1;
+ }
+ else DAG_object_flush_update(CTX_data_scene(C), obedit, OB_RECALC_DATA);
+
+ //nu= addNurbprim(C, RNA_enum_get(op->ptr, "type"), newob);
+ //editnurb= curve_get_editcurve(CTX_data_edit_object(C));
+ //BLI_addtail(editnurb, nu);
+
+ /* userdef */
+ if (newob && (U.flag & USER_ADD_EDITMODE)==0) {
+ ED_object_exit_editmode(C, EM_FREEDATA);
+ }
+
+ WM_event_add_notifier(C, NC_OBJECT|ND_GEOM_SELECT, obedit);
+
+ return OPERATOR_FINISHED;
+}
+
+void OBJECT_OT_armature_add(wmOperatorType *ot)
+{
+ /* identifiers */
+ ot->name= "Add Armature";
+ ot->idname= "OBJECT_OT_armature_add";
+
+ /* api callbacks */
+ ot->exec= object_add_armature_exec;
+ ot->poll= ED_operator_scene_editable;
+
+ /* flags */
+ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+}
+
+
static int object_add_primitive_invoke(bContext *C, wmOperator *op, wmEvent *event)
{
uiMenuItem *head= uiPupMenuBegin("Add Object", 0);
@@ -488,7 +531,7 @@
uiMenuItemEnumO(head, 0, "OBJECT_OT_object_add", "type", OB_CAMERA);
uiMenuItemEnumO(head, 0, "OBJECT_OT_object_add", "type", OB_LAMP);
uiMenuItemEnumO(head, 0, "OBJECT_OT_object_add", "type", OB_EMPTY);
- uiMenuItemEnumO(head, 0, "OBJECT_OT_object_add", "type", OB_ARMATURE);
+ uiMenuItemEnumO(head, 0, "OBJECT_OT_armature_add", "type", OB_ARMATURE);
uiMenuItemEnumO(head, 0, "OBJECT_OT_object_add", "type", OB_LATTICE);
uiPupMenuEnd(C, head);
Property changes on: branches/blender2.5/blender/source/blender/editors/space_action/action_draw.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_action/action_edit.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_action/action_header.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_action/action_intern.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_action/action_ops.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_action/action_select.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_action/space_action.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_graph/graph_draw.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_graph/graph_edit.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_graph/graph_header.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_graph/graph_intern.h
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_graph/graph_ops.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_graph/graph_select.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/editors/space_graph/space_graph.c
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: branches/blender2.5/blender/source/blender/makesdna/DNA_anim_types.h
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Bf-blender-cvs
mailing list