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:
authorCampbell Barton <ideasman42@gmail.com>2011-11-21 18:03:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-21 18:03:10 +0400
commit0670d6d2fa109f49ad64535c722087b489b45d3b (patch)
tree78223c2ba43a738e64b93a42e475d71f4be9df08 /source/blender/makesrna/intern/rna_define.c
parent22fda710ceb91372de4ecbd8248a8957719fefaa (diff)
minor edits to error printing, also print the proprty identifier for rna property errors.
Diffstat (limited to 'source/blender/makesrna/intern/rna_define.c')
-rw-r--r--source/blender/makesrna/intern/rna_define.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c
index 48274ffbd7a..abaeb202ffa 100644
--- a/source/blender/makesrna/intern/rna_define.c
+++ b/source/blender/makesrna/intern/rna_define.c
@@ -1504,7 +1504,8 @@ static PropertyDefRNA *rna_def_property_sdna(PropertyRNA *prop, const char *stru
return dp;
}
else {
- fprintf(stderr, "%s: \"%s.%s\" not found.\n", __func__, structname, propname);
+ fprintf(stderr, "%s: \"%s.%s\" (identifier \"%s\") not found.\n",
+ __func__, structname, propname, prop->identifier);
DefRNA.error= 1;
return NULL;
}