Merge branch 'blender-v3.6-release' #104736
@ -593,7 +593,6 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
|
|||||||
def read_track_data(temp_chunk):
|
def read_track_data(temp_chunk):
|
||||||
"""Trackflags 0x1, 0x2 and 0x3 are for looping. 0x8, 0x10 and 0x20
|
"""Trackflags 0x1, 0x2 and 0x3 are for looping. 0x8, 0x10 and 0x20
|
||||||
locks the XYZ axes. 0x100, 0x200 and 0x400 unlinks the XYZ axes"""
|
locks the XYZ axes. 0x100, 0x200 and 0x400 unlinks the XYZ axes"""
|
||||||
new_chunk.bytes_read += SZ_U_SHORT
|
|
||||||
temp_data = file.read(SZ_U_SHORT)
|
temp_data = file.read(SZ_U_SHORT)
|
||||||
tflags = struct.unpack('<H', temp_data)[0]
|
tflags = struct.unpack('<H', temp_data)[0]
|
||||||
new_chunk.bytes_read += SZ_U_SHORT
|
new_chunk.bytes_read += SZ_U_SHORT
|
||||||
@ -622,8 +621,8 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
|
|||||||
return keyframe_data
|
return keyframe_data
|
||||||
|
|
||||||
def read_track_angle(temp_chunk):
|
def read_track_angle(temp_chunk):
|
||||||
new_chunk.bytes_read += SZ_U_SHORT * 5
|
|
||||||
temp_data = file.read(SZ_U_SHORT * 5)
|
temp_data = file.read(SZ_U_SHORT * 5)
|
||||||
|
new_chunk.bytes_read += SZ_U_SHORT * 5
|
||||||
temp_data = file.read(SZ_U_INT)
|
temp_data = file.read(SZ_U_INT)
|
||||||
nkeys = struct.unpack('<I', temp_data)[0]
|
nkeys = struct.unpack('<I', temp_data)[0]
|
||||||
new_chunk.bytes_read += SZ_U_INT
|
new_chunk.bytes_read += SZ_U_INT
|
||||||
@ -1159,7 +1158,6 @@ def process_next_chunk(context, file, previous_chunk, imported_objects, CONSTRAI
|
|||||||
|
|
||||||
elif KEYFRAME and new_chunk.ID == ROT_TRACK_TAG and tracking == 'OBJECT': # Rotation
|
elif KEYFRAME and new_chunk.ID == ROT_TRACK_TAG and tracking == 'OBJECT': # Rotation
|
||||||
keyframe_rotation = {}
|
keyframe_rotation = {}
|
||||||
new_chunk.bytes_read += SZ_U_SHORT
|
|
||||||
temp_data = file.read(SZ_U_SHORT)
|
temp_data = file.read(SZ_U_SHORT)
|
||||||
tflags = struct.unpack('<H', temp_data)[0]
|
tflags = struct.unpack('<H', temp_data)[0]
|
||||||
new_chunk.bytes_read += SZ_U_SHORT
|
new_chunk.bytes_read += SZ_U_SHORT
|
||||||
|
Loading…
Reference in New Issue
Block a user