summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorLikeLakers2 <1008889+LikeLakers2@users.noreply.github.com>2019-07-05 16:30:01 -0400
committerLikeLakers2 <1008889+LikeLakers2@users.noreply.github.com>2019-07-05 17:40:06 -0400
commite86f6faf641ea909798ba7fef3414eae6d1400b2 (patch)
tree2e348a80432b4881f22fbac36c9b6e1354970d91 /editor
parentd897131ac555de84afe9ca6845abf87c26957895 (diff)
MultiNodeEdit now only shows properties with the exact same PropertyInfo data
Diffstat (limited to 'editor')
-rw-r--r--editor/multi_node_edit.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/multi_node_edit.cpp b/editor/multi_node_edit.cpp
index 6af7e4bd00..85e47594a8 100644
--- a/editor/multi_node_edit.cpp
+++ b/editor/multi_node_edit.cpp
@@ -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++;