plugdata-team / plugdata

Pure Data as a plugin, with a new GUI
https://plugdata.org
GNU General Public License v3.0
1.53k stars 66 forks source link

daw crashes if bezier array mode is selelcted with too few points #1730

Closed KallynMusic closed 2 months ago

KallynMusic commented 3 months ago

If you have an array set to points or polygon with 1 data point, and then switch to bezier, I assume the array doesnt work with a bezier curve so the plugin breaks and crashes the daw. This also happens if you change the number of points to a low number when bezier is selected. I have only tried this in FL Studio but I assume the issue is consistent across daws.

alcomposer commented 3 months ago

Hello.

Thank you for logging this issue. I am unable to replicate this behavior, can you please provide:

If you can provide a minimal example .pd patch, and/or a screenshot of the issue that would be really helpful. :-)

KallynMusic commented 3 months ago

I tried this again and it still happens. If you try to move the number of points for the bezier curve to 1, it crashes the daw. I think it would probably be smart to cap it at 2 or 3 automatically when using the bezier mode.

Daw version: 24.1.4225 plugdata version: 0.54.1 OS: Windows

The issue occurs on both the fx and generator version of the plugin.

On Thu, Jul 11, 2024 at 11:56 PM alcomposer @.***> wrote:

Hello.

Thank you for logging this issue. I am unable to replicate this behavior, can you please provide:

  • DAW version
  • plugdata version
  • OS

— Reply to this email directly, view it on GitHub https://github.com/plugdata-team/plugdata/issues/1730#issuecomment-2224412794, or unsubscribe https://github.com/notifications/unsubscribe-auth/A26DXAS5BJCHRIU67NCFLRDZL5HXRAVCNFSM6AAAAABKTR5M3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRUGQYTENZZGQ . You are receiving this because you authored the thread.Message ID: @.***>

timothyschoen commented 3 months ago

Sounds like you're using plugdata v0.8.3 (based on Pd 0.54.1), I think this bug should be fixed if you download one of the nightly builds. At least, it doesn't happen for me anymore :)

You can get the nightly builds here, at the bottom of the page: https://plugdata.org/download.html