Skip to content

Commit 701fe68

Browse files
committed
put 'wheels on y axis' to 0 before baking wheels rotation
1 parent ba9eac9 commit 701fe68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bake_operators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ class BakeWheelRotationOperator(bpy.types.Operator, BakingOperator):
210210
bl_options = {'REGISTER', 'UNDO'}
211211

212212
def execute(self, context):
213+
context.object['wheels_on_y_axis'] = False
213214
self._bake_wheels_rotation(context)
214215
return {'FINISHED'}
215216

0 commit comments

Comments
 (0)