- keymap import/export works again (broke with own api changes)

- function renames, move WM functions into collections wm.add_keymap() --> wm.keymaps.new()
  note: new is used for named items in a collection, which return the result.
- Action.get_frame_range() is now a readonly property 'frame_range', floats rather then ints.
This commit is contained in:
2010-08-30 13:50:59 +00:00
parent ec8848d03a
commit eab50148e2
12 changed files with 352 additions and 360 deletions

View File

@@ -2760,7 +2760,9 @@ Takes: {''')
else:
file.write('\n\tTake: "%s" {' % sane_takename(blenAction))
act_start, act_end = blenAction.get_frame_range()
act_start, act_end = blenAction.frame_range
act_start = int(act_start)
act_end = int(act_end)
# tmp = blenAction.getFrameNumbers()
# if tmp:
# act_start = min(tmp)