From bc2456f875f56cd20676336cc34538d6caf19a01 Mon Sep 17 00:00:00 2001 From: James Bradbury Date: Wed, 30 Mar 2022 18:27:41 +0100 Subject: [PATCH] [Fix] Various plotter bugs for beta6 (#89) * cleaned test folder(s) * added example files for human testing * added old example files for human testing to tests folder * updated FluidMelBands argument ordering to match C++ * invert pca (#80) * invert pca * remove old test code (#75) * inappropriate error check on FluidBufToKr * FluidPlotter: Click and Drag to Zoom (#87) * Add AmpCurve, OnsetCurve, NoveltyCurve + buf versions (#79) * Add AmpCurve, OnsetCurve, NoveltyCurve + buf versions * Classes: Rename Curve -> Feature * cpp plugins: Curve -> Feature * Curve -> Feature in SC / cpp code * Novelty: feature -> algorithm for input algorithm choice * do rest of changes of feature -> algorithm * BufNoveltyFeature needs a shorter internal name * Correct statement about ctrl/cmd * Update mousedown key code for plotter reset --- release-packaging/Classes/FluidPlotter.sc | 2 +- release-packaging/HelpSource/Classes/FluidPlotter.schelp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release-packaging/Classes/FluidPlotter.sc b/release-packaging/Classes/FluidPlotter.sc index f8bd1b8..9f54d2d 100644 --- a/release-packaging/Classes/FluidPlotter.sc +++ b/release-packaging/Classes/FluidPlotter.sc @@ -267,7 +267,7 @@ FluidPlotter : FluidViewer { zoomDragStart.y = y; zoomRect = Rect(zoomDragStart.x,zoomDragStart.y,0,0); } - {modifiers == 1048576}{ + {modifiers == 262144}{ this.resetZoom; } { diff --git a/release-packaging/HelpSource/Classes/FluidPlotter.schelp b/release-packaging/HelpSource/Classes/FluidPlotter.schelp index 2469bc3..6be7297 100644 --- a/release-packaging/HelpSource/Classes/FluidPlotter.schelp +++ b/release-packaging/HelpSource/Classes/FluidPlotter.schelp @@ -6,7 +6,7 @@ related:: Classes/FluidDataSet, Classes/FluidLabelSet, Classes/FluidKDTree, Clas DESCRIPTION:: FluidPlotter is a viewer for plotting data. -Holding option/alt and clicking and dragging over a section of the plotter will zoom into that space. Hold command/control and click to return to the original x and y ranges. +Holding option/alt and clicking and dragging over a section of the plotter will zoom into that space. Hold control and click to return to the original x and y ranges. CLASSMETHODS::