Changes between Version 2 and Version 3 of Ticket #1771, comment 8
- Timestamp:
- May 22, 2013, 9:55:15 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1771, comment 8
v2 v3 4 4 * Also there's no reason to set `modelFlags` to 0 before adding the flag, in fact, there's no need to use the variable at all, it can be passed directly into `RemoveFlagsRec` 5 5 6 However, because it's not only flags that need to be recursively removed but also material definitions that need to be added re ursively, I have modified the original patch to use a `CModel::RemoveShadowsRec` function instead. This patch seems to work, except the decal on some preview models still receives a shadow, which is slightly annoying.6 However, because it's not only flags that need to be recursively removed but also material definitions that need to be added recursively, I have modified the original patch to use a `CModel::RemoveShadowsRec` function instead. This patch seems to work, except the decal on some preview models still receives a shadow, which is slightly annoying.