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>2021-06-20 14:05:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-20 16:59:07 +0300
commitbce482f476fad526d34c889de200eb58e8c0c861 (patch)
treee565538e656e017da0ff58eaf5d358fe0c097067 /source/blender/editors/gpencil
parentd9b1592c886783fbb1c39a016a91b403db8e8660 (diff)
Cleanup: use eSpace_Type enum type
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/annotate_draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c
index fe1c5efc747..3131ec70fb0 100644
--- a/source/blender/editors/gpencil/annotate_draw.c
+++ b/source/blender/editors/gpencil/annotate_draw.c
@@ -760,15 +760,15 @@ static void annotation_draw_data_all(Scene *scene,
int winy,
int cfra,
int dflag,
- const char spacetype)
+ const eSpace_Type space_type)
{
bGPdata *gpd_source = NULL;
if (scene) {
- if (spacetype == SPACE_VIEW3D) {
+ if (space_type == SPACE_VIEW3D) {
gpd_source = (scene->gpd ? scene->gpd : NULL);
}
- else if (spacetype == SPACE_CLIP && scene->clip) {
+ else if (space_type == SPACE_CLIP && scene->clip) {
/* currently drawing only gpencil data from either clip or track,
* but not both - XXX fix logic behind */
gpd_source = (scene->clip->gpd ? scene->clip->gpd : NULL);