Merge branch 'blender-v4.3-release'

This commit is contained in:
Campbell Barton
2024-10-16 21:08:17 +11:00

View File

@@ -243,11 +243,14 @@ def bake_action_iter(
return clean_props
def bake_custom_properties(obj, *, custom_props, frame, group_name=""):
import idprop
if frame is None or not custom_props:
return
for key, value in custom_props.items():
if key in obj.bl_rna.properties and not obj.bl_rna.properties[key].is_animatable:
continue
if isinstance(obj[key], idprop.types.IDPropertyGroup):
continue
obj[key] = value
if key in obj.bl_rna.properties:
rna_path = key