Skip to content
Snippets Groups Projects
Commit 551c5e62 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix [#33870] animated bake fails

report about baking in editmode.
parent c3dd2e9a
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,10 @@ class OBJECT_OT_animrenderbake(bpy.types.Operator):
self.report({'ERROR'}, "The baked object must be a mesh object")
return {'CANCELLED'}
if context.active_object.mode == 'EDIT':
self.report({'ERROR'}, "Can't bake in edit-mode")
return {'CANCELLED'}
img = None
# find the image that's used for rendering
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment