Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-11-20 08:11:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-20 08:11:10 +0300
commit35014aa741251e79c4cb4dffbe84580789059c5c (patch)
treea28df20a964824edd7be94f605a53330666d8ff4 /source/blender/editors/curve/editfont.c
parent593815b23f1eedbeb959067f08d810f35f9e3633 (diff)
- add python/rna function region.tag_redraw()
- removed print which was before NULL check, (possible crash) - add execute hooks for the python console (not used by any scripts yet)
Diffstat (limited to 'source/blender/editors/curve/editfont.c')
-rw-r--r--source/blender/editors/curve/editfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c
index ed8b1dae430..19a8030c6be 100644
--- a/source/blender/editors/curve/editfont.c
+++ b/source/blender/editors/curve/editfont.c
@@ -1696,7 +1696,7 @@ static int open_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event))
cu = ob->data;
font = cu->vfont;
}
- printf("%s\n", font->name);
+
path = (font && strcmp(font->name, FO_BUILTIN_NAME) != 0)? font->name: U.fontdir;
if(RNA_property_is_set(op->ptr, "filepath"))