Merge pull request #64493 from Mickeon/3.x-editor-group

[3.x] Add Node editor description group
This commit is contained in:
Rémi Verschelde 2024-01-29 23:27:07 +01:00
commit 4e741ec2ba
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -3110,6 +3110,7 @@ void Node::_bind_methods() {
ClassDB::bind_method(D_METHOD("_set_editor_description", "editor_description"), &Node::set_editor_description);
ClassDB::bind_method(D_METHOD("_get_editor_description"), &Node::get_editor_description);
ADD_GROUP("Editor Description", "editor_");
ADD_PROPERTY(PropertyInfo(Variant::STRING, "editor_description", PROPERTY_HINT_MULTILINE_TEXT, "", PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_INTERNAL), "_set_editor_description", "_get_editor_description");
ClassDB::bind_method(D_METHOD("_set_import_path", "import_path"), &Node::set_import_path);