From 45b2c9c1d2ce367335e9c9258ff66111f25f3ae4 Mon Sep 17 00:00:00 2001 From: Christoph Hart Date: Tue, 22 Oct 2024 12:51:01 +0200 Subject: [PATCH] - remove warnings --- currentGitHash.txt | 2 +- hi_backend/backend/currentGit.h | 2 +- .../scripting/scriptnode/ui/DspNetworkComponents.cpp | 8 -------- hi_scripting/scripting/scriptnode/ui/NodeComponent.h | 2 ++ hi_tools/hi_tools/UpdateMerger.h | 1 - 5 files changed, 4 insertions(+), 11 deletions(-) diff --git a/currentGitHash.txt b/currentGitHash.txt index 55afd934cd..acec6ad52b 100644 --- a/currentGitHash.txt +++ b/currentGitHash.txt @@ -1 +1 @@ -9661c07c54c937007672323eb61ab1bd3987b83b +9fcb89e707aa212fd88b3990f4de0b5b3a265850 diff --git a/hi_backend/backend/currentGit.h b/hi_backend/backend/currentGit.h index c483bbfdae..8b644953cc 100644 --- a/hi_backend/backend/currentGit.h +++ b/hi_backend/backend/currentGit.h @@ -1 +1 @@ -#define PREVIOUS_HISE_COMMIT "9661c07c54c937007672323eb61ab1bd3987b83b" +#define PREVIOUS_HISE_COMMIT "9fcb89e707aa212fd88b3990f4de0b5b3a265850" diff --git a/hi_scripting/scripting/scriptnode/ui/DspNetworkComponents.cpp b/hi_scripting/scripting/scriptnode/ui/DspNetworkComponents.cpp index 4b695cdbd6..bf5566ed84 100644 --- a/hi_scripting/scripting/scriptnode/ui/DspNetworkComponents.cpp +++ b/hi_scripting/scripting/scriptnode/ui/DspNetworkComponents.cpp @@ -524,7 +524,6 @@ void DspNetworkGraph::resized() if(!isShowingRootNode()) { auto& hm = getCurrentRootNode()->getHelpManager(); - auto hb = hm.getHelpSize(); if(!hm.isHelpBelow()) { @@ -1350,9 +1349,6 @@ void DspNetworkGraph::paintOverChildren(Graphics& g) { auto start = getCircle(dynamic_cast(m), false); auto end = getCircle(c, false); - - auto t = network->getNodeWithId(ev[PropertyIds::NodeId].toString()); - auto c = MultiOutputDragSource::getFadeColour(connectionIndex, m->getNumOutputs()).withAlpha(1.0f); GlobalHiseLookAndFeel::paintCable(g, start, end, c, alpha * 0.5f); @@ -1491,12 +1487,8 @@ void DspNetworkGraph::paintOverChildren(Graphics& g) delta.setX(cd.clipValue(currentPosition.getX() - lastMousePos.getX())); delta.setY(cd.clipValue(currentPosition.getY() - lastMousePos.getY())); - auto fadeAlpha = jlimit(0.0f, 1.0f, 1.0f - delta.getDistanceFromOrigin() / 30.0f); - auto c = c2; - - GlobalHiseLookAndFeel::paintCable(g, start, end, c, alpha, c, false, hanging, delta); lastMousePos.setX(lastMousePos.getX() * dragSmoothAlpha + currentPosition.getX() * (1.0f - dragSmoothAlpha)); diff --git a/hi_scripting/scripting/scriptnode/ui/NodeComponent.h b/hi_scripting/scripting/scriptnode/ui/NodeComponent.h index 82142ba40e..5a0064fd7f 100644 --- a/hi_scripting/scripting/scriptnode/ui/NodeComponent.h +++ b/hi_scripting/scripting/scriptnode/ui/NodeComponent.h @@ -233,6 +233,8 @@ class NodeComponent : public ComponentWithMiddleMouseDrag, header.setShowRenameLabel(true); return true; } + + return false; } MarkdownLink getLink() const override; diff --git a/hi_tools/hi_tools/UpdateMerger.h b/hi_tools/hi_tools/UpdateMerger.h index 1869e2dcb2..bb13e54285 100644 --- a/hi_tools/hi_tools/UpdateMerger.h +++ b/hi_tools/hi_tools/UpdateMerger.h @@ -81,7 +81,6 @@ struct FloatSanitizers FloatType d1 = std::numeric_limits::min() / static_cast(20.0); FloatType d2 = std::numeric_limits::min() / static_cast(-14.0); FloatType d3 = std::numeric_limits::quiet_NaN(); - FloatType d3b = std::numeric_limits::signaling_NaN(); FloatType d4 = static_cast(24.0); FloatType d5 = static_cast(0.0052);