diff options
Diffstat (limited to 'source/blender/blenkernel/intern/linestyle.c')
-rw-r--r-- | source/blender/blenkernel/intern/linestyle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/linestyle.c b/source/blender/blenkernel/intern/linestyle.c index 0ed1b02d3c9..43a0daef80c 100644 --- a/source/blender/blenkernel/intern/linestyle.c +++ b/source/blender/blenkernel/intern/linestyle.c @@ -48,7 +48,7 @@ #include "BLI_blenlib.h" -static char *modifier_name[LS_MODIFIER_NUM] = { +static const char *modifier_name[LS_MODIFIER_NUM] = { NULL, "Along Stroke", "Distance from Camera", @@ -95,7 +95,7 @@ static void default_linestyle_settings(FreestyleLineStyle *linestyle) linestyle->caps = LS_CAPS_BUTT; } -FreestyleLineStyle *FRS_new_linestyle(char *name, struct Main *main) +FreestyleLineStyle *FRS_new_linestyle(const char *name, struct Main *main) { FreestyleLineStyle *linestyle; |