Zoom layers change the size of their content's bounding box. Fixed the get_full_boun...
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / zoom.cpp
index 0f0c85b..d8a88bc 100644 (file)
@@ -158,6 +158,5 @@ Zoom::accelerated_render(Context context,Surface *surface,int quality, const Ren
 synfig::Rect
 Zoom::get_full_bounding_rect(synfig::Context context)const
 {
-       return context.get_full_bounding_rect();
+       return (context.get_full_bounding_rect()-center)*exp(amount)+center;
 }
-