Typo. pannel -> panel.
[synfig.git] / synfig-core / trunk / src / synfig / layer_pastecanvas.cpp
index f8308a7..1857db2 100644 (file)
@@ -410,14 +410,17 @@ void Layer_PasteCanvas::get_times_vfunc(Node::time_set &set) const
        Node::time_set tset;
        if(canvas) tset = canvas->get_times();
 
-       Node::time_set::iterator        i = tset.begin(),
-                                                                       end = tset.end();
+       Node::time_set::iterator i = tset.begin(), end = tset.end();
 
        //Make sure we offset the time...
-       //TODO: SOMETHING STILL HAS TO BE DONE WITH THE OTHER DIRECTION
-       //              (recursing down the tree needs to take this into account too...)
+       //! \todo: SOMETHING STILL HAS TO BE DONE WITH THE OTHER DIRECTION
+       //                 (recursing down the tree needs to take this into account too...)
        for(; i != end; ++i)
-               set.insert(*i - time_offset);
+               set.insert(*i
+#ifdef ADJUST_WAYPOINTS_FOR_TIME_OFFSET // see node.h
+                                  - time_offset
+#endif
+                       );
 
        Layer::get_times_vfunc(set);
 }