From e86f6faf641ea909798ba7fef3414eae6d1400b2 Mon Sep 17 00:00:00 2001 From: LikeLakers2 <1008889+LikeLakers2@users.noreply.github.com> Date: Fri, 5 Jul 2019 16:30:01 -0400 Subject: MultiNodeEdit now only shows properties with the exact same PropertyInfo data --- core/object.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'core') diff --git a/core/object.h b/core/object.h index 1e0b22c086..e6c5b7c5b9 100644 --- a/core/object.h +++ b/core/object.h @@ -179,6 +179,15 @@ struct PropertyInfo { usage(PROPERTY_USAGE_DEFAULT) { } + bool operator==(const PropertyInfo &p_info) const { + return ((type == p_info.type) && + (name == p_info.name) && + (class_name == p_info.class_name) && + (hint == p_info.hint) && + (hint_string == p_info.hint_string) && + (usage == p_info.usage)); + } + bool operator<(const PropertyInfo &p_info) const { return name < p_info.name; } -- cgit v1.2.3