Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[struct] in abstraction taints parent patch #772

Open
reduzent opened this issue Oct 8, 2019 · 0 comments

Comments

@reduzent
Copy link
Contributor

commented Oct 8, 2019

When an abstraction using [struct] objects is used in patch and the patch is saved, it gets "tainted" with additional lines in the resulting patch file:

before saving:

#N canvas 164 99 541 380 12;
#X obj 101 97 abs-with-struct;
#X text 40 33 This is patch contains only this comment and an abstraction
with a struct: abs-with-struct.pd;

after saving:

#N struct polygon float x float y;
#N canvas 164 99 541 380 12;
#X obj 101 97 abs-with-struct;
#X text 40 33 This is patch contains only this comment and an abstraction
with a struct: abs-with-struct.pd;

There was a similar issue with [declare] objects in abstraction tainting the parent patch when saved. This got resolved.

Check with attached files to reprodruce the problem. Simply load main.pd and save it.

abs-tainting-parent.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.