Last change: 7/26/2021 8:56:49 AM
Sporadic crashes in CGrComp::DoCalculateModel if parent is not a comp as well
If the parent COMPONENT of a CGrComp has a different SX than the child, CGrComp::DoCalculateModel tries to switch the child's SX to that of the parent. However, even after checking that it found another CGrComp ancestor, it used a hard cast of the direct parent to CGrComp, which the direct parent sometimes isn't. That, of course, is always illegal and sometimes caused crashes (in many more other cases, one would imagine, wrong values for SX).