Can now delete from prefab editor

This commit is contained in:
antopilo
2024-09-21 23:49:51 -04:00
parent 114adab73f
commit f1c403f94c
4 changed files with 19 additions and 3 deletions

View File

@@ -863,6 +863,7 @@ namespace Nuake
Renderer::Flush(gBufferShader, true);
}
glDisable(GL_CULL_FACE);
// Sprites
{
ZoneScopedN("Render Sprites");

View File

@@ -13,7 +13,6 @@ namespace Nuake
Billboard(false),
LockYRotation(false)
{
}
bool SpriteComponent::LoadSprite()
@@ -74,6 +73,8 @@ namespace Nuake
PositionFacing = j["PositionFacing"];
}
LoadSprite();
return true;
}
}