Merge remote-tracking branch 'origin/blender-v4.1-release'

This commit is contained in:
Sybren A. Stüvel
2024-03-11 17:16:32 +01:00
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -289,6 +289,11 @@ class NLA_OT_bake(Operator):
else:
objects = context.selected_editable_objects
if bake_options.do_pose and not bake_options.do_object:
pose_object = getattr(context, 'pose_object', None)
if pose_object and pose_object not in objects:
# The active object might not be selected, but it is the one in pose mode.
# It can be assumed this pose needs baking.
objects.append(context.pose_object)
objects = [obj for obj in objects if obj.pose is not None]
object_action_pairs = (