MultiNodeEdit now only shows properties with the exact same PropertyInfo data

This commit is contained in:
LikeLakers2
2019-07-05 16:30:01 -04:00
parent d897131ac5
commit e86f6faf64
2 changed files with 12 additions and 1 deletions

View File

@ -152,7 +152,9 @@ void MultiNodeEdit::_get_property_list(List<PropertyInfo> *p_list) const {
datas.push_back(usage.getptr(F->get().name));
}
usage[F->get().name].uses++;
// Make sure only properties with the same exact PropertyInfo data will appear
if (usage[F->get().name].info == F->get())
usage[F->get().name].uses++;
}
nc++;