Can now reparent prefab with drag n drop
This commit is contained in:
@@ -861,7 +861,8 @@ namespace Nuake {
|
||||
{
|
||||
ImGui::PopStyleColor();
|
||||
}
|
||||
else if (!m_IsRenaming && ImGui::BeginDragDropSource())
|
||||
|
||||
if (!m_IsRenaming && ImGui::BeginDragDropSource())
|
||||
{
|
||||
ImGui::SetDragDropPayload("ENTITY", (void*)&e, sizeof(Entity));
|
||||
ImGui::Text(name.c_str());
|
||||
|
||||
Reference in New Issue
Block a user