From f83c48489a30958935cdab2e9f5b7c34bd72b390 Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 25 Nov 2008 22:07:26 +0000 Subject: [PATCH] Fix two copy/paste errors. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2273 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/canvasview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp b/synfig-studio/trunk/src/gtkmm/canvasview.cpp index 791f87f..a3764bb 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp @@ -2845,12 +2845,12 @@ CanvasView::rebuild_ducks_layer_(synfig::TransformStack& transform_stack, synfig if(!scale.is_equal_to(Vector(1,1))) transform_stack.push(new Transform_Scale(scale,origin)); - if(!scale.is_equal_to(Vector(0,0))) + if(!origin.is_equal_to(Vector(0,0))) transform_stack.push(new Transform_Translate(origin)); rebuild_ducks_layer_(transform_stack,child_canvas,selected_list); - if(!scale.is_equal_to(Vector(0,0))) + if(!origin.is_equal_to(Vector(0,0))) transform_stack.pop(); if(!scale.is_equal_to(Vector(1,1))) transform_stack.pop(); -- 2.7.4