X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fnodes%2Fscene-graph-layer.cpp;h=8f9ff00b78b319318cabf8e5609bc10718f2a84d;hb=e08e2992259823c5f9832ad959ffa510b0445a6c;hp=db6e6f0986a1edeb15da32939e9c76638f99e059;hpb=7cf931b2a8ab40cc1f673bc319e4cae5d801ce40;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/update/nodes/scene-graph-layer.cpp b/dali/internal/update/nodes/scene-graph-layer.cpp index db6e6f0..8f9ff00 100755 --- a/dali/internal/update/nodes/scene-graph-layer.cpp +++ b/dali/internal/update/nodes/scene-graph-layer.cpp @@ -31,19 +31,19 @@ namespace Internal namespace SceneGraph { -SceneGraph::Layer* Layer::New( unsigned int id ) +SceneGraph::Layer* Layer::New() { // Layers are currently heap allocated, unlike Nodes which are in a memory pool // However Node::Delete( layer ) will correctly delete a layer / node depending on type - return new Layer( id ); + return new Layer(); } -Layer::Layer( unsigned int id ) -: Node( id ), +Layer::Layer() +: Node(), mSortFunction( Internal::Layer::ZValue ), mClippingBox( 0,0,0,0 ), mLastCamera( NULL ), - mBehavior( Dali::Layer::LAYER_2D ), + mBehavior( Dali::Layer::LAYER_UI ), mIsClipping( false ), mDepthTestDisabled( true ), mIsDefaultSortFunction( true )