Initialise depth before using it.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 26 Feb 2007 00:31:06 +0000 (00:31 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 26 Feb 2007 00:31:06 +0000 (00:31 +0000)
git-svn-id: http://svn.voria.com/code@256 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/layer_pastecanvas.cpp

index 67c5899..e82c3d4 100644 (file)
@@ -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)
 {