[PD-dev] [ pure-data-Patches-3160988 ] [bugfix] array boundaries
SourceForge.net
noreply at sourceforge.net
Wed Feb 16 06:20:04 CET 2011
Patches item #3160988, was opened at 2011-01-18 17:24
Message generated for change (Settings changed) made by sf-robot
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3160988&group_id=55736
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: None
>Status: Closed
Resolution: Fixed
Priority: 6
Private: No
Submitted By: IOhannes m zmlnig (zmoelnig)
Assigned to: Miller Puckette (millerpuckette)
Summary: [bugfix] array boundaries
Initial Comment:
in Pd-0.43 the table boundaries do not work.
to reproduce:
- create a new array (keep everything default)
- draw something into the array
- right-click the array to go to properties
- close the "array properties", we only want to modify the "canvas properties"
- change (e.g.) the Y-range from 1,-1 to 1,0
- click on Apply
- the table content vanishes
- the pd-console prints 5 times "shouldvis 0: array"
you cannot draw anything in the array anymore (nor see the contents)
whenever you move the mouse over the array a "shouldvis 0: array" is printed
save/open does not help
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2011-02-16 05:20
Message:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Miller Puckette (millerpuckette)
Date: 2011-02-02 04:48
Message:
I just now fixed this independently. There's probably a deeper problem
here :)
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2011-01-19 14:25
Message:
ooh, that was ugly...
it turns out that the problem was following:
if, after changing the boundaries, table values would be out of the
graph's rectangle, the graph would refuse to update.
attached patch fixes this by adding garray_class to the exceptions (like
scalar_class), that are displayed regardless of whether they go
out-of-bounds.
i reason that this is acceptable, as the current state of affairs (without
my patch) would allow the user to draw in the array und thus create
out-of-bounds values: when they save the patch (with
"save-contents-of-array" enabled) and re-open the patch, all values are
invisible!
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2011-01-19 10:13
Message:
btw, the "bounds" message to the array is working as expected.
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig)
Date: 2011-01-19 09:20
Message:
forgot to specify my used Pd-version: 0.43-test4 (ceb8db7372)
since millers commit f5cabbb531cdee, the "shouldvis" message has obviously
disappeared, but the problem with arrays not displaying their content
persists.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3160988&group_id=55736
More information about the Pd-dev
mailing list