Merge branch 'develop' of https://github.com/antopilo/Nuake into develop
This commit is contained in:
@@ -596,6 +596,8 @@ namespace Nuake
|
||||
light.m_Framebuffers[0]->Clear();
|
||||
{
|
||||
Matrix4 spotLightTransform = Matrix4(1.0f);
|
||||
|
||||
|
||||
Vector3 pos = lightTransform.GetGlobalPosition();
|
||||
pos.y *= -1.0f;
|
||||
pos.x *= -1.0f;
|
||||
|
||||
@@ -269,7 +269,7 @@ namespace Nuake
|
||||
for (const auto& e : view)
|
||||
{
|
||||
auto& map = view.get<QuakeMapComponent>(e);
|
||||
if (map.AutoRebuild && !map.Path.empty())
|
||||
if (map.AutoRebuild && !map.Path.empty() && FileSystem::FileExists(map.Path))
|
||||
{
|
||||
if (auto file = FileSystem::GetFile(map.Path); file->IsValid() && file->GetHasBeenModified())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user