Commit 33854344896574c90e539bccf4e1905c0c4b77e5

Authored by Ferran Sole
1 parent 9380a280

Changes following the patch:

"Changed draw ordering to take into account the depth of the node in the hierarchy"

Change-Id: I19a20705ae42be53023a76dbfea0894533087b39
examples/cube-transition-effect/cube-transition-effect-example.cpp
... ... @@ -238,6 +238,7 @@ void CubeTransitionApp::OnInit( Application& application )
238 238  
239 239 // Creates a default view with a default tool bar, the view is added to the stage.
240 240 mContent = DemoHelper::CreateView( application, mView, mToolBar, "", TOOLBAR_IMAGE, "" );
  241 + mContent.SetBehavior( Layer::LAYER_3D );
241 242  
242 243 // Add an effect-changing button on the right of the tool bar.
243 244 mImageWave = ResourceImage::New( EFFECT_WAVE_IMAGE );
... ...
examples/item-view/item-view-example.cpp
... ... @@ -298,6 +298,7 @@ public:
298 298  
299 299 // Display item view on the stage
300 300 stage.Add( mItemView );
  301 + stage.GetRootLayer().SetBehavior( Layer::LAYER_3D );
301 302  
302 303 // Create the layouts
303 304 mSpiralLayout = DefaultItemLayout::New( DefaultItemLayout::SPIRAL );
... ...