Skip to content

Commit

Permalink
- remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-hart committed Oct 22, 2024
1 parent 9fcb89e commit 45b2c9c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion currentGitHash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9661c07c54c937007672323eb61ab1bd3987b83b
9fcb89e707aa212fd88b3990f4de0b5b3a265850
2 changes: 1 addition & 1 deletion hi_backend/backend/currentGit.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define PREVIOUS_HISE_COMMIT "9661c07c54c937007672323eb61ab1bd3987b83b"
#define PREVIOUS_HISE_COMMIT "9fcb89e707aa212fd88b3990f4de0b5b3a265850"
8 changes: 0 additions & 8 deletions hi_scripting/scripting/scriptnode/ui/DspNetworkComponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,6 @@ void DspNetworkGraph::resized()
if(!isShowingRootNode())
{
auto& hm = getCurrentRootNode()->getHelpManager();
auto hb = hm.getHelpSize();

if(!hm.isHelpBelow())
{
Expand Down Expand Up @@ -1350,9 +1349,6 @@ void DspNetworkGraph::paintOverChildren(Graphics& g)
{
auto start = getCircle(dynamic_cast<Component*>(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);
Expand Down Expand Up @@ -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));
Expand Down
2 changes: 2 additions & 0 deletions hi_scripting/scripting/scriptnode/ui/NodeComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ class NodeComponent : public ComponentWithMiddleMouseDrag,
header.setShowRenameLabel(true);
return true;
}

return false;
}

MarkdownLink getLink() const override;
Expand Down
1 change: 0 additions & 1 deletion hi_tools/hi_tools/UpdateMerger.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ struct FloatSanitizers
FloatType d1 = std::numeric_limits<FloatType>::min() / static_cast<FloatType>(20.0);
FloatType d2 = std::numeric_limits<FloatType>::min() / static_cast<FloatType>(-14.0);
FloatType d3 = std::numeric_limits<FloatType>::quiet_NaN();
FloatType d3b = std::numeric_limits<FloatType>::signaling_NaN();
FloatType d4 = static_cast<FloatType>(24.0);
FloatType d5 = static_cast<FloatType>(0.0052);

Expand Down

0 comments on commit 45b2c9c

Please sign in to comment.