RNA: remove paranoid NULL check

Was added as part of D2666.
This commit is contained in:
2017-11-29 14:29:47 +11:00
parent 0c8265c0a9
commit ddc7e72fe1

View File

@@ -2921,9 +2921,6 @@ char *RNA_property_string_get_alloc(PointerRNA *ptr, PropertyRNA *prop,
int length;
BLI_assert(RNA_property_type(prop) == PROP_STRING);
if (!ptr->data) {
return NULL;
}
length = RNA_property_string_length(ptr, prop);