[Bf-blender-cvs] [7eceb756e4a] master: Tweak UI messgae checking macro, identifiers are not always available...

Bastien Montagne noreply at git.blender.org
Tue May 30 11:41:18 CEST 2017


Commit: 7eceb756e4a34b827997159c6e9cf40ad706bc39
Author: Bastien Montagne
Date:   Tue May 30 11:40:51 2017 +0200
Branches: master
https://developer.blender.org/rB7eceb756e4a34b827997159c6e9cf40ad706bc39

Tweak UI messgae checking macro, identifiers are not always available...

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

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 49983b0bc2b..42c0344f46e 100644
--- a/source/blender/makesrna/intern/rna_define.c
+++ b/source/blender/makesrna/intern/rna_define.c
@@ -71,8 +71,8 @@ BlenderDefRNA DefRNA = {NULL, {NULL, NULL}, {NULL, NULL}, NULL, 0, 0, 0, 1, 1};
 	if (description && (description)[0]) {                                         \
 		int i = strlen(description);                                               \
 		if (i > 3 && (description)[i - 1] == '.' && (description)[i - 3] != '.') { \
-			fprintf(stderr, "%s: '%s' '%s' description ends with a '.' !\n",       \
-			        __func__, id1 ? id1 : "", id2 ? id2 : "");                     \
+			fprintf(stderr, "%s: '%s' description from '%s' '%s' ends with a '.' !\n",       \
+			        __func__, description, id1 ? id1 : "", id2 ? id2 : "");                     \
 		}                                                                          \
 	} (void)0




More information about the Bf-blender-cvs mailing list