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

Script node plugs are not cleaned when calling 'load' #5744

Open
manuelito02 opened this issue Mar 21, 2024 · 0 comments
Open

Script node plugs are not cleaned when calling 'load' #5744

manuelito02 opened this issue Mar 21, 2024 · 0 comments

Comments

@manuelito02
Copy link

Version: Gaffer 1.3.9.0-linux
Third-party tools: n/a
Third-party modules: n/a

Description

When calling 'load' on a script node, it seems that existing plugs are not removed. We have in particular issues with 'defaultFormat' and 'openColorIO' that accumulate each time when we 'load' a Gaffer script.

Steps to reproduce

Open a new Gaffer and execute following code:

path = "/tmp/empty.gfr"
root["fileName"].setValue(path)
root.save()
root.load()

Each time you execute the last line, you'll end up with another pair of 'defaultFormat' and 'openColorIO' plugs:
Screenshot from 2024-03-21 17-36-14

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

No branches or pull requests

1 participant