Export animation range selected with start/end playback range in Timeline Editor

This commit is contained in:
khreathor 2018-11-20 18:28:42 +01:00 committed by Bill Currie
parent 302a462c32
commit 90a707f7f9

View file

@ -300,7 +300,7 @@ def export_mdl(operator, context, filepath):
make_skin(operator, mdl, mesh)
if not mdl.frames:
curframe = context.scene.frame_current
for fno in range(1, curframe + 1):
for fno in range(context.scene.frame_start, context.scene.frame_end + 1):
context.scene.frame_set(fno)
mesh = obj.to_mesh(context.scene, True, 'PREVIEW') #wysiwyg?
if mdl.obj.qfmdl.xform: