Model3D view to load textures after material changed. 41/81341/1
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Mon, 25 Jul 2016 13:13:00 +0000 (14:13 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Mon, 25 Jul 2016 13:13:00 +0000 (14:13 +0100)
Textures were only loaded after IMAGES_URL set but if only geometry and material changed then the new textures would not be loaded.

Change-Id: I9e66389edf802714b2dbd5c6815803813e2f51ab

dali-toolkit/internal/controls/model3d-view/model3d-view-impl.cpp

index e1e4b6f..38e7d3e 100644 (file)
@@ -328,6 +328,7 @@ void Model3dView::SetProperty( BaseObject* object, Property::Index index, const
         {
           impl.LoadMaterial();
           impl.CreateMaterial();
+          impl.LoadTextures();
         }
         break;
       }