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

View File

@ -90,7 +90,7 @@ def rna_idprop_ui_create(
ui_data = item.id_properties_ui(prop)
proptype, _ = rna_idprop_value_item_type(default)
if proptype is bool:
if proptype is bool or str:
ui_data = item.id_properties_ui(prop)
ui_data.update(
description=description,