Description
When attempting to bake camera animation using the Shakify add-on in Blender 4.3, an error occurs on the first attempt. However, the baking process succeeds on the second attempt.
Steps to Reproduce
- Set up a camera with Shakify in Blender 4.3
- Attempt to bake the camera animation
- Observe the error on the first attempt
- Try baking again
- Observe that the second attempt succeeds
Error Message
Python: Traceback (most recent call last): File "/Applications/Blender 4.3.app/Contents/Resources/4.3/scripts/startup/b_operators/anim.py", line 308, in execute actions = anim_utils.bake_action_objects( File "/Applications/Blender 4.3.app/Contents/Resources/4.3/scripts/modules/bpy_extras/anim_utils.py", line 133, in bake_action_objects return iter.send (None) File "/Applications/Blender 4.3.app/Contents/Resources/4.3/scripts/modules/bpy_extras/anim_utils.py", line 166, in bake_action_objects_iter yield tuple (iter.send (None) for iter in iter_all) File "/Applications/Blender 4.3.app/Contents/Resources/ 4.3/scripts/modules/bpy_extras/anim_utils.py", line 166, in <genexpr> yield tuple iter.send (None) for iter in iter_all) File "/Applications/Blender 4.3.app/Contents/Resources/ 4.3/scripts/modules/bpy_extras/anim_utils.py", line 375, in bake_action _iter atd.action = action AttributeError: Writing to ID classes in this context is not allowed: Camera.010, Object datablock, error setting AnimData.action
Expected Behavior
The camera animation should bake successfully on the first attempt without any errors.
Actual Behavior
An error occurs on the first baking attempt, but the process succeeds on the second attempt.
System Information
Blender Version: 4.3
Operating System: macOS
Shakify Add-on Version: Latest
Description
When attempting to bake camera animation using the Shakify add-on in Blender 4.3, an error occurs on the first attempt. However, the baking process succeeds on the second attempt.
Steps to Reproduce
Error Message
Python: Traceback (most recent call last): File "/Applications/Blender 4.3.app/Contents/Resources/4.3/scripts/startup/b_operators/anim.py", line 308, in execute actions = anim_utils.bake_action_objects( File "/Applications/Blender 4.3.app/Contents/Resources/4.3/scripts/modules/bpy_extras/anim_utils.py", line 133, in bake_action_objects return iter.send (None) File "/Applications/Blender 4.3.app/Contents/Resources/4.3/scripts/modules/bpy_extras/anim_utils.py", line 166, in bake_action_objects_iter yield tuple (iter.send (None) for iter in iter_all) File "/Applications/Blender 4.3.app/Contents/Resources/ 4.3/scripts/modules/bpy_extras/anim_utils.py", line 166, in <genexpr> yield tuple iter.send (None) for iter in iter_all) File "/Applications/Blender 4.3.app/Contents/Resources/ 4.3/scripts/modules/bpy_extras/anim_utils.py", line 375, in bake_action _iter atd.action = action AttributeError: Writing to ID classes in this context is not allowed: Camera.010, Object datablock, error setting AnimData.actionExpected Behavior
The camera animation should bake successfully on the first attempt without any errors.
Actual Behavior
An error occurs on the first baking attempt, but the process succeeds on the second attempt.
System Information
Blender Version: 4.3
Operating System: macOS
Shakify Add-on Version: Latest