"Changed draw ordering to take into account the depth of the node in the hierarchy"
Change-Id: I19a20705ae42be53023a76dbfea0894533087b39
// Creates a default view with a default tool bar, the view is added to the stage.
mContent = DemoHelper::CreateView( application, mView, mToolBar, "", TOOLBAR_IMAGE, "" );
+ mContent.SetBehavior( Layer::LAYER_3D );
// Add an effect-changing button on the right of the tool bar.
mImageWave = ResourceImage::New( EFFECT_WAVE_IMAGE );
// Display item view on the stage
stage.Add( mItemView );
+ stage.GetRootLayer().SetBehavior( Layer::LAYER_3D );
// Create the layouts
mSpiralLayout = DefaultItemLayout::New( DefaultItemLayout::SPIRAL );