chore: logging

This commit is contained in:
Nick Fisher committed 2025-01-07 08:25:48 +08:00
1 parent b6bde0c9d9
commit d92d47faa5
1 file changed
+3
@@ -172,16 +172,19 @@ namespace thermion
{
if (!_grid)
{
TRACE("No grid");
return false;
}
if (entity == _grid->getEntity())
{
TRACE("%d is a grid entity.", entity);
return true;
}
for (int i = 0; i < _grid->getChildEntityCount(); i++)
{
if (entity == _grid->getChildEntities()[i])
{
TRACE("%d is a child entity of grid.", entity);
return true;
}
}