diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-05-04 18:42:54 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-05-04 18:42:54 +0000 |
| commit | 48b2f1f7c4ee3b957970426abbae6138f8e6f390 (patch) | |
| tree | e8f9e7953cc0dd0af09b8a040ee5a87529a58c87 /AssetLoader/interface | |
| parent | GLTF loader: fixed loading specular factor (diff) | |
| download | DiligentTools-48b2f1f7c4ee3b957970426abbae6138f8e6f390.tar.gz DiligentTools-48b2f1f7c4ee3b957970426abbae6138f8e6f390.zip | |
GLTF Loader: fixed couple of issues with animation
Diffstat (limited to 'AssetLoader/interface')
| -rw-r--r-- | AssetLoader/interface/GLTFLoader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AssetLoader/interface/GLTFLoader.h b/AssetLoader/interface/GLTFLoader.h index f7d9de9..fce68a6 100644 --- a/AssetLoader/interface/GLTFLoader.h +++ b/AssetLoader/interface/GLTFLoader.h @@ -171,7 +171,7 @@ struct Node float4x4 Matrix; std::unique_ptr<Mesh> Mesh; Skin* Skin = nullptr; - Uint32 SkinIndex = static_cast<Uint32>(-1); + Int32 SkinIndex = -1; float3 Translation; float3 Scale = float3(1.0f, 1.0f, 1.0f); Quaternion Rotation; |
