MultiNodeEdit now only shows properties with the exact same PropertyInfo data
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user