Fix #110464: rna_idprop_ui_create() fails to create new string property #110935

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:110464 into main 2023-08-10 16:54:42 +02:00

1 Commits

Author SHA1 Message Date
526e57a5f3 Fix #110464: rna_idprop_ui_create() fails to create new string property
The `BPy_IDPropertyUIManager` takes different keywords for different
data types in its `update` methods.
Booleans and Strings only handle defaults and description while Floats
and Ints can handle additional stuff like min/max.
(see `idprop_ui_data_update_string` vs. e.g.
`idprop_ui_data_update_float`)

There was a different code path in `rna_idprop_ui_create` for bools
already (only passing a subset to `update`), now use this for string as
well since it matches.

Bug introduced in 8b9a3b94fc.

Probably good for LTS.
2023-08-08 19:04:42 +02:00