diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-13 08:06:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-13 08:06:32 +0400 |
commit | 03c72a5ba0fd29542eced2276f63241d3b8cd572 (patch) | |
tree | bee3f945ba15fb2e156915f0cf0dceb49d89c0bd /source/blender/makesdna/DNA_gpencil_types.h | |
parent | 49b1a319c44f0ac3db45652f4cb022d2e1a93d40 (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.h | 3 |
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 */ |