Changes between Version 2 and Version 3 of Ticket #1771, comment 8


Ignore:
Timestamp:
May 22, 2013, 9:55:15 PM (11 years ago)
Author:
historic_bruno

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1771, comment 8

    v2 v3  
    44* 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`
    55 
    6 However, because it's not only flags that need to be recursively removed but also material definitions that need to be added reursively, 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.
     6However, 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.