crumpx / upk-modder

Automatically exported from code.google.com/p/upk-modder
0 stars 1 forks source link

Removing RESIZE command not effective w/o app restart #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load modfile with RESTART=
2. Remove RESTART= line, converting to non-resizable mod
3. Attempt to apply

What is the expected output? What do you see instead?
Command should attempt to do a normal apply, but instead the app attempts to 
apply the previously defined RESIZE.

Current workaround is to close and re-open the app.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by miss.inv...@gmail.com on 26 Dec 2013 at 8:17

GoogleCodeExporter commented 8 years ago
Added line:
   aTree.setResizeAmount(0);

to ModTreeRootNode.resetContextFlags()

This should reset the Resize amount to default of 0 prior to re-parsing the 
file, which resolve the issue.

Original comment by miss.inv...@gmail.com on 29 Dec 2013 at 2:11

GoogleCodeExporter commented 8 years ago
Change should be in v0.70

Original comment by miss.inv...@gmail.com on 29 Dec 2013 at 2:12