diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-05-26 18:30:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-05-26 18:52:45 +0300 |
commit | 6b00df110552c3b54e6bfcc1247886f015d83c0c (patch) | |
tree | 412a0a19fe832e41e43d06b263fe878fb04e2c1b /source/blender/editors/gpencil/gpencil_intern.h | |
parent | 72d660443bdb8ed0b8ab34fdfe068d4e065d7c58 (diff) |
Cleanup: shadow warning
Move reproject_type into an extern, to avoid declaring multiple times.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_intern.h')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_intern.h | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 665401e8fee..0e8fdc3c375 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -752,24 +752,6 @@ struct GP_EditableStrokes_Iter { (void)0 /* Reused items for bake operators. */ -static const EnumPropertyItem reproject_type[] = { - {GP_REPROJECT_KEEP, "KEEP", 0, "No Reproject", ""}, - {GP_REPROJECT_FRONT, "FRONT", 0, "Front", "Reproject the strokes using the X-Z plane"}, - {GP_REPROJECT_SIDE, "SIDE", 0, "Side", "Reproject the strokes using the Y-Z plane"}, - {GP_REPROJECT_TOP, "TOP", 0, "Top", "Reproject the strokes using the X-Y plane"}, - {GP_REPROJECT_VIEW, - "VIEW", - 0, - "View", - "Reproject the strokes to end up on the same plane, as if drawn from the current " - "viewpoint " - "using 'Cursor' Stroke Placement"}, - {GP_REPROJECT_CURSOR, - "CURSOR", - 0, - "Cursor", - "Reproject the strokes using the orientation of 3D cursor"}, - {0, NULL, 0, NULL, NULL}, -}; +extern const EnumPropertyItem rna_gpencil_reproject_type_items[]; /* ****************************************************** */ |