mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
Fix lights without a mesh
This commit is contained in:
parent
f17ea109ca
commit
7e816c826b
@ -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…
x
Reference in New Issue
Block a user