nmwsharp / polyscope

A C++ & Python viewer for 3D data like meshes and point clouds
https://polyscope.run
MIT License
1.79k stars 194 forks source link

Severity Code Description Project File Line Suppression State Error (active) E0308 more than one instance of overloaded function "ImGui::SliderFloat" matches the argument list: polyscope polyscope\src\view.cpp 604 #199

Open whitechopchicken opened 1 year ago

whitechopchicken commented 1 year ago

When I built it, I reported it wrong: Severity Code Description Project File Line Suppression State Error (active) E0308 more than one instance of overloaded function "ImGui::SliderFloat" matches the argument list: polyscope polyscope\src\view.cpp 604

Such as ImGui::DragFloat
// Modulo stripey width if (ImGui::DragFloat("period", &checkerSize.get(), .001, 0.0001, 1.0, "%.4f", 2.0)) { setCheckerSize(getCheckerSize()); }

nmwsharp commented 1 year ago

Hi! Can you confirm that this bug happens on a fresh build from the main branch? I believe all of these instances should be fixed. (Be sure that the imgui submodule is getting updated properly too please.)

whitechopchicken commented 1 year ago

I commented out the "3." and it compiled. But I'm not sure how this will affect the original program. Thanks for your reply.

... @.***

 

------------------ 原始邮件 ------------------ 发件人: "nmwsharp/polyscope" @.>; 发送时间: 2023年2月26日(星期天) 上午9:41 @.>; @.**@.>; 主题: Re: [nmwsharp/polyscope] Severity Code Description Project File Line Suppression State Error (active) E0308 more than one instance of overloaded function "ImGui::SliderFloat" matches the argument list: polyscope polyscope\src\view.cpp 604 (Issue #199)

Hi! Can you confirm that this bug happens on a fresh build from the main branch? I believe all of these instances should be fixed. (Be sure that the imgui submodule is getting updated properly too please.)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>