From 9dcdcf68f6a60741cbdd287e7eda23b4a21a080e Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sat, 19 Feb 2022 13:30:03 -0800 Subject: Fix build errors and update all dependencies to latest version - Fixed doctest executable not compiling - Fixed class accessibility error in Workflow_Main.cpp - Fixed selection of OpenGL loader in imgui OpenGL 2 & 3 backends - All loading is handled in our code now, the imgui_*_backend.cpp files are instructed to do nothing --- 3rdparty/imgui-node-editor/imgui_bezier_math.inl | 5 +++++ 1 file changed, 5 insertions(+) (limited to '3rdparty/imgui-node-editor/imgui_bezier_math.inl') diff --git a/3rdparty/imgui-node-editor/imgui_bezier_math.inl b/3rdparty/imgui-node-editor/imgui_bezier_math.inl index c2c7c43..3020bdb 100644 --- a/3rdparty/imgui-node-editor/imgui_bezier_math.inl +++ b/3rdparty/imgui-node-editor/imgui_bezier_math.inl @@ -1,4 +1,6 @@ //------------------------------------------------------------------------------ +// VERSION 0.1 +// // LICENSE // This software is dual-licensed to the public domain and under the following // license: you are granted a perpetual, irrevocable license to copy, modify, @@ -249,6 +251,9 @@ inline ImRect ImCubicBezierBoundingRect(const ImVec2& p0, const ImVec2& p1, cons for (int i = 0; i < 2; ++i) { + if (IM_VEC2_INDEX(a, i) == 0.0f) + continue; + if (IM_VEC2_INDEX(delta_squared, i) >= 0) { auto delta = ImSqrt(IM_VEC2_INDEX(delta_squared, i)); -- cgit v1.2.3-70-g09d2