Skip to content

Commit e6eb315

Browse files
committed
backport to blender 2.76
1 parent e5cf99a commit e6eb315

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
bl_info = {
2727
"name": "Rigacar (Generates Car Rig)",
2828
"author": "David Gayerie",
29-
"version": (3, 0),
30-
"blender": (2, 79, 0),
29+
"version": (3, 1),
30+
"blender": (2, 76, 0),
3131
"location": "View3D > Add > Armature",
3232
"description": "Adds a deformation rig for vehicules, generates animation rig and bake wheels animation.",
3333
"wiki_url": "http://digicreatures.net/articles/rigacar.html",

bake_operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _create_scale_evaluator(self, action, source_bone):
125125

126126
def _bake_action(self, context, *source_bones):
127127
action = context.object.animation_data.action
128-
nla_tweak_mode = context.object.animation_data.use_tweak_mode
128+
nla_tweak_mode = context.object.animation_data.use_tweak_mode if hasattr(context.object.animation_data, 'use_tweak_mode') else False
129129

130130
# saving context
131131
selected_bones = [b for b in context.object.data.bones if b.select]

0 commit comments

Comments
 (0)