You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Undo support for locking and grouping for both 2D and 3D
This commit is contained in:
@@ -1059,6 +1059,10 @@ Variant Object::get_meta(const String &p_name) const {
|
||||
return metadata[p_name];
|
||||
}
|
||||
|
||||
void Object::remove_meta(const String &p_name) {
|
||||
metadata.erase(p_name);
|
||||
}
|
||||
|
||||
Array Object::_get_property_list_bind() const {
|
||||
|
||||
List<PropertyInfo> lpi;
|
||||
@@ -1691,6 +1695,7 @@ void Object::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("get_script"), &Object::get_script);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_meta", "name", "value"), &Object::set_meta);
|
||||
ClassDB::bind_method(D_METHOD("remove_meta", "name"), &Object::remove_meta);
|
||||
ClassDB::bind_method(D_METHOD("get_meta", "name"), &Object::get_meta);
|
||||
ClassDB::bind_method(D_METHOD("has_meta", "name"), &Object::has_meta);
|
||||
ClassDB::bind_method(D_METHOD("get_meta_list"), &Object::_get_meta_list_bind);
|
||||
|
||||
Reference in New Issue
Block a user