From: Agnelo Vaz Date: Mon, 25 Jul 2016 13:13:00 +0000 (+0100) Subject: Model3D view to load textures after material changed. X-Git-Tag: dali_1.1.45~12 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=8c6d15fefc48aa46db4c4988d88e40509ebb00d7 Model3D view to load textures after material changed. 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 --- diff --git a/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.cpp b/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.cpp index e1e4b6f..38e7d3e 100644 --- a/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.cpp +++ b/dali-toolkit/internal/controls/model3d-view/model3d-view-impl.cpp @@ -328,6 +328,7 @@ void Model3dView::SetProperty( BaseObject* object, Property::Index index, const { impl.LoadMaterial(); impl.CreateMaterial(); + impl.LoadTextures(); } break; }