mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
-Make tileset and meshlibrary edit in a separate inspector, fixes #26671
-Made relationship lines appear based on theme settings, not previous hack -Fix drawing of relationship lines (was broken) -Fix double initialization of theme settings
This commit is contained in:
@@ -113,18 +113,6 @@ void CreateDialog::popup_create(bool p_dont_clear, bool p_replace_mode) {
|
||||
|
||||
_update_search();
|
||||
|
||||
bool enable_rl = EditorSettings::get_singleton()->get("docks/scene_tree/draw_relationship_lines");
|
||||
Color rl_color = EditorSettings::get_singleton()->get("docks/scene_tree/relationship_line_color");
|
||||
|
||||
if (enable_rl) {
|
||||
search_options->add_constant_override("draw_relationship_lines", 1);
|
||||
search_options->add_color_override("relationship_line_color", rl_color);
|
||||
search_options->add_constant_override("draw_guides", 0);
|
||||
} else {
|
||||
search_options->add_constant_override("draw_relationship_lines", 0);
|
||||
search_options->add_constant_override("draw_guides", 1);
|
||||
}
|
||||
|
||||
is_replace_mode = p_replace_mode;
|
||||
|
||||
if (p_replace_mode) {
|
||||
|
||||
Reference in New Issue
Block a user