* Restored font selection functionality with open font and unlink font operators,

so you can change the font of 3D text objects.
This commit is contained in:
Matt Ebb
2010-01-11 05:10:57 +00:00
parent 9d67c720d5
commit e0dd3fe587
10 changed files with 205 additions and 9 deletions

View File

@@ -282,10 +282,12 @@ class DATA_PT_font(DataButtonsPanel):
char = context.curve.edit_format
wide_ui = context.region.width > narrowui
if wide_ui:
layout.prop(text, "font")
else:
layout.prop(text, "font", text="")
layout.template_ID(text, "font", open="font.open", unlink="font.unlink")
#if wide_ui:
# layout.prop(text, "font")
#else:
# layout.prop(text, "font", text="")
split = layout.split()