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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user