Fix #128797: Custom property Data-Block Type only has Object ID Type
In the WindowManager code, use `bpy.types.ID.id_type` enum property to get all valid ID types, instead of using a property on the `Action` type. Pull Request: https://projects.blender.org/blender/blender/pulls/128834
This commit is contained in:
@@ -1410,7 +1410,7 @@ rna_custom_property_subtype_vector_items = (
|
||||
)
|
||||
|
||||
rna_id_type_items = tuple((item.identifier, item.name, item.description, item.icon, item.value)
|
||||
for item in bpy.types.Action.bl_rna.properties["id_root"].enum_items)
|
||||
for item in bpy.types.ID.bl_rna.properties["id_type"].enum_items)
|
||||
|
||||
|
||||
class WM_OT_properties_edit(Operator):
|
||||
|
||||
Reference in New Issue
Block a user