missed this one too

scene.add_keying_set() --> scene.keying_sets.new()
also removed the use_ prefix since argument names, since this is mainly for properties.
This commit is contained in:
2010-08-30 14:33:46 +00:00
parent eab50148e2
commit 44eb9f5095
4 changed files with 45 additions and 59 deletions

View File

@@ -238,7 +238,7 @@ class ANIM_OT_keying_set_export(bpy.types.Operator):
# Add KeyingSet and set general settings
f.write("# Keying Set Level declarations\n")
f.write("ks= scene.add_keying_set(name=\"%s\")\n" % ks.name)
f.write("ks= scene.keying_sets.new(name=\"%s\")\n" % ks.name)
if not ks.is_path_absolute:
f.write("ks.is_path_absolute = False\n")