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

[ossia-max] on osx: loading an abtraction with [ossia.model] rebuilds node tree #805

Closed
maybites opened this issue Nov 20, 2022 · 4 comments
Labels

Comments

@maybites
Copy link
Collaborator

maybites commented Nov 20, 2022

Hi

Using the current RC I am observing the following issue:

Sparck2 is a collection of abstraction and can be used inside normal max patches. I am using ossia with for my UI. This is great, since the last working version with sparck was 1.2.4.

So: YAY!!

But..

When loading a sparck patch everything works fine. The node tree is generated and I can populate the nodes with values via a dict like illustrated in your launch-patcher.

But when I load a new abstraction into my patch, the node tree gets rebuild and the previously loaded values get lost. This happens only with the first abstraction - each subsequent loaded abstraction doesn't initiate this.

It doesn't happen every time, only 90%. 10% the node tree rebuild is not happening.

@jcelerier
Copy link
Member

hey! that looks like an interesting bug. I don't understand why specifically the first would cause this and not the subsequent ones. @avilleret if you happen to have an idea..

@maybites
Copy link
Collaborator Author

I just verified: The same thing happens on Windows.

Unfortunately I was unable to create a simplified patch that reproduces it.

If you want to do so, you need to:

  1. pull this repo into packages: https://github.com/immersive-arts/Sparck2

launch sparck from the package-manager and press dependencies (all needed stuff should be inside the package-manager - with the exception of ossia and java)

  1. pull this repo somewhere else: https://github.com/tecartlab/SPARCK_TestBed

open SPARCK_TestBed/OssiaTest.maxpat

select one of the abstractions , for example "Grid" and copy paste it.

@jcelerier
Copy link
Member

thanks for the repro!

@maybites maybites added the bug label Jan 11, 2023
@maybites
Copy link
Collaborator Author

I was able to reproduce this issue with a simple patcher, and so this issue can continue here: #832

I would apreciate if it becomes some attention :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants