Commit Graph
12097 Commits
Author SHA1 Message Date
Yuri Roubinsky 8367cb9fef Fix size of the default property popup after opening a Color property 2021-12-26 22:10:33 +03:00
PucklaMotzer09 d45cab99ec Correctly deselect properties of TileDataCollisionEditor 2021-12-26 16:26:58 +01:00
kobewiandJairo Honorio cff0a1a896 Make Import Dock more obvious to use
Co-authored-by: Jairo Honorio <registrofx@gmail.com>
2021-12-25 16:31:36 +01:00
Silc 'Tokage' Renew 61759da5b3 Fix some gizmo behavior to make more consistent 2021-12-25 03:24:04 +09:00
Michael Alexsander 6033711379 Fix undo/redo operations in Input Map 2021-12-24 01:19:24 -03:00
kobewi fe71a91de9 Move and rename Collapse/Expand All button 2021-12-23 22:19:56 +01:00
LlamaLad7 b5407f802f Editor: Resolve being able to move control nodes in containers using arrow keys
Fixes #55260
2021-12-21 21:41:05 +00:00
Yuri Roubinsky e8a457ba89 Refactor render_mode in shaders, forbid declaring duplicates 2021-12-21 22:20:09 +03:00
Rémi Verschelde 3c1d3912b6 i18n: Sync editor translations with Weblate
(cherry picked from commit 0fe94ee6e5)
2021-12-21 12:50:05 +01:00
Rémi VerscheldeandGitHub c972948c21 Merge pull request #55761 from KoBeWi/alt_hack 2021-12-21 11:35:14 +01:00
Rémi VerscheldeandGitHub 011c0279c5 Merge pull request #56102 from jmb462/fix-wrong-gradientedit-colorpicker-shape 2021-12-21 09:43:26 +01:00
kleonc 46eebf11ca EditorAtlasPacker Fix incorrectly deducing zero height in some cases 2021-12-20 21:37:22 +01:00
jmb462 f491b43edd Fix wrong ColorPicker shape with GradientEdit 2021-12-20 18:00:11 +01:00
Rémi VerscheldeandGitHub 9f5045f70f Merge pull request #56041 from Zylann/null_checks2
Fix crash if font fails loading when generating a preview
2021-12-18 09:31:26 +01:00
bruvzg ea5bb8b47d [Windows] Improve console handling and execute/create_process.
Always build with the GUI subsystem.
Redirect stdout and stderr output to the parent process console.
Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`).
Add `open_console` argument to the `execute` and `create_process` to open a new console window.
Remove `interface/editor/hide_console_window` editor setting.
Remove `Toggle System Console` menu option.
Remove `set_console_visible` and `is_console_visible` functions.
2021-12-18 10:14:07 +02:00
Marc Gilleron ccb701f2f7 Fix crash if font fails loading when generating a preview
Historical crash log:

ERROR: No loader found for resource: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf.
   at: (core\io\resource_loader.cpp:213)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
   at: ResourceLoaderText::_parse_ext_resource (scene\resources\resource_format_text.cpp:170)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
   at: ResourceLoaderText::load (scene\resources\resource_format_text.cpp:649)
ERROR: Failed loading resource: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres. Make sure resources have been imported by opening the project in the editor at least once.
   at: (core\io\resource_loader.cpp:206)
2021-12-18 03:35:29 +00:00
Rémi VerscheldeandGitHub 33bc761c73 Merge pull request #55976 from timothyqiu/font-preview-fg 2021-12-17 19:28:47 +01:00
Haoyu Qiu 1fb59d13c2 Fix font preview text color on light background 2021-12-18 00:34:28 +08:00
Marc Gilleron 5c3b92e94f Don't crash when texture param is null 2021-12-17 15:56:41 +00:00
Rémi Verschelde 6214727c80 i18n: Sync editor translations with Weblate
(cherry picked from commit 8a30e04fd1)
2021-12-16 15:16:02 +01:00
Rémi VerscheldeandGitHub 91c0529073 Merge pull request #55930 from timothyqiu/doctool-i18n 2021-12-16 13:08:53 +01:00
Haoyu Qiu e4e4e475f8 Make --doctool locale aware
* Adds `indent(str)` to `String`:
    * Indent the (multiline) string with the given indentation.
    * This method is added in order to keep the translated XML correctly
      indented.
* Moves the loading of tool/doc translation into
  `editor/editor_translation.{h,cpp}`.
    * This will be used from both `EditorSettings` and the doc tool from
      `main`.
* Makes use of doc translation when generating XML class references, and
  setup the translation locale based on `-l LOCALE` CLI parameter.

The XML class reference won't be translated if `-l LOCALE` parameter is
not given, or when it's `-l en`.
2021-12-16 17:49:22 +08:00
Fabio AlessandrelliandGitHub 75ed3d74e8 Merge pull request #55747 from timothyqiu/editor-proxy
Add proxy support for the editor
2021-12-16 10:06:14 +01:00
Rémi VerscheldeandGitHub 7f97f40eb6 Merge pull request #55927 from pycbouh/editor-add-theme-type-communication 2021-12-15 13:01:09 +01:00
Hugo Locurcio 02187727e3 Make EditorSpinSlider grabbers thicker to be more noticeable 2021-12-15 00:44:55 +01:00
Xavier Sellier ba0abd399f Defer the call to 'popup_str' to the next cycle to let Godot Engine's editor time to properly start 2021-12-14 20:08:19 +01:00
Yuri Sizov dc858a8100 Improve user communication in the Add Item Type dialog 2021-12-14 17:00:15 +03:00
Hugo Locurcio e962900f23 Rename and reorder bake mode properties for consistency
The order now goes from least to most computationally expensive:

- Disabled
- Static
- Dynamic
2021-12-14 12:01:12 +01:00
kobewi bd6e9e0d6e Allow to copy foreign nodes 2021-12-13 13:33:06 +01:00
Gilles Roudière c77dd7b96f Fixes rotation 3D track inspector not using the correct type 2021-12-13 12:25:08 +01:00
Rémi VerscheldeandGitHub f5aff3f9d1 Merge pull request #55825 from zaevi/fix_PluginConfigDialog_UI 2021-12-12 21:09:49 +01:00
Rémi VerscheldeandGitHub ef1d59cf1b Merge pull request #55816 from RandomShaper/fix_revert_null_defaults 2021-12-12 20:56:57 +01:00
Rémi VerscheldeandGitHub ece3b0dd61 Merge pull request #55836 from jabcross/asset-selectable 2021-12-12 18:34:41 +01:00
Rémi VerscheldeandGitHub ad6652c08e Merge pull request #55860 from rcorre/mesh_typo 2021-12-12 15:26:46 +01:00
Ryan Roden-Corrent 353617b202 Fix typo in create_outline error message. 2021-12-12 07:29:46 -05:00
jabcross 814a4ee434 Allow selection in asset description
Many assets include links in the description.
This change enables selection for the links,
and other information such as version numbers,
to be copied/pasted.
2021-12-11 16:43:05 -03:00
Zae 1ee516995f Fix PluginConfigDialog UI broken 2021-12-11 23:23:40 +08:00
Pedro J. Estébanez 18663aa305 Stop asuming a default value of NIL means there's no default 2021-12-11 14:03:48 +01:00
Rémi VerscheldeandGitHub b46ab89675 Merge pull request #55519 from Calinou/editor-spin-slider-float-draw-filled-slider 2021-12-10 18:59:37 +01:00
Rémi Verschelde 04cc06b28e i18n: Remove deleted translations from PO files
Since we bundle the whole files in the editor binary, they actual impact the
binary size needlessly.

Automate it via `make merge`.

(cherry picked from commit 6fb47a271f)
2021-12-10 11:53:24 +01:00
Rémi Verschelde e156c4809a i18n: Sync editor translations with Weblate
(cherry picked from commit fd86272ca0)
2021-12-10 11:53:14 +01:00
Rémi VerscheldeandGitHub 21b81998bb Merge pull request #54002 from Calinou/editor-anchor-icon-improve-accent-visibility 2021-12-10 11:06:32 +01:00
Rémi VerscheldeandGitHub db70957a5f Merge pull request #53323 from xMakerx/patch-1 2021-12-10 10:42:20 +01:00
kobewi acf563e59f Add drag and drop for NodePaths 2021-12-09 18:50:57 +01:00
Nathan Franke 49403cbfa0 Replace String comparisons with "", String() to is_empty()
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Rémi Verschelde 31ded7e126 Fixup last commit, change misleading CodeEditor for consistency 2021-12-09 11:40:46 +01:00
Rémi Verschelde 3752e8f52e Fix mid-air conflict between #55299 and #55692 2021-12-09 11:17:16 +01:00
Rémi VerscheldeandGitHub 4129c1d140 Merge pull request #55299 from nathanfranke/renames 2021-12-09 10:22:24 +01:00
Rémi VerscheldeandGitHub eac3885283 Merge pull request #55692 from Chaosus/material_editor_canvas_item_mode 2021-12-09 09:41:49 +01:00
Nathan Franke 41a20171eb align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00