Skip to content

Commit 0eda912

Browse files
committed
[SM64] Fix Fast-64#355 - Fix unaddressed object types in Fast-64#358
The previous fix was incomplete but the issue was never noticed from how uncommon camera volumes are. Previous fix was a fix to Fast-64#339
1 parent 8137701 commit 0eda912

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fast64_internal/sm64/sm64_objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ def process_sm64_objects(obj, area, rootMatrix, transformMatrix, specialsOnly):
854854
SM64_Whirpool(obj.whirlpool_index, obj.whirpool_condition, obj.whirpool_strength, translation)
855855
)
856856
elif obj.sm64_obj_type == "Camera Volume":
857-
checkIdentityRotation(obj, rotation, True)
857+
checkIdentityRotation(obj, rotation.to_quaternion(), True)
858858
if obj.cameraVolumeGlobal:
859859
triggerIndex = -1
860860
else:
@@ -871,7 +871,7 @@ def process_sm64_objects(obj, area, rootMatrix, transformMatrix, specialsOnly):
871871
)
872872

873873
elif obj.sm64_obj_type == "Puppycam Volume":
874-
checkIdentityRotation(obj, rotation, False)
874+
checkIdentityRotation(obj, rotation.to_quaternion(), False)
875875

876876
triggerIndex = area.index
877877
puppycamProp = obj.puppycamProp

0 commit comments

Comments
 (0)