Rename SequenceTemplate::Pass::renderable_name to slot_name
[libs/gl.git] / source / builders / sequencebuilder.cpp
index 0f2a1b5499d17e3882299e84e53ff85b020ef500..3abfca81f3d6a3f0b7263c0ca98b18369c91dba6 100644 (file)
@@ -16,7 +16,7 @@ SequenceBuilder::SequenceBuilder(const SequenceTemplate &t):
 {
        const vector<SequenceTemplate::Step> &steps = tmpl.get_steps();
        for(vector<SequenceTemplate::Step>::const_iterator i=steps.begin(); i!=steps.end(); ++i)
-               renderables[i->renderable_name] = 0;
+               renderables[i->slot_name] = 0;
        const vector<SequenceTemplate::PostProcessor> &postprocs = tmpl.get_postprocessors();
        for(SequenceTemplate::PostProcessorArray::const_iterator i=postprocs.begin(); i!=postprocs.end(); ++i)
                if(!i->slot_name.empty())
@@ -46,7 +46,7 @@ void SequenceBuilder::build(Sequence &sequence) const
        const vector<SequenceTemplate::Step> &steps = tmpl.get_steps();
        for(vector<SequenceTemplate::Step>::const_iterator i=steps.begin(); i!=steps.end(); ++i)
        {
-               Renderable *renderable = get_item(renderables, i->renderable_name);
+               Renderable *renderable = get_item(renderables, i->slot_name);
                if(!renderable)
                        continue;