Fix Xcode link error, missing definitions in RNA C++ API that other compilers ignored.
This commit is contained in:
@@ -1536,7 +1536,11 @@ static void rna_def_property_funcs(FILE *f, StructRNA *srna, PropertyDefRNA *dp)
|
||||
const char *nextfunc = (const char *)cprop->next;
|
||||
const char *item_type = (const char *)cprop->item_type;
|
||||
|
||||
if (dp->dnatype && STREQ(dp->dnatype, "ListBase")) {
|
||||
if (cprop->length) {
|
||||
/* always generate if we have a manual implementation */
|
||||
cprop->length = (void *)rna_def_property_length_func(f, srna, prop, dp, (const char *)cprop->length);
|
||||
}
|
||||
else if (dp->dnatype && STREQ(dp->dnatype, "ListBase")) {
|
||||
/* pass */
|
||||
}
|
||||
else if (dp->dnalengthname || dp->dnalengthfixed) {
|
||||
|
||||
Reference in New Issue
Block a user