raziel23x / skyrim-plugin-decoding-project

Automatically exported from code.google.com/p/skyrim-plugin-decoding-project
1 stars 3 forks source link

Error copying RACE records in TES5Edit #156

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copy as override DefaultRace "Default Race" [RACE:00000019]
2. DATA\Skill Boosts differs
3. If you try to copy DraugrRace "Draugr" [RACE:00000D53], TES5Edit will crash.

What is the expected output?
ITM records.

What do you see instead?
Unexpected results.

What version of the product are you using? On what operating system?
r1524

Please provide any additional information below.
Tried with 3.0.31, works there. I don't remember any changes to the RACE 
definition since then, so something is up with your newer internal 
modifications I guess.

Original issue reported on code.google.com by zila...@gmail.com on 1 Feb 2014 at 2:41

GoogleCodeExporter commented 9 years ago
Turns out it is the counter that's the issue !

Something about propagating the modified state too early maybe.

Original comment by HuguesLe...@gmail.com on 1 Feb 2014 at 10:19

GoogleCodeExporter commented 9 years ago
Everytime you assign one of the member of a sorted array, and one of the parent 
of that array had an OnSet callback, the array was reordered which made the 
indices invalid. Assigning by memory order which are not affected by sort 
should avoid the issue.

Original comment by HuguesLe...@gmail.com on 2 Feb 2014 at 11:44

GoogleCodeExporter commented 9 years ago
fixed in r1525

Original comment by HuguesLe...@gmail.com on 27 Jun 2014 at 7:33