Commit 77fe9435 authored by Yves NEDELEC's avatar Yves NEDELEC Committed by Gauthier Quesnel
Browse files

gui: show node number above node type in editor

parent 7f03786d
......@@ -2480,8 +2480,9 @@ editor::show_top() noexcept
// ImGui::EndPopup();
//}
ImGui::Text("%s",
dynamics_type_names[static_cast<int>(mdl->type)]);
ImGui::Text("%zu\n%s",
i,
dynamics_type_names[static_cast<int>(mdl->type)]);
ImNodes::EndNodeTitleBar();
show_model_dynamics(*mdl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment