[Bf-blender-cvs] [77787310ad8] blender2.8: Cleanup: tiny improvement in error reporting for makesrna

Ines Almeida noreply at git.blender.org
Wed Oct 3 22:00:59 CEST 2018


Commit: 77787310ad82e50ea7d1b8c9fc6387eef468d250
Author: Ines Almeida
Date:   Wed Oct 3 21:56:33 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB77787310ad82e50ea7d1b8c9fc6387eef468d250

Cleanup: tiny improvement in error reporting for makesrna

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

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

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

diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c
index 4964e94652c..c3c7367283e 100644
--- a/source/blender/makesrna/intern/rna_define.c
+++ b/source/blender/makesrna/intern/rna_define.c
@@ -1878,7 +1878,7 @@ static PropertyDefRNA *rna_def_property_sdna(PropertyRNA *prop, const char *stru
 			return dp;
 		}
 		else {
-			fprintf(stderr, "%s: \"%s.%s\" (identifier \"%s\") not found.\n",
+			fprintf(stderr, "%s: \"%s.%s\" (identifier \"%s\") not found. Struct must be in DNA.\n",
 			        __func__, structname, propname, prop->identifier);
 			DefRNA.error = 1;
 			return NULL;



More information about the Bf-blender-cvs mailing list