changed some {} to {0}, these were causing errors on msvc. also got rid of some spurious prototypes I forgot to get rid off.

This commit is contained in:
2009-04-19 20:09:31 +00:00
parent f1979f45ec
commit 5146540095
4 changed files with 6 additions and 10 deletions

View File

@@ -1010,6 +1010,7 @@ PyObject *pyrna_param_to_py(PointerRNA *ptr, PropertyRNA *prop, void *data)
PyObject *ret;
int type = RNA_property_type(prop);
int len = RNA_property_array_length(prop);
int a;
if(len > 0) {