RenderInterface does not register static RenderTarget inputs
j-o opened this issue · 1 comments
j-o commented
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_cast
s from AbstractSlot
to Input<T>
(lines 31-34) always fail.
scheibel commented
Maybe we could solve this by collecting the inputs and outputs during initialization instead of creation.