diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-02-12 09:26:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 09:26:14 +0100 |
commit | e9a25b8552150393db9632fff23c0f60403b987a (patch) | |
tree | 773fe610c2cea32bc8920018b2f6057f5a6f0af2 /scene | |
parent | e5bb89cdd5e92fa6fdeff78aad08bf0cbfbcc692 (diff) | |
parent | ca945421a0a228dd04c722eae127987f06d33693 (diff) |
Merge pull request #45859 from Kayomn/master
Accomodate blend shape ranges of -1 to +1 for Vulkan
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/mesh_instance_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/mesh_instance_3d.cpp b/scene/3d/mesh_instance_3d.cpp index 775757dc9f..7b3a0820f1 100644 --- a/scene/3d/mesh_instance_3d.cpp +++ b/scene/3d/mesh_instance_3d.cpp @@ -95,7 +95,7 @@ void MeshInstance3D::_get_property_list(List<PropertyInfo> *p_list) const { ls.sort(); for (List<String>::Element *E = ls.front(); E; E = E->next()) { - p_list->push_back(PropertyInfo(Variant::FLOAT, E->get(), PROPERTY_HINT_RANGE, "0,1,0.00001")); + p_list->push_back(PropertyInfo(Variant::FLOAT, E->get(), PROPERTY_HINT_RANGE, "-1,1,0.00001")); } if (mesh.is_valid()) { |