Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/modules/bpy_extras/anim_utils.py
| Context not available. | |||||
| :return: an action or None | :return: an action or None | ||||
| :rtype: :class:`bpy.types.Action` | :rtype: :class:`bpy.types.Action` | ||||
| """ | """ | ||||
| if not (do_pose or do_object): | if not (kwargs.get('do_pose') or kwargs.get('do_object')): | ||||
| return None | return None | ||||
| action, = bake_action_objects( | action, = bake_action_objects( | ||||
| [(obj, action)], | [(obj, action)], | ||||
| frames, | frames=frames, | ||||
| **kwargs, | **kwargs, | ||||
| ) | ) | ||||
| return action | return action | ||||
| Context not available. | |||||