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>2011-10-13 08:06:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-13 08:06:32 +0400
commit03c72a5ba0fd29542eced2276f63241d3b8cd572 (patch)
treebee3f945ba15fb2e156915f0cf0dceb49d89c0bd /source/blender/makesdna/DNA_gpencil_types.h
parent49b1a319c44f0ac3db45652f4cb022d2e1a93d40 (diff)
ensure grease pencil layer names are unique when set through rna.
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_types.h')
-rw-r--r--source/blender/makesdna/DNA_gpencil_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_types.h b/source/blender/makesdna/DNA_gpencil_types.h
index b259d592864..a4d0b3685e3 100644
--- a/source/blender/makesdna/DNA_gpencil_types.h
+++ b/source/blender/makesdna/DNA_gpencil_types.h
@@ -99,7 +99,8 @@ typedef struct bGPDlayer {
float color[4]; /* color that should be used to draw all the strokes in this layer */
- char info[128]; /* optional reference info about this layer (i.e. "director's comments, 12/3") */
+ char info[128]; /* optional reference info about this layer (i.e. "director's comments, 12/3")
+ * this is used for the name of the layer too and kept unique. */
} bGPDlayer;
/* bGPDlayer->flag */