Skip to content

Commit

Permalink
fixed #798: omf export
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelBlend committed Sep 3, 2024
1 parent d17ce3f commit eb1d50b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion io_scene_xray/formats/omf/exp.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ def read_motion_params(packed_reader, params_version):
'<{}s'.format(len(mark_name)),
mark_name
))
motion.writer.data.append(0xa) # end string
motion.writer.data.append(0xd) # \r char
motion.writer.data.append(0xa) # \n char
motion.writer.data.extend(struct.pack('<I', mark_count))
motion.writer.data.extend(packed_reader.getb(8 * mark_count))
motions_params[motion.name] = motion
Expand Down

0 comments on commit eb1d50b

Please sign in to comment.