mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-13 20:09:40 +00:00
Fix lights without a mesh
This commit is contained in:
parent
f17ea109ca
commit
7e816c826b
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ namespace MWClass
|
||||||
|
|
||||||
if (!model.empty())
|
if (!model.empty())
|
||||||
objects.insertMesh(ptr, "meshes\\" + model, true);
|
objects.insertMesh(ptr, "meshes\\" + model, true);
|
||||||
|
else
|
||||||
|
objects.insertLight(ptr, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Light::insertObject(const MWWorld::Ptr& ptr, MWWorld::PhysicsSystem& physics) const
|
void Light::insertObject(const MWWorld::Ptr& ptr, MWWorld::PhysicsSystem& physics) const
|
||||||
|
|
Loading…
Reference in a new issue