feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -30,16 +30,15 @@
|
|||
|
||||
#include "editor_build_profile.h"
|
||||
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/json.h"
|
||||
#include "editor/editor_file_system.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "editor/editor_paths.h"
|
||||
#include "editor/editor_property_name_processor.h"
|
||||
#include "editor/editor_settings.h"
|
||||
#include "editor/editor_string_names.h"
|
||||
#include "editor/gui/editor_file_dialog.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/gui/separator.h"
|
||||
|
||||
const char *EditorBuildProfile::build_option_identifiers[BUILD_OPTION_MAX] = {
|
||||
// This maps to SCons build options.
|
||||
|
|
@ -73,7 +72,7 @@ const bool EditorBuildProfile::build_option_disabled_by_default[BUILD_OPTION_MAX
|
|||
false, // TEXT_SERVER_COMPLEX
|
||||
false, // DYNAMIC_FONTS
|
||||
false, // WOFF2_FONTS
|
||||
false, // GRPAHITE_FONTS
|
||||
false, // GRAPHITE_FONTS
|
||||
false, // MSDFGEN
|
||||
};
|
||||
|
||||
|
|
@ -91,7 +90,7 @@ const bool EditorBuildProfile::build_option_disable_values[BUILD_OPTION_MAX] = {
|
|||
false, // TEXT_SERVER_COMPLEX
|
||||
false, // DYNAMIC_FONTS
|
||||
false, // WOFF2_FONTS
|
||||
false, // GRPAHITE_FONTS
|
||||
false, // GRAPHITE_FONTS
|
||||
false, // MSDFGEN
|
||||
};
|
||||
|
||||
|
|
@ -108,7 +107,7 @@ const EditorBuildProfile::BuildOptionCategory EditorBuildProfile::build_option_c
|
|||
BUILD_OPTION_CATEGORY_TEXT_SERVER, // TEXT_SERVER_COMPLEX
|
||||
BUILD_OPTION_CATEGORY_TEXT_SERVER, // DYNAMIC_FONTS
|
||||
BUILD_OPTION_CATEGORY_TEXT_SERVER, // WOFF2_FONTS
|
||||
BUILD_OPTION_CATEGORY_TEXT_SERVER, // GRPAHITE_FONTS
|
||||
BUILD_OPTION_CATEGORY_TEXT_SERVER, // GRAPHITE_FONTS
|
||||
BUILD_OPTION_CATEGORY_TEXT_SERVER, // MSDFGEN
|
||||
};
|
||||
|
||||
|
|
@ -345,7 +344,7 @@ void EditorBuildProfile::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(BUILD_OPTION_TEXT_SERVER_ADVANCED);
|
||||
BIND_ENUM_CONSTANT(BUILD_OPTION_DYNAMIC_FONTS);
|
||||
BIND_ENUM_CONSTANT(BUILD_OPTION_WOFF2_FONTS);
|
||||
BIND_ENUM_CONSTANT(BUILD_OPTION_GRPAHITE_FONTS);
|
||||
BIND_ENUM_CONSTANT(BUILD_OPTION_GRAPHITE_FONTS);
|
||||
BIND_ENUM_CONSTANT(BUILD_OPTION_MSDFGEN);
|
||||
BIND_ENUM_CONSTANT(BUILD_OPTION_MAX);
|
||||
|
||||
|
|
@ -649,7 +648,7 @@ void EditorBuildProfileManager::_class_list_item_selected() {
|
|||
}
|
||||
|
||||
Variant md = item->get_metadata(0);
|
||||
if (md.get_type() == Variant::STRING || md.get_type() == Variant::STRING_NAME) {
|
||||
if (md.is_string()) {
|
||||
description_bit->parse_symbol("class|" + md.operator String() + "|");
|
||||
} else if (md.get_type() == Variant::INT) {
|
||||
String build_option_description = EditorBuildProfile::get_build_option_description(EditorBuildProfile::BuildOption((int)md));
|
||||
|
|
@ -670,7 +669,7 @@ void EditorBuildProfileManager::_class_list_item_edited() {
|
|||
bool checked = item->is_checked(0);
|
||||
|
||||
Variant md = item->get_metadata(0);
|
||||
if (md.get_type() == Variant::STRING || md.get_type() == Variant::STRING_NAME) {
|
||||
if (md.is_string()) {
|
||||
String class_selected = md;
|
||||
edited->set_disable_class(class_selected, !checked);
|
||||
_update_edited_profile();
|
||||
|
|
@ -691,7 +690,7 @@ void EditorBuildProfileManager::_class_list_item_collapsed(Object *p_item) {
|
|||
}
|
||||
|
||||
Variant md = item->get_metadata(0);
|
||||
if (md.get_type() != Variant::STRING && md.get_type() != Variant::STRING_NAME) {
|
||||
if (!md.is_string()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -706,7 +705,7 @@ void EditorBuildProfileManager::_update_edited_profile() {
|
|||
|
||||
if (class_list->get_selected()) {
|
||||
Variant md = class_list->get_selected()->get_metadata(0);
|
||||
if (md.get_type() == Variant::STRING || md.get_type() == Variant::STRING_NAME) {
|
||||
if (md.is_string()) {
|
||||
class_selected = md;
|
||||
} else if (md.get_type() == Variant::INT) {
|
||||
build_option_selected = md;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue