Closed cmbasnett closed 8 months ago
Layout.prop should accept an object as the first argument type.
Layout.prop
object
The Layout.prop has it's data type as AnyType, which gives errors when passing in self, for example.
data
AnyType
self
There is also the same problem with prop_search for both the data and search_data arguments.
prop_search
search_data
This issue is now fixed.
System Information
Expected behavior
Layout.prop
should accept anobject
as the first argument type.Description about the bug
The
Layout.prop
has it'sdata
type asAnyType
, which gives errors when passing inself
, for example.Screenshots/Files [Optional]
Additional comments [Optional]
There is also the same problem with
prop_search
for both thedata
andsearch_data
arguments.