X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_animation.py;fp=blender%2Fio_mspgl%2Fexport_animation.py;h=45eff8f9d09e80cdbe8aa0d0a18520f8db0559fd;hp=0d72edb4d5eed4894e1df575e8a5b396213ab158;hb=475c875fd12e264f093a88c8c4dc52ee13991569;hpb=4c142176bad0ad17128a8176bedac3952c069449 diff --git a/blender/io_mspgl/export_animation.py b/blender/io_mspgl/export_animation.py index 0d72edb4..45eff8f9 100644 --- a/blender/io_mspgl/export_animation.py +++ b/blender/io_mspgl/export_animation.py @@ -32,7 +32,8 @@ class AnimationExporter: if self.collection: from .datafile import Statement with open(os.path.join(path, base+".mdc"), "w") as out_file: - for r in resources.values(): + for n in sorted(resources.keys()): + r = resources[n] st = Statement("animation", r.name) st.sub = r.statements st.write_to_file(out_file)