Fix flag filtering of transparent models
This was SVN commit r9102.
This commit is contained in:
parent
c4cd85bb98
commit
e825a98671
@ -548,7 +548,7 @@ void SortModelRenderer::Render(const RenderModifierPtr& modifier, int flags)
|
|||||||
SModel* smdl = *it;
|
SModel* smdl = *it;
|
||||||
CModel* mdl = smdl->GetModel();
|
CModel* mdl = smdl->GetModel();
|
||||||
|
|
||||||
if (flags & !(mdl->GetFlags() & flags))
|
if (flags && !(mdl->GetFlags() & flags))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
debug_assert(smdl->GetKey() == m);
|
debug_assert(smdl->GetKey() == m);
|
||||||
|
Loading…
Reference in New Issue
Block a user