diff --git a/source/engine.cpp b/source/engine.cpp index 03195f5..1e84109 100644 --- a/source/engine.cpp +++ b/source/engine.cpp @@ -399,8 +399,9 @@ void Engine::handleEvents() { if (current_mode_ == SimulationMode::PHYSICS) { showNotificationForAction("Physics Mode"); } else { - // Mostrar nombre de la figura actual - const char* shape_names[] = {"Sphere", "Lissajous", "Helix", "Torus", "Cube", "Cylinder", "Icosahedron", "Atom", "PNG Shape"}; + // Mostrar nombre de la figura actual (orden debe coincidir con enum ShapeType) + // Índices: 0=NONE, 1=SPHERE, 2=CUBE, 3=HELIX, 4=TORUS, 5=LISSAJOUS, 6=CYLINDER, 7=ICOSAHEDRON, 8=ATOM, 9=PNG_SHAPE + const char* shape_names[] = {"None", "Sphere", "Cube", "Helix", "Torus", "Lissajous", "Cylinder", "Icosahedron", "Atom", "PNG Shape"}; showNotificationForAction(shape_names[static_cast(current_shape_type_)]); } break;