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:
authorJacques Lucke <jacques@blender.org>2020-02-27 14:11:05 +0300
committerJacques Lucke <jacques@blender.org>2020-02-27 14:13:00 +0300
commit57bd1a0ae18b327a57c187c48bdb9effcb5f4b6a (patch)
tree689035c196861a0783d22168c37fc2b5f6138713
parente420caab19cefe4c44a70394b96490d0e410de7b (diff)
Fix T74227: Crash when clicking on viewport shading properties
-rw-r--r--source/blender/makesrna/intern/rna_space.c2
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;
}