RNA: existing type check used wrong identifier

Own error in recent type checks, in many cases the 'idname'
is used for the struct identifier, not the 'identifier'
which is the Python class name in this context.
This commit is contained in:
2017-08-31 18:42:48 +10:00
parent 4f1b510d75
commit 732f70a151
5 changed files with 20 additions and 18 deletions

View File

@@ -321,7 +321,7 @@ static StructRNA *rna_RenderEngine_register(Main *bmain, ReportList *reports, vo
break;
}
}
if (!RNA_struct_available_or_report(reports, identifier)) {
if (!RNA_struct_available_or_report(reports, dummyet.idname)) {
return NULL;
}