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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-02-05 17:01:26 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-02-05 17:08:04 +0300
commita8a77609d3bd2555f72eed1acc8edf6afe93901c (patch)
treef6d4a58ee86f33c1b59ac78ea4aa827c09e9ca17 /source/blender/makesrna/intern/rna_access.c
parenta1c45a453f55fd61072ff31566654cbd03e92428 (diff)
Fix Cycles + Freestyle rendering crash, due to bug in RNA override code.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index b8dbc69f352..115d89d93c7 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -7054,7 +7054,7 @@ bool RNA_property_copy(PointerRNA *ptr, PointerRNA *fromptr, PropertyRNA *prop,
prop_src = rna_ensure_property_realdata(&prop_src, fromptr);
if (ELEM(NULL, prop_dst, prop_src)) {
- false;
+ return false;
}
IDOverrideStaticPropertyOperation opop = {