mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Added Cylinder Collider panel
This commit is contained in:
@@ -31,7 +31,10 @@ public:
|
||||
ImGui::Text("Model");
|
||||
ImGui::TableNextColumn();
|
||||
|
||||
ImGui::DragInt("##Submesh", &component.SubMesh, 0, 255);
|
||||
int editorValue = component.SubMesh;
|
||||
ImGui::DragInt("##Submesh", &editorValue, 0.1f, 0, 255);
|
||||
component.SubMesh = editorValue;
|
||||
|
||||
ImGui::TableNextColumn();
|
||||
ComponentTableReset(component.SubMesh, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user