fix entity tree not re-rendering on delete
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-09-02 18:51:36 -04:00
parent b1612cc943
commit 91490103a4
2 changed files with 3 additions and 0 deletions

View File

@ -666,6 +666,8 @@ Shadowmap pipeline debug menu
Shader storage refactor
Unit definition/spawning
Hitbox updates for katana 2H
Fix bug with geometry references not properly flipping in server hitbox collision callback
Fix level editor entity tree not re-rendering when an entity is deleted
# TODO

View File

@ -333,6 +333,7 @@ public class MenuGeneratorsLevelEditor {
Button deleteButton = Button.createButton("X", () -> {
LoggerInterface.loggerEngine.INFO("Delete " + entity.getId());
ServerEntityUtils.destroyEntity(entity);
fillInEntityTreeContent(scrollable);
});
deleteButton.setMarginRight(5);
deleteButton.setMarginLeft(5);