A few quick bugfixes:
authorJoshua Leung <aligorith@gmail.com>
Wed, 23 Sep 2009 07:28:26 +0000 (07:28 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 23 Sep 2009 07:28:26 +0000 (07:28 +0000)
* Vertex Groups list now has a more normal length (2 rows by default)

* Copy vertex groups button now has an icon

* Pose Sliding tools now allow events which it doesn't process to pass through (i.e. zooming the view now works, and also moving around using the numpad works too)

release/ui/buttons_data_mesh.py
source/blender/editors/armature/poseSlide.c

index 33b3960b381f968562181351b59d210ea2c9d507..a93d7b66397a0ef570afe268baf4fd6f38716c61 100644 (file)
@@ -60,15 +60,15 @@ class DATA_PT_vertex_groups(DataButtonsPanel):
                ob = context.object
 
                row = layout.row()
-               row.template_list(ob, "vertex_groups", ob, "active_vertex_group_index")
+               row.template_list(ob, "vertex_groups", ob, "active_vertex_group_index", rows=2)
 
                col = row.column(align=True)
                col.itemO("object.vertex_group_add", icon='ICON_ZOOMIN', text="")
                col.itemO("object.vertex_group_remove", icon='ICON_ZOOMOUT', text="")
 
-               col.itemO("object.vertex_group_copy", icon='ICON_BLANK1', text="")
+               col.itemO("object.vertex_group_copy", icon='ICON_COPYDOWN', text="")
                if ob.data.users > 1:
-                       col.itemO("object.vertex_group_copy_to_linked", icon='ICON_BLANK1', text="")
+                       col.itemO("object.vertex_group_copy_to_linked", icon='ICON_COPYDOWN', text="")
 
                group = ob.active_vertex_group
                if group:
index 24bd2ebe5ad669d6fe3a91f5857fcfab8a65e2ed..7c63954767f95d702f323deff80d7714c669a4dd 100644 (file)
@@ -721,6 +721,10 @@ static int pose_slide_modal (bContext *C, wmOperator *op, wmEvent *evt)
                        pose_slide_apply(C, op, pso);
                }
                        break;
+                       
+               default: /* unhandled event (maybe it was some view manip? */
+                       /* allow to pass through */
+                       return OPERATOR_RUNNING_MODAL|OPERATOR_PASS_THROUGH;
        }
        
        /* still running... */