Skip to content

Conversation

@Yanis002
Copy link
Collaborator

@Yanis002 Yanis002 commented Jan 2, 2025

found two minor issues, the first one is a bug causing the draw to fail if an object has an empty key value, and while investigating this I found another one where rotations would look for an actor's type without checking if it's using one, which caused another bug with the UI

"fixed" the first one by simply checking if the key is empty, and draw a "delete me" label so users can delete the wrong entries (still no idea how it happened though), and fixed the second one simply by checking if the type is used (now that I think about this might not work after all?)

@Yanis002 Yanis002 added bug Something isn't working oot Has to do with the Ocarina of Time 64 side labels Jan 2, 2025
@Lilaa3
Copy link
Collaborator

Lilaa3 commented Apr 18, 2025

Waiting on answer/change to my question in the dev channel

should

if "Rot" in target:
    type_value = None

also check for type?

@Yanis002
Copy link
Collaborator Author

this happens to be an issue I fixed recently, fixing the conflicts solved your question I think

that's hilarious actually, I think what this was fixing was the thing reonu found recently but since it got fixed separately now this PR only fix the object list UI issue lol

@Yanis002 Yanis002 changed the title [OoT] Fix 2 minor issues [OoT] Fix room's object list display issue Apr 27, 2025
Comment on lines +52 to +54
elif self.objectKey == "":
# just in case there's invalid objects keys, allows users to delete them
objectName = "DELETE ME!"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since "" is not a valid value for objectKey I don't understand how this can happen

The id for deleted entries (see self.deletedEntry in OoT_ObjectData.__init__) is "None", maybe that's what should be checked here instead?
Or self.objectKey not in ootData.objectData.objectsByKey ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working oot Has to do with the Ocarina of Time 64 side

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants