Cleanup: tiny improvement in error reporting for makesrna
authorInes Almeida <britalmeida@gmail.com>
Wed, 3 Oct 2018 19:56:33 +0000 (21:56 +0200)
committerInes Almeida <britalmeida@gmail.com>
Wed, 3 Oct 2018 19:56:33 +0000 (21:56 +0200)
source/blender/makesrna/intern/rna_define.c

index 4964e94652ce6e03d9a632a4b67937f4130ee381..c3c7367283e296d85b02cbd08ced2efd75406e1f 100644 (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;