rna/py-api fix.

C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument.

next commit will make order of arguments consistant (currently only changed order that rna wrapped).
(commit 27674 and 27683 by Campbell from render25 branch)
This commit is contained in:
2010-03-23 15:31:12 +00:00
parent cb6d2685bd
commit f46cccedf6
19 changed files with 377 additions and 377 deletions

View File

@@ -157,7 +157,7 @@ void uiDefAutoButsRNA(const bContext *C, uiLayout *layout, PointerRNA *ptr, int
else
col= NULL;
uiItemFullR(col, "", 0, ptr, prop, -1, 0, 0);
uiItemFullR(col, ptr, prop, -1, 0, 0, "", 0);
}
RNA_STRUCT_END;
}