Fixed imgui error caused by merge

This commit is contained in:
Diren D Bharwani 2023-03-04 13:50:10 +08:00
parent 15bbf6892f
commit a691d2ff28
1 changed files with 50 additions and 52 deletions

View File

@ -387,7 +387,7 @@ namespace SHADE
else if (shape->GetType() == SHCollisionShape::Type::CAPSULE)
{
//}
}
{
SHEditorWidgets::CheckBox("Is Trigger", [shape] { return shape->IsTrigger(); }, [shape](bool value) { shape->SetIsTrigger(value); });
@ -448,12 +448,10 @@ namespace SHADE
ImGui::EndMenu();
}
}
}
else
{
DrawContextMenu(component);
}
ImGui::PopID();
}