Fabio Alessandrelli
67265d14f7
[MP] Move engine and editor profilers to a plugin.
...
Also refactor the editor plugin out of the ReplicationEditor.
2022-11-14 15:09:00 +01:00
Fabio Alessandrelli
d568b25e36
[Editor] Better expose EditorDebuggerPlugin.
...
Now splitted into two classes:
- EditorDebuggerPlugin (RefCounted).
- EditorDebuggerSession (abstract).
This allows the EditorPlugin to be in control of the debugger plugin
lifecycle, be notified when sessions are created, and customize each of
them independently.
We should slowly transition the various profilers and captures in
ScriptEditorDebugger to their own plugins, and decouple
ScriptEditorDebugger from it's UI part (making it the "real"
EditorDebuggerSession potentially dropping the wrappers).
2022-11-14 14:55:22 +01:00
Rémi Verschelde
19f21e2434
Merge pull request #68470 from bruvzg/img_fnt_imp
...
[Image Font Importer] Hide unused font size, add image and character margins.
2022-11-14 11:12:10 +01:00
Rémi Verschelde
5b3a03bf5c
Merge pull request #68448 from bruvzg/font_imp_tr
...
[Font] Add an import option to pre-render all glyphs required for the translation.
2022-11-14 11:12:01 +01:00
Rémi Verschelde
a90d435e9b
Merge pull request #68132 from Mickeon/doc-help-colourful
...
Improve Editor Documentation colors
2022-11-14 11:10:19 +01:00
Rémi Verschelde
2abfa9eafe
Merge pull request #68571 from Calinou/editor-default-disable-code-font-ligatures
...
Disable code font ligatures by default in the editor
2022-11-13 15:51:44 +01:00
Rémi Verschelde
d75018bfd3
Merge pull request #60684 from trollodel/lightweight_editor_plugin
...
Use forward-declarations in EditorPlugin where possible
2022-11-13 15:51:29 +01:00
Hugo Locurcio
11842eb738
Disable code font ligatures by default in the editor
2022-11-12 22:38:04 +01:00
trollodel
ba9e619b51
Use forward-declarations in EditorPlugin where possible
2022-11-11 20:25:51 +01:00
Hugo Locurcio
a13cdfe096
Use a bold font for section titles in the editor performance monitor
2022-11-11 19:34:13 +01:00
Rindbee
12787ad57d
Fix memory leak in EditorSettingsDialog
...
Delete `TreeItem`s that are not in `Tree`, `TreeItem` needs to be deleted manually.
2022-11-11 14:21:46 +08:00
bruvzg
35528b800c
[Font] Add an import option to pre-render all glyphs required for the translation.
2022-11-10 10:43:15 +02:00
bruvzg
a8189a6831
[Image Font Importer] Hide unused font size, add image and character margins.
2022-11-10 08:42:14 +02:00
Aaron Franke
a3e52925bf
Fix default values on virtual classes causing errors in projects
2022-11-09 01:59:53 -06:00
kobewi
d9f066d5fa
Remove duplicate project settings definitions
2022-11-08 01:29:39 +01:00
Rémi Verschelde
b61fda9d2a
Merge pull request #68271 from paddy-exe/gdextension-library-loading-error
...
GDExtension: Improve error message for invalid library feature flags
2022-11-07 17:44:43 +01:00
Rémi Verschelde
518b4bcc0d
Merge pull request #68342 from KoBeWi/Godot_museum't
...
Allow to disable History Dock via feature profile
2022-11-07 13:41:29 +01:00
kobewi
c89100e571
Allow to disable History Dock via feature profile
2022-11-07 13:06:59 +01:00
Rémi Verschelde
92557a52b7
Merge pull request #68330 from RedMser/fix-relative-paths-disambiguate
...
Fix and simplify `EditorNode::disambiguate_filenames`
2022-11-07 10:02:29 +01:00
Rémi Verschelde
2c8498c8a6
Merge pull request #68351 from Sauermann/fix-code-simplifications
...
Code simplifications
2022-11-07 10:01:37 +01:00
Rémi Verschelde
bb5b45e950
Merge pull request #68344 from aaronfranke/virtually-documented
...
Fix default values not showing up on virtual classes
2022-11-07 08:49:03 +01:00
Rémi Verschelde
19d8e36c8e
Merge pull request #68331 from MewPurPur/gradient2d-better-preview
...
Fix GradientTexture2D's preview
2022-11-07 08:46:25 +01:00
Markus Sauermann
18978881fe
Code simplifications
...
CanvasItemEditor:
- p_result == ADD_MOVE is always true in this switch-clause
- both parts of the if-else-clause do the same thing and simplified an affine_inverse call
ControlEditorToolbar:
- private function ControlEditorToolbar::_anchor_to_position is used nowhere. Looks like
copy and paste from CanvasItemEditor::_anchor_to_position
ScrollContainer:
- screen_is_touchscreen is always true, because otherwise the function already returned
TextLine:
- both parts of the if-else-clause do the same thing and simplified return statement
2022-11-07 01:21:25 +01:00
VolTer
3de53c8312
Fix jankiness when drawing GradientTexture2D
2022-11-06 22:14:54 +01:00
Aaron Franke
3dc9474355
Fix default values not showing up on virtual classes
2022-11-06 15:05:36 -06:00
RedMser
f1743263d3
Fix disambiguate_filenames absolute paths on Unix
...
Also clean up relative path handling to use get_basename()
2022-11-06 16:34:59 +01:00
Rémi Verschelde
e95dec0c64
Merge pull request #67614 from aaronfranke/virtually-virtual
...
Don't allow instancing virtual node types in the Create New Node dialog
2022-11-06 15:57:49 +01:00
Rémi Verschelde
12b4a263ee
Merge pull request #67730 from KoBeWi/late_to_the_call
...
Add call_deferred() method to Callable
2022-11-06 15:55:43 +01:00
Rémi Verschelde
5dfa56474a
Merge pull request #68247 from akien-mga/emscripten-warnings-unuset-but-set
...
Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20
2022-11-06 15:53:46 +01:00
Rémi Verschelde
9580769e9a
Merge pull request #65441 from MewPurPur/annoying-whitespaces-trimming-fix
...
Prevent stripping the edges of strings when using Find in Files
2022-11-06 11:11:59 +01:00
Rémi Verschelde
701019bbfd
Merge pull request #65829 from KoBeWi/custom_path_type
...
Fix extending scripts by path
2022-11-06 11:06:50 +01:00
Aaron Franke
2557ea9d33
Don't allow instancing virtual resources in the resource picker dialog
2022-11-05 14:45:25 -05:00
Aaron Franke
ba542444e3
Don't allow instancing virtual node types in the Create New Node dialog
2022-11-05 14:45:16 -05:00
Fabio Alessandrelli
59e74374c0
[Editor] Fix invalid run args when remote debug is unavailable.
2022-11-05 14:06:09 +01:00
Patrick
f9458f9228
Improve error message for invalid library feature flags
...
Fixes https://github.com/godotengine/godot/issues/63227
My version for the error message is:
`No suitable library found. The libraries' tags referred to an invalid feature flag. Possible feature flags for your platform: %s`
2022-11-04 21:45:40 +01:00
clayjohn
3c1e5003ab
Fix pathological corner case in drawing tileset editor
...
Interleaving draw_rect calls with and without a texture forces every rect to
have its own draw call. In this case it meant that there is a draw call for every single
tile in the atlas. This change makes it so the renderer can batch draw calls
which reduced the draw call count by a factor of 512
2022-11-04 13:04:20 -07:00
kobewi
1778301cd0
Add call_deferred() method to Callable
2022-11-04 17:24:34 +01:00
Rémi Verschelde
f475c91081
Fix -Wunused-but-set-variable warnings from Emscripten 3.1.20
2022-11-04 11:36:13 +01:00
Rémi Verschelde
191c8ed12f
Merge pull request #67434 from bruvzg/win_wrapper
...
Add console wrapper app to handle console i/o redirection on Windows.
2022-11-04 10:49:37 +01:00
Rémi Verschelde
af957bf58e
Merge pull request #68223 from Calinou/editor-font-prerendering-fix-add-icon
...
Fix missing Add icon in the editor font prerendering dialog
2022-11-04 10:48:55 +01:00
Rémi Verschelde
a13d7a3717
Merge pull request #68220 from Calinou/dynamicfont-msdf-no-antialiasing
...
Hide Antialiasing import option on DynamicFonts with MSDF enabled
2022-11-04 10:05:51 +01:00
Hugo Locurcio
94ca971114
Fix missing Add icon in the editor font prerendering dialog
...
This also tweaks button writing style to match the rest of the editor.
2022-11-03 19:18:43 +01:00
Hugo Locurcio
a19e389f4f
Hide Antialiasing import option on DynamicFonts with MSDF enabled
...
Antialiasing cannot be adjusted on fonts rendered with MSDF.
Internally, Godot always uses grayscale antialiasing for those fonts.
This also tweaks property hints for consistency, and renames
uses of "sub-pixel" to the more commonly used "subpixel".
2022-11-03 18:40:44 +01:00
Ninni Pipping
4b29f71685
Fix incorrect drawing of alternative tiles
2022-11-03 16:17:36 +01:00
Rémi Verschelde
d0b7b698b0
Merge pull request #68191 from aaronfranke/quat-euler-order
...
Allow getting Quaternion rotation in different Euler orders
2022-11-03 12:07:33 +01:00
Zae
b68b26b27e
Fix reload scripts error after saving in external editor.
2022-11-03 17:06:51 +08:00
Aaron Franke
9e952c8386
Allow getting Quaternion rotation in different Euler orders
2022-11-02 19:20:10 -05:00
Rémi Verschelde
9ec7aadc06
Merge pull request #66017 from Mickeon/rename-image-copy-rect
...
Rename Image's `get_rect` to `get_region`
2022-11-02 22:36:57 +01:00
Rémi Verschelde
efefd9b198
Merge pull request #68120 from akien-mga/style-doc-cleanup
...
Style: Misc docs and comment style and language fixes
2022-11-02 22:36:31 +01:00
kobewi
ee53b17277
Fix crash in connection dialog
2022-11-02 19:50:33 +01:00