New Stroboscope layer. Patch from Ray Frederikson
[synfig.git] / synfig-core / src / synfig / context.cpp
index 28d8e41..4da071e 100644 (file)
@@ -321,11 +321,13 @@ Context::set_time(Time time)const
        while(!(context)->empty())
        {
                // If this layer is active, and
-               // it either isn't already set to the given time or
-               //           it's a time loop layer,
+               // it either isn't already set to the given time
+               //        or it's a stroboscope layer,
+               //        or it's a time loop layer,
                // then break out of the loop and set its time
                if((*context)->active() &&
                   (!(*context)->dirty_time_.is_equal(time) ||
+                       (*context)->get_name() == "stroboscope" ||
                        (*context)->get_name() == "timeloop"))
                        break;