Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_mesh.py
| Context not available. | |||||
| col.operator("object.vertex_group_move", icon='TRIA_UP', text="").direction = 'UP' | col.operator("object.vertex_group_move", icon='TRIA_UP', text="").direction = 'UP' | ||||
| col.operator("object.vertex_group_move", icon='TRIA_DOWN', text="").direction = 'DOWN' | col.operator("object.vertex_group_move", icon='TRIA_DOWN', text="").direction = 'DOWN' | ||||
| if ob.vertex_groups and (ob.mode == 'EDIT' or (ob.mode == 'WEIGHT_PAINT' and ob.type == 'MESH' and ob.data.use_paint_mask_vertex)): | if ob.vertex_groups and (ob.mode == 'EDIT' or ((ob.mode == 'WEIGHT_PAINT' or ob.mode == 'VERTEX_PAINT') and ob.type == 'MESH' and ob.data.use_paint_mask_vertex)): | ||||
| row = layout.row() | row = layout.row() | ||||
| sub = row.row(align=True) | sub = row.row(align=True) | ||||
| Context not available. | |||||
| layout.prop(context.tool_settings, "vertex_group_weight", text="Weight") | layout.prop(context.tool_settings, "vertex_group_weight", text="Weight") | ||||
| class DATA_PT_shape_keys(MeshButtonsPanel, Panel): | class DATA_PT_shape_keys(MeshButtonsPanel, Panel): | ||||
| bl_label = "Shape Keys" | bl_label = "Shape Keys" | ||||
| COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'} | COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'} | ||||
| Context not available. | |||||