-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing types to bigger sized types move defined offsets #88
Comments
It's intended and it's not intended 😁 Mode 1: Changed offsets Mode 2: Deleted following nodes I have decided that currently mode 1 is used because it is less destructive and therefore the user has less pain while using it. ReClass.NET/ReClass.NET/Nodes/BaseContainerNode.cs Lines 148 to 151 in 065aec1
Here you can see mode 2 commented out. |
Ah I see, thanks for the explanation. Your decision there makes a lot of sense then I guess. I didn't really grasp the "node system" before, but I got it now. So in mode 1 i basically have to delete the new extra nodes manually while mode 2 would do it automatically? |
In mode 1 there are no new nodes. You just have to delete the existing nodes until the layout is fixed again. In mode 2 this deletion would be automatically but destructive. Sure, mode 2 is the correct one but I think it is not worth it. It may become the standard mode if an undo system is added. But undo-redo is a lot of work and so far I failed to develop an architecture for this feature. Here is an other discussion about that topic: ajkhoury/ReClassEx#31 |
Ah yes got it, thanks for the thorough explanation! |
I am not sure if this is intended or not(and i really hope it isn't) but when you change the type of an address to something bigger than what it was before, for example hex32 -> Vector3 it pushes all the already defined/named offset positions by the size leftover effectively making them all point to the wrong offsets which makes using this kind of cumbersome at times because i have to fix all my offsets over and over again.
The text was updated successfully, but these errors were encountered: