Skip to content

Commit

Permalink
Fix Fast-64#355 - Fix unaddressed object types in Fast-64#358
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Lilaa3 committed Aug 22, 2024
1 parent 8137701 commit 60359c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fast64_internal/sm64/sm64_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ def process_sm64_objects(obj, area, rootMatrix, transformMatrix, specialsOnly):
SM64_Whirpool(obj.whirlpool_index, obj.whirpool_condition, obj.whirpool_strength, translation)
)
elif obj.sm64_obj_type == "Camera Volume":
checkIdentityRotation(obj, rotation, True)
checkIdentityRotation(obj, rotation.to_quaternion(), True)
if obj.cameraVolumeGlobal:
triggerIndex = -1
else:
Expand All @@ -871,7 +871,7 @@ def process_sm64_objects(obj, area, rootMatrix, transformMatrix, specialsOnly):
)

elif obj.sm64_obj_type == "Puppycam Volume":
checkIdentityRotation(obj, rotation, False)
checkIdentityRotation(obj, rotation.to_quaternion(), False)

triggerIndex = area.index
puppycamProp = obj.puppycamProp
Expand Down

0 comments on commit 60359c5

Please sign in to comment.