fix entity tree not re-rendering on delete
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good
This commit is contained in:
parent
b1612cc943
commit
91490103a4
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user