Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_operators/nla.py')
-rw-r--r--release/scripts/startup/bl_operators/nla.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/nla.py b/release/scripts/startup/bl_operators/nla.py
index 4b4630fdd4e..d6b40d7e6cd 100644
--- a/release/scripts/startup/bl_operators/nla.py
+++ b/release/scripts/startup/bl_operators/nla.py
@@ -121,7 +121,7 @@ def bake(frame_start,
# incase animation data hassnt been created
atd = obj.animation_data_create()
- if action == None:
+ if action is None:
action = bpy.data.actions.new("Action")
atd.action = action