From: dooglus Date: Sat, 22 Nov 2008 15:38:31 +0000 (+0000) Subject: When a new metaball layer is created, initialise it with 3 balls. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d37fc67e165c21da6ca731cf11af554168150d8e;p=synfig.git When a new metaball layer is created, initialise it with 3 balls. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2247 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/example/metaballs.cpp b/synfig-core/trunk/src/modules/example/metaballs.cpp index 76ebf76..a582dc1 100644 --- a/synfig-core/trunk/src/modules/example/metaballs.cpp +++ b/synfig-core/trunk/src/modules/example/metaballs.cpp @@ -68,6 +68,9 @@ Metaballs::Metaballs(): Layer_Composite(1.0,Color::BLEND_STRAIGHT), color(Color::black()) { + centers.push_back(Point( 0, -1.5)); radii.push_back(2.5); weights.push_back(1); + centers.push_back(Point(-2, 1)); radii.push_back(2.5); weights.push_back(1); + centers.push_back(Point( 2, 1)); radii.push_back(2.5); weights.push_back(1); } bool