diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-07 01:51:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-07 01:51:08 +0300 |
commit | 6e47d9bb9c3f7e12ee3bdcf171d9adf1b3d62091 (patch) | |
tree | 4f7869a35a84136d64fd8435424d45f3cbfbdf21 /source/blender/editors/space_view3d/view3d_buttons.c | |
parent | e2f01e4c7cad9dc506d6a7309701b34c44815292 (diff) |
- modal keymap for border select
- revert circle select keys adjustments & view navigation while selecting (durian guys liked but allowed activating multiple circle select's at once)
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_buttons.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_buttons.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/source/blender/editors/space_view3d/view3d_buttons.c b/source/blender/editors/space_view3d/view3d_buttons.c index 12adfced5c2..2edccacff7a 100644 --- a/source/blender/editors/space_view3d/view3d_buttons.c +++ b/source/blender/editors/space_view3d/view3d_buttons.c @@ -574,13 +574,14 @@ static void v3d_transform_butsR(uiLayout *layout, PointerRNA *ptr) static void v3d_posearmature_buts(uiLayout *layout, View3D *v3d, Object *ob, float lim) { - uiBlock *block= uiLayoutGetBlock(layout); +// uiBlock *block= uiLayoutGetBlock(layout); bArmature *arm; bPoseChannel *pchan; Bone *bone= NULL; - TransformProperties *tfp= v3d->properties_storage; +// TransformProperties *tfp= v3d->properties_storage; PointerRNA pchanptr; - uiLayout *row, *col; + uiLayout *col; +// uiLayout *row; arm = ob->data; if (!arm || !ob->pose) return; @@ -682,11 +683,12 @@ void validate_editbonebutton_cb(bContext *C, void *bonev, void *namev) static void v3d_editarmature_buts(uiLayout *layout, View3D *v3d, Object *ob, float lim) { - uiBlock *block= uiLayoutGetBlock(layout); +// uiBlock *block= uiLayoutGetBlock(layout); bArmature *arm= ob->data; EditBone *ebone; - TransformProperties *tfp= v3d->properties_storage; - uiLayout *row, *col; +// TransformProperties *tfp= v3d->properties_storage; +// uiLayout *row; + uiLayout *col; PointerRNA eboneptr; ebone= arm->edbo->first; @@ -722,7 +724,8 @@ static void v3d_editmetaball_buts(uiLayout *layout, Object *ob, float lim) { PointerRNA mbptr, ptr; MetaBall *mball= ob->data; - uiLayout *row, *col; +// uiLayout *row; + uiLayout *col; if (!mball || !(mball->lastelem)) return; @@ -779,9 +782,9 @@ static int test_parent_loop(Object *par, Object *ob) static void do_view3d_region_buttons(bContext *C, void *arg, int event) { Scene *scene= CTX_data_scene(C); - Object *obedit= CTX_data_edit_object(C); +// Object *obedit= CTX_data_edit_object(C); View3D *v3d= CTX_wm_view3d(C); - BoundBox *bb; +// BoundBox *bb; Object *ob= OBACT; TransformProperties *tfp= v3d->properties_storage; |