X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Fsphere_distort.cpp;h=d44b753cf01426d810157f57d272dddfebb77228;hb=37600b4b217caa5e316984ec0b035c5e8f9698af;hp=8fa36485b11405f4cb78810330be437d06c9db20;hpb=e0377487e76a85662997cdf4c6c467e47c9d5560;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp index 8fa3648..d44b753 100644 --- a/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/sphere_distort.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -550,8 +551,8 @@ Layer_SphereDistort::get_bounding_rect()const switch(type) { case TYPE_NORMAL: - bounds=Rect(center[0]+radius, center[1]+radius), - center[0]-radius, center[1]-radius)); + bounds=Rect(center[0]+radius, center[1]+radius, + center[0]-radius, center[1]-radius); break; case TYPE_DISTH: bounds = Rect::vertical_strip(center[0]-radius, center[0]+radius);