X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-scene-loader%2Fpublic-api%2Fblend-shape-details.cpp;h=110f28cfb94cd503ae587880a0e875cd507e8559;hp=8607b15eedc6e3a046a0fa2577cb9e2d67da2d20;hb=7875069ceecfd24c2a8cf3a28564f7d115296e93;hpb=b160bfa1f94722346e59a732961ee5f253a75b8d diff --git a/dali-scene-loader/public-api/blend-shape-details.cpp b/dali-scene-loader/public-api/blend-shape-details.cpp index 8607b15..110f28c 100644 --- a/dali-scene-loader/public-api/blend-shape-details.cpp +++ b/dali-scene-loader/public-api/blend-shape-details.cpp @@ -1,6 +1,6 @@ /* -* Copyright (c) 2021 Samsung Electronics Co., Ltd. +* Copyright (c) 2022 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,14 +17,14 @@ */ // FILE HEADER -#include "dali-scene-loader/public-api/blend-shape-details.h" +#include // EXTERNAL INCLUDES -#include "dali/public-api/animation/constraints.h" -#include "dali/public-api/object/property.h" +#include +#include // INTERNAL INCLUDES -#include "dali-scene-loader/public-api/resource-bundle.h" +#include namespace Dali { @@ -69,8 +69,8 @@ void BlendShapes::ConfigureProperties(const std::pair(index))); - shader.RegisterProperty(COMPONENT_SIZE, Property::Value(static_cast(mesh.second.blendShapeBufferOffset))); + shader.RegisterProperty(NUMBER_OF_BLEND_SHAPES, Property::Value(static_cast(index))); + shader.RegisterProperty(COMPONENT_SIZE, Property::Value(static_cast(mesh.second.blendShapeBufferOffset))); // Create a read only property to preserve the components of the blend shape. int32_t components = 0x0;