Disabled debug line when dragging in 3D model

This commit is contained in:
Antoine Pilote
2024-08-28 00:29:10 -04:00
parent 50a0c1e810
commit a285fbb61c
4 changed files with 16 additions and 15 deletions

View File

@@ -215,7 +215,7 @@ namespace Nuake {
}
Engine::GetCurrentScene()->m_SceneRenderer->DrawDebugLine(dragnDropWorldPos, dragnDropWorldPos + Vector3{0, 5, 0}, Vector4(1, 0, 1, 1));
// Engine::GetCurrentScene()->m_SceneRenderer->DrawDebugLine(dragnDropWorldPos, dragnDropWorldPos + Vector3{0, 5, 0}, Vector4(1, 0, 1, 1), -1.0f);
}
gizmoBuffer->Unbind();
@@ -2370,7 +2370,6 @@ namespace Nuake {
{
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(2, 2));
ImGui::PushStyleColor(ImGuiCol_Button, IM_COL32(0, 0, 0, 0));
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 100);
bool selectedMode = CurrentOperation == ImGuizmo::OPERATION::TRANSLATE;