From: dooglus Date: Fri, 25 Jan 2008 14:15:47 +0000 (+0000) Subject: Avoid warning. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=2f015c519aa92f29144873527c109c21c171c6a7;p=synfig.git Avoid warning. git-svn-id: http://svn.voria.com/code@1475 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/mod_geometry/rectangle.cpp b/synfig-core/trunk/src/modules/mod_geometry/rectangle.cpp index ab1be69..11fbe53 100644 --- a/synfig-core/trunk/src/modules/mod_geometry/rectangle.cpp +++ b/synfig-core/trunk/src/modules/mod_geometry/rectangle.cpp @@ -87,9 +87,9 @@ Rectangle::Rectangle(): bool Rectangle::set_param(const String & param, const ValueBase &value) { - IMPORT_PLUS(color, { if (color.get_a() == 0) if (converted_blend_) { + IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) { set_blend_method(Color::BLEND_ALPHA_OVER); - color.set_a(1); } else transparent_color_ = true; }); + color.set_a(1); } else transparent_color_ = true; } }); IMPORT(point1); IMPORT(point2); IMPORT(expand);