diff options
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 3d5d5091bf1..5fdc2a18330 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -1280,6 +1280,8 @@ static const EnumPropertyItem *rna_3DViewShading_render_pass_itemf(bContext *C, RNA_enum_item_add(&result, &totitem, item); } } + + RNA_enum_item_end(&result, &totitem); *r_free = true; return result; } |