Editor icons are assigned only to existing entities - fixed crash
This commit is contained in:
parent
e533327cc4
commit
481ffe0e47
2 changed files with 3 additions and 1 deletions
|
@ -2436,7 +2436,7 @@ public:
|
|||
Universe* universe = getUniverse();
|
||||
for (int i = 0; i < universe->getEntityCount(); ++i)
|
||||
{
|
||||
Entity e(i);
|
||||
Entity e = universe->getEntityFromDenseIdx(i);
|
||||
createEditorIcon(e);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,6 +156,8 @@ public:
|
|||
if (ImGui::BeginChild("right", half_size, true))
|
||||
{
|
||||
ImGui::Text("Version 0.17. - News");
|
||||
ImGui::BulletText("Fog height");
|
||||
ImGui::BulletText("Bitmap to heightmap convertor");
|
||||
ImGui::BulletText("LOD preview");
|
||||
ImGui::BulletText("New gizmo");
|
||||
ImGui::BulletText("Orbit camera");
|
||||
|
|
Loading…
Reference in a new issue