Skip to content

Commit

Permalink
put 'wheels on y axis' to 0 before baking wheels rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonless committed Mar 4, 2019
1 parent ba9eac9 commit 701fe68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bake_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ class BakeWheelRotationOperator(bpy.types.Operator, BakingOperator):
bl_options = {'REGISTER', 'UNDO'}

def execute(self, context):
context.object['wheels_on_y_axis'] = False
self._bake_wheels_rotation(context)
return {'FINISHED'}

Expand Down

0 comments on commit 701fe68

Please sign in to comment.