++context;
}
- if(context->empty())
- return Rect::zero();
+ // If this layer isn't defined, return zero-sized rectangle
+ if(context->empty()) return Rect::zero();
- return (*context)->get_full_bounding_rect(*this+1);
+ return (*context)->get_full_bounding_rect(context+1);
}
// If this layer isn't defined, just return
if((context)->empty()) return;
- // Set up a wrter lock
+ // Set up a writer lock
RWLock::WriterLock lock((*context)->get_rw_lock());
//synfig::info("%s: dirty_time=%f",(*context)->get_name().c_str(),(float)(*context)->dirty_time_);
}
void
-Context::set_time(Time time,const Vector &pos)const
+Context::set_time(Time time,const Vector &/*pos*/)const
{
set_time(time);
/*