Last change: 4/22/2020 4:37:10 PM
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).