Commit 010dc7d
committed
fix(pro): review-pass corrections on the constraint/connector fixes
Findings from the adversarial review of the fix series itself:
- ProAdvancedTab.buildInput now passes connectors — the 8th hand-built
ModelData literal; without it every PRO advanced analysis (modal,
buckling, P-Delta, time-history...) silently dropped connector
stiffness while the fixed linear solve included it.
- migrateConstraint: an unmappable legacy linearMPC term DOF now drops
the whole constraint instead of silently rewriting it onto ux
(rewriting changes the equation's meaning; consistent with how
rigidLink/equalDOF filter and unknown kinds drop).
- removeNode cascade is now bulkMutate-safe: the commit phase of
bulkMutate overwrites model.constraints/model.loads with its
pre-callback buffers, which would resurrect the pruned entries —
the cascade prunes the buffers too (latent today: no current caller
deletes nodes inside bulkMutate).
- Node tool: the cursor node scan is computed once and shared by the
auto-split guard and the duplicate-coincident guard (two identical
scans that could silently diverge if one threshold is tuned).
- Hinge-mode split gets the zero-length-element guard the extracted
attemptSplit already had (tParam = NaN otherwise).
- linearMPC input: ';' is now the documented term separator (',' still
accepted), and a malformed fragment ABORTS the add instead of being
dropped — with comma separators, a decimal comma in a coefficient
('-0,5') split as a term boundary and committed a silently-zeroed
equation (pre-existing; the comma-tolerant parseNum cannot fix it at
this call site because the separator is also a comma).1 parent 247bb27 commit 010dc7d
4 files changed
Lines changed: 48 additions & 24 deletions
File tree
- web/src
- components
- pro
- lib/store
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
| 1179 | + | |
| 1180 | + | |
1180 | 1181 | | |
1181 | 1182 | | |
1182 | 1183 | | |
| |||
1228 | 1229 | | |
1229 | 1230 | | |
1230 | 1231 | | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1231 | 1237 | | |
1232 | 1238 | | |
1233 | 1239 | | |
1234 | 1240 | | |
1235 | 1241 | | |
1236 | | - | |
1237 | | - | |
| 1242 | + | |
1238 | 1243 | | |
1239 | 1244 | | |
1240 | 1245 | | |
| |||
1266 | 1271 | | |
1267 | 1272 | | |
1268 | 1273 | | |
1269 | | - | |
| 1274 | + | |
1270 | 1275 | | |
1271 | 1276 | | |
1272 | 1277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
144 | 153 | | |
145 | | - | |
| 154 | + | |
146 | 155 | | |
147 | 156 | | |
148 | 157 | | |
149 | 158 | | |
150 | | - | |
151 | | - | |
152 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
153 | 162 | | |
154 | 163 | | |
155 | 164 | | |
| |||
403 | 412 | | |
404 | 413 | | |
405 | 414 | | |
406 | | - | |
| 415 | + | |
407 | 416 | | |
408 | 417 | | |
409 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
522 | 526 | | |
523 | 527 | | |
524 | 528 | | |
| |||
1069 | 1073 | | |
1070 | 1074 | | |
1071 | 1075 | | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
1075 | 1080 | | |
1076 | 1081 | | |
1077 | 1082 | | |
| |||
1083 | 1088 | | |
1084 | 1089 | | |
1085 | 1090 | | |
1086 | | - | |
| 1091 | + | |
1087 | 1092 | | |
1088 | 1093 | | |
1089 | 1094 | | |
| |||
1099 | 1104 | | |
1100 | 1105 | | |
1101 | 1106 | | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
1102 | 1111 | | |
1103 | 1112 | | |
1104 | 1113 | | |
| |||
0 commit comments