From d37fc67e165c21da6ca731cf11af554168150d8e Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 22 Nov 2008 15:38:31 +0000 Subject: [PATCH] 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 --- synfig-core/trunk/src/modules/example/metaballs.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.7.4