mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: add option to reset shape volume attributes
When you edit a shape volume, you might want to fully reset it and start over again.
This commit is contained in:
parent
fda4e694d6
commit
1bb531c36b
@ -328,6 +328,11 @@ void ShapeVolumeTool::handleMenu()
|
||||
vol.flags = (unsigned short)flags;
|
||||
}
|
||||
|
||||
if (ImGui::Button("Reset Shape##ShapeVolumeModify"))
|
||||
{
|
||||
vol = m_shapeCopy;
|
||||
}
|
||||
|
||||
if (ImGui::Button("Delete Shape##ShapeVolumeModify"))
|
||||
{
|
||||
geom->deleteShapeVolume(m_selectedVolumeIndex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user