Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / import.cpp
index a130984..f7385a9 100644 (file)
@@ -162,7 +162,7 @@ Import::set_param(const String & param, const ValueBase &value)
                }
 
                surface.clear();
-               if(!newimporter->get_frame(surface,Time(0)))
+               if(!newimporter->get_frame(surface,Time(0),trimmed,width,height,top,left))
                {
                        synfig::warning(strprintf("Unable to get frame from \"%s\"",filename_with_path.c_str()));
                }
@@ -220,15 +220,19 @@ Import::get_param_vocab()const
 void
 Import::set_time(Context context, Time time)const
 {
-       if(get_amount() && importer && importer->is_animated())importer->get_frame(surface,time+time_offset);
-       //else surface.clear();
+       if(get_amount() && importer &&
+          importer->is_animated())
+               importer->get_frame(surface,time+time_offset,trimmed,width,height,top,left);
+
        context.set_time(time);
 }
 
 void
 Import::set_time(Context context, Time time, const Point &pos)const
 {
-       if(get_amount() && importer && importer->is_animated())importer->get_frame(surface,time+time_offset);
-       //else surface.clear();
+       if(get_amount() && importer &&
+          importer->is_animated())
+               importer->get_frame(surface,time+time_offset,trimmed,width,height,top,left);
+
        context.set_time(time,pos);
 }