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>2015-10-06 13:43:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-06 13:43:04 +0300
commit8d08976ef097a963c2ca646fe630365b1c879564 (patch)
tree1ed5929ec8d8f2293c0e620f7e2ba4eb53113402 /source/blender/makesrna/intern/rna_gpencil.c
parent359d1bd580c138c2b76b2afaed2a9069d5676707 (diff)
Cleanup: return PROP_EDITABLE rna flag
Harmless, since the flag happens to be 1.
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r--source/blender/makesrna/intern/rna_gpencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 333220146d6..80a52a0a3d1 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -73,7 +73,7 @@ static int rna_GPencilLayer_active_frame_editable(PointerRNA *ptr)
if (gpl->flag & GP_LAYER_LOCKED)
return 0;
else
- return 1;
+ return PROP_EDITABLE;
}
static void rna_GPencilLayer_line_width_range(PointerRNA *ptr, int *min, int *max,