[Bf-blender-cvs] [57bd1a0ae18] master: Fix T74227: Crash when clicking on viewport shading properties
Jacques Lucke
noreply at git.blender.org
Thu Feb 27 12:15:32 CET 2020
Commit: 57bd1a0ae18b327a57c187c48bdb9effcb5f4b6a
Author: Jacques Lucke
Date: Thu Feb 27 12:11:05 2020 +0100
Branches: master
https://developer.blender.org/rB57bd1a0ae18b327a57c187c48bdb9effcb5f4b6a
Fix T74227: Crash when clicking on viewport shading properties
===================================================================
M source/blender/makesrna/intern/rna_space.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list