[Bf-blender-cvs] [a8a77609d3b] blender2.8: Fix Cycles + Freestyle rendering crash, due to bug in RNA override code.

Brecht Van Lommel noreply at git.blender.org
Mon Feb 5 15:51:04 CET 2018


Commit: a8a77609d3bd2555f72eed1acc8edf6afe93901c
Author: Brecht Van Lommel
Date:   Mon Feb 5 15:01:26 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBa8a77609d3bd2555f72eed1acc8edf6afe93901c

Fix Cycles + Freestyle rendering crash, due to bug in RNA override code.

===================================================================

M	source/blender/makesrna/intern/rna_access.c

===================================================================

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 = {



More information about the Bf-blender-cvs mailing list