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

RenderInterface does not register static RenderTarget inputs #389

Open
j-o opened this issue Jul 24, 2017 · 1 comment
Open

RenderInterface does not register static RenderTarget inputs #389

j-o opened this issue Jul 24, 2017 · 1 comment

Comments

@j-o
Copy link
Contributor

j-o commented Jul 24, 2017

Currently, the RenderInterface does not register static RenderTarget inputs, as Stage::addInput (and thus the signal handler in RenderInterface) is called from the constructor of Slot for static inputs, which means that the Input is not fully constructed yet. Consequently, the dynamic_casts from AbstractSlot to Input<T> (lines 31-34) always fail.

@j-o j-o changed the title Static RenderTarget inputs RenderInterface does not register static RenderTarget inputs Jul 24, 2017
@scheibel
Copy link
Member

Maybe we could solve this by collecting the inputs and outputs during initialization instead of creation.

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

No branches or pull requests

2 participants