Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.2] Export sections #40669

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ struct PropertyInfo {

Variant::Type type;
String name;
String export_path;
StringName class_name; //for classes
PropertyHint hint;
String hint_string;
Expand Down
2 changes: 1 addition & 1 deletion editor/editor_inspector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ void EditorInspector::update_tree() {
continue;
}

String basename = p.name;
String basename = p.export_path + p.name;
if (group != "") {
if (group_base != "") {
if (basename.begins_with(group_base)) {
Expand Down
1 change: 1 addition & 0 deletions modules/gdscript/gdscript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1876,6 +1876,7 @@ void GDScriptLanguage::get_reserved_words(List<String> *p_words) const {
"const",
"enum",
"export",
"cosmetic",
"onready",
"static",
"var",
Expand Down
Loading