Does not render non visible models anymore.
This commit is contained in:
parent
762aea73a0
commit
8a65907625
|
@ -91,7 +91,10 @@ void C_Object::Render()
|
|||
{
|
||||
if( this->model )
|
||||
{
|
||||
Oyster::Graphics::API::RenderModel(model);
|
||||
if(this->model->Visible)
|
||||
{
|
||||
Oyster::Graphics::API::RenderModel(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
void C_Object::Release()
|
||||
|
|
Loading…
Reference in New Issue