mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
Set fakeuser on actions.
Without fakeuser set, blender will toss out the actions on save and reload. Converting to an nla strip might take care of that, but I haven't figured out how to do that yet, so avoid any nasty surprised for the user.
This commit is contained in:
parent
70f500a087
commit
0952e918dd
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ def build_actions(mdl):
|
|||
sk.animation_data_create()
|
||||
sk.animation_data.action = bpy.data.actions.new(frame.name)
|
||||
act=sk.animation_data.action
|
||||
act.use_fake_user = True
|
||||
data = []
|
||||
other_keys = mdl.keys[:]
|
||||
if frame.type:
|
||||
|
|
Loading…
Reference in a new issue