Cleanup: tiny improvement in error reporting for makesrna

This commit is contained in:
Inês Almeida 2018-10-03 21:56:33 +02:00
parent 5a4ff142de
commit 77787310ad
1 changed files with 1 additions and 1 deletions

View File

@ -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;