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_mesh.c | |
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_mesh.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_mesh.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_mesh.c b/source/blender/editors/gpencil/gpencil_mesh.c index e85221fba8c..55468dffab0 100644 --- a/source/blender/editors/gpencil/gpencil_mesh.c +++ b/source/blender/editors/gpencil/gpencil_mesh.c @@ -472,5 +472,10 @@ void GPENCIL_OT_bake_mesh_animation(wmOperatorType *ot) RNA_def_int( ot->srna, "frame_target", 1, 1, 100000, "Target Frame", "Destination frame", 1, 100000); - RNA_def_enum(ot->srna, "project_type", reproject_type, GP_REPROJECT_VIEW, "Projection Type", ""); + RNA_def_enum(ot->srna, + "project_type", + rna_gpencil_reproject_type_items, + GP_REPROJECT_VIEW, + "Projection Type", + ""); } |