[PE] Match OCIItems with their index instead of their order by index #95

Merged
krypto5863 merged 3 commits from main into main 2024-12-11 21:53:32 +00:00
krypto5863 commented 2024-12-08 17:46:00 +00:00 (Migrated from github.com)

I'm not sure why this was done when a perfectly good index value was available but it gives the plugin room to break, and it did when I made ObjectMap which adds negative values to the dictionary thus causing the order to shift. Hoping this is a good change and I'm not missing something.

Another plugin that I bet does this is Timeline, but I don't really wanna mess with it.

I'm not sure why this was done when a perfectly good index value was available but it gives the plugin room to break, and it did when I made ObjectMap which adds negative values to the dictionary thus causing the order to shift. Hoping this is a good change and I'm not missing something. Another plugin that I bet does this is Timeline, but I don't really wanna mess with it.
ManlyMarco (Migrated from github.com) reviewed 2024-12-08 18:03:43 +00:00
ManlyMarco (Migrated from github.com) left a comment

Your whitespace is whack, there's tabs mixed in.

Did you test this on existing old scenes? The more the better.

Your whitespace is whack, there's tabs mixed in. Did you test this on existing old scenes? The more the better.
krypto5863 commented 2024-12-08 18:15:05 +00:00 (Migrated from github.com)

I did test on one or two, but I'll do a few more checks real quick.

I did test on one or two, but I'll do a few more checks real quick.
krypto5863 commented 2024-12-08 18:21:39 +00:00 (Migrated from github.com)

Checked a good ten scenes in KKS real quick, most not mines. No issues that I can observe.

Checked a good ten scenes in KKS real quick, most not mines. No issues that I can observe.
ManlyMarco (Migrated from github.com) approved these changes 2024-12-11 21:50:44 +00:00
ManlyMarco (Migrated from github.com) left a comment

Looks good to me, please make a separate PR for the editor config file.

Looks good to me, please make a separate PR for the editor config file.
ReafLife commented 2024-12-28 00:23:31 +00:00 (Migrated from github.com)

If you import another scene when have existing object, imported scene's PE data losted
unknown_2024.12.28-06.17.zip
024-12-28 091935

If you import another scene when have existing object, imported scene's PE data losted [unknown_2024.12.28-06.17.zip](https://github.com/user-attachments/files/18264432/unknown_2024.12.28-06.17.zip) ![024-12-28 091935](https://github.com/user-attachments/assets/7a7118ff-781a-40f9-bf1b-cdaa6bbc4160)
krypto5863 commented 2024-12-28 01:59:12 +00:00 (Migrated from github.com)

Oh, I suppose because imported items are being assigned a new key. Interesting challenge. I'll see what I can find.

Oh, I suppose because imported items are being assigned a new key. Interesting challenge. I'll see what I can find.
Sign in to join this conversation.
No description provided.