Fix rendering current entity
This commit is contained in:
+6
-2
@@ -190,9 +190,13 @@ interface_all :: proc($E: typeid, interface: ^interface_state, game_data : $G) -
|
||||
if mu.begin_window(&state.mu_ctx, "B2d Interface", {1630, 170, 250, 450})
|
||||
{
|
||||
|
||||
{
|
||||
if interface.edit_mode == .ENTITY
|
||||
{
|
||||
if .ACTIVE in mu.header(&state.mu_ctx, "Entity", {.AUTO_SIZE})
|
||||
}
|
||||
{
|
||||
if interface_entity(interface) do ret = true
|
||||
}
|
||||
}
|
||||
mu.end_window(&state.mu_ctx)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user