Rémi Verschelde
855402dfee
Merge pull request #68904 from aaronfranke/texture-methods
...
Rename TextureButton set_*_texture methods to set_texture_*
2022-11-20 15:37:37 +01:00
Micky
e791f4fce2
Double precision of `String.split_floats`
2022-11-20 12:29:50 +01:00
Rémi Verschelde
8f00b79f23
Merge pull request #68879 from TokageItLab/fix-bezier-editor-focus-mode
...
Fix the behavior of focus selection in bezier editor
2022-11-20 11:36:16 +01:00
Rémi Verschelde
5b235e2e5e
Merge pull request #68859 from souplamp/capitalize-skeleton3d-editor-plugin
...
Capitalize Skeleton3D's editor plugin dropdown options
2022-11-20 11:35:38 +01:00
Aaron Franke
f6714858bf
Rename TextureButton set_*_texture methods to set_texture_*
2022-11-19 17:33:40 -06:00
Silc Renew
b739bafd51
Fix connection of animation changed signal in AnimationTrackEditor
2022-11-20 06:38:51 +09:00
Silc Renew
3818be64a4
Fix the behavior of focus selection in bezier editor
2022-11-19 16:46:10 +09:00
Silc Renew
b9d1550590
Add option to get_path_to() to get the shortest path with unique name
2022-11-19 15:06:25 +09:00
Haoyu Qiu
d11bb8809a
Fix missing editor plugins
2022-11-19 10:48:38 +08:00
Rémi Verschelde
fcfd1e548c
Merge pull request #68824 from TokageItLab/fix-root-assign
...
Make the root motion track candidates all the bones of the Skeleton existing in the tracks
2022-11-18 23:26:23 +01:00
Rémi Verschelde
14c1726b97
Merge pull request #68821 from EricEzaM/68617-fix-event-text-and-jpmotion-deadzone
...
Refactor `get_event_text` to a static method, remove high deadzone from event configuration
2022-11-18 23:23:18 +01:00
Rémi Verschelde
a66fc4cf7e
Merge pull request #60686 from trollodel/move_editor_registration
...
Move editor class and plugin registrations to a dedicated file
2022-11-18 23:07:48 +01:00
souplamp
a3917039d1
capitalize skeleton3d plugin dropdown
2022-11-18 15:47:58 -06:00
Rémi Verschelde
c36691394a
Merge pull request #68799 from Chaosus/shader_fix
...
Prevent stack overflow when setting a shader global value
2022-11-18 16:21:18 +01:00
Rémi Verschelde
b1605c6d35
Merge pull request #68801 from vincentmoreschi/vincentmoreschi/master
...
Add raise -> move_to_front rename line
2022-11-18 16:19:07 +01:00
Silc Renew
7f00fd4ff7
change root motion track candidating method
2022-11-18 17:49:34 +09:00
Eric M
da1589dae6
Refactor `get_event_text` to a static method, remove high deadzone from event configuration.
...
* `get_event_text` and `get_device_string` are now static methods (they always could have been)
* Applied 90% deadzone on joypad motion inputs in the configurator had the effect of ignoring most joypad motion inputs. Low ones do not need to be filtered out as JoypadMotion is only considered 'pressed' if it as above 50% strength - and that works well.
2022-11-18 18:18:31 +10:00
trollodel
75177455d9
Move editor class and plugin registrations to a dedicated file
2022-11-18 08:02:08 +01:00
Chenzo
378d9a630c
Add raise -> move_to_front rename line
2022-11-17 16:56:10 -05:00
Yuri Sizov
270c810343
Add more call-to-action notes when documentation is missing
2022-11-17 22:33:55 +03:00
Yuri Rubinsky
b3f22ec03c
Prevent stack overflow when setting a shader global value
2022-11-17 19:12:04 +03:00
Rémi Verschelde
0b27173919
Fixup TileSet build after #66557
...
Last rebase was too old, didn't include this API rename.
2022-11-17 13:54:15 +01:00
Rémi Verschelde
2ca972ad01
Merge pull request #66557 from MisterMX/fix/tileset-custom-data-type-reload-editor
...
fix(tileset): Recreate custom data editor if type has changed
2022-11-17 13:49:02 +01:00
Rémi Verschelde
4829911df2
Merge pull request #64368 from YeldhamDev/tile_editor_label_center
...
Properly center labels in the TileMap/Set editors
2022-11-17 13:48:53 +01:00
Rémi Verschelde
994c935d97
Merge pull request #63601 from YeldhamDev/tooltip_stuff
...
Small changes to some tooltips
2022-11-17 13:48:46 +01:00
Rémi Verschelde
ef22b6f757
Merge pull request #68766 from TokageItLab/fix-update-animation-fps-edit
...
Fix GUI update timing when AnimationEditor changes FPS
2022-11-17 11:57:00 +01:00
Rémi Verschelde
74590e9597
Merge pull request #68651 from ClarkThyLord/fix_code_editor_search_match_inconsistencies
...
Fix code editor search match inconsistencies
2022-11-17 11:56:52 +01:00
Silc Renew
cb4bdc7e1b
Fix update timing when AnimationEditor changes FPS
2022-11-17 12:53:01 +09:00
VolTer
135c8cbf98
Fix text selection persisting on bookmark traversal
2022-11-17 02:50:04 +01:00
Christian Cuevas
5347c2b10e
Fix "Search" match inconsistencies
...
- Offset by searched length not line text
- Continue searching line for whole word matches on mismatch: Breaking at this point makes it so that upon any whole word mismatch all potential matches after this point inline are skipped, to avoid this unwanted behavior we continue searching the line positioned after the mismatch.
2022-11-16 14:02:16 -08:00
Yuri Rubinsky
359d13cddc
Fix the bounds of varying popup in visual shader editor
2022-11-16 22:05:09 +03:00
Rémi Verschelde
6d2a7cb46d
Merge pull request #68709 from MewPurPur/instance-begone-part3
...
Remove more instances of 'instance' being used as a verb
2022-11-16 14:41:42 +01:00
VolTer
3b4f5f8a04
Remove more instances of 'instance' being used as a verb
2022-11-16 14:01:53 +01:00
Rémi Verschelde
ee1d4d4a52
Merge pull request #68725 from TokageItLab/fix-bone-renamer-for-conflicting
...
Improve BoneRenamer to avoid conflicting with original bone name
2022-11-16 09:27:34 +01:00
Silc Renew
ac1db40614
Improve BoneRenamer to avoid conflicting with original bone name
2022-11-16 16:36:33 +09:00
kobewi
45bdf4d609
Add explicit name to History dock
2022-11-16 03:28:14 +01:00
Rémi Verschelde
7b3c1a0a83
Merge pull request #68690 from KoBeWi/StringNoName
...
Change EditorQuickOpen base_type to String
2022-11-15 16:25:31 +01:00
Rémi Verschelde
e1ddd74b23
Merge pull request #68159 from Mickeon/doc-help-return-array
...
Change docs' Typed Array & void representation
2022-11-15 16:24:43 +01:00
kobewi
747a966211
Change EditorQuickOpen base_type to String
2022-11-15 15:12:42 +01:00
Micky
0f82aaea73
Change docs' Typed Array & void representation
...
Typed Arrays now look the same as to how they're defined in GDScript.
Also modifies "void" to be darkened and show a tooltip.
2022-11-15 14:19:07 +01:00
Rémi Verschelde
91fcc3986e
Merge pull request #68340 from KoBeWi/deparent
...
Don't reparent dragged node when non needed
2022-11-15 13:25:30 +01:00
Rémi Verschelde
2444860d03
Merge pull request #67798 from KoBeWi/code_resurrection
...
Uncomment drag forwarding in CreateDialog
2022-11-15 13:25:00 +01:00
Rémi Verschelde
eec835f547
Merge pull request #67651 from KoBeWi/ ❗ _of_damnation
...
Fix double hint paste in EditorResourcePicker
2022-11-15 13:23:36 +01:00
Rémi Verschelde
22b19bbdeb
Merge pull request #67397 from KoBeWi/impostorpup
...
Change EditorSpinSlider's popup to Control
2022-11-15 13:22:51 +01:00
Haoyu Qiu
6c5dc78f59
Make Camera3D gizmo the same aspect ratio as its viewport
2022-11-15 17:31:53 +08:00
Rémi Verschelde
0332f04e97
Merge pull request #60931 from EspeuteClement/get_selected_files
...
Add EditorInterface.get_selected_paths()
2022-11-14 23:26:05 +01:00
Rémi Verschelde
80dbcfd995
Merge pull request #68657 from Sauermann/fix-redundant-initialization
...
Remove redundant non-trivial Variant types initializations
2022-11-14 23:23:54 +01:00
cespeute
4b00c2ec57
Add EditorInterface.get_selected_paths()
...
Exposes the selected paths in the editor filesystem dock.
Implements this proposal : https://github.com/godotengine/godot-proposals/issues/2424
Also renamed the old `get_selected_path` to `get_selected_directory` to
better match the already existing get_current_path function.
2022-11-14 22:46:27 +01:00
Markus Sauermann
3b14f0334c
Remove redundant Variant-types initializations
2022-11-14 19:35:19 +01:00
Rémi Verschelde
315c64282b
Fix misc formatting issues
...
Somehow I missed the failing CI report from trailing whitespace.
Fixed a couple typos found by codespell while at it, and misc
trailing semicolons in one of the files.
2022-11-14 19:00:48 +01:00
Rémi Verschelde
19ae37cc99
Merge pull request #68626 from AleCamara/bug-66928-crash-preview-short-mp3
...
Fix editor crash on audio preview
2022-11-14 18:29:57 +01:00
Rémi Verschelde
7dafe06e27
Merge pull request #68624 from AleCamara/bug-67235-gradient-slider
...
Fix clicking in gradient editor
2022-11-14 18:29:52 +01:00
Rémi Verschelde
beed90ea6d
Merge pull request #67963 from KoBeWi/den_of_actions
...
Fix nested actions in EditorUndoRedoManager
2022-11-14 18:29:46 +01:00
Rémi Verschelde
30145a9ef7
Merge pull request #67852 from alex-pahdo/patch-1
...
Add more info to WAV import errors
2022-11-14 16:38:21 +01:00
alex-pahdo
f5d256b118
Add more info to WAV import errors
...
Print mismatched header contents and file size, which can provide more clues to users when debugging.
2022-11-14 15:09:48 +01:00
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
Ale Camara
aebf3d9401
Fix clicking in gradient editor
...
- When double-clicking on the gradient we should open the colour picker and create a colour key.
- Instead, we were also evaluating the click further down producing the colour key to move around.
2022-11-14 13:29:21 +00:00
Ale Camara
9a666a9275
Fix editor crash on audio preview
...
- Crash was due to getting -1 values when clamping [0, -1].
- This was happening due to 'max' being zero.
- If 'max' is zero we should return zero, as it can never be any other
value.
2022-11-14 13:21:48 +00: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
Michael Alexsander
39e6beed98
Small changes to some tooltips
2022-11-12 22:01:09 -03:00
Michael Alexsander
02390693ce
Properly center labels in the TileMap/Set editors
2022-11-12 21:35:07 -03:00
Michael Alexsander
441af72c6e
Fix some stuff with the editor features
2022-11-12 21:09:19 -03: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
kobewi
6b2febe794
Don't reparent dragged node when non needed
2022-11-06 20:19:00 +01: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
Rémi Verschelde
f7c611ab71
Style: Misc docs and comment style and language fixes
...
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02 19:01:18 +01:00
Rémi Verschelde
eefba5bc33
Merge pull request #65062 from KoBeWi/RedoUndo
...
Unify usage of undo_redo in editor
2022-11-02 18:54:05 +01:00
Rémi Verschelde
17497b1eb9
Merge pull request #65012 from KoBeWi/Godot_museum
...
Add history dock
2022-11-02 18:52:42 +01:00
Rémi Verschelde
d2e1b4b9f0
Merge pull request #68118 from aaronfranke/quat-from-euler
...
Replace Quaternion Euler constructor with `from_euler` method
2022-11-02 18:51:59 +01:00
Rémi Verschelde
fd1e579aa7
Merge pull request #68090 from bruvzg/sys_emoji
...
Load and use system emoji font in the editor.
2022-11-02 18:51:02 +01:00
kobewi
15831e381b
Unify usage of undo_redo in editor
2022-11-02 17:51:58 +01:00
Rémi Verschelde
9ba778e6f2
Merge pull request #66706 from PucklaMotzer09/fix_duplicate_uid
...
Make uids of duplicated items unique in FileSystemDock
2022-11-02 14:19:54 +01:00
Rémi Verschelde
910cf9a9b3
Merge pull request #67810 from MrBlockers/reged-fixes
...
Fix multiple issues with region editor
2022-11-02 14:18:12 +01:00
Rémi Verschelde
a8850434c2
Merge pull request #68147 from anvilfolk/fix-curve-multiline
...
Fix error in curve editor multiline string draw
2022-11-02 14:17:18 +01:00
Rémi Verschelde
b31140cdb9
Merge pull request #68113 from justofisker/egine-typo
...
Fix typo in `editor_build_profile.cpp`
2022-11-02 14:17:00 +01:00
Rémi Verschelde
50f742e1ca
Merge pull request #68107 from alfredbaudisch/drag-lower-case
...
Cast dragged file name extension to lowercase
2022-11-02 14:16:00 +01:00
Rémi Verschelde
df26d11b5d
Merge pull request #68020 from timothyqiu/3d-drag-instance
...
Improve dragging scene into 3D viewport
2022-11-02 14:15:54 +01:00
VolTer
1fa329b0e4
Fixes and improvements to Search Results dock
2022-11-02 12:45:10 +01:00
ocean (they/them)
8871226e5c
Fix error in curve editor multiline string draw
2022-11-01 22:28:03 -04:00
Micky
ebf86c96e9
Rename Image's `get_rect` to `get_region`
...
Also renames its parameter to from "rect" to "region".
2022-11-01 23:35:48 +01:00
Micky
8feb1da1f8
Improve Editor Documentation colors
2022-11-01 19:16:13 +01:00
Aaron Franke
83634119d4
Replace Quaternion Euler constructor with `from_euler` method
2022-11-01 09:28:12 -05:00
Just
f113a5cc02
Fix typo in build configuration file type desc
2022-11-01 03:01:05 -07:00
bruvzg
060d62e0dc
Load and use system emoji font in the editor.
2022-11-01 11:04:58 +02:00
Alfred Reinold Baudisch
07e367cb0b
Cast dragged file extension name to lowercase, closes #68104
2022-11-01 09:48:09 +01:00
Haoyu Qiu
2b8bcbe487
Fix error when adding 3D gizmo handles with IDs
2022-11-01 16:25:13 +08:00
Rémi Verschelde
778ffce1e3
Merge pull request #62416 from Calinou/movie-maker-request-attention-on-finish
...
Request attention on the editor window when done recording a movie
2022-10-31 23:03:21 +01:00
Rémi Verschelde
e22a1d8031
Merge pull request #68060 from dpalais/no-pointer-animationnode-blendtree-rename
...
Remove the usage of pointers in signal call, to fix #67941
2022-10-31 15:54:45 +01:00
Rémi Verschelde
e47aa546cd
Merge pull request #68008 from timothyqiu/hide-axis
...
Hide axis gizmo after translating 3D nodes
2022-10-31 14:19:11 +01:00
Rémi Verschelde
2af7a2367a
Merge pull request #68005 from timothyqiu/type-mismatch
...
Fix type mismatch error when deselecting a 3D gizmo
2022-10-31 14:19:06 +01:00
bruvzg
9a33c97c2a
Add console wrapper app to handle console i/o redirection on Windows.
2022-10-31 14:37:49 +02:00
Rémi Verschelde
6a9317c9fc
Merge pull request #42659 from kingoftheconnors/anim-tree-load-fail-alert
...
Add alert in anim trees if resource load fails
2022-10-31 13:18:10 +01:00
Rémi Verschelde
5947f22be9
Merge pull request #67578 from KoBeWi/GEDITOR
...
Unify usage of GLOBAL/EDITOR_GET
2022-10-31 13:15:58 +01:00
Rémi Verschelde
9cfcc9131f
Merge pull request #68079 from Mickeon/doc-help-hint
...
Add tooltip to method qualifiers in Documentation Help
2022-10-31 13:14:28 +01:00
Micky
610864d1db
Add tooltip to method qualifiers in Documentation Help
2022-10-31 12:17:33 +01:00
Rémi Verschelde
4b92533efa
Merge pull request #68073 from timothyqiu/marker-3d-extents
...
Make Marker3D gizmo resizable
2022-10-31 12:17:13 +01:00
Rémi Verschelde
be126d42d4
Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don't
...
Simplify GDVIRTUAL_CALL calls
2022-10-31 11:55:56 +01:00
Rémi Verschelde
33c7c8020a
Merge pull request #67489 from timothyqiu/auto-select-all
...
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-31 11:55:06 +01:00
Danil Alexeev
7d15bb4064
Fix `EditorInspector.property_changed` signal connection
2022-10-31 11:52:52 +01:00
Rémi Verschelde
f4f98c4ecb
Merge pull request #67055 from GuilhermeGSousa/custom-node-export
...
Added custom node export
2022-10-31 11:11:07 +01:00
Rémi Verschelde
1b3847bb74
Merge pull request #67560 from timothyqiu/mp-default
...
Fix `SceneTreeEditor::_update_tree()` binding
2022-10-31 11:08:15 +01:00
Rémi Verschelde
49c53027a9
Merge pull request #67786 from EricEzaM/67743-script-editor-shortcuts
...
Set the shortcut context for the edit/search/goto menus to the ScriptEditor so that shortcuts continue to work when FindReplaceBar is focused.
2022-10-31 11:07:48 +01:00
Rémi Verschelde
869c2bd6de
Merge pull request #68064 from kleonc/sprite-frames-editor-fix-frame-index-calculation
...
`SpriteFramesEditor` Fix calculating frame index from mouse position
2022-10-31 11:00:19 +01:00
Rémi Verschelde
8b1a42cd47
Merge pull request #67888 from KoBeWi/overridead
...
Remove `override_selected_font_color` property
2022-10-31 10:59:07 +01:00
Rémi Verschelde
4845feb95d
Merge pull request #68003 from timothyqiu/camera-gizmo-select
...
Make Camera3D gizmo clickable
2022-10-31 10:56:39 +01:00
Rémi Verschelde
420eb1aa34
Merge pull request #67445 from Zylann/rename_queue_delete
...
Rename queue_delete => queue_free
2022-10-31 10:51:18 +01:00
Rémi Verschelde
93df2b0f6d
Merge pull request #67805 from TokageItLab/fix-postimport-anim-arg
...
Fix passed dictionary to `internal_process()` in importer plugin for animation
2022-10-31 10:49:47 +01:00
Rémi Verschelde
fa73211754
Merge pull request #65118 from Mickeon/editor-remote-tree-buttons
...
Add a few buttons in Remote Scene Tree
2022-10-31 10:46:08 +01:00
Rémi Verschelde
d0fbeec66a
Merge pull request #67580 from KoBeWi/little_things
...
Minor code improvements
2022-10-31 10:34:57 +01:00
Haoyu Qiu
3ded27c62d
Make Marker3D gizmo resizable
2022-10-31 15:19:48 +08:00
kleonc
d135957987
`SpriteFramesEditor` Fix calculating frame index from mouse position
2022-10-30 21:26:58 +01:00
Dave Palais
3d0a9b2bec
Remove the usage of pointers in signal call, to fix #67941
...
The signal was emitted right as the node was being disposed of. Since
the connection was deferred, the receiving method received an already
freed pointer. Instead, we listen to the text_changed signal and keep
record of the edited text which we then use to update node name when
the LineEdit goes out of focus.
2022-10-30 12:50:27 -05:00
Haoyu Qiu
877cb1cbc0
Improve dragging scene into 3D viewport
...
* When there's nothing to collide with:
* Place the new scene on XZ plane when possible.
* When the camera does not point toward the XZ plane or the
intersection is too far away, place the new scene on a plane that
is in front of the camera and parallel to the frame.
* Fixes positioning when in orthogonal view.
* Place on physical collision point or the XZ plane when possible.
* Otherwise, place it on the plane in front of the camera as if the
camera was perspective.
* Makes use of snap settings when placing the new scene.
2022-10-29 23:34:39 +08:00
Haoyu Qiu
03bbacfdca
Hide axis gizmo after translating 3D nodes
2022-10-29 16:17:28 +08:00
Haoyu Qiu
eb5bfe158e
Fix type mismatch error when deselecting a 3D gizmo
2022-10-29 15:15:28 +08:00
Haoyu Qiu
ca9063fe4e
Make Camera3D gizmo clickable
2022-10-29 12:38:21 +08:00
Haoyu Qiu
3aed3edc06
Allow selecting SpinBox & LineEdit text when focus enters
2022-10-29 09:58:42 +08:00
DeeJayLSP
0619bd44da
ResourceImporterLayeredTexture: rename compress modes to match enum
2022-10-28 14:24:32 -03:00
kobewi
d7ebf725c9
Fix nested actions in EditorUndoRedoManager
2022-10-28 02:54:55 +02:00
Clay John
8a5e0b8caf
Merge pull request #67834 from Klowner/collada-closed-curves-16658
...
Handle closed splines in Collada importer
2022-10-27 09:48:21 -07:00
Clay John
d1cc93af89
Merge pull request #67832 from Sauermann/fix-remove-unnecessary-casts
...
Remove unnecessary casts
2022-10-27 09:47:34 -07:00
Clay John
682156e1f0
Merge pull request #66383 from aaronfranke/basis-from-euler
...
Clean up Basis from Euler code
2022-10-27 09:44:21 -07:00
Alfred Reinold Baudisch
46f2a1674d
Add math operators to Visual Shader node names
...
This change makes it easy, in the "Create Shader Node" dialog, to search for VS nodes by just typing the operator. For example, instead of typing "multiply", you can just type "*" and multiply nodes will be listed.
This feature is inspired by Unreal Engine node graph editor's UX.
Implements and closes https://github.com/godotengine/godot-proposals/issues/5663
2022-10-26 17:36:19 +02:00
kobewi
c7eb814ede
Remove override_selected_font_color property
2022-10-26 12:59:18 +02:00
Hugo Locurcio
f613db0db9
Add Black (OLED) editor theme preset
...
This preset uses a fully black background to reduce power usage on OLED
displays, leading to increased battery life on laptops with OLED displays.
This preset is also useful for late night sessions, as OLED displays
have a near-infinite contrast ratio.
This also adds a Draw Extra Borders editor setting which draws borders
around some interactive nodes. This setting is required for good
usability of a theme with a fully black background.
Visibility of disabled text (including unselected tab names) has been
slightly increased for better accessibility, regardless of the editor
theme preset in use.
2022-10-26 01:23:53 +02:00
MrBlockers
92ebbf2c0a
Fix multiple issues with region editor
...
Make the filter mode of the texture preview match the node/resource
being edited where applicable, and nearest neighbor with mipmaps as a
fallback.
Make the Edit Region button for Sprite3D only appear when region is
enabled, to match behavior of Sprite2D.
Fix the editor not correctly clearing reference to previously edited
resources, resulting in a visual bug displaying the incorrect texture.
2022-10-25 18:23:23 -04:00
Eric M
d499071e5b
Set the shortcut context for the edit/search/goto menus to the ScriptEditor so that shortcuts continue to work when FindReplaceBar is focused.
2022-10-25 19:52:42 +10:00
Marc Gilleron
7543a5e014
Rename queue_delete => queue_free
...
# Conflicts:
# editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-24 22:07:02 +01:00
Mark Riedesel
8f7ab02bc6
Handle closed splines in Collada importer
2022-10-24 09:35:09 -05:00
Markus Sauermann
5ee449efec
Remove unnecessary casts
...
button_add_item and button_add are both Button
p_parent is a Node3D
CanvasItem can never be cast to Viewport
2022-10-24 15:59:18 +02:00
Clay John
040f49ed6e
Merge pull request #67390 from groud/more_conservative_terrain_painting
...
Make terrain painting not change neighbors centers bits
2022-10-23 17:11:06 -07:00
opl-
5d7a9f8a5c
Fix editor inspector classes not accepting events
2022-10-23 19:03:47 +02:00
Silc Renew
46a5b230fa
Fix passed dict to internal_process() in importer plugin for animation
2022-10-24 00:23:37 +09:00
kobewi
c5c30898af
Uncomment drag forwarding in CreateDialog
2022-10-23 15:47:22 +02:00
PucklaMotzer09
2ac177c3b6
Use ResourceLoader::save to duplicate resources
...
Also recursively duplicate files of a directory tree
2022-10-22 11:44:48 +02:00
Clay John
dd8702f13d
Merge pull request #67426 from MrBlockers/blurry-texture-preview
...
Make texture preview filter setting content aware
2022-10-21 17:25:38 -07:00
Max Hilbrunner
efd2a8ac23
Merge pull request #67725 from TokageItLab/add-tuts-link-retarget
...
Add a tutorial link to `BoneMap` and `SkeletonProfile`
2022-10-22 01:06:08 +02:00
Aaron Franke
7f9a8c99c9
Clean up Basis from Euler code
2022-10-21 17:54:49 -05:00
Silc Renew
e7d0a2198b
Add a tutorial link to Retarget Classes
2022-10-22 02:56:16 +09:00
Max Hilbrunner
8ebc8813d5
Merge pull request #67314 from anvilfolk/quote-fix
...
Fix single-quotes incorrectly escaped when dragging into script editor
2022-10-21 18:12:09 +02:00
MrBlockers
4bddec7003
Make texture preview and picker use mipmap filter
2022-10-20 18:36:09 -04:00
Micky
809dad907a
Add buttons in Remote Scene Tree
...
A Scene button to any scene instantiated from file. When clicked, it opens the original PackedScene.
A toggle visibility button is also available.
2022-10-20 18:02:41 +02:00
Gilles Roudière
fe65d7aa7b
Make terrain painting not change neighbors centers bits
2022-10-20 14:47:45 +02:00
Windy Darian
0463a445c4
Don't try to import unknown dependency from scan
...
Only import dependency we know how to import, since custom resource may have .gd in dependency list which doesn't have an importer
2022-10-19 22:17:36 -07:00
kobewi
f6744fc22f
Fix double hint paste in EditorResourcePicker
2022-10-20 01:05:21 +02:00
Max Hilbrunner
f066f2c0de
Merge pull request #66940 from aaronfranke/doc-get-tr-aabb
...
Remove the global space `get_transformed_aabb` helper method
2022-10-19 22:40:02 +02:00
Max Hilbrunner
b209065e89
Merge pull request #67543 from clayjohn/PLU-default
...
Use CameraAttributesPractical in the editor default environment
2022-10-19 21:49:57 +02:00
kobewi
d06a8320e5
Simplify GDVIRTUAL_CALL calls
2022-10-19 00:05:48 +02:00
clayjohn
15e14c5b59
Use CameraAttributesPractical in the editor default environment
...
This avoids forcing DoF in the editor when physical light units are enabled
2022-10-18 10:15:53 -07:00
kobewi
e48c5daddf
Unify usage of GLOBAL/EDITOR_GET
2022-10-18 19:01:48 +02:00
kobewi
4aaed4fee1
Minor code improvements
2022-10-18 16:44:57 +02:00
Aaron Franke
9ebd8c5bb5
Remove the global space `get_transformed_aabb` helper method
2022-10-18 07:30:31 -05:00
Haoyu Qiu
3d919f84e5
Fix `SceneTreeEditor::_update_tree()` binding
2022-10-18 10:40:30 +08:00
Markus Sauermann
6a3df02956
Fix Updating New Node Dialog Description of Custom Nodes
...
The text of the first column in the selection Tree is used to compare
Node names.
Since this text contains additionally the path to the file, it doesn't
match anything.
This patch separates the path and puts it into the cell as suffix.
2022-10-18 01:56:07 +02:00