From: dooglus Date: Mon, 26 Feb 2007 00:31:06 +0000 (+0000) Subject: Initialise depth before using it. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7c70b39267a02a92da8293b4ff5759b3f4f738d9;p=synfig.git Initialise depth before using it. git-svn-id: http://svn.voria.com/code@256 1f10aa63-cdf2-0310-b900-c93c546f37ac --- 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) {