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