From 7c70b39267a02a92da8293b4ff5759b3f4f738d9 Mon Sep 17 00:00:00 2001 From: dooglus Date: Mon, 26 Feb 2007 00:31:06 +0000 Subject: [PATCH] Initialise depth before using it. git-svn-id: http://svn.voria.com/code@256 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/layer_pastecanvas.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp index 67c5899..e82c3d4 100644 --- a/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/trunk/src/synfig/layer_pastecanvas.cpp @@ -79,6 +79,7 @@ SYNFIG_LAYER_SET_CVS_ID(Layer_PasteCanvas,"$Id: layer_pastecanvas.cpp,v 1.3 2005 Layer_PasteCanvas::Layer_PasteCanvas(): origin(0,0), + depth(0), zoom(0), time_offset(0) { -- 2.7.4