Revert "Updates following rename of PropertyBuffer"
[platform/core/uifw/dali-demo.git] / examples / rendering-basic-pbr / model-skybox.cpp
index 2e5709f..a6bf5e3 100644 (file)
@@ -96,7 +96,7 @@ void ModelSkybox::Init( const Vector3& size )
   mActor = Actor::New();
   mActor.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
   mActor.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
-  mActor.SetSize( size );
+  mActor.SetProperty( Actor::Property::SIZE, size );
   mActor.AddRenderer( renderer );
 }