Accomodate blend shape ranges of -1 to +1

This commit is contained in:
Kayomn
2021-02-07 21:42:02 +00:00
parent 9fb27eba8d
commit d923df52c5
2 changed files with 4 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ void MeshInstance::_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::REAL, E->get(), PROPERTY_HINT_RANGE, "0,1,0.00001"));
p_list->push_back(PropertyInfo(Variant::REAL, E->get(), PROPERTY_HINT_RANGE, "-1,1,0.00001"));
}
if (mesh.is_valid()) {