Commit 2676ad3
committed
Fix DV_VALUE replacement bug in config.py (issue #2005)
- Initialize DV_VALUE_NEW and DV_VALUE_OLD from existing DV_VALUE
- Prevents replacement of multi-value DV_VALUE with default [0]
- Fixes error: 'DV_VALUE does not contain enough entries to match DV_KIND or DV_PARAM'
The bug occurred when DV_VALUE_NEW/OLD were missing - they were initialized
to [0] and then overwrote the original DV_VALUE. Now they inherit from
DV_VALUE if it exists, preserving the original values.1 parent e1befed commit 2676ad3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
| 732 | + | |
733 | 733 | | |
734 | | - | |
| 734 | + | |
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| |||
0 commit comments