this my pd file :
#N struct 1011-symarray float x array symbols 1011-sym; #N struct 1011-sym symbol name float on; #N canvas 235 0 1120 645 10; #X declare -path ./abs-pd; #X obj 37 113 fred-links;
i open it with Vanilla (latest test version), add a [i], and save.
this is the saved file:
#N struct 1010-symarray float x array symbols 1010-sym; #N struct 1010-sym symbol name float on; #N canvas 235 50 1120 645 10; #X obj 37 113 fred-links; #X obj 149 59 i;
the declare statement has disappeared
this doesn't happen with vanilla 46.7
rolf
That's correct behavior. The earlier behavior (in which owning patches saved declarations made inside abstractions) was in error.
I believe old patches will still work, but yes, if you re-save an old patch using a new version of Pd you'll have to add the appropriate "declare" object to the owning patch. (This sounds like an inconvenience but is an improvement since the old behavior wasn't well defined.)
cheers Miller
On Fri, May 06, 2016 at 11:45:12AM +0200, rolfm@dds.nl wrote:
this my pd file :
#N struct 1011-symarray float x array symbols 1011-sym; #N struct 1011-sym symbol name float on; #N canvas 235 0 1120 645 10; #X declare -path ./abs-pd; #X obj 37 113 fred-links;
i open it with Vanilla (latest test version), add a [i], and save.
this is the saved file:
#N struct 1010-symarray float x array symbols 1010-sym; #N struct 1010-sym symbol name float on; #N canvas 235 50 1120 645 10; #X obj 37 113 fred-links; #X obj 149 59 i;
the declare statement has disappeared
this doesn't happen with vanilla 46.7
rolf
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Miller Puckette schreef op 06-05-2016 18:52:
That's correct behavior. The earlier behavior (in which owning patches saved declarations made inside abstractions) was in error.
I believe old patches will still work, but yes, if you re-save an old patch using a new version of Pd you'll have to add the appropriate "declare" object to the owning patch. (This sounds like an inconvenience but is an improvement since the old behavior wasn't well defined.)
cheers Miller
i can live with that. have no idea how this line in the file came into existence. not having the declare object visually in the main patch was actually misleading.
rolf
On Fri, May 06, 2016 at 11:45:12AM +0200, rolfm@dds.nl wrote:
this my pd file :
#N struct 1011-symarray float x array symbols 1011-sym; #N struct 1011-sym symbol name float on; #N canvas 235 0 1120 645 10; #X declare -path ./abs-pd; #X obj 37 113 fred-links;
i open it with Vanilla (latest test version), add a [i], and save.
this is the saved file:
#N struct 1010-symarray float x array symbols 1010-sym; #N struct 1010-sym symbol name float on; #N canvas 235 50 1120 645 10; #X obj 37 113 fred-links; #X obj 149 59 i;
the declare statement has disappeared
this doesn't happen with vanilla 46.7
rolf
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list