- instantiation.chain.reset(new EffectChain(chain->aspect_nom, chain->aspect_denom, theme->get_resource_pool()));
- chain->instantiate_effects(output_block, chain_idx, &instantiation);
+ instantiation.chain.reset(new EffectChain(scene->aspect_nom, scene->aspect_denom, theme->get_resource_pool()));
+ scene->instantiate_effects(output_block, chain_idx, &instantiation);