get a tad more vertical space in the toolbar.
This commit is contained in:
@@ -88,8 +88,9 @@ class VIEW3D_PT_tools_objectmode(View3DPanel, bpy.types.Panel):
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.label(text="Shading:")
|
||||
col.operator("object.shade_smooth", text="Smooth")
|
||||
col.operator("object.shade_flat", text="Flat")
|
||||
row = col.row(align=True)
|
||||
row.operator("object.shade_smooth", text="Smooth")
|
||||
row.operator("object.shade_flat", text="Flat")
|
||||
|
||||
draw_keyframing_tools(context, layout)
|
||||
|
||||
@@ -155,8 +156,9 @@ class VIEW3D_PT_tools_meshedit(View3DPanel, bpy.types.Panel):
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.label(text="Shading:")
|
||||
col.operator("mesh.faces_shade_smooth", text="Smooth")
|
||||
col.operator("mesh.faces_shade_flat", text="Flat")
|
||||
row = col.row(align=True)
|
||||
row.operator("mesh.faces_shade_smooth", text="Smooth")
|
||||
row.operator("mesh.faces_shade_flat", text="Flat")
|
||||
|
||||
draw_repeat_tools(context, layout)
|
||||
|
||||
|
||||
@@ -1649,10 +1649,10 @@ static int open_exec(bContext *C, wmOperator *op)
|
||||
VFont *font;
|
||||
PropertyPointerRNA *pprop;
|
||||
PointerRNA idptr;
|
||||
char str[FILE_MAX];
|
||||
RNA_string_get(op->ptr, "filepath", str);
|
||||
char filepath[FILE_MAX];
|
||||
RNA_string_get(op->ptr, "filepath", filepath);
|
||||
|
||||
font = load_vfont(str);
|
||||
font= load_vfont(filepath);
|
||||
|
||||
if(!font) {
|
||||
if(op->customdata) MEM_freeN(op->customdata);
|
||||
|
||||
Reference in New Issue
Block a user