Zae
4fdfc5176c
[Editor] Fix float dock shows untranslated title.
2022-11-24 18:52:15 +08:00
Paweł
13e54603cc
Fix near one opacity in editor icons
2022-11-24 10:35:50 +01:00
BrunoSXS
a5e9878ef8
Fix for documentation not appearing in preview in editor inspector
2022-11-23 22:12:12 -03:00
Rémi Verschelde
ea2a8bfe41
Merge pull request #69049 from pkowal1982/round
...
Fix roundness of DebugSkipBreakpointsOff icon
2022-11-23 23:11:36 +01:00
Paweł
dc2092e65a
Fix roundness of DebugSkipBreakpointsOff icon
2022-11-23 18:13:36 +01:00
Rémi Verschelde
aad4a9252c
Merge pull request #69056 from fire/skeleton-crash
...
Avoid the Skeleton3DGizmoPlugin crash when clicking in the editor.
2022-11-23 17:23:03 +01:00
Rémi Verschelde
cfb5ce771c
Merge pull request #69048 from akien-mga/thorvg-better-errors
...
ImageLoaderSVG: Improve error reporting
2022-11-23 17:22:16 +01:00
Rémi Verschelde
1757a60024
Merge pull request #68369 from Chaosus/fix_quick_open
...
Fix Quick Open window to use EDSCALE and save the size between popups
2022-11-23 17:21:51 +01:00
K. S. Ernest (iFire) Lee
e0b296ae82
Avoid the Skeleton3DGizmoPlugin crash when clicking in the editor.
2022-11-23 07:09:49 -08:00
Rémi Verschelde
d3b8faac74
ImageLoaderSVG: Improve error reporting
2022-11-23 13:27:31 +01:00
Yuri Rubinsky
09d7a1b864
Fix Quick Open window to use EDSCALE and save the size between popups
2022-11-23 11:33:56 +03:00
Rémi Verschelde
c13907df0f
Merge pull request #68648 from KoBeWi/instancentianatate_script
...
Allow directly instantiate scripts in scene tree
2022-11-23 08:32:01 +01:00
Rémi Verschelde
44edd5b8fd
Merge pull request #68354 from anvilfolk/cant-clear-script
...
Fixes inability to assign script after clearing
2022-11-22 21:15:21 +01:00
kobewi
7797557f91
Allow directly instantiate scripts in scene tree
2022-11-22 18:40:08 +01:00
Rémi Verschelde
4b4e701e06
Merge pull request #68964 from MewPurPur/tweak-gradient-editor
...
Fixes and improvements to Gradient preview
2022-11-22 08:31:44 +01:00
ocean (they/them)
9187f5c849
Fixes inability to assign script after clearing
2022-11-21 19:43:46 -05:00
VolTer
3c54d8752c
Fix Gradient preview issues
2022-11-21 23:32:38 +01:00
souplamp
ddbb243a64
Improve Editor Layout dialog (clarity, editor sizing changes)
...
- include editor scale for changing custom minimum size
- add placeholder text to clarify purpose
- fix squashed itemlist
- remove awkward spacing when dialog box longer than expected
- scale editor layout dialog based on itemlist minimum size
- fix scale initializing incorrectly if opening > Delete Layout before > Save Layout
2022-11-21 15:53:06 -06:00
kobewi
538b84d41a
Don't update EditorSettings dialog unnecessarily
2022-11-21 14:47:16 +01:00
Rémi Verschelde
c40cb24c1c
Merge pull request #68946 from timothyqiu/setget-3to4
...
Complete `setget` 3to4 conversion
2022-11-21 11:43:49 +01:00
Rémi Verschelde
d0b4cca7a6
Merge pull request #68943 from timothyqiu/vformat-args
...
Fix not enough arguments error when validating 3to4 conversion
2022-11-21 11:43:35 +01:00
Haoyu Qiu
fbf47c5d47
Complete setget 3to4 conversion
2022-11-21 17:05:48 +08:00
Haoyu Qiu
81b6e28c94
Fix not enough arguments error when validating 3to4 conversion
2022-11-21 16:49:59 +08:00
Markus Sauermann
28af870750
Code simplifications found by cppcheck
...
They are based on:
- Boolean arithmetic simplifications
- setting variables that are not accessed
- constant variables
2022-11-21 08:43:36 +01:00
Marc Gilleron
e0d2b7835d
Allow selecting text in shader compilation logs
2022-11-20 19:15:39 +00:00
Rémi Verschelde
98da707df5
Merge pull request #68922 from TokageItLab/fix-animtree-crash
...
Fix `AnimationTreeEditor` crash & rename `AnimationTreeEditor::get_tree()` to `get_animation_tree()`
2022-11-20 17:49:23 +01:00
Silc Renew
d595b27467
Fix AnimationTree crash & rename get_tree() to get_animation_tree()
2022-11-21 00:28:10 +09:00
Rémi Verschelde
642859bf51
Merge pull request #68902 from TokageItLab/fix-animation-changed-signal
...
Fix connection of animation "changed" signal in AnimationTrackEditor
2022-11-20 15:37:42 +01:00
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
dzil123
1d03c2f389
Node3DEditorViewport - Remove duplicate check and cleanup
2022-11-12 19:25:35 -08: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
kobewi
0d122ce459
Allow to escape closing brackets in CFG tags
2022-11-09 14:00:51 +01: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
Markus Sauermann
69fca9286f
Use get_cursor_shape for identifying the cursor shape in CanvasItemEditor
...
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-11-03 19:34:43 +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
kobewi
1e14502f84
Add one-way indicator to tile collision editor
2022-10-24 12:03:39 +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
Cykyrios
c4b410a64a
Fix private properties appearing in class doc Property Descriptions
2022-10-21 13:08:08 +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
João Martins
97bada99ee
Fix single-quotes incorrectly escaped when dragging into script editor
2022-10-17 16:05:53 -04:00
Rémi Verschelde
36d5f0d1cc
Merge pull request #64277 from KoBeWi/script_editor 🧹 🧹
...
Reorganize script editor menu
2022-10-17 17:31:14 +02:00
Rémi Verschelde
eb4711dafb
Merge pull request #67411 from rburing/editor_cast_rays_in_physics_process
...
Node3D editor: cast rays in `NOTIFICATION_PHYSICS_PROCESS`
2022-10-17 17:31:07 +02:00
Zae
41f9bf946b
Fix sorting issue in Project Manager.
2022-10-17 16:12:35 +08:00
Marc Gilleron
9efb2e786e
Fix case where mutex is never unlocked
2022-10-15 13:06:00 +01:00
Rémi Verschelde
dc4b616596
Merge pull request #63332 from KoBeWi/static_images_aka_photos
...
Make some Image methods static
2022-10-15 12:56:57 +02:00
Rémi Verschelde
2b7c7bd7e8
Merge pull request #67420 from KoBeWi/ 🍋 🔫
...
Separate Line and CurveLinear icons
2022-10-15 12:56:09 +02:00
Rémi Verschelde
03adb08b10
Merge pull request #67393 from KoBeWi/ 🥕
...
Preserve caret when updating EditorPropertyText
2022-10-15 12:55:41 +02:00
Rémi Verschelde
9aabdb5aad
Merge pull request #67383 from EricEzaM/67211-focus-input-box
...
Focus EventListener when InputEventConfigurationDialog is opened.
2022-10-15 12:55:24 +02:00
kobewi
c70271ee47
Change EditorSpinSlider's popup to Control
2022-10-15 12:33:40 +02:00
kobewi
985671012a
Separate Line and CurveLinear icons
2022-10-15 02:00:39 +02:00
Ricardo Buring
d9ce8b8996
Node3D editor: cast rays in NOTIFICATION_PHYSICS_PROCESS
...
Fixes crashes in the editor with threaded physics (when dragging a scene
into the viewport or when snapping a node to the floor).
2022-10-14 23:37:20 +02:00
kobewi
af0ee8b0a0
Reorganize script editor menu
2022-10-14 18:41:01 +02:00
Guilherme Sousa
5d06843fcf
Added custom node export
2022-10-14 17:31:00 +02:00
kobewi
c75338fce6
Preserve caret when updating EditorPropertyText
2022-10-14 15:37:28 +02:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
Eric M
8678e4d34f
Focus EventListener when InputEventConfigurationDialog is opened.
2022-10-14 18:26:07 +10:00
Rémi Verschelde
bd4fddd89f
Merge pull request #67370 from KoBeWi/queueueuedraw
...
Redraw 2D viewport when scene changes
2022-10-14 10:20:01 +02:00
Rémi Verschelde
7502c808fa
Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signals
...
Do not allow editing Scene-inherited signal connections
2022-10-14 10:19:47 +02:00
kobewi
bee0b7e583
Redraw 2D viewport when scene changes
2022-10-14 00:22:46 +02:00
Micky
6a77563b25
Do not allow editing Scene-inherited signal connections
...
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-13 20:13:05 +02:00
Juan Linietsky
71d2e38cb5
Optimize Convex Collision
...
Implements the Gauss Mapping optimization to SAT convex collision test.
* Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf ) by Dirk Gregorius.
* Requires adding of face information to edges in MeshData
* Took the chance to convert MeshData to LocalVector for performance.
2022-10-13 19:07:53 +02:00
Rémi Verschelde
58822717ff
Merge pull request #67344 from KoBeWi/hollow_property
...
Add empty state to enum properties
2022-10-13 15:24:46 +02:00
Rémi Verschelde
2ffb609658
Merge pull request #66337 from EricEzaM/sprite-frames
...
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-13 15:24:39 +02:00
Eric M
b322b3d649
Add shortcuts for SpriteFrames editor. Small renaming changes for clarity & consistency.
2022-10-13 21:14:59 +10:00
kobewi
fd84f68217
Add empty state to enum properties
2022-10-13 13:05:54 +02:00
Rémi Verschelde
86a836f9e3
Merge pull request #59468 from EricEzaM/fix-zoom-shortcuts
...
Fix zoom in/out keyboard shortcuts not working
2022-10-13 09:03:58 +02:00
Rémi Verschelde
f2248969db
Merge pull request #66952 from bruvzg/macos_net_export
...
Fix macOS .NET export.
2022-10-12 22:52:59 +02:00
Rémi Verschelde
143dbb3544
Merge pull request #67277 from KoBeWi/ 🤦♂️
...
Fix source sort not saving in TileMap editor
2022-10-12 08:56:08 +02:00
Rémi Verschelde
6fc1715cdf
Merge pull request #65779 from Mickeon/rename-camera-follow
...
Rename Camera2D's `smoothing` to `position_smoothing`
2022-10-12 08:53:04 +02:00
Rémi Verschelde
3229194dfc
Merge pull request #67215 from Nidjo123/project-dialog-resize
...
Resize project dialog only when necessary
2022-10-11 23:26:37 +02:00
kobewi
386382d796
Fix source sort not saving in TileMap editor
2022-10-11 22:40:39 +02:00
Rémi Verschelde
736a2df437
Merge pull request #67244 from RandomShaper/split_render_further_2
...
Polish rendering driver refactor further (take 2)
2022-10-11 21:08:42 +02:00
Pedro J. Estébanez
f82deaa5b3
Polish rendering driver refactor further (take 2)
2022-10-11 19:06:55 +02:00
Nikola Bunjevac
fb673953ca
Resize project dialog only when necessary
2022-10-11 17:16:20 +02:00
Micky
43b9cc96da
Rename Camera2D's `smoothing` to `position_smoothing`
...
For Camera2D:
`smoothing_enabled` -> `position_smoothing_enabled`
`set_enable_follow_smoothing` -> `set_position_smoothing_enabled`
`is_follow_smoothing_enabled` -> `is_position_smoothing_enabled`
`smoothing_speed` -> `position_smoothing_speed`
`set_follow_smoothing` -> `set_position_smoothing_speed`
`get_follow_smoothing` -> `get_position_smoothing_speed`
2022-10-11 16:51:26 +02:00
Rémi Verschelde
042e81f663
Merge pull request #40274 from Juankz/clips_importing_improvement
...
Add animation slices for individual animations
2022-10-11 16:18:22 +02:00
Rémi Verschelde
6d534f6e89
Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-es
...
Rename remaining "*_enable" to "*_enabled"
2022-10-11 16:17:02 +02:00
Rémi Verschelde
bc7981dfd1
Merge pull request #62659 from Chaosus/editor_group_rename_option
...
Add ability to rename groups in the GroupsEditor
2022-10-11 16:16:51 +02:00
Rémi Verschelde
b24bdc9a4c
Merge pull request #67018 from Mickeon/try-connections-dialog-self-connection
...
Add Editor Setting for default name when connecting signal to self
2022-10-11 16:16:37 +02:00
Rémi Verschelde
56ccf4f2f6
Merge pull request #66310 from TokageItLab/Change-bonemapper-background-silhouette
...
Change bone mapper background model silhouette
2022-10-11 16:16:23 +02:00
kobewi
a3661ad079
Remove editor dependencies from ColorPicker
2022-10-11 16:09:27 +02:00
Rémi Verschelde
d2a8f4d33d
Merge pull request #61776 from Rindbee/fix-code-editor-search
...
Fix some bugs about search in code editor
2022-10-11 13:59:40 +02:00
Rémi Verschelde
3a2e749a10
Merge pull request #59382 from akien-mga/editor-acceptdialog-swap-cancel-ok
...
Add editor setting for AcceptDialog OK/Cancel buttons positioning
2022-10-11 12:34:04 +02:00
Rindbee
ff0de4e220
Fix some bugs about search in code editor
...
1. Fix #61713 ;
2. Fix the bug when there are consecutive matches, forward searching will skip the adjacent item;
3. Fix the bug that enable the selection-only option will affect the operations in search mode.
2022-10-11 18:15:32 +08:00
Rémi Verschelde
e413d1c9c3
Merge pull request #67104 from Calinou/add-viewport-transparent-project-setting
...
Add a project setting to make the root viewport transparent
2022-10-11 09:28:43 +02:00
Rémi Verschelde
6d9d220d64
Merge pull request #67224 from Mickeon/jason
...
Use `JSON::stringify` where possible
2022-10-11 09:27:53 +02:00
Juan Velandia
8ad3f8f051
Add animation slices for individual animations
...
This improves the workflow for animations in a single timeline.
The users are no longer forced to slice one animation named "default".
Instead users can choose which animation(s) to break and how.
Changes:
- Remove slicing options from the animation player import menu
- Add such options to the animation import menu
- Rename clips to slices wherever was left
2022-10-10 18:39:49 -05:00
Micky
fe56c1ff75
Use `JSON::stringify` where possible
2022-10-11 00:27:23 +02:00
kobewi
b754df2b99
Fix node name casing issues
...
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-10 22:31:26 +02:00
Rémi Verschelde
28f642097a
Merge pull request #67183 from akien-mga/gcc-warnings-cleanup
...
SCons: Cleanup GCC warnings configuration
2022-10-10 17:42:36 +02:00
Rémi Verschelde
db7047705b
Merge pull request #67124 from KoBeWi/load_before_save
...
Fallback to ResourceLoader if can't find UID
2022-10-10 17:42:24 +02:00
Rémi Verschelde
8017827144
SCons: Re-enable treating `#warning` as error with `werror`
...
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10 16:12:26 +02:00
kobewi
983a5227fb
Remove default shortcut for Preview Canvas Scale
2022-10-10 14:22:26 +02:00
Rémi Verschelde
8c24b35b76
Merge pull request #65942 from SaracenOne/animation_change_callback_fix
...
Fix animation change callbacks
2022-10-10 13:53:53 +02:00
Rémi Verschelde
b9d063170c
Merge pull request #67178 from TokageItLab/add-signal-animation_selected-APEditer
...
Add `animation_selected` signal to AnimationPlayerEditor to subscribe changed animation
2022-10-10 13:52:48 +02:00
Rémi Verschelde
5616898184
Merge pull request #67128 from KoBeWi/call_deferred_always_works
...
Defer clearing of ResourceUID cache
2022-10-10 13:52:32 +02:00
Rémi Verschelde
543128d84d
Merge pull request #67175 from bruvzg/macos_title_edscale
...
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 13:52:23 +02:00
kobewi
14b82c36a2
Defer clearing of ResourceUID cache and silence warnings
2022-10-10 11:20:23 +02:00
Silc Renew
847c783319
Add animation_selected signal to AnimationPlayerEditor
2022-10-10 16:52:49 +09:00
bruvzg
73430f292b
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 10:32:41 +03:00
Kongfa Waroros
e81e81a56e
Fix crashing when editing the `TileSet` field
2022-10-10 00:37:47 +07:00
Rémi Verschelde
629fa413ab
Merge pull request #67109 from TokageItLab/remove-clear-editors-in-bone-mapper
...
Remove unused func definition in BoneMapEditor
2022-10-09 18:29:18 +02:00
kobewi
a38891dfb3
Fallback to ResourceLoader if can't find UID
2022-10-09 13:06:15 +02:00
Micky
176187b11d
Add Editor Setting for default name when connecting signal to self
2022-10-09 11:20:13 +02:00
Silc Renew
a2a3f8cd0a
Remove unused func definition in BoneMapEditor
2022-10-09 12:13:22 +09:00
Hugo Locurcio
bab8497fa2
Add a project setting to make the root viewport transparent
...
This allows recording videos with a transparent background without
having to create a script.
2022-10-09 00:16:07 +02:00
HolonProduction
e87c9fc48c
Show svg import options in default settings.
...
Fixes : #63840
Importers can export options conditional based on the resource path.
If an empty path is passed (as by the editor settings) filtering should not be done.
2022-10-08 16:01:00 +02:00
Rémi Verschelde
bbac8198f8
Merge pull request #67070 from timothyqiu/bind-redraw
...
Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedo
2022-10-08 13:56:35 +02:00
Rémi Verschelde
f7c374272f
Merge pull request #67060 from timothyqiu/named-layers
...
Only show named layers in layer menu
2022-10-08 13:56:30 +02:00
Rémi Verschelde
2b376437a2
Merge pull request #65983 from Mickeon/rename-audio-player-volume-db
...
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-08 13:56:10 +02:00
Haoyu Qiu
51c5278d83
Bind `AnimationTrackEditor::_redraw_tracks` for UndoRedo
2022-10-08 17:34:16 +08:00
Haoyu Qiu
ad04922ef9
Only show named layers in layer menu
2022-10-08 11:24:04 +08:00
Rémi Verschelde
18177828ad
Merge pull request #67047 from KoBeWi/_aacdeelmmnoptt
...
Sort unused palette commands alphabetically
2022-10-07 22:22:25 +02:00
Rémi Verschelde
7ca49be7ed
Merge pull request #67035 from mateuseap/mateuseap/master
...
Fix signature for `folder_moved` signal of `FileSystemDock`
2022-10-07 22:21:37 +02:00
kobewi
d8663b1a70
Sort unused palette commands alphabetically
2022-10-07 21:52:25 +02:00
HolonProduction
301a8fd559
Fix a bug with moving dock left and right.
...
Fixes #67039
`get_index` counts internal children by default but `move_child` ignores them therefore `move_child` had no effect.
The call to `set_current_tab` is not needed anymore in Godot 4 since the current tab will change when calling `move_child`.
2022-10-07 19:15:20 +02:00
meap
09b9d864a7
Fix signature for 'folder_moved' signal of FileSystemDock
2022-10-07 13:38:29 -03:00
Alessandro Famà
17d1555127
EditorNode3DGizmoPlugin: Add GDVIRTUAL_CALL for get_gizmo_name and get_priority
2022-10-07 13:55:51 +02:00
bruvzg
6daf4c6593
[.NET Export] Improve .NET export process.
...
[macOS export] Fix incorrect file placement, search paths and architecture detection.
[macOS export] Automatically detect executable files and set +x flag.
[macOS export] Automatically apply "Disable Library Validation" entitlements when required.
[macOS export] Remove old Mono export code.
Fix folder tree creation for shared objects export.
Add arch suffix to the exported .NET "data" folder name.
Remove old Mono code from .NET "data" folder lookup.
2022-10-07 13:33:06 +03:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +03:00
Rémi Verschelde
5b7f62af55
Merge pull request #62910 from Vitika9/gsoc-colorpicker-ux
...
ColorPicker UX
2022-10-07 09:49:29 +02:00
Rémi Verschelde
e3d140e21a
Merge pull request #65939 from Mickeon/editor-scene-tree-filter-type-inherited
...
Include inherited classes in Filter Nodes' "type:" filter & fix "group:"
2022-10-07 09:13:59 +02:00
Rémi Verschelde
0c23a2cfe3
Merge pull request #66977 from akien-mga/editor-fix-opening-source-code
...
Debugger: Fix fetching source to link C++ error on GitHub
2022-10-06 16:35:41 +02:00
Rémi Verschelde
75c4b955f6
Merge pull request #65932 from Mickeon/editor-scene-tree-filter-selection
...
Expose and warn about Node Filters in Scene Tree Dock
2022-10-06 16:35:23 +02:00
Rémi Verschelde
afb63944d0
Merge pull request #66930 from EricEzaM/66770-addendum-split-action-map-file
...
Split `action_map_editor` file into one file per class it contained.
2022-10-06 16:34:51 +02:00
Micky
44738e1e15
Include inherited classes in Filter Nodes' "type:" filter & fix "group:"
...
Also fixes not all private, internal groups being skipped in the "group:" filter.
2022-10-06 16:13:11 +02:00
Micky
33092b6f45
Expose and warn about Node Filters in Scene Tree Dock
...
Adds "Filter by Type" and "Filter by Group" in the Scene Tree Dock's MenuButton.
Hovering on them displays an useful tooltip.
When selecting these items, the matching parameter is appended to the terms, and the caret is automatically brought to the end.
When typing a filter that cannot be identified, a warning icon is displayed. The reason is explained as a tooltip.
The same options are also quickly available by right-clicking or middle-clicking in the text field.
2022-10-06 13:36:40 +02:00
Rémi Verschelde
4d29346a74
Debugger: Fix fetching source to link C++ error on GitHub
...
Fixes #66974 .
2022-10-06 11:45:27 +02:00
Eric M
598ee4266c
Split `action_map_editor` file into one file per class it contained.
...
* ActionMapEditor
* EventListenerLineEdit
* InputEventConfigurationDialog
2022-10-06 18:29:20 +10:00
Rémi Verschelde
f5903215d0
Merge pull request #61902 from Paulb23/multi-caret
...
Add Multi-caret support to TextEdit
2022-10-06 08:56:34 +02:00
Paulb23
0cbe176ce6
Add multi caret support to Editor
2022-10-05 17:19:26 +01:00
Rémi Verschelde
9bb05de89f
Add editor setting for AcceptDialog OK/Cancel buttons positioning
...
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.
Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.
Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).
Fixes #59379 .
2022-10-05 17:51:04 +02:00
Rémi Verschelde
b4157cd6ac
Merge pull request #65857 from MinusKube/inherited-open-crash
...
Prevent unsaved inherited scenes from being detected as the 'placeholder' scene
2022-10-05 13:38:12 +02:00
Rémi Verschelde
9cd62741bb
Merge pull request #66839 from aaronfranke/editor-prop-hide-slider
...
Fix `hide_slider` vs `no_slider` inconsistency in editor property code
2022-10-05 08:47:06 +02:00
Rémi Verschelde
3a2b0ab73d
Merge pull request #66898 from aaronfranke/proj-mat-columns
...
Rename Projection `matrix` to `columns`
2022-10-05 08:35:26 +02:00
Rémi Verschelde
132a0e3242
Merge pull request #66770 from EricEzaM/search-by-event
...
Add searching by event in Editor Settings shortcuts and Project Settings input map.
2022-10-05 08:34:45 +02:00
Rémi Verschelde
b904789242
Merge pull request #66894 from KoBeWi/TileSetAtlasSourceEditor_on_vacation
...
Disconnect TileSet from source editor if no sources
2022-10-05 08:32:57 +02:00
Rémi Verschelde
121e1df55b
Merge pull request #66300 from KoBeWi/ 📝 🧭
...
Split script navigation state and edit state
2022-10-05 08:30:49 +02:00
kobewi
52435e6f90
Disconnect TileSet from source editor if no sources
2022-10-04 20:13:01 +02:00
Aaron Franke
2cea42cc7f
Rename Projection `matrix` to `columns`
2022-10-04 12:34:19 -05:00
Rémi Verschelde
8f7cb50c9a
Merge pull request #65528 from Mickeon/rename-more-spatial-to-node-3d
...
Rename remaining "Spatial" in Plugins to "Node3D"
2022-10-04 16:47:08 +02:00
Rémi Verschelde
a140efbbeb
Merge pull request #65315 from Mickeon/editor-help-search-multi-term
...
Allow multiple words in Docs Help Search filter
2022-10-04 16:46:59 +02:00
Rémi Verschelde
4e66b0c8a7
Merge pull request #66384 from schme/66165-fix-shader-list-not-marking-shaders-as-saved
...
Fix Shader Editor not marking files saved
2022-10-04 16:43:43 +02:00
Micky
ae5771e1b1
Rename remaining "Spatial" in Plugins to "Node3D"
...
For EditorNode3DGizmo:
- `get_spatial_node` -> `get_node_3d`
- `set_spatial_node` -> `set_node_3d`
For EditorPlugin:
- `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin`
- `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin`
Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
2022-10-04 16:27:29 +02:00
Micky
4465dd6e37
Allow multiple words in Docs Help Search filter
...
This is how most search filters behave.
Refactors the search's match_classes phase to reduce code duplication.
2022-10-04 16:14:01 +02:00
Yuri Rubinsky
8075adc650
Add ability to rename groups in the GroupsEditor
2022-10-04 15:27:45 +03:00
Rémi Verschelde
b909b0ebc9
Merge pull request #58744 from Sauermann/fix-new-node-recent-list
...
Fix creating Nodes by DoubleClick from Recent list
2022-10-04 11:20:03 +02:00
Kasper Sauramo
bedbb2e893
add explicit editor save tagging when saving
2022-10-04 11:49:32 +03:00
Rémi Verschelde
f36dda3185
Merge pull request #66867 from Rindbee/implement-willSaveWaitUntil
...
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving
2022-10-04 10:33:03 +02:00
Rémi Verschelde
b58f34372c
Merge pull request #66827 from Mickeon/now-you-see-me-now-you-dont
...
Fix selection applying to hidden Nodes when filtering Scene Tree Editor
2022-10-04 10:31:47 +02:00
Rémi Verschelde
3a5eac7ca3
Merge pull request #62860 from Calinou/editor-log-bold-italic-mono-fonts
...
Define bold, italics and mono fonts in editor log for `print_rich()`
2022-10-04 10:30:22 +02:00
Rémi Verschelde
163582de58
Merge pull request #62188 from MaeIsBad/MaeIsBad/master
...
Move "Create Debug Tangents" on MeshInstance3D into an editor plugin
2022-10-04 10:29:11 +02:00
Rémi Verschelde
cd7f172cf8
Merge pull request #66804 from akien-mga/core-remove-NO_SAFE_CAST
...
Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android build
2022-10-04 10:22:24 +02:00
Rindbee
ab0314938e
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving
...
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving,
then update the document in `GDScriptTextDocument::didSave`.
2022-10-04 15:38:57 +08:00
kobewi
1a9516f6a8
Prevent infinite confirmation in shader editor
2022-10-04 00:28:06 +02:00
bad
a052ebaa99
Move "Create Debug Tangents" into an editor plugin
...
Instead of exporting the "create_debug_tangents" function via
METHOD_FLAG_EDITOR it gets executed by an editor plugin.
This moves it from the "Manage object properties" menu into a mesh menu. It also adds undo/redo functionality to the create debug tangents option.
2022-10-03 23:34:01 +02:00
Aaron Franke
094e8db97c
Fix hide_slider vs no_slider inconsistency in editor property code
2022-10-03 13:40:31 -05:00
Micky
c03377653e
Fix selection applying to hidden Nodes when filtering Scene Tree Editor
2022-10-03 18:28:43 +02:00
Rémi Verschelde
380fba6272
Merge pull request #66713 from KoBeWi/remembuh_me
...
Remember tile source sort between sessions
2022-10-03 14:52:56 +02:00
Rémi Verschelde
5b735d000e
Merge pull request #66815 from Rindbee/fix-blinking-line-gutter-icon
...
Fix the flickering of the line gutter icon when saving
2022-10-03 14:52:21 +02:00
Rémi Verschelde
7dea80d082
Merge pull request #66812 from Rindbee/fix-infinite-popups
...
Fix the file newer dialog that keeps popping up
2022-10-03 14:51:53 +02:00
Rémi Verschelde
5b47bb8446
Merge pull request #66662 from akien-mga/editorspinslider-fix-grabber-action-area
...
EditorSpinSlider: Make sure grabber doesn't get hidden during grabbing
2022-10-03 14:50:53 +02:00
Rindbee
72a7d874b4
Fix the flickering of the line gutter icon when saving
2022-10-03 19:19:28 +08:00
Rindbee
67e126bad4
Fix the file newer dialog that keeps popping up
...
The focus is switching back and forth between the popup dialog and
the editor window, causing an infinite loop.
Fix #65824 .
2022-10-03 18:48:58 +08:00
EricEzaM
cb6d7fd059
Add searching by event for Editor Settings shortcuts and Project Settings input map.
...
* Focus into the LineEdit, then perform input to search the list of events by the events assigned.
* New specialised editor-only control for this: EventListenerLineEdit. Line edit is a good candidate for such a control because you can focus it, override it's input handling, and show the event all in one control.
Update InputEventConfigurationDialog to use event listener line edit rather than the separate tabs.
* Cleaner look - no need for tabs.
* Simpler code.
2022-10-03 19:56:34 +10:00
Rémi Verschelde
82b87d7a17
Remove unsupported `NO_SAFE_CAST`/`-fno-rtti` from Android build
...
Android was the last platform to still attempt to disable RTTI (for binary
size), but both the Android editor and now the ICU library used by templates
need RTTI.
There could still be the possibility to support this for non-ICU template
builds (i.e. without the TextServerAdvanced module), but since this isn't one
of the build configurations we test regularly it's pretty risky to keep this
option only for that specific use case. And our code is already littered with
`dynamic_cast`s which weren't guarded with `!defined(NO_SAFE_CAST)`.
2022-10-03 11:18:31 +02:00
Rémi Verschelde
4e237ed9ef
Merge pull request #66795 from manueldun/loadSavedMaterial
...
fix error dialog from appearing after loading material res
2022-10-03 09:30:11 +02:00
Rémi Verschelde
498844f687
Merge pull request #65276 from aaronfranke/shader
...
Separate TextShaderEditor and ShaderEditorPlugin into different files
2022-10-03 09:24:51 +02:00
Rémi Verschelde
adee79d7b5
Merge pull request #66715 from YeldhamDev/script_hide_port
...
Remember scripts panel's visibility state
2022-10-03 09:22:58 +02:00
Rémi Verschelde
56918f25c8
Merge pull request #66689 from MewPurPur/property-editor-renames
...
Rename Copy/Paste Property –> Copy/Paste Value
2022-10-03 09:22:47 +02:00
Rémi Verschelde
f3e7f275c2
Merge pull request #66668 from Anutrix/allow-open-files
...
Fixed shader editor not allowing open files when there is no files already open
2022-10-03 09:20:38 +02:00
Rémi Verschelde
88f70dfacd
Merge pull request #66656 from magian1127/4.0DelAutotile
...
TileMap mouse right can delete autotile
2022-10-03 09:19:58 +02:00
Manuel Dun
e9d8847e29
fix error dialog from appearing after loading material res
2022-10-02 21:09:54 -04:00
kobewi
7247606f64
Remember tile source sort between sessions
2022-10-02 22:41:12 +02:00
Aaron Franke
252963166d
Separate TextShaderEditor and ShaderEditorPlugin into different files
2022-10-02 02:19:38 -05:00
Aaron Franke
38cb2f8afc
Rename ShaderEditor that edits text shaders to TextShaderEditor
2022-10-02 02:18:46 -05:00
Michael Alexsander
3f5086990a
Remember scripts panel's visibility state
2022-10-01 14:23:13 -03:00
Markus Sauermann
c8106ca317
Fix creating Nodes from Recent list
...
- give shorter search matches more weight
- allow matching against "Node"
2022-09-30 22:40:10 +02:00
Anutrix
119e1a2937
Fixed shader editor when no files are currently in shader list
2022-10-01 00:33:13 +05:30
Rémi Verschelde
e69b7083d4
Merge pull request #65903 from groud/improve_terrain_painting
...
Right-click to erase TileSet terrains and bugfixes
2022-09-30 17:44:48 +02:00
Rémi Verschelde
ef8834a642
Merge pull request #64784 from yedpodtrzitko/yed/ci-add-mypy
...
ci: add Python static analysis check via mypy
2022-09-30 17:44:39 +02:00
VolTer
cb310a229b
Rename Copy Property –> Copy Value
2022-09-30 16:44:27 +02:00
Magian
7e30343a5c
TileMap mouse right can delete autotile
2022-09-30 21:15:15 +08:00
DNKpp
1dd75ef660
EditorSpinSlider: Make sure grabber doesn't get hidden during grabbing
...
Fixes #63544 .
2022-09-30 14:34:10 +02:00
Rémi Verschelde
166df0896c
Fix typos with codespell
...
Using codespell 2.3-dev from current git.
And fix typo in `methods.py` for `vsproj=yes` option (still won't work
though).
2022-09-30 14:23:36 +02:00
Jiri Suchan
c5bd2f9dce
ci: add Python static analysis check via mypy
2022-09-30 19:03:17 +07:00
Rémi Verschelde
f47979f087
Merge pull request #66242 from akien-mga/scons-unify-tools-target
2022-09-30 12:28:50 +02:00
Rémi Verschelde
fe9f056623
Merge pull request #66640 from gotnospirit/master-project_converter-json-print
...
Project converter: JSON.print -> JSON.stringify
2022-09-30 09:59:04 +02:00
Rémi Verschelde
d0cc7cf192
Merge pull request #66636 from gotnospirit/master-project_converter-os-get_datetime
...
Project converter: OS.get_datetime -> Time.get_datetime_dict_from_system
2022-09-30 09:58:40 +02:00
Rémi Verschelde
4c73e8ba1a
Merge pull request #66632 from RedMser/script-override-gutter-docs-fix
...
Fix wrong docs opening in script override gutter
2022-09-30 09:58:30 +02:00
Rémi Verschelde
7a0500d9a3
Merge pull request #66626 from danboo/fix-typo-run-debug-collisons
...
Fix typos - "collison" -> "collision"
2022-09-30 09:58:25 +02:00
James
c8132ee279
Project converter: JSON.print -> JSON.stringify
2022-09-30 10:30:42 +08:00
James
6ec19b3681
Project converter: OS.get_datetime -> Time.get_datetime_dict_from_system
2022-09-30 10:10:16 +08:00
RedMser
dc3990fea4
Fix wrong docs opening in script override gutter
2022-09-30 02:11:52 +02:00
danboo
eba8be6e45
Fix typo - "collison" -> "collision"
2022-09-29 13:56:26 -08:00
Rémi Verschelde
176da47ffd
Merge pull request #66590 from akien-mga/animation-workaround-disable-onion-skinning
...
Animation editor: Disable onion skinning temporarily due to rendering bug
2022-09-29 15:34:02 +02:00
Rémi Verschelde
a593c45f1c
Merge pull request #66575 from MewPurPur/indent-dedent-in-scriptedit
...
Rename Indent Left/Right options in the Script Editor to Indent/Unindent
2022-09-29 15:33:55 +02:00
VolTer
ded10214bf
Rename Indent Left/Right to Indent/Dedent
2022-09-29 14:42:46 +02:00
Rémi Verschelde
6bbc3cbf04
Animation editor: Disable onion skinning temporarily due to rendering bug
...
Works around #53870 .
2022-09-29 12:23:13 +02:00
Rémi Verschelde
315a71103e
Merge pull request #66565 from clayjohn/canvas-lights
...
Clean up canvas light shader API.
2022-09-29 10:43:42 +02:00
MisterMX
b6c1a03d6c
fix(tileset): Recreate custom data editor if type has changed
...
Signed-off-by: MisterMX <mbxd12@web.de>
2022-09-28 21:16:41 +02:00
clayjohn
1a0890122f
Clean up canvas light shader API.
...
Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL.
Add LIGHT_DIRECTION
2022-09-28 11:46:58 -07:00
Rémi Verschelde
0e53dd642c
Fix MSVC warning C4706: assignment within conditional expression
...
Part of #66537 .
2022-09-28 16:05:07 +02:00
Rémi Verschelde
73f5683c34
Merge pull request #58049 from jmb462/fix-distraction-mode-docks-tab
...
Prevent docks to be reset to first tab when switching dock visibility
2022-09-28 00:16:08 +02:00
Rémi Verschelde
fdb2456ccb
i18n: Sync editor translations with Weblate (3.5 branch)
...
(cherry picked from commit 7ee90a080f
)
2022-09-27 23:51:05 +02:00
Rémi Verschelde
c2f66648f1
Merge pull request #66244 from GuilhermeGSousa/tilemap-dock-release-fix
...
Fix mouse release leaving dock area
2022-09-27 15:52:11 +02:00
Guilherme Sousa
1ae1a02098
Fix mouse release leaving dock area
2022-09-27 13:35:01 +02:00
kobewi
1bf741c277
Fix wrong DirAccess function in project converter
2022-09-27 13:12:31 +02:00
Rémi Verschelde
43eac58e31
Merge pull request #66441 from Calinou/editor-fix-play-buttons-disappearing
...
Fix project run/stop buttons disappearing in the editor
2022-09-27 09:53:44 +02:00
Yuri Rubinsky
84f2c68c84
Merge pull request #66440 from Chaosus/shader_completion_defines
2022-09-26 18:18:24 +03:00
Rémi Verschelde
39facb35a0
SCons: Unify tools/target build type configuration
...
Implements https://github.com/godotengine/godot-proposals/issues/3371 .
New `target` presets
====================
The `tools` option is removed and `target` changes to use three new presets,
which match the builds users are familiar with. These targets control the
default optimization level and enable editor-specific and debugging code:
- `editor`: Replaces `tools=yes target=release_debug`.
* Defines: `TOOLS_ENABLED`, `DEBUG_ENABLED`, `-O2`/`/O2`
- `template_debug`: Replaces `tools=no target=release_debug`.
* Defines: `DEBUG_ENABLED`, `-O2`/`/O2`
- `template_release`: Replaces `tools=no target=release`.
* Defines: `-O3`/`/O2`
New `dev_build` option
======================
The previous `target=debug` is now replaced by a separate `dev_build=yes`
option, which can be used in combination with either of the three targets,
and changes the following:
- `dev_build`: Defines `DEV_ENABLED`, disables optimization (`-O0`/`/0d`),
enables generating debug symbols, does not define `NDEBUG` so `assert()`
works in thirdparty libraries, adds a `.dev` suffix to the binary name.
Note: Unlike previously, `dev_build` defaults to off so that users who
compile Godot from source get an optimized and small build by default.
Engine contributors should now set `dev_build=yes` in their build scripts or
IDE configuration manually.
Changed binary names
====================
The name of generated binaries and object files are changed too, to follow
this format:
`godot.<platform>.<target>[.dev][.double].<arch>[.<extra_suffix>][.<ext>]`
For example:
- `godot.linuxbsd.editor.dev.arm64`
- `godot.windows.template_release.double.x86_64.mono.exe`
Be sure to update your links/scripts/IDE config accordingly.
More flexible `optimize` and `debug_symbols` options
====================================================
The optimization level and whether to generate debug symbols can be further
specified with the `optimize` and `debug_symbols` options. So the default
values listed above for the various `target` and `dev_build` combinations
are indicative and can be replaced when compiling, e.g.:
`scons p=linuxbsd target=template_debug dev_build=yes optimize=debug`
will make a "debug" export template with dev-only code enabled, `-Og`
optimization level for GCC/Clang, and debug symbols. Perfect for debugging
complex crashes at runtime in an exported project.
2022-09-26 16:31:46 +02:00
Rémi Verschelde
59f6233075
Merge pull request #66416 from MewPurPur/dependency-editor-improvements
...
Add ability to open multiple scenes in the Dependency Editor
2022-09-26 15:51:07 +02:00
Rémi Verschelde
1e14795f75
Merge pull request #66382 from MewPurPur/replace-in-files-forever
...
Make Replace in Files always visible in Search
2022-09-26 15:51:01 +02:00
Rémi Verschelde
46635342a1
Merge pull request #66309 from RedMser/focus-search-bar-scene-tree-dialog
...
focus search bar by default
2022-09-26 15:50:52 +02:00
Yuri Rubinsky
344aa610e3
Add defines to completion list in shaders
2022-09-26 16:04:19 +03:00
Hugo Locurcio
a98e2eb36f
Fix project run/stop buttons disappearing in the editor
2022-09-26 14:53:26 +02:00
Rémi Verschelde
49fcf4ffad
Style: Cleanup header guards for consistency
...
Fix file names for {Static,Lightmap}RaycasterEmbree.
2022-09-26 13:51:17 +02:00
Rémi Verschelde
94d511f43b
Merge pull request #64756 from Calinou/editor-rename-run-project-shortcuts
...
Rename editor run/pause/stop shortcuts and tooltips for consistency
2022-09-26 08:20:26 +02:00
Rémi Verschelde
c380c30c7f
Merge pull request #66404 from KoBeWi/advancement
...
Remember advanced state of connection dialog
2022-09-26 08:20:12 +02:00
Rémi Verschelde
e406badafd
Merge pull request #66405 from Rindbee/fix-gd-not-sync-via-lsp
...
Fix out of sync when the script is edited externally via lsp
2022-09-26 08:20:04 +02:00
kobewi
14435ebcee
Split script navigation state and edit state
2022-09-25 23:06:39 +02:00
VolTer
8b6ce982db
Add ability to open multiple scenes in the Dependency Editor
2022-09-25 22:20:16 +02:00
kobewi
bb458d82ea
Remember advanced state of connection dialog
2022-09-25 20:22:44 +02:00
Hugo Locurcio
74b324c434
Rename editor run/pause/stop shortcuts and tooltips for consistency
...
The new naming better suits non-game applications and is more explicit.
2022-09-25 20:17:58 +02:00
Rindbee
412e87349a
Fix out of sync when the script is edited externally via lsp
...
Previously, external editing via lsp would modify the modified time of the script,
which caused the internal display of the script to not be refreshed when refocusing
the engine.
Now saving the script externally via lsp will automatically refresh the internal
display.
2022-09-25 23:30:35 +08:00
Rémi Verschelde
d456dce8af
Merge pull request #65535 from RedMser/script-editor-inheritance-icon
...
Show override icon in script editor gutter
2022-09-25 17:08:45 +02:00
Rémi Verschelde
eae7d27578
Merge pull request #66233 from DorianSzlachcic/3-to-4-converter-issue
...
Prevent 3-to-4 project converter from adding extra line for move_and_slide
2022-09-25 17:05:47 +02:00
DorianSzlachcic
bf6d84b8bb
Prevent 3-to-4 project converter from adding extra line for move_and_slide
...
Fixes #66054
2022-09-25 11:54:33 +02:00
Rémi Verschelde
919d8b3711
Merge pull request #65290 from requizm/fix/65081/cannot_set_escape
...
Disabled "Escape" button when closing the shortcut window
2022-09-25 11:06:18 +02:00
Rémi Verschelde
a5b538bdb2
Merge pull request #66289 from Rindbee/fix-scene-export
...
Fix sub-scene root nodes not getting the correct inheritance chain when exporting
2022-09-25 11:04:45 +02:00
VolTer
882a226d12
Make Replace in Files always visible in Search
2022-09-25 02:49:53 +02:00
Rémi Verschelde
632dbab226
Merge pull request #66338 from asmaloney/some-include-cleanups
...
Remove unused includes & move some includes to top of file
2022-09-25 00:22:17 +02:00
Rémi Verschelde
c9e75a7c3c
Merge pull request #65531 from Mickeon/project-converter-missing-entries
...
Add a few missing entries in Project Converter
2022-09-25 00:22:00 +02:00
Eric M
16a3cec71e
Fix zoom in/out keyboard shortcuts not working since the introduction of EditorZoomWidget. Add KP shortcuts to zoom in/out.
2022-09-24 18:24:59 +10:00
Eric M
2eda77c682
Ensure all checks of `is_action` in the editor which are for 'shortcut' use, check the action exactly.
2022-09-24 18:01:02 +10:00
Andy Maloney
49ff3d5489
Remove unused includes & move some includes to top of file
2022-09-23 19:06:31 -04:00
Silc Renew
86e52667a9
Change bone mapper background model silhouette
2022-09-24 01:05:30 +09:00
RedMser
3183b7371d
SceneTreeDialog: focus search bar by default
2022-09-23 18:04:48 +02:00
Rindbee
6973abd458
Fix sub-scene root nodes not getting the correct inheritance chain when exporting
2022-09-23 18:34:07 +08:00
Rémi Verschelde
3a8e711e33
Merge pull request #66254 from bruvzg/macos_title
...
[macOS extend-to-title] Add scene/project name to the editor title, and fix window button placement.
2022-09-23 09:44:37 +02:00
Rémi Verschelde
ca88b23a3b
Merge pull request #66248 from akien-mga/warnings-gcc-Wmaybe-uninitialized
...
Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1
2022-09-23 09:42:53 +02:00
bruvzg
0dab11afa4
[macOS extend-to-title] Add scene/project name to the editor title, fix incorrect window button position/order when system primary language is RTL.
2022-09-22 23:09:56 +03:00
Nong Van Tinh
59f933b0e1
Fixed root name invalid at scene creation.
2022-09-22 17:02:07 +07:00
Rémi Verschelde
d1a155e3cd
Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1
...
Not sure why I didn't get those before, it may be due to upstream
changes (12.2.1 is a moving target, it's basically 12.3-dev), or simply
rebuilding Godot from scratch with different options.
2022-09-22 11:29:48 +02:00
Rémi Verschelde
6d6f7f3de8
Merge pull request #66240 from bruvzg/ftr_hide
...
[Font Inspector Plugin] Hide "Add Feature" button if supported feature list is empty.
2022-09-22 08:27:18 +02:00
bruvzg
4351af30c8
[Font Inspector Plugin] Hide "Add Feature" button if supported feature list is empty.
2022-09-22 08:20:40 +03:00
kobewi
3a2abf7486
Automatically use class name for empty renames
2022-09-22 00:43:38 +02:00
Micky
c1b5b68eee
Rename remaining "*_enable" to "*_enabled"
...
Material.`proximity_fade_enable` -> `proximity_fade_enabled`
Material.`set_proximity_fade` -> `set_proximity_fade_enabled`
(Material.`is_proximity_fade_enabled` is unchanged)
Area3D.`reverb_bus_enable` -> `reverb_bus_enabled`
(`set_use_reverb_bus` & `is_using_reverb_bus` are unchanged)
RDPipelineRasterizationState:
`depth_bias_enable` -> `depth_bias_enabled`
`set_depth_bias_enable` -> `set_depth_bias_enabled`
`get_depth_bias_enable` -> `get_depth_bias_enabled`
Bonus:
Area3D.`set_reverb_bus` -> `set_reverb_bus_name`
Area3D.`get_reverb_bus` -> `set_get_reverb_bus_name`
2022-09-21 22:47:46 +02:00
Rémi Verschelde
0b06f8b0bd
Merge pull request #65816 from bruvzg/proj_settings_missing_flags
...
Add missing initial window flags and window mode to the project settings.
2022-09-21 18:56:31 +02:00
Rémi Verschelde
f37143b20a
Merge pull request #65933 from Mickeon/remove-scene-tree-dock-unused
...
Remove unused `import_subscene()` in Scene Tree Dock
2022-09-21 18:55:39 +02:00
Rémi Verschelde
e82a237f99
Merge pull request #65934 from YuriSizov/editor-theme-big-thumb
...
Improve icon generation in the editor theme
2022-09-21 18:55:33 +02:00
Rémi Verschelde
f3373e8311
Merge pull request #66212 from kleonc/script-text-editor-fix-check-if-script-used-within-scene
...
`ScriptTextEditor` Fix checking if script is attached to any node belonging to scene
2022-09-21 18:55:18 +02:00
Rémi Verschelde
7817a472f3
QuickOpen: Disable loading resources for now, too slow
...
As expected while reviewing #62417 this is indeed not practical
without a better system to retrieve this information.
Fixes #66179 .
2022-09-21 17:02:43 +02:00
kleonc
7f7966e10a
Fix checking if script is attached to any node belonging to scene
2022-09-21 15:46:30 +02:00
Rémi Verschelde
53d2a9acdd
Merge pull request #63576 from KoBeWi/list_clicker
...
Simplify script list click logic
2022-09-21 15:38:41 +02:00
Rémi Verschelde
a1d7404efc
Merge pull request #66056 from Rindbee/fix-EditorInspectorCategory-minimum-size-calculation
...
Fix `EditorInspectorCategory` minimum size calculation
2022-09-21 15:36:55 +02:00
Rémi Verschelde
057dd292e4
Merge pull request #62666 from AThousandShips/tree_folding
...
Tree recursive folding (like Scene Tree Dock)
2022-09-21 15:36:43 +02:00
Rindbee
e9465825cd
Fix EditorInspectorCategory minimum size calculation
...
Calculated using the same theme property values as in `NOTIFICATION_DRAW`, keeping the width at `0` and calculating only the height.
2022-09-21 19:56:19 +08:00
Ninni Pipping
df9eaf5f47
Tree recursive folding
2022-09-21 13:28:29 +02:00
Rémi Verschelde
74765691cb
Merge pull request #66191 from MewPurPur/fix-dragndrop-crash-when-scene-closed
...
Fix possible crash when drag and dropping nodes
2022-09-21 13:26:16 +02:00
Rémi Verschelde
7bf61e3912
Merge pull request #64359 from Mickeon/rename-camera-rotating
...
Reverse Camera2D.`rotating` to `ignore_rotation`
2022-09-21 11:06:41 +02:00
Rémi Verschelde
aa6d2b58af
Merge pull request #60478 from KoBeWi/compect_dialog
...
Reorganize connection dialog
2022-09-21 11:05:04 +02:00
VolTer
bdff928f6d
Fix crash with drag and dropping nodes
2022-09-21 03:08:54 +02:00
Micky
ee16de583f
Reverse Camera2D.`rotating` to `ignore_rotation`
...
`rotating` is misleading, as Camera2D is affected by `rotation` and `global_rotation` like any other Node2D
Updates description in the docs, as well.
2022-09-21 01:52:12 +02:00
RedMser
a9b394d5bc
Show method override icon in script editor gutter
...
Combines with the connection slot icon when both apply.
Can be clicked to jump to the method declaration (or documentation for
built-in classes).
2022-09-21 01:49:54 +02:00
Rémi Verschelde
1a0943e0f8
Merge pull request #65957 from EricEzaM/GH-65956-fix-ed-shortcut-section-order
...
Update Editor Shortcuts tree creation to always have sections in same order
2022-09-21 00:00:45 +02:00
Rémi Verschelde
658bfb0395
Merge pull request #66159 from MewPurPur/fix-animated-tiles-offset-unit
...
Remove px unit from animation_separation in TileSet atlas editor
2022-09-20 15:45:41 +02:00
VolTer
6a1d1f1f75
Remove px unit from animation_separation in TileSet atlas editor (as it's tile-based, not pixel-based)
2022-09-20 15:04:26 +02:00
RedMser
0a5cbca803
Run svgcleaner on MemberAnnotation.svg
2022-09-20 15:00:21 +02:00
Hugo Locurcio
375ea5558a
Fix error string referring to invalid metadata name in Movie Maker dialog
2022-09-20 14:53:19 +02:00
bruvzg
0ed4cc6287
[macOS] Add an option to align window buttons in "extend to title" mode.
2022-09-20 12:55:59 +03:00
Rémi Verschelde
7da532275b
Merge pull request #65541 from clayjohn/renderer-setting
...
Split rendering driver project setting into renderer_name and rendering_driver
2022-09-20 09:43:59 +02:00
Rémi Verschelde
7a4faba136
Merge pull request #66127 from RedMser/vs-cleanup
...
Further cleanup of VisualScript references
2022-09-20 08:41:47 +02:00
Rémi Verschelde
a293f2204c
Merge pull request #65134 from Mickeon/editor-unique-name-toggle
...
Make "Access as Unique Name" a shortcut
2022-09-19 22:03:00 +02:00
Rémi Verschelde
82961dda3d
Merge pull request #66108 from Zylann/editor_inspector_get_selected_path
...
Expose `EditorInspector.get_selected_path`
2022-09-19 22:01:32 +02:00
RedMser
5c5c3ab90e
Further cleanup of VisualScript references
2022-09-19 21:37:26 +02:00
clayjohn
4a1c7de57c
Split rendering driver project setting into renderer_name and rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-19 10:26:10 -07:00
kobewi
36fd92ff58
Reorganize connection dialog
2022-09-19 18:39:10 +02:00
Micky
f7231b67e1
Make "Access as Unique Name" a shortcut
...
The shortcut's name is "scene_tree/toggle_unique_name", not mapped to anything by default.
It also dynamically changes the text based on whether or not the unique name is going to be enabled or disabled.
Finally, it spaces the shortcut in the menu close to "Copy Node Path" if possible.
2022-09-19 17:16:50 +02:00
Marc Gilleron
cee8bd9e76
Expose `EditorInspector.get_selected_path`
2022-09-19 15:20:34 +01:00
Rémi Verschelde
6f5704d86f
Merge pull request #65630 from aaronfranke/no-defer-ste-warn-ch
...
_warning_changed` signal connection
2022-09-19 15:43:23 +02:00
Rémi Verschelde
ec60c4ee9e
Merge pull request #65271 from KoBeWi/FirAccess 🌲
...
Replace File/Directory with FileAccess/DirAccess
2022-09-19 15:33:24 +02:00
Rémi Verschelde
166ab6e80e
Merge pull request #66101 from KoBeWi/help,_it_crashed
...
Fix possible crash in editor help
2022-09-19 15:32:34 +02:00
Rémi Verschelde
d4f8418582
Merge pull request #66080 from Zylann/editor_property_set_read_only
...
Expose `EditorProperty._set_read_only` virtual method
2022-09-19 15:32:16 +02:00
Rémi Verschelde
aa42b4f0cb
Merge pull request #65995 from MinusKube/tileset-size-bug
...
Fix atlas view drawing roots having zoom applied twice
2022-09-19 15:32:01 +02:00
kobewi
1eda8c2432
Fix possible crash in editor help
2022-09-19 13:26:50 +02:00
Marc Gilleron
056a418862
Expose `EditorProperty._set_read_only` virtual method
2022-09-19 11:56:49 +01:00
bruvzg
d104a4cdbd
Add missing initial window flags and window mode to the project settings.
2022-09-19 12:30:10 +03:00
kobewi
9f2dc68279
Replace File/Directory with FileAccess/DirAccess
2022-09-19 11:03:31 +02:00
kobewi
b3997191d8
Change UndoRedo to use Callables
2022-09-18 23:52:50 +02:00
Yuri Rubinsky
908795301b
Merge pull request #66040 from jeffres/fix-closing-shader-file-with-middle-mouse-click
2022-09-18 22:26:15 +03:00
Rémi Verschelde
e5594c26b1
Merge pull request #44143 from KoBeWi/callable_multiplayer
2022-09-18 13:47:04 +02:00
jeffres
b9d9528c45
Close shader under cursor when middle mouse clicking in editor list
...
Previously middle mouse clicking resulted in the currently selected
file to be closed, which is not the behavior commonly expected.
2022-09-18 13:25:13 +02:00
Tomasz Chabora
882a4f8906
Port remaining connections to callable_mp
2022-09-18 13:08:54 +02:00
Rémi Verschelde
7a0a3fea94
Merge pull request #62417 from willnationsdev/gdres-quickopen
...
Enable QuickOpen to see scripted resources
2022-09-18 10:53:53 +02:00
Rémi Verschelde
469eb3dfd7
Merge pull request #62413 from willnationsdev/gdres-inspector
...
Script-class-aware Inspector & related controls.
2022-09-18 10:53:47 +02:00
Rémi Verschelde
58e5863f9a
Merge pull request #66031 from qarmin/compile_regex_editor
...
Add missing constructor, to compile editor without regex module
2022-09-18 10:52:45 +02:00
Rémi Verschelde
c6e5c76536
Merge pull request #65561 from ryburnj/inconsistent-cap-scene-file-name
...
Fix inconsistent scene file name casing
2022-09-18 10:49:00 +02:00
Rafał Mikrut
4e7cf3d919
Add missing constructor, to compile editor without regex module
2022-09-18 08:16:36 +02:00
willnationsdev
cc5a736c0b
Enable QuickOpen to see scripted resources.
2022-09-17 20:35:58 -05:00
ryburnj
9d6af9323a
Fix inconsistent scene file name casing by moving existing Name_Casing code to separate function in editor_node, and adding a call from both editor_node and scene_tree_dock.
2022-09-18 11:17:22 +10:00
willnationsdev
d32f2700ff
Script-class-aware Inspector & related controls.
2022-09-17 18:34:57 -05:00
Rémi Verschelde
24115beb3c
Merge pull request #66000 from KoBeWi/clear_'_clear_undo_history'
...
Remove unused `_clear_undo_history` method
2022-09-18 00:43:54 +02:00
Rémi Verschelde
09d1ebb7ae
Merge pull request #66004 from bruvzg/hb52
...
Update to version 5.2.0, add new Unicode 15 blocks and scripts.
2022-09-18 00:43:49 +02:00
Rémi Verschelde
519191d2f1
Merge pull request #65900 from YuriSizov/editor-animation-loopity-loops-loop
...
Fix loop mode button update in the Animation editor
2022-09-18 00:40:35 +02:00
Rémi Verschelde
f9e4785e48
Merge pull request #65911 from EliasVincent/light-theme-palette-text-fix
...
color of Command Palette shortcut text not visible in Light theme
2022-09-18 00:40:06 +02:00
bruvzg
ec8084d87f
HarfBuzz: Update to version 5.2.0, add new Unicode 15 blocks and scripts.
2022-09-17 23:19:11 +03:00
kobewi
6cec00b099
Remove unused _clear_undo_history method
2022-09-17 21:03:04 +02:00
MinusKube
0ff2020bd4
Fix atlas view drawing roots having zoom applied twice
2022-09-17 19:07:56 +02:00
jeffres
1c98f03784
Fix selected shader file not being highlighted in shader editor list
2022-09-17 17:49:51 +02:00
Micky
eb0cc08a23
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
...
AudioStreamPlayer3D.`unit_db` -> `volume_db`
Now matches the same name AudioStreamPlayer and AudioStreamPlayer2D use.
2022-09-17 16:06:30 +02:00
Micky
a2c3b4ea92
Fix "Save Branch as Scene" storing root Node's `unique_name_in_owner`
...
Fix #64425
2022-09-17 11:04:59 +02:00
Eric M
722378479d
Update Editor Shortcuts tree creation to always have sections in same order.
2022-09-17 11:41:15 +10:00
SaracenOne
6a8fbf3d25
Fix animation change callbacks
2022-09-16 14:04:24 -07:00
Yuri Sizov
02572f2c62
Improve icon generation in the editor theme
2022-09-16 23:34:01 +03:00
Micky
976ec5f94a
Remove unused `import_subscene()` in Scene Tree Dock
2022-09-16 22:30:39 +02:00
EliasVincent
52a4327c47
Command Palette shortcut_text: font color
2022-09-16 17:35:57 +02:00
Gilles Roudière
68ffa9a2a1
Right-click to erase TileSet terrains and bugfixes
2022-09-16 15:22:55 +02:00
Yuri Sizov
5676341864
Fix loop mode button update in the Animation editor
2022-09-16 16:19:53 +03:00
Rémi Verschelde
3546add9b3
Merge pull request #60786 from Rindbee/update-editor-property-status
...
Update checked based on the variant type of the value
2022-09-16 09:24:10 +02:00
Rémi Verschelde
37146763b1
Merge pull request #65868 from timothyqiu/metadata-crash
...
Fix crash open opening Add Metadata dialog
2022-09-16 09:24:02 +02:00
Rémi Verschelde
18ad00b44c
Merge pull request #65846 from clayjohn/mem-leak
...
Free preview sun and environement on editor close
2022-09-16 09:23:54 +02:00
Rémi Verschelde
14c602f032
Merge pull request #65854 from YeldhamDev/add_element_fix
...
Fix empty text in the add button when editing nodes with items
2022-09-16 09:22:36 +02:00
Rémi Verschelde
a981a8061f
Merge pull request #65325 from TokageItLab/refactor-variant-for-anim
...
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-16 09:20:50 +02:00
clayjohn
969f20656a
Free preview sun and environement on editor close.
...
Previously, they would only be freed if they were in the editor node tree.
2022-09-15 20:45:19 -07:00
Haoyu Qiu
372e4cfd49
Fix crash open opening Add Metadata dialog
2022-09-16 11:28:09 +08:00
Michael Alexsander
2f016c521f
Fix empty text in the add button when editing nodes with items
2022-09-15 22:01:52 -03:00
MinusKube
5f8293db54
Prevent unsaved inherited scenes from being detected as the 'placeholder' scene
2022-09-16 02:09:54 +02:00
Rindbee
9066d55763
Update checked based on the variant type of the value
...
In `EditorProperty::update_revert_and_pin_status`, if `checkable` is `true`, update `checked` based on the variant type of the value, and rename the function as `EditorProperty::update_editor_property_status`.
**Known problems:**
1. Unable to check Checkbox for properties of type `Object` when it is unchecked. This is probably because during value store/fetch, the `nullptr` (variant type is `Variant::OBJECT`) eventually becomes `Variant()` (variant type is `Variant::NIL`).
2. For theme overrides, click the revert icon will uncheck the Checkbox. This is probably because `EditorPropertyRevert::get_property_revert_value` returns `Variant()`.
2022-09-16 07:22:50 +08:00
Aaron Franke
2be9ef507a
Remove unused `abort_scan` variable
2022-09-15 14:23:38 -05:00
Rémi Verschelde
76b41bde3c
Merge pull request #65830 from EricEzaM/fix-shortcut-crash
...
Check TreeItem for nullptr before accessing.
2022-09-15 20:12:18 +02:00
Rémi Verschelde
78a9a3de69
Merge pull request #62903 from Rindbee/fix-property-link-not-work-in-MultiNodeEdit
...
Set the changed field to empty (meaning all) if the link button is pressed
2022-09-15 20:12:12 +02:00
Rémi Verschelde
80802d2718
Merge pull request #65196 from TokageItLab/fix-redraw-anim-tree
...
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15 20:11:36 +02:00
kobewi
6f80ffeddd
Fix extending scripts by path
2022-09-15 17:44:27 +02:00
Eric M
badea350ac
Check TreeItem for nullptr before accessing.
2022-09-15 23:50:52 +10:00
Rémi Verschelde
51082d6e47
Merge pull request #65806 from akien-mga/pm-improve-conversion-dialog
...
Clarify text in project conversion dialogs
2022-09-15 01:43:09 +02:00
Rémi Verschelde
e7ce3f539e
Project Manager: Clarify text in project conversion dialogs
...
Let the cancel button grab focus to prevent any accident.
Make the full project conversion respect OS specific ok/cancel
positions.
Improve popup sizing and wrapping a bit.
2022-09-15 01:38:26 +02:00
Lyuma
033abdc59f
2D and 3D Skeleton modification docs, and small fixes.
...
Mark SkeletonModificationStack3D and related as deprecated.
Mark local bone override and axis functions deprecated in Skeleton3D api.
Fix array property glitch in SkeletonModificationStack2D
Mark SkeletonModificationStack2D and related APIs as experimental. Mark SkeletonIK3D as deprecated.
2022-09-14 15:07:45 -07:00
Silc Renew
9d47e079b7
Move some methods to Animation from Variant for refactoring
2022-09-15 04:52:43 +09:00
Rémi Verschelde
89840b75c9
Merge pull request #65430 from SaracenOne/read_only_array
...
Add read-only mode to inspector array and dictionary viewer.
2022-09-14 17:43:49 +02:00
Rémi Verschelde
bbed0b43f7
Merge pull request #65774 from bruvzg/no_mono_hinting
...
Do not use horizontal hinting for the editor monospace font.
2022-09-14 17:42:58 +02:00
Rémi Verschelde
85cd6960c6
Merge pull request #65494 from V-Sekai/fix_inspect_command_context
2022-09-14 14:44:03 +02:00
Rémi Verschelde
50a6905f2d
Merge pull request #65421 from V-Sekai/spriteframes_read_only
2022-09-14 14:42:18 +02:00
Silc Renew
cff95e54e0
Fix redraw timing in AnimationBlendTreeEditor
2022-09-14 21:05:21 +09:00
bruvzg
e94ac75d3d
Do not use horizontal hinting for the editor monospace font.
2022-09-14 11:05:09 +03:00
Rémi Verschelde
d9e974cdb0
Merge pull request #65493 from V-Sekai/lod_scaling
...
Fixes LOD scaling issues on skinned meshes.
2022-09-14 09:57:02 +02:00
Fredia Huya-Kouadio
9d5e48f873
Disable menus and functionality that are not relevant on the Android Editor port
2022-09-13 20:48:33 -07:00
SaracenOne
13f5c62124
Fix LOD-generation on skinned meshes.
2022-09-14 02:46:10 +01:00
Rémi Verschelde
2d9583fa3b
Merge pull request #65490 from halgriffiths/profiler-fix
...
Fix broken profiler in 4.0
2022-09-14 00:04:56 +02:00
kobewi
ae2d07d4ca
Don't print error on empty actions
2022-09-13 19:36:22 +02:00
halgriffiths
026e0811b9
Fix profiler being disabled at wrong times
...
Co-authored by: Will Whitty <tavurth@gmail.com>
2022-09-13 10:21:11 +01:00
Rémi Verschelde
abdaa6da3d
Merge pull request #65621 from KoBeWi/eternal_pattern
...
Fix broken patterns on TileMap layer change
2022-09-13 10:58:29 +02:00
Rémi Verschelde
ecefae22cb
Merge pull request #65624 from KoBeWi/help_I'm_stuck
...
Prevent infinite loops in editor help search
2022-09-13 10:58:25 +02:00
Rémi Verschelde
2ac8bcdd1a
Merge pull request #65632 from YeldhamDev/thin_editors
...
Shrink shader editor's oversized borders
2022-09-13 10:58:09 +02:00
Rémi Verschelde
ed381078a4
Merge pull request #65651 from dzil123/animation_tree_node_rename
2022-09-13 10:42:49 +02:00
Rémi Verschelde
78042ce235
Merge pull request #64927 from KoBeWi/three2four
2022-09-13 10:39:15 +02:00
Rémi Verschelde
f9b4af4ba5
Merge pull request #65708 from akien-mga/vcs-plugin-ssh-key-HOME
2022-09-13 10:35:27 +02:00
Rémi Verschelde
2092858087
Merge pull request #65679 from Calinou/3d-editor-improve-preview-sun-sky-usability
2022-09-13 10:32:47 +02:00
Yuri Rubinsky
d2ba60b4b5
Fix category of view_index inputs in the visual shader editor
2022-09-13 10:06:34 +03:00
Rémi Verschelde
f8ec046b14
Merge pull request #65704 from akien-mga/web-editor-fix-some-errors
...
Fix some errors affecting the Web editor
2022-09-13 08:31:59 +02:00
Nathan Franke
020b8e6c68
project manager language OptionButton fit to longest item
2022-09-12 19:59:16 -05:00
kobewi
305d407dad
Add option to convert project from Project Manager
2022-09-12 18:31:03 +02:00
Rémi Verschelde
fc227ea919
VCS plugin: SSH key dialog defaults to HOME
...
Fixes #65691 .
2022-09-12 17:03:20 +02:00
Rémi Verschelde
1513d76cb9
Fix some errors affecting the Web editor
...
- Don't warn about minimized/maximized modes not being available.
- Blender and FBX export both depend on running thirdparty applications,
which can't be done (easily at least) for Web and Android editors.
- Editor theme complained about not being able to retrieve texture data
for an icon. It was only used once so instead of flipping at runtime,
let's just add a flipped icon.
Part of #65702 .
2022-09-12 16:29:45 +02:00
Hugo Locurcio
598b5b19ac
Improve 3D editor preview sun and sky usability
...
- Use grayscale icons to look better when pressed (with accent color
modulation).
- Invert state to be more logical (pressed = preview is enabled, not disabled).
2022-09-12 03:58:29 +02:00
dzil123
f9bee90994
Ignore node rename if already exited blend tree
2022-09-11 02:33:59 -07:00
SaracenOne
cc4bda8500
Add ability to flag classes as experimental or deprecated.
2022-09-11 00:11:33 +01:00
Michael Alexsander
c2553f530b
Shrink shader editor's oversized borders
2022-09-10 17:58:31 -03:00
bruvzg
f6adf07ffa
Fix Ctrl/Cmd+F always processed by the asset library, instead of script editor / help.
2022-09-10 21:40:45 +02:00
Aaron Franke
408ed2235b
Don't defer SceneTreeEditor::_warning_changed signal connection
2022-09-10 14:19:29 -05:00
Rémi Verschelde
b52305351d
Merge pull request #64465 from TokageItLab/bind-after-gui-input
...
Bind `AfterGUIInput` to GDScript and update document
2022-09-10 20:01:48 +02:00
kobewi
7fc075d235
Prevent infinite loops in editor help search
2022-09-10 19:34:26 +02:00
kobewi
aafe72fcec
Fix broken patterns on TileMap layer change
2022-09-10 16:45:51 +02:00
Rémi Verschelde
24ce46e2a1
Merge pull request #64938 from YuriSizov/editor-scaled-icons
2022-09-09 16:52:32 +02:00
Rémi Verschelde
211631801d
Merge pull request #65352 from Mickeon/try-scene-tree-filter-multi-word
2022-09-09 16:11:45 +02:00
Rémi Verschelde
ae0c1b2b5c
i18n: Sync editor translations with Weblate (3.5 branch)
...
(cherry picked from commit 367ffd10c8
)
2022-09-09 14:52:16 +02:00
Micky
1c4095a66a
Improve Scene Tree Dock's Node filter (Allow multiple terms & more)
...
- Allows more than one parameter to be passed in the "Filter Node" search box, each term separated by spaces.
- Grays out any parent Node not matching the search, but still having to be there because a child is.
- Adds a `group:` filter. It matches any Node belonging to the passed group. If no argument is passed, it matches all Nodes belonging to any group. It also ignores groups used internally, and its alias is `g`.
2022-09-09 13:40:29 +02:00
Rémi Verschelde
f391107830
Merge pull request #63640 from mbe9/fix_noneditable_remote_objects
2022-09-09 09:09:02 +02:00
Rémi Verschelde
7a317b1314
Merge pull request #65520 from V-Sekai/remote_objects_no_read_only
2022-09-09 09:08:42 +02:00
Rémi Verschelde
c909120b59
Merge pull request #64373 from YeldhamDev/edscale_likes_them_floaty
2022-09-09 09:07:53 +02:00
kobewi
d8093e83b8
Fix undo actions in SceneTreeDock
2022-09-08 22:57:54 +02:00
Micky
8aee143f79
Add a few missing entries in Project Converter
2022-09-08 20:04:54 +02:00
Michael Alexsander
c4c9e41073
Make `Vector2i` values paired with `EDSCALE` be just `Vector2`
2022-09-08 14:46:32 -03:00
SaracenOne
3c2e7b38cd
Remove read-only status from EditorDebuggerRemoteObject
2022-09-08 14:34:31 +01:00
Yuri Rubinsky
c50febf5ef
Merge pull request #65468 from Chaosus/vs_fix
2022-09-08 15:00:24 +03:00
Rémi Verschelde
47f889f89d
Merge pull request #65495 from V-Sekai/animation_editor_fixes
2022-09-08 13:56:46 +02:00
Rémi Verschelde
5cef88b882
Merge pull request #65499 from Mickeon/project-converter-english-exam
2022-09-08 13:31:18 +02:00
Rémi Verschelde
05896cc579
Merge pull request #65504 from KoBeWi/close_before_saving
2022-09-08 13:17:34 +02:00
Silc Renew
3c7a5fd8ac
bind AfterGUIInput
2022-09-08 20:02:48 +09:00
Micky
d377bdb3ad
Fix several oddities in Project Converter
...
This is not a complete list. Nor are all of the changes exhaustive.
- Measure final execution time in seconds instead of milliseconds.
- Use `vformat()` instead of unreadable string concatenation whenever necessary.
- Replaces every `&` used with booleans with `&&` because Visual Studio was really complaining about it.
- Adds punctuation to some comments, in accordance to codebase guidelines.
- Fixes some typos around the file (such as "parenthesis" being called "parenthess"), as well as attempt to change some sentences to be more English-correct.
- Reworded some comments and error messages entirely.
2022-09-08 12:32:59 +02:00
Rémi Verschelde
69233093d7
Merge pull request #65241 from bruvzg/no_keymap_ambiguity
...
Fix key mapping changes when moving from macOS to other platform.
2022-09-08 09:24:24 +02:00
Rémi Verschelde
7936b3cc4c
Merge pull request #60108 from KoBeWi/arise_to_top
...
Rename raise() to move_to_front()
2022-09-08 09:23:31 +02:00
Rémi Verschelde
de739530c2
Merge pull request #63596 from Jayman2000/issue-27640
...
Rename `change_scene()` and `change_scene_to()`
2022-09-08 09:22:03 +02:00
Rémi Verschelde
a51dc70dfb
Merge pull request #65460 from Faless/net/4.x_ssl_to_tls_more
...
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 09:20:19 +02:00
Rémi Verschelde
cdb121dffa
Merge pull request #64757 from nathanfranke/change-node-dialog
...
Simplify title of Create/Change Node Dialog
2022-09-08 09:20:07 +02:00
Rémi Verschelde
df5a356e6c
Merge pull request #65501 from m4gr3d/fix_invalid_project_manager_path_main
...
Fix issue causing the project manager to crash because of missing path argument
2022-09-08 09:19:25 +02:00
Rémi Verschelde
6ac1a811dd
Merge pull request #63905 from smix8/navigation_replace_old_debug_4.x
...
Remove / Replace old Navigation Debug Visualization
2022-09-08 09:19:13 +02:00
Nathan Franke
a258101971
simplify title of create/change node dialog
...
The create dialog in replace mode now always has the title `Change type of "%s"`, where `%s` is either "MyNodeName" or "MyVisualScript.vs".
2022-09-07 21:44:33 -05:00
Fabio Alessandrelli
a95d792420
[Net] Rename "ssl" references to "tls" in methods and members.
2022-09-08 03:24:23 +02:00
kobewi
14266d8e66
Ask before closing with unsaved resources
2022-09-08 01:02:08 +02:00
Fredia Huya-Kouadio
cd544fd86b
Fix issue causing the project manager to crash because of missing path argument
...
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:21:34 -07:00
Jason Yundt
69963ffaa3
Rename change_scene() and change_scene_to()
...
Before this change, the SceneTree had methods named “change_scene” and
“change_scene_to”. One of them accepted a String as a parameter and the
other accepted a PackedScene, but you couldn’t tell which one was which
just by looking at their names.
This change renames those two methods to “change_scene_to_file” and
“change_scene_to_packed”. These new names came from this suggestion [1].
These new names make the difference between the two methods more clear
and hint at the fact that there’s more than one change_scene method.
[1]: <https://github.com/godotengine/godot/issues/27640#issuecomment-1081870955 >
Fixes #27640 .
2022-09-07 17:06:33 -04:00
Yuri Sizov
817d4db21f
Allow images to be imported "for editor use" and respect editor settings
2022-09-07 23:31:31 +03:00
Fredia Huya-Kouadio
c3c0bea615
Enable long press, pan and scale gestures for the Godot Android Editor
...
Fix the bug causing the editor to crash when running the project.
2022-09-07 13:30:10 -07:00
bruvzg
6f4d233062
Fix key mapping changes when moving from macOS to other platform
...
Removes separate `Command` key (use `Meta` instead).
Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-07 18:45:35 +02:00
smix8
d7f75fab60
Remove / Replace old Navigation Debug Visualization
...
- removes / replaces leftovers from old navigation debug code
- cleanes SceneTree and ProjectSettings from old navigation debug
2022-09-07 18:30:35 +02:00
Rémi Verschelde
f7261e655f
Merge pull request #49466 from AnilBK/rotate-previews
...
Add rotation ability to material editor preview.
2022-09-07 17:54:43 +02:00
Rémi Verschelde
2b6e043491
Merge pull request #58617 from KoBeWi/custom_something
...
Improve handling of custom types
2022-09-07 17:54:17 +02:00
Rémi Verschelde
0bd4a421bd
Merge pull request #65471 from KoBeWi/s
...
Fix tile source selection from picking
2022-09-07 17:53:53 +02:00
Rémi Verschelde
54942038ac
Merge pull request #65389 from Rindbee/fix-file-list-in-FileDialog-not-updating
...
Fix file list in FileDialog not updating on first run
2022-09-07 17:53:09 +02:00
Rémi Verschelde
e0c7916f73
Merge pull request #59069 from fire-forge/stylebox_margin_functions
...
Add all/individual setters for StyleBox default margins and StyleBoxTexture margin size and unbind `StyleBox*.set_*_individual()` methods
2022-09-07 17:52:58 +02:00
Rémi Verschelde
48705b1f03
Merge pull request #65355 from groud/split_container_min_grab_thickness
...
Allow SplitContainer to have a grab area larger than its visual grabber
2022-09-07 17:51:52 +02:00
FireForge
dd7ee37c8a
Add set_default_margin_all/individual to StyleBox
2022-09-07 16:37:36 +03:00
Rindbee
88b72c3de4
Fix file list in FileDialog not updating on first run
2022-09-07 21:36:21 +08:00
kobewi
35cae71842
Fix tile source selection from picking
2022-09-07 15:02:49 +02:00
Yuri Rubinsky
bf3d981c60
Remove subcategory parameter from `AddOption` in visual shader editor
2022-09-07 15:10:43 +03:00
Gilles Roudière
4cbcb5acda
Allow SplitContainer to have a grab area larger than its visual grabber
2022-09-07 12:33:02 +02:00
Micky
6b3cb71a96
Add missing constants to project converter
...
- CONTAINER_INSPECTOR_BOTTOM
- NOTIFICATION_SCENE_INSTANTIATED
2022-09-07 11:58:30 +02:00
Micky
08c2aab169
Rename ProgressBar.`percent_visible` to `show_percentage`
...
`percent_visible` -> `show_percentage`
`set_percent_visible` -> `set_show_percentage`
`is_percent_visible` -> `is_percentage_shown`
2022-09-07 11:58:30 +02:00
SaracenOne
dc96b2834e
Refactor to use internal foreign resource checking function.
...
Create unique duplicates of embedded animations when calling
'Make Unique' on AnimationLibrary.
2022-09-07 10:17:22 +01:00
SaracenOne
1e99c13de2
In inspector, show 'edit' button instead of 'inspect' when resource is part of an editable scene.
2022-09-07 10:14:06 +01:00
Rémi Verschelde
61644f1dbe
Merge pull request #65447 from Faless/net/4.x_ssl_to_tls
...
[Net] Rename StreamPeerSSL to StreamPeerTLS.
2022-09-07 09:19:46 +02:00
Rémi Verschelde
2841bc358c
Merge pull request #65446 from YuriSizov/dialogs-make-styleboxes-matter
...
Make `AcceptDialog` and derivatives utilize `StyleBox` fully
2022-09-07 09:09:15 +02:00
Rémi Verschelde
c1150428c6
Merge pull request #65449 from YuriSizov/editor-main-control-screen-container-node
...
Rename `EditorInterface.get_editor_main_control` to `get_editor_main_screen`
2022-09-07 08:59:37 +02:00
Rémi Verschelde
80dacac90c
Merge pull request #65437 from YuriSizov/theme-gui-renames
...
Improve naming of theme properties throughout GUI code
2022-09-07 08:58:00 +02:00
Rémi Verschelde
5c5079b398
Merge pull request #65197 from Mickeon/rename-connect-one-shot
...
Rename CONNECT_ONESHOT to CONNECT_ONE_SHOT
2022-09-07 08:51:10 +02:00
Rémi Verschelde
3515382390
Merge pull request #64361 from Mickeon/rename-caret-blink
...
Rename every instance of `caret_blink_speed` to `caret_blink_interval`
2022-09-07 08:51:02 +02:00
Fabio Alessandrelli
528e791a5f
[Net] Rename StreamPeerSSL to StreamPeerTLS.
...
SSL has been deprectated almost 10 years ago.
2022-09-07 07:38:50 +02:00
Anilforextra
d4ee903004
Enable material editor preview to be rotated.
2022-09-07 11:02:57 +05:45
Yuri Sizov
1459507ed2
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
2022-09-07 03:01:58 +03:00
VolTer
0179791e85
Stopped edge stripping when using Find in Files
2022-09-07 00:45:37 +02:00
Yuri Sizov
5eaf82b4f0
Make AcceptDialog and derivatives utilize StyleBox fully
2022-09-07 01:42:11 +03:00
kobewi
b218727599
Rename raise() to move_to_front()
2022-09-06 22:13:06 +02:00
Yuri Sizov
43f03e2ce6
Improve naming of theme properties throughout GUI code
...
Rename ItemList's bg -> panel
Rename ItemList's bg_focus -> focus
Rename ProgressBar's bg -> background
Rename ProgressBar's fg -> fill
Rename Tree's bg -> panel
Rename Tree's bg_focus -> focus
Rename ScrollContainer's bg -> panel
Rename FileDialog's *_icon_modulate -> *_icon_color
Rename FileDialog's files_disabled -> file_disabled_color
Rename CheckButton's on/off -> checked/unchecked
Rename check_v_adjust -> check_v_offset
2022-09-06 22:53:17 +03:00
SaracenOne
4d898f9bb4
Add read-only mode to inspector array and dictionary viewer.
2022-09-06 18:02:03 +01:00
Micky
dd26ecdd31
Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOT
...
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-06 19:00:33 +02:00
Micky
6dbd283ae5
Rename every instance of `caret_blink_speed` to `caret_blink_interval`
...
It's been changed in EditorSettings, LineEdit, TextEdit.
Affects setters and getters, and passed parameters, too.
2022-09-06 18:37:17 +02:00
Rémi Verschelde
0c4d578bdf
Merge pull request #65194 from Mickeon/rename-one-shot
2022-09-06 18:32:48 +02:00
Vitika9
1dce43d417
ColorPicker UX improvements
...
- Tabs and MenuButton for mode selection and enabling/disabling colorized sliders
- MenuButton for shape selection with new icon for each shape
- Drag and drop functionality for presets to arrange order
- A chronological list of recently selected presets which are global for the editor
- Presets are now highlighted as being active or inactive
- Thicker sliders for easy targeting
- `grabber_offset` theme constant for Slider
- Uncolorized sliders
2022-09-06 21:42:20 +05:30
Rémi Verschelde
5fb84e5702
Merge pull request #64661 from Mickeon/rename-tilemap-world
...
Rename TileMap/GridMap.`world_to_map` and opposite to `local_to_map`
2022-09-06 17:01:16 +02:00
Rémi Verschelde
13c880911b
Merge pull request #65420 from YuriSizov/editor-bit-sized-help-colors
...
Fix theming error in EditorHelp due to order of operations issue
2022-09-06 17:01:08 +02:00
Rémi Verschelde
5062aafc2d
Merge pull request #64417 from aaronfranke/has-space
...
Replace AABB/Rect2/Rect2i has_no_* methods with has_* methods
2022-09-06 17:00:44 +02:00
Rémi Verschelde
f40755383e
Merge pull request #65361 from Mickeon/rename-range-lerp
...
Rename `range_lerp` to `remap`
2022-09-06 17:00:37 +02:00
SaracenOne
15e2ddbbc0
Add read only mode to SpriteFrames editor.
2022-09-06 14:47:13 +01:00
Yuri Sizov
8442d77614
Fix theming error in EditorHelp due to order of operations issue
2022-09-06 16:08:40 +03:00
Rémi Verschelde
a49ec435b2
Merge pull request #60115 from V-Sekai/scene_scale
2022-09-06 13:38:30 +02:00
Rémi Verschelde
7a620e34bf
Merge pull request #65415 from akien-mga/fix-uninitialized-member-pointers
...
Fix various uninitialized member pointers
2022-09-06 12:34:29 +02:00
Rémi Verschelde
042278cb69
Merge pull request #65413 from Mickeon/fix-scene-tree-script-grayed-icon
...
Fix tool script button color overriding custom type color
2022-09-06 12:34:22 +02:00
Rémi Verschelde
73026fbde9
Merge pull request #62061 from fire-forge/multinodeedit
...
Improvements to multi-node editing
2022-09-06 12:34:10 +02:00
Rémi Verschelde
93f177bd03
Merge pull request #65207 from RedMser/annotation-search
...
Allow searching for annotations in help
2022-09-06 12:33:37 +02:00
Rémi Verschelde
7b5d1ea5b9
Fix various uninitialized member pointers
...
Using this command:
```
find -name "thirdparty" -prune -o -name "*.h" -exec sed -i {} -e '/return /! s/\t\([A-Za-z0-9_]* \*[A-Za-z0-9_]*\)\;/\t\1 = nullptr;/g' \;
```
And then reviewing the changes manually to discard the ones that don't
seem correct/safe/good (notably changes to `core` unions).
2022-09-06 11:20:27 +02:00
Rémi Verschelde
c36735ef97
Merge pull request #65402 from m4gr3d/disable_android_editor_auto_focus_main
2022-09-06 10:14:49 +02:00
Micky
65cc721eb9
Fix tool script button color overriding custom type color
...
Also adds a small note on the tooltip noting the custom type.
2022-09-06 10:14:28 +02:00
Rémi Verschelde
017c4f5608
Merge pull request #65354 from V-Sekai/state_machine_freeze_new_transition
2022-09-06 10:13:43 +02:00
Fredia Huya-Kouadio
841b4dfeeb
Disable logic that triggers automatic focus gain as the Godot Editor is loaded
...
For the Godot Android Editor, this is an inconvenience as it causes the soft keyboard to show and block half of the view
2022-09-05 22:33:01 -07:00
Micky
b6daad8d4b
Rename `range_lerp` to `remap`
2022-09-06 07:19:20 +02:00
FireForge
a914dc0c46
Improvements to multi-node editing
...
- Show revert button for properties that are not default for all selected nodes
- Show property documentation tooltips
- Show common class name and icon and number of selected nodes in EditorPath, e.g. "Node2D (4 Selected)"
- Hide metadata for MultiNodeEdit and AnimationMultiTrackKeyEdit
- Hide script for MultiNodeEdit
2022-09-05 18:36:03 -05:00
kobewi
a3309215c2
Improve handling of custom types
2022-09-05 23:08:28 +02:00
FireForge
6e8dc5130d
Various editor UI fixes (bottom panel corner radius and scene tab bar)
...
- Fix top corners of bottom panel not having rounded corners
- Fix scene tab bar background expanding vertically by corner radius
- Remove two unneccesary theme items from the editor theme:
- EditorStyles/SceneTabFG
- EditorStyles/SceneTabBG
- Remove an instance where the scene TabBar was having its styleboxes overriden to the default value, which has no effect.
2022-09-05 15:11:57 -05:00
Yuri Sizov
00fa4e23e4
Merge pull request #65230 from fire-forge/itemlist-spacing
2022-09-05 19:59:06 +03:00
SaracenOne
befc4b79a4
Importer option to apply the root basis for meshes/skins/animations
2022-09-05 09:45:56 -07:00
Micky
694190a354
Rename TileMap/GridMap.`world_to_map` and opposite to `local_to_map`
...
For both TileMap and GridMap:
- `world_to_map` -> `local_to_map`
- `map_to_world` -> `map_to_local`
Also changes any mention of "world" in this context to "local" to avoid future confusion.
Finally, updates the docs of both methods for consistency.
In particular, adding a note on how to convert the returned values from local to global coordinates and vice versa.
2022-09-05 18:08:39 +02:00
RedMser
fbb9a21507
Allow searching for annotations in help
2022-09-05 17:53:28 +02:00
SaracenOne
15ccb319a9
Fix contextual visibility of tileset and tilemap editors
2022-09-05 16:34:09 +01:00
Rémi Verschelde
90801a4153
Merge pull request #65362 from Jummit/fix-scene-unique-icon
2022-09-05 15:31:04 +02:00
Jummit
5e147e92ae
Optimize and fix the scene unique name icon
...
This also makes it display correctly when using a light theme.
2022-09-05 14:53:39 +02:00
Rémi Verschelde
3e6c342995
Merge pull request #65306 from Rindbee/fix-Skeleton3DEditor-causing-crash-in-sanitizer-enabled-builds
2022-09-05 13:42:09 +02:00
Rémi Verschelde
545dc27096
Merge pull request #65356 from V-Sekai/state_machine_undo_redo_fix
2022-09-05 13:34:42 +02:00
SaracenOne
dae05fd249
Fix UndoRedo when creating new AnimationStateMachine transition and node.
2022-09-05 11:56:50 +01:00
Rémi Verschelde
03b92ae9ba
Merge pull request #65140 from Mickeon/editor-spin-slider-newline
2022-09-05 12:26:34 +02:00
SaracenOne
f4c7823a06
Freeze line when releasing mouse to create a new transition.
2022-09-05 10:39:15 +01:00
Rémi Verschelde
b71a7faac0
Merge pull request #65278 from TokageItLab/fix-node-transform-skin
...
Fix `RestFixer` for the model has `Skin` which non-inverse-global-rest
2022-09-05 08:23:56 +02:00
Aaron Franke
995b9f94e8
Replace Rect2(i) has_no_area with has_area
2022-09-04 23:03:36 -05:00
Rindbee
e73cac8999
Fix Skeleton3DEditor causing crash in sanitizer enabled builds
...
The life cycle of the `Skeleton3DEditor` singleton is too short, and when it is destroyed,
part of the logic needs to be called when its child nodes exist.
2022-09-04 09:20:06 +08:00
kobewi
78ad5e4305
Remove middle click shortcut to open scene tab
2022-09-04 00:50:17 +02:00
kobewi
80c78387a2
Remove pathed get_node() use from scene tree dock
2022-09-03 23:10:07 +02:00
requizm
1c2464a557
Disabled "Escape" button when closing the shortcut window
2022-09-03 18:22:12 +03:00
Silc Renew
563dcbe7b8
Fix rest fixer for the model has skin which non inverse global rest
2022-09-04 00:04:11 +09:00
Rindbee
6c9726e7a7
Fix Skeleton3DEditor crash
2022-09-03 15:59:59 +08:00
Rémi Verschelde
9dfa14d5c2
Merge pull request #65181 from fire-forge/corner-details
2022-09-02 23:19:51 +02:00
Rémi Verschelde
18ee0da032
Merge pull request #65256 from RedMser/unrounds-your-corners
2022-09-02 23:16:12 +02:00
Rémi Verschelde
c9b3d208e1
Merge pull request #65248 from Mickeon/docs-improve-icons-non-breaking-space
2022-09-02 23:14:59 +02:00
Rémi Verschelde
77ca96fd73
Merge pull request #59589 from Calinou/rename-or-lesser-range-property-hint
2022-09-02 23:13:20 +02:00
Yuri Sizov
74fc44a242
Fix property revert logic in the sectioned inspector
...
Co-authored-by: derammo <817160+derammo@users.noreply.github.com>
2022-09-02 21:15:04 +03:00
Hugo Locurcio
f7292dbeb3
Rename `or_lesser` range property hint to `or_less`
...
"less" should be used for quantity, rather than "lesser".
Existing scripts that use `or_lesser` in `_get_property_list()`
will need to be updated to account for this change.
2022-09-02 19:08:20 +02:00
RedMser
7664ea8c97
EditorTheme: Remove rounded corners for all popups
...
Expands #59045 to apply to all kinds of popups,
since they all render as separate windows.
2022-09-02 18:24:33 +02:00
Micky
126216eda0
Improve Docs' inheritance tree icons on newline
...
Uses a Non-Breaking Space to prevent the icon from detaching from the name on newline, improving the look considerably.
2022-09-02 15:56:28 +02:00
Rémi Verschelde
3a62c294c7
Merge pull request #65170 from KoBeWi/your_argument_is_TypedArray
2022-09-02 13:57:02 +02:00
Rémi Verschelde
fe2cf6e406
Merge pull request #65210 from YuriSizov/control-customizable-cache-p3
2022-09-02 13:51:52 +02:00
Rémi Verschelde
c82bbc38a5
Merge pull request #64952 from Chaosus/vs_rename_uniform_to_param
2022-09-02 13:49:53 +02:00
Yuri Sizov
fc7cef8dec
Fix theme propagation in various parts of the editor
2022-09-02 13:18:31 +03:00
Rémi Verschelde
5a136ee490
Merge pull request #64724 from KoBeWi/HVBoxContainer
2022-09-02 08:44:42 +02:00
Jonathan Nicholl
15d057c521
Add `is_zero_approx` methods to `Vector2`, `3`, and `4`
2022-09-02 00:29:50 -04:00
FireForge
77121efdff
Increase ItemList v_separation in editor theme
...
ItemList now uses the same value for v_separation as PopupMenu. This makes it easier to select items.
2022-09-01 21:51:17 -05:00
Rémi Verschelde
4fc86b2ce5
Merge pull request #59602 from Calinou/editor-improve-add-metadata-dialog
2022-09-01 23:47:49 +02:00
Rémi Verschelde
5263fd5343
Merge pull request #64198 from Geometror/add-bitmap-tests
2022-09-01 23:46:38 +02:00
Rémi Verschelde
2e0cffdb6f
Merge pull request #63479 from DarkKilauea/nav-link
2022-09-01 23:44:22 +02:00
Rémi Verschelde
181019cea5
Merge pull request #65135 from reduz/export-customization-plugins
2022-09-01 23:43:39 +02:00
kobewi
73929bef73
Rework oriented containers
2022-09-01 22:13:46 +02:00
Hugo Locurcio
8611b712dc
Improve the editor's Add Metadata dialog
...
- Mention the node name in the dialog title.
- Improve error messages to be more descriptive.
2022-09-01 19:03:40 +02:00
Hendrik Brucker
ea0472fecf
Refactor BitMap and add tests
...
Co-authored-by: Resul Çelik <resul_celik@hotmail.com>
2022-09-01 18:39:17 +02:00
Rémi Verschelde
d214956925
Merge pull request #65088 from Mickeon/editor-scene-tree-tool-icon
2022-09-01 17:02:24 +02:00
Rémi Verschelde
027415312e
Merge pull request #65132 from bruvzg/global_menu_shortcuts_context
2022-09-01 17:02:04 +02:00
FireForge
b42d692648
Decrease StyleBoxFlat corner detail in editor theme
...
Also makes some minor changes to other areas of the editor theme.
2022-09-01 10:01:10 -05:00
Micky
8949386382
Rename AnimatedTexture `oneshot` to `one_shot`
...
AnimatedTexture.`oneshot` -> `one_shot`
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-01 15:38:06 +02:00
kobewi
7adc8376ed
Change Array arguments to TypedArray
2022-09-01 13:13:19 +02:00
Micky
a2ba189fef
Modify newlines in Editor Spin Slider tooltip
...
Makes both key suggestions easier to read.
2022-09-01 12:32:23 +02:00
Micky
ad5ff9f78f
Mark Script button if it's tool in Scene Tree Editor
...
Also adds a note on the tooltip if the Script is tool.
The color is the same one used on the Script Editor's script list.
2022-09-01 12:29:18 +02:00
Juan Linietsky
ef17c4668a
Add support for scene/resource customization in export plugins
...
EditorExportPlugin adds a set of callbacks to allow customizing scenes, resources or subresources in all files exported:
* Can take scene files, resource files and subresources in all of them.
* Uses a cache for the converted files if nothing changes, so this work only happens if a file is modified.
* Uses hashing to differentiate export configuration caches.
* Removed the previous conversion code to binary, as this one uses existing stuff.
This API is useful in several scenarios:
* Needed by the "server" export platform to get rid of textures, meshes, audio, etc.
* Needed by text to binary converters.
* Needed by eventual optimizations such as shader precompiling on export, mesh merging and optimization, etc.
This is a draft, feedback is very welcome.
2022-09-01 11:16:00 +02:00
Yuri Rubinsky
8191b3c110
Rename `uniform` to `parameter` across the engine
2022-09-01 11:42:57 +03:00
Rémi Verschelde
0c221f0284
Merge pull request #65124 from zhehangd/fix_basis
2022-09-01 09:36:11 +02:00
Rémi Verschelde
d22f2612f9
Merge pull request #65162 from YuriSizov/editor-gradients-united
...
Unite `GradientEdit` and `GradientEditor` as editor-only widget
2022-09-01 08:30:16 +02:00
bruvzg
b85a4c5d79
[macOS] Handle accelerator and click events of the global menu items separately.
2022-09-01 08:13:56 +03:00
Zhehang Ding
69fe6336f1
Basis constructor: row vectors -> column vectors
2022-08-31 21:20:25 -07:00
Yuri Sizov
93078ea551
Unite GradientEdit and GradientEditor as editor-only widget
2022-08-31 23:45:04 +03:00
clayjohn
385ee5c70b
Implement Physical Light Units as an optional setting.
...
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value.
In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-31 12:14:46 -07:00
Rémi Verschelde
fbf8632556
Merge pull request #64247 from guilhermefelipecgs/fix_end_node
...
Re-add AnimationNodeStateMachine::end_node for root state machine
2022-08-31 17:40:38 +02:00
Rémi Verschelde
10aec9057c
Merge pull request #63411 from Calinou/improve-null-object-dictionary-print
...
Improve null and object printing to avoid confusion with arrays
2022-08-31 17:37:08 +02:00
Hugo Locurcio
291d3aaabe
Improve null and object printing to avoid confusion with arrays
...
- Use different syntax for object printing to avoid confusion with arrays.
- Print null as `<null>` to avoid confusion with a string `"null"`.
- Display `<empty>` in editor resource pickers to avoid confusion
with array-based properties.
2022-08-31 15:31:49 +02:00
RedMser
96bdcfd447
Fix #65122 : disambiguate_filenames freeze
2022-08-31 13:36:47 +02:00
Haoyu Qiu
97f547a63a
Fix crash when toggling flag property value
2022-08-31 15:50:23 +08:00
Rémi Verschelde
96b470b28e
Merge pull request #63394 from Calinou/curve-gradient-rename-interpolate
...
Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`
2022-08-31 08:37:12 +02:00
Rémi Verschelde
36a5160ad7
Merge pull request #62157 from ChronicallySerious/front-port-vcs-plugin
...
VCS: Port Godot 3.5's VCS features to GDExtension
2022-08-31 07:38:42 +02:00
Hugo Locurcio
ae18928748
Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`
...
"sampling" is a more accurate term than "interpolating" for what's
happening when using that function.
2022-08-30 22:08:38 +02:00
Rémi Verschelde
292b94b97c
Merge pull request #65089 from YuriSizov/editor-launch-bar-with-style
...
Improve style and add contextual highlight to the editor launch pad
2022-08-30 21:18:41 +02:00
Twarit Waikar
a62b0ec904
VCS: Improve VCS UI/UX by QoL changes
...
The editor will now use the project path i.e. the place where the root of
the repo is supposed to be according to the user. This project path is
also sent into the plugin and so out-of-directory asset folders can also be
maintained this way.
2022-08-31 00:27:08 +05:30
Twarit Waikar
1bb5e65798
VCS: Replace usage of varray() by using callable_mp::bind()
2022-08-31 00:01:42 +05:30
Twarit Waikar
c698e4f5f9
VCS: Fix empty metadata items being moved across stages
2022-08-31 00:01:42 +05:30
Twarit Waikar
ef9885f81a
VCS: Load a GDExtension instead of Script + UI port from 3.5
2022-08-31 00:01:42 +05:30
Twarit Waikar
4656ea8977
VCS: Port Godot 3.5's VCS features to GDExtension
2022-08-31 00:01:42 +05:30
Rémi Verschelde
de5f13e935
Merge pull request #63552 from RedMser/file-dialog-disambiguate
...
EditorFileDialog: disambiguate recent/favorite items
2022-08-30 20:24:38 +02:00
Rémi Verschelde
6e6287f748
Merge pull request #47744 from KoBeWi/press_F_to_play_exit
2022-08-30 19:29:04 +02:00
Rémi Verschelde
e27b61d291
Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bg
2022-08-30 18:53:54 +02:00
RedMser
a401c4e6ac
EditorFileDialog: disambiguate recent/favorite items
...
Similar to script editor, if two folders have the same name, they will
now get a more descriptive name in the item list.
2022-08-30 17:18:47 +02:00
Yuri Sizov
a462d6e402
Improve style and add contextual highlight to the editor launch pad
2022-08-30 18:10:45 +03:00
Rémi Verschelde
02d510bd07
Merge pull request #63003 from Geometror/msaa-2d
2022-08-30 14:54:20 +02:00
Rémi Verschelde
ae349d8227
Merge pull request #64377 from Mickeon/rename-canvas-redraw
...
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30 14:47:41 +02:00
kobewi
409613ba7b
Allow to change the Stop shortcut used at runtime
2022-08-30 14:14:15 +02:00
Rémi Verschelde
0bf3f79157
Merge pull request #63902 from dalexeev/string-cases
2022-08-30 14:06:28 +02:00
Rémi Verschelde
ebe4f8d3a4
Merge pull request #65039 from Mickeon/rename-treeitem-tooltip
2022-08-30 14:05:08 +02:00
kobewi
2855b591fb
Simplify script list click logic
2022-08-30 13:38:03 +02:00
Danil Alexeev
d4555ef5fb
Add `String.to_{camel,pascal,snake}_case` methods
2022-08-30 12:36:24 +03:00
Micky
97f8c9b97c
Rename TreeItem's `set_tooltip` to `set_tooltip_text`
...
`set_tooltip` -> `set_tooltip_text`
`get_tooltip` -> `get_tooltip_text`
For consistency:
`get_button_tooltip` -> `get_button_tooltip_text`
And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-30 11:16:23 +02:00
Rémi Verschelde
432b25d364
Merge pull request #65066 from aaronfranke/str-path-join
2022-08-30 10:01:11 +02:00
Rémi Verschelde
183438e13b
Merge pull request #65060 from Atlinx/feat/65059_fix-doc-error
2022-08-30 09:26:11 +02:00
Rémi Verschelde
992104bc12
Merge pull request #64396 from qarmin/add_line_length_options
2022-08-30 09:20:32 +02:00
Rémi Verschelde
21b218c9ea
Merge pull request #65053 from YuriSizov/editor-bones-but-no-meat
...
Properly handle theme changes in the Skeleton3DEditor
2022-08-30 08:45:07 +02:00
Rémi Verschelde
ff7d439551
Merge pull request #64494 from kleonc/scene-dock-change-many-node-unique-names
...
`SceneTreeDock` Allow/fix toggling unique name in owner for all selected nodes
2022-08-30 08:42:33 +02:00
Rémi Verschelde
4d7628be85
Merge pull request #45764 from gongpha/update-animation-tree-editor-when-selected
...
Update all AnimationTree's editors when editing
2022-08-30 08:37:11 +02:00
Rémi Verschelde
f925572976
Merge pull request #65044 from YuriSizov/editor-fix-theme-n-stuff
...
Fix some editor theme regressions
2022-08-30 07:30:55 +02:00
Aaron Franke
10a56981dc
Rename String `plus_file` to `path_join`
2022-08-29 19:38:13 -05:00
Atlinx
0e3097c023
Add missing parameters for signal in docs
2022-08-29 20:13:01 -04:00
Yuri Sizov
8b196be855
Add background to TabContainer's tabbar and editor docks
2022-08-29 23:43:32 +03:00
Rafał Mikrut
3b1259a98a
Speedup conversion and add option to set maximum line length to prevent freezes
2022-08-29 21:26:36 +02:00
Yuri Sizov
1839ec96a7
Properly handle theme changes in the Skeleton3DEditor
2022-08-29 21:39:56 +03:00
Kongfa Waroros
0f17fe642c
Update all AnimationTree's editors when editing
2022-08-30 01:04:34 +07:00
kleonc
5d7ff1bf44
`SceneTreeDock` Toggling unique name in owner for all selected nodes
2022-08-29 19:18:52 +02:00
Yuri Sizov
88ab58821d
Fix some editor theme regressions
2022-08-29 18:01:41 +03:00
Micky
e31bb5ffeb
Rename `CanvasItem.update()` to `queue_redraw()`
...
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on.
Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency.
Just a few comments have also been changed to say "redraw".
In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29 14:59:47 +02:00
kobewi
ef19e7bae0
Fix Import dock being too wide
2022-08-29 14:28:01 +02:00
Rémi Verschelde
e60086f98b
Merge pull request #64119 from YuriSizov/theme-init-database
2022-08-29 14:02:21 +02:00
Rémi Verschelde
322c812231
Merge pull request #65023 from Faless/js/4.x_is_web
2022-08-29 13:00:32 +02:00
Rémi Verschelde
583c0c4897
Merge pull request #64980 from TokageItLab/fix-animedit-draw-and-find-key
2022-08-29 12:29:24 +02:00
Fabio Alessandrelli
d20b32186f
[Web] Rename JavaScript platform to Web.
...
Also rename export name from "HTML5" to "Web".
2022-08-29 11:52:00 +02:00
Rémi Verschelde
fd6453c45e
Revert "Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGED"
...
This reverts commit 4b817a565c
.
Fixes #64988 .
Fixes #64997 .
This caused several regressions (#64988 , #64997 ,
https://github.com/godotengine/godot/issues/64997#issuecomment-1229970605 )
which point at a flaw in the current logic:
- `Control::NOTIFICATION_ENTER_TREE` triggers a *deferred* notification with
`NOTIFCATION_THEME_CHANGED` as introduced in #62845 .
- Some classes use their `THEME_CHANGED` to cache theme items in
member variables (e.g. `style_normal`, etc.), and use those member
variables in `ENTER_TREE`, `READY`, `DRAW`, etc. Since the `THEME_CHANGE`
notification is now deferred, they end up accessing invalid state and this
can lead to not applying theme properly (e.g. for EditorHelp) or crashing
(e.g. for EditorLog or CodeEdit).
So we need to go back to the drawing board and see if `THEME_CHANGED` can be
called earlier so that the previous logic still works?
Or can we refactor all engine code to make sure that:
- `ENTER_TREE` and similar do not depend on theme properties cached in member
variables.
- Or `THEME_CHANGE` does trigger a general UI update to make sure that any
bad theme handling in `ENTER_TREE` and co. gets fixed when `THEME_CHANGE`
does arrive for the first time. But that means having a temporary invalid
(and possibly still crashing) state, and doing some computations twice
which might be heavy (e.g. `EditorHelp::_update_doc()`).
2022-08-29 11:11:29 +02:00
Rémi Verschelde
1782557339
Merge pull request #64386 from timothyqiu/anim-disable
...
Fix crash when loading Animation Library after reloading a scene
2022-08-29 07:50:00 +02:00
kobewi
f42cd7f83f
Add history dock
2022-08-29 04:29:22 +02:00
Silc Renew
77cf519cf0
Fixed AnimationTrackEditor redraw/deselect timing and find key compearation
2022-08-29 10:44:00 +09:00
Rémi Verschelde
9efa5a8fc9
Merge pull request #64555 from nongvantinh/inspector_resource_preview_incorrect_size
...
Fixed inspector resource preview shows up with incorrect size
2022-08-28 22:57:33 +02:00
Yuri Rubinsky
cb62d31938
Merge pull request #64981 from Chaosus/vs_fix
2022-08-28 22:37:54 +03:00
Rémi Verschelde
006915b482
Merge pull request #64961 from faisal-alam09/Bugfix-#64836-Placeholder-scene-tab-not-removed-when-new-scene-created
...
Added a placeholder tab check before creating a new scene.
2022-08-28 18:06:44 +02:00
Rémi Verschelde
f7f8af232c
Merge pull request #64885 from Mickeon/rename-tooltip-hint
...
Rename `hint_tooltip` to `tooltip_text` & setter getter
2022-08-28 17:43:01 +02:00
Rémi Verschelde
dd9602e74c
Merge pull request #64847 from Mickeon/editor-docs-hierarchy-icons
...
Add type icons to editor docs' hierarchy
2022-08-28 17:09:34 +02:00
Yuri Rubinsky
5ccc6e2ec8
Fix category of new added visual shader functions
2022-08-28 12:40:54 +03:00
Yuri Rubinsky
1f9b992d85
Merge pull request #64248 from paddy-exe/built-in-shader-functions
2022-08-28 09:04:52 +03:00
Patrick Exner
55bbcc54e7
Implement custom non-trivial shader functions
2022-08-27 22:59:12 +02:00
Rémi Verschelde
d3db8bbebd
Merge pull request #62846 from AaronRecord/remove_redundant_theme_updates_in_enter_tree
...
Remove `NOTIFICATION_ENTER_TREE` when paired with `NOTIFICATION_THEME_CHANGED`
2022-08-27 21:56:14 +02:00
faisal-alam09
ed54a7be3d
Added a placeholder tab check before creating a new scene.
2022-08-28 01:11:48 +05:30
Aaron Record
4b817a565c
Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGED
2022-08-27 11:52:29 -06:00
bruvzg
da808d4fd3
Fix editor shortcuts overrides overwriting user configured shortcuts.
2022-08-27 20:25:13 +03:00
Rémi Verschelde
6ba932e43d
Merge pull request #64951 from TokageItLab/value-track-optimizer
...
Fix optimizer miscalculation and add optimization for `Animation::ValueTrack`
2022-08-27 18:47:20 +02:00
Silc Renew
787ab45394
Add optimization for Animation::ValueTrack
2022-08-27 22:59:33 +09:00
Rémi Verschelde
f9998455ce
Merge pull request #63249 from V-Sekai/animation_tree_editor_read_only
...
Add read-only mode to AnimationTreeEditor plugins
2022-08-27 08:14:30 +02:00
Josh Jones
3dd59013f4
Added node for Navigation links
2022-08-26 22:05:15 -07:00
Micky
ef5b9a06a9
Rename `hint_tooltip` to `tooltip_text` & setget
...
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
2022-08-27 01:35:01 +02:00
Silc Renew
931fb4dc11
Add linear/cubic angle interpolation to Animation interpolation type
2022-08-27 07:58:22 +09:00
Rémi Verschelde
bd219de7fe
Merge pull request #64928 from YuriSizov/editor-tooltip-or-not-tooltip
...
Remove Inspector tooltip hack that never actually worked
2022-08-26 23:04:50 +02:00
Rémi Verschelde
f9f2446972
Merge pull request #64367 from Mickeon/rename-var-to-str
...
Rename `str2var` to `str_to_var` and similar
2022-08-26 23:04:06 +02:00
Rémi Verschelde
4f60fd0480
Merge pull request #64777 from bruvzg/extend_to_title
...
[macOS] Extend editor contents to the window title bar for better space usage.
2022-08-26 23:03:31 +02:00
Rémi Verschelde
390333e822
Merge pull request #64207 from bruvzg/rcs
...
[macOS export] Simplify code signing options, add support for rcodesign tool for signing and notarization.
2022-08-26 19:16:27 +02:00
Yuri Sizov
6320a0fc18
Add ThemeDB, expose previously static Theme methods
2022-08-26 19:23:05 +03:00
Yuri Sizov
207bdc2b9f
Remove Inspector tooltip hack that never actually worked
2022-08-26 17:22:13 +03:00
Micky
59e11934d8
Rename `str2var` to `str_to_var` and similar
...
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too.
- `var2str` -> `var_to_str`
- `str2var` -> `str_to_var`
- `bytes2var` -> `bytes_to_var`
- `bytes2var_with_objects` -> `bytes_to_var_with_objects`
- `var2bytes` -> `var_to_bytes`
- `var2bytes_with_objects` -> `var_to_bytes_with_objects`
- `linear2db` -> `linear_to_db`
- `db2linear` -> `db_to_linear`
- `deg2rad` -> `deg_to_rad`
- `rad2deg` -> `rad_to_deg`
- `dict2inst` -> `dict_to_inst`
- `inst2dict` -> `inst_to_dict`
2022-08-26 14:58:22 +02:00
bruvzg
bc4ba6cb78
[macOS] Extend editor contents to the window titlebar for better space usage.
2022-08-26 15:12:43 +03:00
bruvzg
d91cb1d5d5
[macOS export] Simplify code signing options, add support for rcodesign tool for signing and notarization.
2022-08-26 14:23:31 +03:00
fabriceci
f8cc88fab3
Restore RigidBody2/3D, SoftBody names in physics
2022-08-26 12:26:25 +02:00
Rémi Verschelde
ac7b5111f5
Merge pull request #64768 from bruvzg/popups_hide_if_visible
2022-08-26 11:59:50 +02:00
Rémi Verschelde
7013c68619
Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0
2022-08-26 11:59:07 +02:00
Rémi Verschelde
7bb92bc040
Merge pull request #62845 from AaronRecord/dont_update_theme_outside_of_tree
...
Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`
2022-08-26 10:37:44 +02:00
Rémi Verschelde
9f48db16c2
Merge pull request #58665 from KoBeWi/run_current_forever
...
Improve scene playing and reloading
2022-08-26 10:36:05 +02:00
Rémi Verschelde
dadebb95aa
Merge pull request #64601 from MinusKube/alternative-tile-popup-bug
...
Fix alternative tile popup menu not being openable
2022-08-26 10:35:43 +02:00
Rémi Verschelde
d93d646723
Merge pull request #64570 from KoBeWi/node 🧳 ing
...
Unify node casing adjustment
2022-08-26 09:49:58 +02:00
Rémi Verschelde
5bf2b3926c
Merge pull request #64879 from TokageItLab/cubic-to-cubicintime
...
Replace `Cubic` to `CubicInTime` in the animation track interpolation type
2022-08-26 09:45:24 +02:00
Rémi Verschelde
cd661d400e
Merge pull request #64566 from Mickeon/rename-particle-material
...
Rename ParticlesMaterial to ParticleProcessMaterial
2022-08-26 07:48:23 +02:00
kobewi
d764278f37
Add drag and drop support to shader list
2022-08-26 03:19:01 +02:00
Micky
723bf85145
Rename ParticlesMaterial to ParticleProcessMaterial
...
Also affects their file names, related classes and documentation.
2022-08-26 02:53:08 +02:00
Rémi Verschelde
9876382df8
Merge pull request #64572 from KoBeWi/forsake_the_names
...
Clear built-in name field when creating new script
2022-08-26 00:06:05 +02:00
Rémi Verschelde
f3c906757c
Merge pull request #64573 from KoBeWi/signal_name_plagiarism
...
Add "Copy Name" option to signal menu
2022-08-26 00:00:44 +02:00
Silc Renew
d96cc7450a
Make Cubic to CubicInTime and reduce items in the track intrp type
2022-08-26 06:49:09 +09:00
Rémi Verschelde
51fcc2927b
Merge pull request #64597 from MinusKube/tileset-disappear-bug
2022-08-25 22:58:34 +02:00
Aaron Record
74eb2a70bd
Refactor and remove excessive calls of `NOTIFICATION_THEME_CHANGED`
2022-08-25 14:50:49 -06:00
kobewi
8328fb56f4
Improve scene playing and reloading
2022-08-25 21:54:25 +02:00
Rémi Verschelde
88145e81e2
Merge pull request #64804 from Mickeon/rename-path-progress
2022-08-25 18:35:48 +02:00
Rémi Verschelde
ceaff612c8
Merge pull request #64824 from Mickeon/rename-polygon-invert
2022-08-25 18:33:58 +02:00
Rémi Verschelde
33bf609d79
Merge pull request #64820 from Chaosus/shader_fix_varyings
2022-08-25 18:02:38 +02:00
SaracenOne
75f1357ced
Add read-only mode to AnimationTreeEditor plugins
2022-08-25 16:29:36 +01:00
Rémi Verschelde
0cf0e96038
Merge pull request #64776 from YuriSizov/import-images-moar-flags
2022-08-25 16:51:26 +02:00
MinusKube
2abccb018e
Fix alternative tile popup menu not being openable
2022-08-25 16:20:56 +02:00
MinusKube
d71b02cd19
Fix tileset image and background sometimes disappearing
2022-08-25 16:18:39 +02:00
Yuri Rubinsky
d4a10e7e04
Allow using integer varyings with `flat` interpolation modifier
2022-08-25 13:21:02 +03:00
Micky
2b063eebee
Add type icons to editor docs' hierarchy
...
The "Inherits" and "Inherited by" section of the docs now display the icon of each Object on the side.
Also scales the main class' icon to match title font
2022-08-25 11:45:05 +02:00
Yuri Rubinsky
1ab7ad323f
Fix input map settings theming
2022-08-25 09:26:20 +03:00
Rémi Verschelde
0a828dbd92
Merge pull request #64270 from timothyqiu/close-keying
...
Fix overlapping keying and remove button in Inspector
2022-08-25 07:53:55 +02:00
Rémi Verschelde
1204ad32d1
Merge pull request #64829 from fabriceci/improve-monitor-contact-api
...
Improves the API for monitoring contacts in RigidDynamicBody
2022-08-25 07:31:06 +02:00
fabriceci
59bf35f3df
Improves the API for monitoring contacts in RigidDynamicBody
2022-08-24 21:23:11 +02:00
Rémi Verschelde
2961651444
Merge pull request #64691 from TokageItLab/Quaternion-editor
2022-08-24 18:36:54 +02:00
Rémi Verschelde
c8c0f21880
Merge pull request #64780 from YuriSizov/editor-color-conversion-map
2022-08-24 16:49:51 +02:00
Silc Renew
673c649adb
Implement Quaternion Editor
2022-08-24 22:04:49 +09:00
Yuri Sizov
c78cbb523f
Extract editor color map and simplify SVG color conversion
2022-08-24 15:59:14 +03:00
Micky
06a8113576
Rename Polygon2D.`invert_enable` to end with "d"
...
Polygon2D.`invert_enable` -> `invert_enabled`
Also affects the setters and getters, which are now named in full instead of cutting "enabled" off.
Updates old leftover documentation slightly, as well.
2022-08-24 13:09:44 +02:00
Rémi Verschelde
b1f392c25e
Remove VisualScript module for 4.0
...
As announced in https://godotengine.org/article/godot-4-will-discontinue-visual-scripting ,
Godot maintainers have agreed to discontinue the current implementation of
our VisualScript language.
The way it had been designed was not user-friendly enough and we did not
succeed in improving its usability to actually make it a good low-code
solution for users who need one.
So we prefer to remove it for Godot 4.0 and leave the door open for new,
innovative ideas around visual scripting, to be developed as plugins or
extensions now that Godot provides sufficient functionality for this
(notably via GDExtension and the godot-cpp C++ bindings).
The current module has been moved to a dedicated repository (with full Git
history extracted with `git filter-branch`):
https://github.com/godotengine/godot-visual-script
It can still be compiled as a C++ module (for now, but will likely require
work to be kept in sync with the engine repository), but our hope is that
contributors will port it to GDExtension (which is quite compatibile with
the existing C++ module code when using the godot-cpp C++ bindings).
2022-08-24 12:08:17 +02:00
Rémi Verschelde
792f7cc28c
Merge pull request #63282 from V-Sekai/disable_foreign_resource_edits
...
Disable editing properties in foreign resources
2022-08-24 08:54:05 +02:00
Rémi Verschelde
7055200bb0
Merge pull request #64730 from AlexHCC/fix-ruler-drawing-order
...
Fix ruler lines rendering on top of text
2022-08-24 08:53:16 +02:00
Rémi Verschelde
b556d8c9a0
Merge pull request #64370 from Mickeon/rename-marker-node
...
Rename Position* nodes to Marker*
2022-08-24 08:52:13 +02:00
Rémi Verschelde
91e5f48ea7
Merge pull request #64009 from KoBeWi/arrayy_lmao
...
Replace Array return types with TypedArray (part 2)
2022-08-24 08:18:56 +02:00
Micky
bb936b2e27
Rename PathFollow's `offset`s to `progress` & `progress_ratio`
...
Applies for both PathFollow2D and PathFollow3D
2022-08-24 01:56:03 +02:00
SaracenOne
dd814a0dca
Disable editing properties in foreign resources
...
from imported scenes or objects returning
true from a function named '_is_read_only' and
disable resaving imported resources.
2022-08-23 23:16:13 +01:00
kobewi
1abdffe7a0
Replace Array return types with TypedArray 2
2022-08-23 23:21:32 +02:00
AlexHCC
db227f85e8
Fix ruler lines rendering on top of text
2022-08-24 00:00:56 +03:00
Rémi Verschelde
34aa6b06a7
Merge pull request #64721 from bruvzg/fix_prop_revet_ext
2022-08-23 21:37:52 +02:00
Rémi Verschelde
fc0b6abe52
Merge pull request #64617 from Mickeon/editor-restore-mesh-drop
2022-08-23 20:49:30 +02:00
Micky
8bb305356e
Rename Position* nodes to Marker*
...
- Position2D -> Marker2D
- Position3D -> Marker3D
Also changes their respective file names.
2022-08-23 19:49:50 +02:00
Rémi Verschelde
6277448f42
Merge pull request #64647 from TokageItLab/auto-tangent
2022-08-23 18:17:15 +02:00
Rémi Verschelde
1190fbdf2b
Merge pull request #64733 from Mickeon/try-editor-warning-spacing
2022-08-23 18:16:26 +02:00
Rémi Verschelde
5c5bc21195
Merge pull request #63854 from TokageItLab/auto-bone-mapping
2022-08-23 18:16:15 +02:00
Yuri Sizov
ba0421f3d9
Merge pull request #64637 from Calinou/default-project-icon-use-svg
...
Create a SVG default project icon in new projects
2022-08-23 17:52:32 +03:00
Yuri Sizov
70ceba2910
Merge pull request #54278 from Calinou/editor-tweak-editor-curve-preset-icon-colors
...
Tweak curve preset icon colors for easier visual grepping
2022-08-23 15:42:38 +03:00
Yuri Sizov
fe0c216bc7
Merge pull request #64587 from Calinou/editor-environment-defaults-decrease-shadow-max-distance
...
Decrease editor shadow maximum distance to match DirectionalLight3D default
2022-08-23 15:36:35 +03:00
Yuri Sizov
249517f132
Merge pull request #61493 from Calinou/editor-align-transform-rotate-decal
...
Rotate Decal nodes when using Align Transform/Rotation With View
2022-08-23 15:34:04 +03:00
bruvzg
56101080cc
[GDExtension] Fix `_property_can_revert` and `_property_get_revert` methods using incorrect string type.
2022-08-23 14:58:28 +03:00
Yuri Sizov
672e9d6868
Make `ImageLoader` take bit field flags
2022-08-23 14:39:01 +03:00
Silc Renew
9327296e73
Add bezier preset and refactor bezier editor
...
Co-authored-by: Razoric480 <razoric480@gmail.com>
2022-08-23 19:14:03 +09:00
Micky
d5f44bffe6
Add spacing after newline on editor warning tooltip
2022-08-23 10:56:38 +02:00
Silc Renew
c7e4eeb8a4
Add simple auto mapping to BoneMapper
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2022-08-23 16:43:33 +09:00
bruvzg
cd095ab64a
Hide MenuButton / OptionButton popup on click if it's already visible.
2022-08-23 10:38:51 +03:00
Rémi Verschelde
b9919fd87d
Merge pull request #64678 from TokageItLab/implement-ease-baker
...
Fix Quaternion Tween and add Easing baker to AnimationTrackEditor
2022-08-23 09:19:21 +02:00
Rémi Verschelde
09d73352fc
Merge pull request #64015 from TokageItLab/add-motion-scale-adjustment
...
Add motion scale base height adjustment to RestFixer
2022-08-23 08:53:29 +02:00
Rémi Verschelde
62c3e72b6f
Merge pull request #63959 from KoBeWi/typo_arrray
...
Replace Array return types with TypedArray (part 1)
2022-08-23 08:52:13 +02:00
bruvzg
bcc3643989
Add font LCD sub-pixel anti-aliasing support.
2022-08-23 08:47:21 +03:00
Rémi Verschelde
745e80fa8d
Merge pull request #58377 from MrBBBaiXue/type-filter
...
Add a way to filter nodes by type in scene tree dock.
2022-08-22 23:34:03 +02:00
Silc Renew
255ebe1137
add motion scale adjustment
2022-08-23 05:55:33 +09:00
kobewi
8be27dc59e
Replace Array return types with TypedArray
2022-08-22 22:42:36 +02:00
Rémi Verschelde
b8a64313f0
Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDO
2022-08-22 22:37:33 +02:00
Rémi Verschelde
5a2dde51c0
Merge pull request #63662 from TokageItLab/fix-silhouetter-for-rotated-skel
2022-08-22 22:28:33 +02:00
Rémi Verschelde
baabad30f1
Merge pull request #64586 from KoBeWi/no_editing_allowed 🚫
2022-08-22 22:20:51 +02:00
Rémi Verschelde
7c85c4a27e
Merge pull request #64374 from RandomShaper/inheritable_cl_args
2022-08-22 21:48:28 +02:00
Rémi Verschelde
85cb22bd91
Merge pull request #64593 from aaronfranke/editor-restart
2022-08-22 21:44:50 +02:00
Rémi Verschelde
5bc8702855
Merge pull request #64132 from TokageItLab/fix-optimizer
2022-08-22 20:39:06 +02:00
Rémi Verschelde
1fbf7b1ba5
Merge pull request #64610 from reduz/startup-benchmark-support
2022-08-22 19:36:03 +02:00
kobewi
ece3df3938
Add per-scene UndoRedo
2022-08-22 18:05:10 +02:00
Rémi Verschelde
43ff5dd890
Merge pull request #64642 from aaronfranke/mesh-cleanup
2022-08-22 17:36:33 +02:00
Rémi Verschelde
944bfc6d00
Merge pull request #63602 from TokageItLab/cubic-interp-time
2022-08-22 17:32:47 +02:00
Rémi Verschelde
af76fb4567
Merge pull request #63486 from TokageItLab/init-poses
2022-08-22 17:32:02 +02:00
Rémi Verschelde
d9c2fd9aaa
Merge pull request #64462 from and3rson/convert3to4-fix-connect-args
2022-08-22 17:28:25 +02:00
Silc Renew
f7dd83ce60
Fix Quaternion Tween and implement ease baker
2022-08-22 19:04:58 +09:00
Aaron Franke
8893b2bdb4
Clean up mesh include code and comments
2022-08-20 13:24:40 -05:00
Umang Kalra
7ef5dfcfc3
Changed the title of change node type dialog
2022-08-20 22:53:07 +05:30
Micky
6aa4c9c77a
Restore ability to drag 'n' drop Mesh to Viewport
2022-08-20 16:39:44 +02:00
Andrew Dunai
f00cf3ff11
3to4: Fix handling of arrays in connect() and JSON alignment
2022-08-20 13:57:49 +03:00
Hugo Locurcio
7849331ec5
Create a SVG default project icon in new projects
...
This allows the icon's scale to be changed using the `svg/scale`
import option, including to scales greater than the default 128×128.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-08-20 01:01:11 +02:00
Max Hilbrunner
79717dcb46
Merge pull request #64170 from YuriSizov/docs-annotations-in-technicolor
...
Add documentation for all annotations
2022-08-20 00:57:01 +02:00
Yuri Sizov
469c18152f
Merge pull request #64592 from mhilbrunner/move-fast-break-things
...
Unexpose VelocityTracker3D
2022-08-19 20:43:02 +03:00
Yuri Sizov
7895a66cf2
Merge pull request #64334 from YuriSizov/core-bind-property-revert-methods
...
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-19 20:41:41 +03:00
Juan Linietsky
a3936adb29
Add Startup benchmarking support
...
This adds support for benchmarking engine startup (and editor startup if used).
The goal is to use this in the benchmarking server to track improvements and changes to engine, editor, importer and scene loading startup times.
2022-08-19 14:21:43 +02:00
Yuri Sizov
a0995182fe
Add documentation for all annotations
2022-08-19 15:06:39 +03:00
Pedro J. Estébanez
e886d662ec
Overhaul CLI argument forwarding to processes started by the editor
2022-08-19 11:15:56 +02:00
Silc Renew
dded7c72c1
Make `cubic_interpolate()` consider key time in animation
2022-08-19 14:48:37 +09:00
Max Hilbrunner
da567cb1f9
Unexpose VelocityTracker3D
2022-08-19 02:28:24 +02:00
Aaron Franke
92f5a0a1db
Add a method for restarting the editor to EditorInterface
2022-08-18 18:51:38 -05:00
Yuri Sizov
0d95b8bff2
Merge pull request #59045 from Calinou/editor-theme-popup-no-rounded-corners
...
Don't use rounded corners for PopupMenus in the editor theme
2022-08-19 02:42:17 +03:00
Max Hilbrunner
420a8c888e
Merge pull request #63950 from bruvzg/menu_bar3
...
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-19 01:24:24 +02:00
Yuri Sizov
480586899a
Merge pull request #63358 from YuriSizov/control-simplify-enhance-toolbar
...
Improve editor toolbar for `Control` nodes
2022-08-19 00:46:46 +03:00
Hugo Locurcio
ce8b402f3a
Don't use rounded corners for PopupMenus in the editor theme
...
PopupMenus use separate windows by default in the editor, and windows
no longer support per-pixel transparency for now in 4.0.
Even if per-pixel transparency was reimplemented, we can't assume
that it'll always work in practice (e.g. when compositing is disabled).
2022-08-18 22:17:55 +02:00
Clay John
d60db2dba8
Merge pull request #64468 from aaronfranke/editor-prop-visual-shader-mode
...
Rename `EditorPropertyShaderMode` to `EditorPropertyVisualShaderMode`
2022-08-18 14:14:12 -06:00
Clay John
ca7437042e
Merge pull request #64470 from aaronfranke/shader-cd-st-enum
...
Move `ShaderCreateDialog`'s `ShaderType` enum out of the header
2022-08-18 14:11:45 -06:00
Yuri Sizov
e392746da5
Merge pull request #64357 from Mickeon/rename-plugin-container
...
Rename EditorPlugin.`*_PROPERTY_EDITOR_*` to `*_INSPECTOR_*`
2022-08-18 23:01:16 +03:00
Hugo Locurcio
693b933b7f
Decrease editor shadow maximum distance to match DirectionalLight3D default
...
This improves shadow texel density, leading to improved visual quality
(and higher performance in large scenes, as fewer objects will be
included in the shadow map).
2022-08-18 21:58:55 +02:00
kobewi
ccb1720cb3
Make Debugger/Misc LineEdits uneditable
2022-08-18 21:34:12 +02:00
Yuri Sizov
d6090174b3
Merge pull request #58059 from Calinou/tweak-default-project-icon-2
...
Tweak the default project icon
2022-08-18 22:31:39 +03:00
bruvzg
8c56a7416b
Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native menu for editor.
2022-08-18 22:25:44 +03:00
Yuri Sizov
9bb6cc591c
Merge pull request #62298 from Diddykonga/select_current_save
...
[Editor]: Allow `Select Current` to Save Scenes
2022-08-18 22:11:22 +03:00
kobewi
ebecd148fe
Add "Copy Name" option to signal menu
2022-08-18 16:09:21 +02:00
kobewi
129d638805
Clear built-in name field when creating new script
2022-08-18 15:58:08 +02:00
kobewi
fdab23163f
Unify node casing adjustment
2022-08-18 14:08:40 +02:00
Silc Renew
b27fe6452d
add init bone poses
2022-08-18 18:41:37 +09:00
Nong Van Tinh
b9ab4b372f
Fixed inspector resource preview shows up with incorrect size
2022-08-18 09:20:00 +07:00
Silc Renew
582c760c96
Add apply node transforms option to rest fixer
2022-08-18 08:15:52 +09:00
Yuri Sizov
980f5f32f4
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-18 00:03:53 +03:00
Yuri Sizov
7a60cc7737
Improve editor toolbar for Control nodes
2022-08-16 17:36:16 +03:00
Yuri Sizov
2e24b76535
Merge pull request #52212 from thenegativehunter2/master_texture_array_normal_added
...
Add an import option to force TextureArrays as normal maps for RGTC Compression(redo)
2022-08-16 16:23:35 +03:00
Aaron Franke
a165d4dd72
Move ShaderCreateDialog's ShaderType enum out of the header
2022-08-15 15:08:50 -05:00
Aaron Franke
4396f03b70
Rename EditorPropertyShaderMode to EditorPropertyVisualShaderMode
2022-08-15 14:39:53 -05:00
Clay John
4dbb6ecc21
Merge pull request #64128 from and3rson/convert3to4-fixes-3
...
Add conversion for instance(), set_shader_param() and node path literals
2022-08-15 09:49:29 -06:00
Rémi Verschelde
9145420a65
Merge pull request #63872 from Chaosus/shader_branch_color
...
Implement coloring for disabled branches in the shader editor
2022-08-15 12:16:15 +02:00
Fredia Huya-Kouadio
5a8d786ef9
Merge pull request #63122 from m4gr3d/split_can_export_main
...
Refactor the export checking logic to improve separation of concerns
2022-08-14 19:26:22 -07:00
Fredia Huya-Kouadio
45c7377556
Refactor the export checking logic to improve separation of concerns
2022-08-14 09:12:04 -07:00
Yuri Rubinsky
22df2c527b
Implement coloring for disabled branches in the shader editor
2022-08-14 13:57:26 +03:00
Haoyu Qiu
d5a559abc2
Fix crash when loading Animation Library after reloading a scene
2022-08-14 18:50:42 +08:00
Micky
55dff09e93
Rename EditorPlugin.`*_PROPERTY_EDITOR_*` to `*_INSPECTOR_*`
...
The name "Inspector" has been adopted for years and is thus more familiar.
2022-08-13 12:59:03 +02:00
Hendrik Brucker
e96b1a2c0c
Implement MSAA for 2D [Vulkan only]
2022-08-13 01:09:48 +02:00
Clay John
368446de55
Merge pull request #63582 from KoBeWi/power_shader
...
Improvements to shader editor
2022-08-11 12:45:33 -06:00
Yuri Sizov
ad247899ab
Merge pull request #64271 from KoBeWi/get_no_color
...
Optimize theme usage in editor log
2022-08-11 18:52:17 +03:00
kobewi
e06cd2742f
Add missing properties to default theme
2022-08-11 14:15:04 +02:00
kobewi
be0de927c7
Optimize theme usage in editor log
2022-08-11 12:48:43 +02:00
Haoyu Qiu
3369d090d9
Fix overlapping keying and remove button in Inspector
2022-08-11 18:00:34 +08:00
Guilherme Felipe de C. G. da Silva
15b5bc88e2
Re-add AnimationNodeStateMachine::end_node for root state machine
...
Fix #63660
2022-08-10 19:29:53 -03:00
Xwdit
39469fdd58
Fix document display in inspector for properties
2022-08-10 23:11:24 +02:00
Rémi Verschelde
11abffbf12
Merge pull request #64215 from Calinou/editor-allow-numpad-zoom-shortcuts
2022-08-10 16:31:57 +02:00
Rémi Verschelde
cf95056c91
Merge pull request #63245 from V-Sekai/animation_editor_read_only
2022-08-10 15:26:21 +02:00
Hugo Locurcio
ccf088b40b
Allow using numpad for zoom shortcuts in the 2D/code editors
...
This behavior is consistent with GIMP.
2022-08-10 15:07:47 +02:00
Rémi Verschelde
15f918a111
Merge pull request #62925 from aaronfranke/pck-export
2022-08-10 14:09:42 +02:00
Aaron Franke
8d81ce9561
Allow exporting PCK files without export templates installed
2022-08-09 13:08:58 -05:00
Aaron Franke
28d1bc34d7
Remove duplicate data structure for export features
2022-08-09 13:02:56 -05:00
MrBBBaiXue
296640ab8f
Add a way to filter nodes by type.
...
Add a way to filter nodes by type.
Usage: type:NodeType or t:NodeType
Co-Authored-By: Haoyu Qiu <timothyqiu@users.noreply.github.com>
2022-08-10 00:48:11 +08:00
Andrew Dunai
8ec0b22adf
Update editor/project_converter_3_to_4.cpp
...
Co-authored-by: FireForge <67974470+fire-forge@users.noreply.github.com>
2022-08-09 13:01:18 +03:00
Silc Renew
f70dfec535
improve animation track optimizer algorithm
2022-08-09 09:18:45 +09:00
Andrew Dunai
2d52b706e1
Add conversion for instance(), set_shader_param() and node path literals
2022-08-09 00:08:46 +03:00
Rémi Verschelde
682dbe5d00
Merge pull request #64008 from YuriSizov/doctool-add-param-reference-syntax
2022-08-08 22:50:35 +02:00
Rémi Verschelde
d9d5990c51
Merge pull request #64034 from DarkKilauea/fix-nav-region-gizmo
2022-08-08 22:37:00 +02:00
Yuri Sizov
c5d7115038
Rename the argument tag to param in XML documentation
2022-08-08 22:34:31 +03:00
Yuri Sizov
35c1eae8d7
Add support for [param foo] syntax in valid documentation contexts
2022-08-08 22:18:38 +03:00
Rémi Verschelde
bc3ab0aaa8
Merge pull request #64004 from YuriSizov/doctool-fail-on-unnamed-args
...
Add checks and tests for empty/unnamed arguments
2022-08-08 19:15:07 +02:00
Rémi Verschelde
68cffc5931
Merge pull request #64104 from and3rson/convert3to4-fixes-2
2022-08-08 17:45:09 +02:00
Rémi Verschelde
660828e771
Merge pull request #63253 from V-Sekai/disable_sprite_conversion_on_foreign_nodes
2022-08-08 16:27:38 +02:00
Rémi Verschelde
db523dd400
Merge pull request #63518 from timothyqiu/window-toggle
2022-08-08 16:13:30 +02:00
Yuri Sizov
1362bc22bd
Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript
2022-08-08 16:36:01 +03:00
Rémi Verschelde
5d69dd1631
Merge pull request #63173 from fire-forge/layers-grid
2022-08-08 15:30:51 +02:00
Andrew Dunai
b12cb61eda
Add conversions for tweens, fix move_and_slide/start/await conversions
2022-08-08 15:42:52 +03:00
Rémi Verschelde
6d94465f3c
Merge pull request #62868 from fire-forge/array-resize-size
...
Use a SpinBox in the inspector array resize dialog
2022-08-08 12:53:55 +02:00
Rémi Verschelde
76391a091e
Merge pull request #64070 from Calinou/3d-editor-remove-alt-fov-adjustment
2022-08-08 11:59:17 +02:00
Rémi Verschelde
bc81c02fe1
Merge pull request #62571 from Calinou/gpuparticlescollisionsdf3d-add-bake-mask
2022-08-08 10:18:11 +02:00
Rémi Verschelde
335b51be70
Merge pull request #64050 from pulawskig/master
2022-08-08 09:00:13 +02:00
kingoftheconnors
5042e077c2
Change import animation error to "animation nodes"
2022-08-07 17:32:59 -04:00
Hugo Locurcio
4f233300b6
Remove FOV adjustment with Alt + mouse wheel in the 3D editor
...
This shortcut got in the way when using the Maya navigation scheme,
and also when using the slow freelook modifier (regardless of
navigation scheme).
2022-08-07 19:45:54 +02:00
Rémi Verschelde
f754dd20be
Merge pull request #62454 from Geometror/reflect-refract-vec2-vec4
...
Allow for vec2/vec4 to be used in reflect and refract
2022-08-07 19:16:05 +02:00
Hendrik Brucker
b8d5f4bdd5
Allow vec2 and vec4 for reflect and refract
2022-08-07 18:03:16 +02:00
Rémi Verschelde
f3a76f63c6
Merge pull request #62089 from Step-an/add_drag_and_drop_to_EditorPropertyPath
2022-08-07 16:00:46 +02:00
Rémi Verschelde
4d74d9fe8c
Merge pull request #58494 from rcorre/recent-projects
2022-08-07 15:51:15 +02:00
Grzegorz Puławski
ba58491ca7
Fix axis snapping of CollisionPolygon2d's newly created vertex
2022-08-07 15:10:28 +02:00
Ryan Roden-Corrent
366871a3ff
Migrate project list to separate config file.
...
Storing the project/favorites list in the EditorSettings makes it
difficult to version-control your editor configuration, as the file will
continually change as you open new projects. It also means a
configuration can't be shared across machines, as they might not have
the same projects or file layout.
Now the project list is stored in $godot_data_dir/projects.cfg.
Each path is a section, which has a boolean favorite value.
If the new config does not exist, the editor attempts to migrate legacy
EditorSettings-based configuration to the new file.
Fixes godotengine/godot-proposals#1637 .
2022-08-07 07:46:52 -04:00
Josh Jones
92c40bcf32
Fix NavigationRegion3D gizmo's odd visual behavior
2022-08-06 23:54:57 -07:00
kleonc
25ce459fc5
`FileSystemDock` Fix crash when renaming a file in split mode
2022-08-07 02:47:02 +02:00
Rémi Verschelde
8f033f1d19
Merge pull request #60299 from Calinou/editor-vram-compress-pc-improve-warning
2022-08-06 23:43:06 +02:00
Hendrik Brucker
ade7cb6982
Add "Make Unique (Recursive)" to resource picker, simplify "Make Unique"
2022-08-06 21:08:22 +02:00
Rémi Verschelde
21f6916ffc
Merge pull request #60843 from hoontee/CSG3
...
Add `TorusMesh`
2022-08-06 21:01:51 +02:00
Rémi Verschelde
d8ec27cdc1
Merge pull request #63985 from raulsntos/convert-rpc-attribute-csharp
...
RPC improvements to the conversion tool
2022-08-06 16:44:39 +02:00
Raul Santos
775b9ee889
Add conversion for the RPC attributes in C#
2022-08-06 15:56:46 +02:00
Raul Santos
6b56474911
Add conversion for `sync` and `slave` GDScript keywords
2022-08-06 15:56:46 +02:00
Rémi Verschelde
77d3ac700d
Merge pull request #63712 from object71/fix-export-issues
2022-08-06 14:27:17 +02:00
Rémi Verschelde
c80540f9a2
Merge pull request #63700 from YeldhamDev/no_methods_to_filter_pal
...
Hide method filter bar when selecting a doc in the Script editor
2022-08-06 00:39:30 +02:00
Rémi Verschelde
e1809f5667
Merge pull request #63704 from fire-forge/no-code
...
Fix EditorPropertyMultilineText expression mode
2022-08-06 00:32:22 +02:00
Rémi Verschelde
d100c2d59f
Merge pull request #63776 from fire-forge/shapecast2d
...
Add ShapeCast2D editor handle and improve debug drawing
2022-08-06 00:27:41 +02:00
Rémi Verschelde
bd833f8e06
Merge pull request #63871 from bruvzg/ts_build_options
...
Add Text Server related options to the build profiles editor.
2022-08-06 00:23:41 +02:00
Rémi Verschelde
10f9f20849
Merge pull request #63887 from qarmin/more_renames
...
Various converter enhancements and bugfixes
2022-08-06 00:21:24 +02:00
Rémi Verschelde
99aa97949f
Merge pull request #63958 from hakro/fix-control-animation-keys
...
Remove rect_ prefix from control properties when keyframing
2022-08-06 00:17:37 +02:00
Yuri Sizov
bd5ad943b4
Rebuild the trees in the EditorFeatureProfile dialog when the editor theme changes
2022-08-05 19:17:58 +03:00
Hakim
60677c4e95
Remove rect_ prefix from control properties when keyframing
2022-08-05 16:04:51 +02:00
Hugo Locurcio
3dab891691
Tweak PopupMenu item spacing in the editor theme
...
- Increase spacing between items for easier clicking with the mouse.
- Increase lateral margins for better visual appearance.
- Decrease margin at the top and bottom to compensate for the increased
per-item height.
2022-08-05 11:29:12 +02:00
Rémi Verschelde
97db538352
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 4e64c1f1b6
)
2022-08-05 03:32:15 +02:00
Hugo Locurcio
db22b7ded0
Rename shader parameter uniform setter/getter methods for consistency
...
`shader_uniform` is now consistenly used across both per-shader
and per-instance shader uniform methods. This makes methods easier
to find in the class reference when looking for them.
2022-08-04 23:17:06 +02:00
Rémi Verschelde
80193260ff
Merge pull request #63915 from YuriSizov/editor-theme-type-is-wideboi
2022-08-04 21:41:03 +02:00
hoontee
21b9b117be
Add `TorusMesh`
2022-08-04 13:45:54 -05:00
Yuri Sizov
ebcfd13c30
Add text overrun behavior for the theme type selector
2022-08-04 19:07:10 +03:00
Ricardo Buring
4a59188898
Fixup array property inspector
2022-08-04 16:21:09 +02:00
Rémi Verschelde
3085d0f03c
Merge pull request #62572 from Calinou/editor-node-warnings-multiple-icons
...
Distinguish multiple node configuration warnings in the scene tree dock
2022-08-04 09:20:48 +02:00
Rémi Verschelde
a1d4cf6898
Merge pull request #63894 from fire-forge/add-metadata-button
...
Add spacing above the "Add Metadata" button
2022-08-04 09:06:18 +02:00
Hugo Locurcio
d86bb3819e
Add editor icons for all AudioStream resources
2022-08-04 02:29:15 +02:00
Hugo Locurcio
393cf40922
Distinguish multiple node configuration warnings in the scene tree dock
...
A number of dots is present next to the node configuration icon
warning when there is more than 1 warning.
Co-authored-by: Hendrik Brucker <hendrik.brucker@mail.de>
2022-08-04 02:20:11 +02:00
Rafał Mikrut
3d3fce0d3c
Various converter enhancements and bugfixes
2022-08-03 22:28:51 +02:00
Hristo Stamenov
0e1f7e9f89
Removed faulty function update after get_property_list.
...
The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
2022-08-03 21:45:16 +03:00
Rémi Verschelde
ea4b8de2b4
Merge pull request #63877 from YeldhamDev/check_theme_fix
...
Fix text position when hovering pressed `CheckButton/Box` elements in the editor
2022-08-03 18:35:09 +02:00
Rémi Verschelde
2d372d9e10
Merge pull request #56442 from PucklaMotzer09/remap_files_moved
2022-08-03 16:57:26 +02:00
Rémi Verschelde
38cf9b4b8e
Merge pull request #63867 from Calinou/editor-rename-visual-shader-setting
2022-08-03 16:57:08 +02:00
Michael Alexsander
1bd9efae36
Fix text position when hovering pressed `CheckButton/Box` elements in the editor
2022-08-03 11:08:30 -03:00
Rémi Verschelde
9b742f8d82
Merge pull request #48561 from Calinou/editor-theme-selected-tab-border-lineup
2022-08-03 14:30:42 +02:00
bruvzg
066ca97690
Add Text Server related options to the build profiles editor.
...
Adds SCons options to disable Brotli and Graphite.
Adds option categories to the build profiles editor.
Adds options default state to the build profiles editor.
Adds Text Server related options to the build profiles editor.
Fix misplaced OpenGL/Vulkan SCons options.
2022-08-03 15:06:43 +03:00
PucklaMotzer09
b32b570d7a
Show dependency warning when removing remaps and fallback if translation
...
remap does not exist
2022-08-03 12:31:29 +02:00
Hugo Locurcio
ecefb5505a
Rename visual shader editor setting category for proper capitalization
2022-08-03 11:38:29 +02:00
Rémi Verschelde
39a794b1d5
Merge pull request #63266 from reduz/cleanup-array-editing
2022-08-03 11:37:55 +02:00
Hugo Locurcio
dc0ac50f45
Visually line up the selected tab with the underlying panel with borders
2022-08-03 11:01:33 +02:00
Hugo Locurcio
813bfe00f3
Don't replace RootMotionView with Node in a running project
...
This behavior was inconsistent with other editor-only nodes such as
Position3D, Position2D and ReferenceRect. It also caused issues when
a script extended RootMotionView as it ceased to work when the project
was run.
2022-08-03 02:48:02 +02:00
FireForge
3200f196da
Add 4px of spacing above the "Add Metadata" button
2022-08-02 17:39:08 -05:00
reduz
0351a0908f
Clean-up array editing
2022-08-02 23:36:02 +02:00
Pavel Pletnev
770cd6764e
Fix editing of remote objects in the inspector
2022-08-02 23:15:03 +03:00
Rémi Verschelde
515552860b
Merge pull request #63597 from paddy-exe/spatial-shader-built-ins
...
Add often used built-ins (camera-pos, object-pos, camera-eye etc.) to spatial shaders
2022-08-02 19:20:19 +02:00
Rémi Verschelde
c67febb008
Merge pull request #63830 from KoBeWi/regEX
...
Add static method for creating RegEx
2022-08-02 18:16:04 +02:00
Patrick Exner
fe5901310e
Add spatial built-ins (camera-pos, object-pos, camera-eye etc.)
2022-08-02 17:30:41 +02:00
Rémi Verschelde
47be80905c
Merge pull request #63825 from fire-forge/bpm
2022-08-02 16:26:23 +02:00
kobewi
61a2cb65b1
Add static method for creating RegEx
2022-08-02 15:56:46 +02:00
Rémi Verschelde
0f9e84feab
Merge pull request #50614 from foxydevloper/clarify-group-tooltip
...
Improve tooltips for grouping/ungrouping nodes
2022-08-02 15:56:27 +02:00
FireForge
9f537f58a8
Add capitalization for "BPM"
2022-08-02 08:35:29 -05:00
PucklaMotzer09
0f9086e131
Update remaps in "file_removed" signal
2022-08-02 12:40:11 +02:00
PucklaMotzer09
e6b0496415
Show that resources of remaps can not be found
2022-08-02 12:38:37 +02:00
PucklaMotzer09
897d02e2a0
Change translation remaps if files are moved
2022-08-02 12:36:40 +02:00
Alfred R. Baudisch
eaaedb24a3
Display sub-plugins when Stay in Script Editor is On
...
Currently, with stay_in_script_editor_on_node_selected as On, inspector_only is forcibly set, and no editors from the node selected are displayed.
With this change, if the selected Node has a Main Editor, it's still not shown (the intended behaviour of the feature), but the sub-editors are shown, this correctly opens the AnimationPlayerEditor plugin and other sub-plugins.
Fixes and closes #63621 .
2022-08-02 09:51:44 +02:00
Rémi Verschelde
b2daf9afc8
Merge pull request #63806 from DarkMessiah/guidelines-appearance-bug
2022-08-02 08:22:43 +02:00
Stanislav Labzyuk
44ce838192
Fix guidelines appearance
2022-08-02 12:38:23 +07:00
Yuri Sizov
86798d36db
Remove `CustomPropertyEditor` completely
2022-08-01 22:57:05 +03:00
Hugo Locurcio
6059a9b624
Improve easing inspector usability
...
- Add `positive_only` property hint to disallow using negative presets.
These values are clamped in several places in the editor already,
so this avoids displaying presets that don't work.
- Move the Zero preset at the end of the positive list to match
the custom property editor. It's also used less often than Linear,
Ease In and Ease Out.
- Rename presets to be consistent between the easing property editor
and custom property editor.
- Remove unused `inout` hint which was redundant since it was already
the default.
2022-08-01 18:40:04 +02:00
Yuri Sizov
1c9ba5ef3e
Remove excessive `editor/property_editor.h` includes
2022-08-01 17:19:11 +03:00
FireForge
7cfa9ae539
Improve ShapeCast2D editor and debug drawing
...
- Rename RayCast2DEditorPlugin to Cast2DEditorPlugin and make it also support editing ShapeCast2D.
- Apply RayCast2D debug drawing improvements from #46675 to ShapeCast2D.
2022-07-31 17:47:36 -05:00
Rémi Verschelde
f04004b24c
Merge pull request #55450 from Calinou/script-editor-improve-light-theme-syntax-colors
2022-08-01 00:08:25 +02:00
Rémi Verschelde
6c5330154e
Merge pull request #63429 from RandomShaper/indicate_overridden
2022-07-31 23:54:38 +02:00
Rémi Verschelde
a50d232015
Merge pull request #49045 from foxydevloper/hide-custom-settings-non-advanced
2022-07-31 23:53:58 +02:00
Rémi Verschelde
f2791a75b3
Merge pull request #56063 from KoBeWi/dragging_nodes_over_wifi
2022-07-31 23:52:54 +02:00
Rémi Verschelde
8ad80f0547
Merge pull request #63737 from YuriSizov/editorresourceconversionpluginactomy
2022-07-31 23:52:38 +02:00
Rémi Verschelde
e2307dc76a
Merge pull request #63741 from MinusKube/script-editor-members-bug
...
Find a better solution for the script editor member list sometimes not being updated
2022-07-31 23:51:36 +02:00
Hugo Locurcio
0a24d40836
Improve script editor's light theme syntax colors for better readability
...
New colors were hand-picked to have a better contrast rate,
while still following the general coloring of the previous light theme.
This improves the light theme's accessibility, especially in outdoor
environments with direct sunlight.
2022-07-31 23:40:48 +02:00
Rémi Verschelde
214d0b20b0
Merge pull request #62936 from Xwdit/script_doc_inspector_property
2022-07-31 22:28:05 +02:00
MinusKube
7d9a5d79e6
Find a better solution for the script editor member list sometimes not being updated
2022-07-31 21:43:11 +02:00
Yuri Sizov
9f55bd971e
Extract EditorResourceConversionPlugin into its own source files and clean up editor includes
2022-07-31 21:14:15 +03:00
kobewi
64d133747b
Add node path drag from remote tree
2022-07-31 18:24:56 +02:00
foxydevloper
1ff9a09e2c
Improve tooltips for grouping/ungrouping nodes
2022-07-31 10:56:32 -04:00
fox
41cc9f9a43
Hide altering custom properties in basic mode
...
Hides the row for adding and removing custom properties from showing up
when advanced mode is disabled.
2022-07-31 10:38:44 -04:00
Sean Kim
f1ba63e092
Fix EditorSettings crashes due to nullptr dereference
...
Fixes #45979
Noted a few places in this file that would have similar errors, so any
access to the EditorSettings singleton has had a check added.
2022-07-31 13:01:38 +02:00
Rémi Verschelde
66d1bb84c3
Merge pull request #63697 from YeldhamDev/script_elements_fix
...
Fix elements not being shown on first selected script/doc
2022-07-31 01:14:57 +02:00
Michael Alexsander
c86cceb423
Hide method filter bar when selecting a doc in the Script editor
2022-07-30 20:07:46 -03:00
Michael Alexsander
c9fe780239
Fix elements not being shown on first selected script/doc
2022-07-30 19:33:58 -03:00
Rémi Verschelde
a32f84dda9
Merge pull request #63690 from snailrhymer/rotation-snap-fix
...
Fix default values for rotation snapping in canvas_item_editor_plugin.cpp
2022-07-31 00:20:07 +02:00
Rémi Verschelde
a2c60fbc2b
Merge pull request #48948 from likeich/cleanup_binds
...
Remove unused bindings in ProjectManager
2022-07-31 00:09:09 +02:00
Rémi Verschelde
6e8f8c0409
Merge pull request #52025 from Calinou/open-in-new-inspector-use-packedstringarray
...
Use a PackedStringArray for the "open in new inspector" editor setting
2022-07-31 00:08:06 +02:00
SnailRhymer
0ac971c0d3
Fix default values for rotation snapping in canvas_item_editor_plugin.cpp
...
Default values for snap_rotation_step and snap_rotation_offset were transposed. Swap them back.
2022-07-30 20:05:24 +01:00
Hugo Locurcio
4b478c2854
Use a PackedStringArray for the "open in new inspector" editor setting
...
This is safer and provides a more convenient array editor for users.
2022-07-30 21:00:22 +02:00
Rémi Verschelde
cca072aa86
Merge pull request #63679 from PrecisionRender/master
...
Fix `ShapeCast3D` creating runtime shape in editor
2022-07-30 18:22:52 +02:00
PrecisionRender
2f46749f4e
Fix `ShapeCast3D` creating runtime shape in editor
2022-07-30 10:21:53 -05:00
Pedro J. Estébanez
4a127cb5fe
Improve usability of non-default values in the property inspector
...
- Provide a visual indication that a (sub)group contains non-default (revertable) values when it's collapsed.
- Add a new option to the inspector's tools menu for expanding only (sub)groups containing properties with non-default values.
2022-07-30 15:25:45 +02:00
Kyle
0269465021
Remove unused bindings in ProjectManager
...
They were left over after changes to master made them obsolete.
2022-07-30 11:53:56 +02:00
Rémi Verschelde
3e5ad8213f
Merge pull request #63563 from aaronfranke/export-arch
2022-07-30 11:22:25 +02:00
Rémi Verschelde
4b377540c7
Merge pull request #63664 from heppocogne/Fix-convert3to4-path-handling-issue
...
Fix a path handling issue of ProjectConverter3To4
2022-07-30 09:23:33 +02:00
Rémi Verschelde
f4f8b18ebe
Merge pull request #63647 from bruvzg/exp_msg_imp
...
Improve some export error messages.
2022-07-30 09:21:11 +02:00
Rémi Verschelde
f7c22756e1
Merge pull request #63654 from bruvzg/font_prev_scale
...
Fix font preview plugin not using editor scale.
2022-07-30 09:20:27 +02:00
heppocogne
1fad0522d0
Fix a path handling issue of ProjectConverter3To4
2022-07-30 14:05:51 +09:00
Rémi Verschelde
9094262a6b
Merge pull request #48548 from Calinou/editor-help-add-editor-settings
...
Add support for documenting most editor settings in the class reference
2022-07-30 00:39:16 +02:00
bruvzg
18aad2807e
Fix font preview plugin not using editor scale.
2022-07-29 23:42:09 +03:00
Rémi Verschelde
15a02c49be
Merge pull request #61647 from KoBeWi/SaverResource
2022-07-29 22:30:51 +02:00
Hugo Locurcio
63ce655e75
Add support for documenting most editor settings in the class reference
...
Settings defined in editor plugins are missing (about 100 of them),
but all other settings (about 200 of them) can now be documented in the
EditorSettings class.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-29 22:07:01 +02:00
bruvzg
ea00cf7270
Improve some export error messages.
2022-07-29 22:44:59 +03:00
kobewi
c3606cb5f3
Swap arguments of ResourceSaver.save()
2022-07-29 19:53:09 +02:00
Rémi Verschelde
6ba7dacf6b
Merge pull request #63415 from ajreckof/expose_tilemap_custom_data_methods
...
Expose TileMap methods related to the name of custom data layers
2022-07-29 19:43:55 +02:00
Rémi Verschelde
ba3734e69a
Merge pull request #63603 from aaronfranke/editor-paths
...
Move editor paths into the EditorPaths class
2022-07-29 19:31:59 +02:00
Rémi Verschelde
74d92bf459
Merge pull request #43081 from KoBeWi/property_keeper
...
Keep property values when extending script
2022-07-29 19:29:52 +02:00
Rémi Verschelde
7199314eb3
Merge pull request #63595 from reduz/remove-signal-connect-binds
...
Remove Signal connect binds
2022-07-29 18:10:39 +02:00
Aaron Franke
ac870ab1c8
Move editor paths into the EditorPaths class
2022-07-29 11:07:30 -05:00
Aaron Franke
17c4cd6412
Update export dialog to handle many architectures
2022-07-29 10:24:58 -05:00
Aaron Franke
a0072ba39f
Make some editor export methods const
2022-07-29 10:24:13 -05:00
Tomasz Chabora
44cf3c22ac
Keep property values when extending script
2022-07-29 16:57:50 +02:00
Juan Linietsky
d4433ae6d3
Remove Signal connect binds
...
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +02:00
ajreckof
8433ad5353
expose TileMap methods related to the name of custom data layers
2022-07-29 15:05:42 +02:00
Rémi Verschelde
8b454f8b41
Merge pull request #62601 from smix8/navigation_3d_debug_4.x
2022-07-29 12:29:32 +02:00
Rémi Verschelde
af054f1003
Export: Fix template path for PC (Windows, Linux)
...
Regression after #63096 .
2022-07-29 11:03:18 +02:00
Rémi Verschelde
9869182e8a
Merge pull request #62629 from linkpy/master
...
Make the alternative tile control correctly handle right-click dragging.
2022-07-29 10:14:42 +02:00
smix8
c394ea518e
Add more detailed Navigation Debug Visualization
...
- Adds more customization options to ProjectSettings.
- Displays navregion edge connections and navigation polygon edges in editor and at runtime.
- Majority of debug code moved from SceneTree to NavigationServer.
- Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
2022-07-29 09:58:41 +02:00
Rémi Verschelde
7c93373008
Merge pull request #63161 from PrecisionRender/master
...
Add `ShapeCast3D` node
2022-07-29 08:07:13 +02:00
Rémi Verschelde
ad280f44e3
Merge pull request #62164 from DeeJayLSP/oggrammar
...
Rename every instance of "OGG" to "Ogg"
2022-07-29 08:04:59 +02:00
Estelle Linkpy Reid
d5926b435e
Make the alternative tile control correctly handle right-click dragging.
2022-07-29 03:11:08 +02:00
Rémi Verschelde
8cb51a642e
Merge pull request #63586 from akien-mga/editor-paths-create-export_templates
2022-07-28 22:39:25 +02:00
DeeJayLSP
c8f3b02fcf
Rename every instance of "OGG" to "Ogg"
2022-07-28 16:41:38 -03:00
Rémi Verschelde
14d021287b
Merge pull request #63049 from Faless/mp/4.x_as_module
2022-07-28 20:46:31 +02:00
Rémi Verschelde
8e0f328a80
Merge pull request #59840 from Calinou/renderingserver-global-uniform-rename
2022-07-28 20:34:17 +02:00
Rémi Verschelde
73c11ab31a
EditorPaths: Fix creating 'export_templates' folder.
2022-07-28 20:33:22 +02:00
Rémi Verschelde
1c820f19b1
Merge pull request #60957 from DeeJayLSP/sample_pcm
2022-07-28 19:51:08 +02:00
PrecisionRender
8cbb9b8b0a
Add ShapeCast3D node
2022-07-28 12:08:42 -05:00
DeeJayLSP
4889659227
Rename AudioStreamSample to a more discoverable name
2022-07-28 13:53:36 -03:00
Hugo Locurcio
4b42379c8f
Rename RenderingServer global shader uniform methods to be more explicit
...
The `global_shader_uniform` name is longer, but it makes it much
easier to find the methods when searching in the class reference.
2022-07-28 18:46:59 +02:00
kobewi
beabbad390
Improvements to shader editor
2022-07-28 18:28:38 +02:00
Hugo Locurcio
e24029edc3
Allow changing mipmap LOD bias when FSR 1.0 scaling is not used
...
Mipmap LOD bias can be useful to improve the appearance of distant
textures without increasing anisotropic filtering (or in situations
where anisotropic filtering is not effective).
`fsr_mipmap_bias` was renamed to `texture_mipmap_bias` accordingly.
The property hint now allows for greater precision as well.
2022-07-28 17:51:13 +02:00
Rémi Verschelde
2e05cc3314
Merge pull request #58361 from V-Sekai/tileset_editor_selection
...
Fix tileset editor visiblity and selection context
2022-07-28 17:31:21 +02:00
Rémi Verschelde
7281f0f238
Merge pull request #62350 from Valeryn4/fix_animation_state_machine
...
Validate AnimationNode name in AnimationStateMachine
2022-07-28 10:39:58 +02:00
Valerii
c28efd6c95
Validate AnimationNode name in AnimationStateMachine
...
Fixes #60959 .
2022-07-28 10:16:45 +02:00
Rémi Verschelde
f99f5a5887
Merge pull request #48995 from KoBeWi/advanced_animation
2022-07-28 10:14:25 +02:00
Rémi Verschelde
199ea349f5
Merge pull request #57698 from bluenote10/feature/rename_translated_to_translated_local
2022-07-28 10:03:07 +02:00
Rémi Verschelde
72e9122514
Merge pull request #63558 from TokageItLab/skel-validator
2022-07-28 09:25:45 +02:00
Rémi Verschelde
422725cffc
Merge pull request #56597 from V-Sekai/material_drag_and_drop
...
Add drag-and-drop support for materials in 3D Instances
2022-07-28 09:22:38 +02:00
Rémi Verschelde
2f828135f8
Merge pull request #63543 from TokageItLab/fix-skeleton-renamer
...
Fix SkeletonRenamer & TrackOrganizer in ImporterRetarget for non bone animations such as BlendShape
2022-07-28 00:34:45 +02:00
Silc 'Tokage' Renew
3b89bf901a
Make BoneMapper validation stricter
2022-07-28 07:27:41 +09:00
Silc Renew
9c3ae0e000
Fix SkeletonRenamer & Organizer for non bone animations (BlendShape)
2022-07-28 01:21:29 +09:00
Rémi Verschelde
03987738aa
Merge pull request #63351 from fire-forge/array-colors
2022-07-27 18:10:44 +02:00
FireForge
993b41198c
Fix code font usage in EditorPropertyMultilineText
...
- Only use code font while in expression mode
- Use code font and syntax highlighter in big text box
2022-07-27 09:58:18 -05:00
Rémi Verschelde
ba2aa30a18
Merge pull request #58443 from object71/fix-editor-properties-deleted-by-mistake
2022-07-27 16:53:26 +02:00
FireForge
f26414762f
Reduce contrast in inspector array element backgrounds
...
Co-authored-by: reduz <reduzio@gmail.com>
2022-07-27 09:50:28 -05:00
Rémi Verschelde
ed61fb2a8b
Merge pull request #63138 from TokageItLab/normalize-position-track
...
Add position track normalization to importer retarget
2022-07-27 16:49:18 +02:00
Rémi Verschelde
d5f8ecd54e
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 5e66d2e2c4
)
2022-07-27 15:59:43 +02:00
Rémi Verschelde
cc5135959b
Merge pull request #62973 from bruvzg/sysfont_support
2022-07-27 13:38:30 +02:00
Rémi Verschelde
f3fbb157ca
Merge pull request #63121 from aaronfranke/editor-export-split
2022-07-27 11:19:40 +02:00
Haoyu Qiu
42373df2d4
Add a Window visibility toggle button to the Scene tree
2022-07-27 08:57:45 +08:00
Hugo Locurcio
ad9a8e70f4
Merge pull request #62888 from Calinou/editor-material-preview-improve-appearance
...
Improve appearance of the material editor preview
2022-07-27 00:25:12 +02:00
MmAaXx500
c4c4da77b1
Prevent autoloads from being added or removed twice
2022-07-26 22:37:06 +02:00
Pedro J. Estébanez
116f03a1b6
Keep crash handler status on editor restart
2022-07-26 19:07:06 +02:00
Rémi Verschelde
222e489dfd
Merge pull request #63496 from groud/fix_tile_set_not_saving
...
Fix TileSet not loading correctly when embedded in a scene
2022-07-26 18:27:05 +02:00
Gilles Roudière
8da2710911
Fix TileSet not loading correctly when embedded in a scene
2022-07-26 17:39:35 +02:00
Aaron Franke
006e5f28d5
Move project export and export template manager into export folder
2022-07-26 08:28:29 -05:00
Aaron Franke
e53ae13178
Split up editor export code into multiple files
2022-07-26 08:28:19 -05:00
Silc Renew
063f66d738
fix unmarked unique when make local
...
Co-authored-by: Juan Linietsky reduzio@gmail.com
2022-07-26 20:56:35 +09:00
Silc Renew
dde235ad82
add position track normalization & post process key value for retarget
2022-07-26 18:48:08 +09:00
Rémi Verschelde
ba2cffc575
Merge pull request #63096 from aaronfranke/exp-template-names
2022-07-26 10:28:25 +02:00
Rémi Verschelde
1d9e1ac143
Merge pull request #63344 from alfredbaudisch/feature-select-node-toggle-inspector-only
2022-07-26 10:27:31 +02:00
Fabio Alessandrelli
ca7d572908
[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.
...
- RPC configurations are now dictionaries.
- Script.get_rpc_methods renamed to Script.get_rpc_config.
- Node.rpc[_id] and Callable.rpc now return an Error.
- Refactor MultiplayerAPI to allow extension.
- New MultiplayerAPI.rpc method with Array argument (for scripts).
- Move the default MultiplayerAPI implementation to a module.
2022-07-26 09:31:12 +02:00
bruvzg
36ef8f29dc
Implement support for loading system fonts on Linux, macOS / iOS and Windows.
2022-07-26 08:38:05 +03:00
Rindbee
3aa0a78f73
Fix repeatedly opening the Advanced Import Settings dialog for fonts getting an error
2022-07-26 10:28:44 +08:00
Alfred R. Baudisch
c4433c3793
When selecting Nodes in the Scene Tree, if the current EditorPlugin is "Script" and if text_editor/behavior/navigation/stay_in_script_editor_on_node_selected is true, force inspector_only in order to not switch the EditorPlugin to the Node's main plugin.
2022-07-25 17:37:03 +02:00
Juan Linietsky
c7255388e1
Remove ThreadWorkPool, replace by WorkerThreadPool
...
The former needs to be allocated once per usage. The later is shared for all threads, which is more efficient.
It can also be better debugged.
2022-07-25 15:39:50 +02:00
Rémi Verschelde
3bd74cd67b
Merge pull request #63436 from Calinou/editor-debugger-require-script-instance
2022-07-25 15:18:11 +02:00
Rémi Verschelde
20d7171e83
Merge pull request #63432 from bruvzg/scr_zoom
2022-07-25 15:01:06 +02:00
Rémi Verschelde
49b0aa93e3
Merge pull request #63424 from Chaosus/shader_preprocessor_inc_fix
2022-07-25 14:56:06 +02:00
Rémi Verschelde
679633f505
Merge pull request #63368 from akien-mga/fix_header_guards
...
Code quality: Fix header guards consistency
2022-07-25 14:50:38 +02:00
Hugo Locurcio
829c824755
Require ScriptInstance to be valid in the editor debugger
...
This fixes an issue with visual scripts spamming error messages
in the editor when running the project with the remote scene tree
visible.
2022-07-25 14:29:47 +02:00
bruvzg
f743c6a368
Fix script editor zoom shortcuts not marking events as accepted.
2022-07-25 14:21:56 +03:00
Rémi Verschelde
18596f6b3d
Merge pull request #63364 from nathanfranke/dep-editor
2022-07-25 11:42:30 +02:00
Yuri Rubinsky
be3fb7a216
Fix errors when using built-ins in shaderinc
2022-07-25 12:33:04 +03:00
Rémi Verschelde
d995f127a7
Merge pull request #62907 from bruvzg/warn_exit_code
2022-07-25 11:30:45 +02:00
Rémi Verschelde
90019676b0
Code quality: Fix header guards consistency
...
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
2022-07-25 11:17:40 +02:00
Rémi Verschelde
3084a48ace
Merge pull request #63219 from reduz/implement-vector4-projection
2022-07-25 11:13:27 +02:00
Rémi Verschelde
145304cc85
Merge pull request #63416 from V-Sekai/bone-map-empty-crash
...
Avoid crash when when the editor_property_map is empty.
2022-07-25 08:37:26 +02:00
K. S. Ernest (iFire) Lee
fb2b26eec3
Avoid crash when when the editor_property_map is empty.
2022-07-24 17:46:02 -07:00
Nathan Franke
488017f3cb
improve animation player warning for imported scenes
2022-07-24 16:49:57 -05:00
Xwdit
5d49df8d97
Fix missing method qualifiers in script doc
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-24 23:00:19 +02:00
Nathan Franke
905c431191
dependency editor: set current directory to closest existing directory
2022-07-23 15:29:50 -05:00
reduz
455c06ecd4
Implement Vector4, Vector4i, Projection
...
Implement built-in classes Vector4, Vector4i and Projection.
* Two versions of Vector4 (float and integer).
* A Projection class, which is a 4x4 matrix specialized in projection types.
These types have been requested for a long time, but given they were very corner case they were not added before.
Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity.
**Q**: Why Projection and not Matrix4?
**A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-23 14:00:01 +02:00
Rémi Verschelde
a5bc65bbad
Merge pull request #63265 from reduz/stream-bpm-support
...
Implement BPM support in AudioStream files.
2022-07-23 11:21:14 +02:00
Yuri Rubinsky
5705825d55
Fix clearing errors indication in the shader editor
2022-07-23 11:32:04 +03:00
Yuri Rubinsky
6d992abb54
Fix some errors after shader preprocessor PR
2022-07-23 09:38:59 +03:00
reduz
d1ddee2258
Implement BPM support
...
Based on #62896 , only implements the BPM support part.
* Implements BPM support in the AudioStreamOGG/MP3 importers.
* Can select BPM/Bar Size and total beats in a song file, as well as edit looping points.
* Looping is now BPM aware
* Added a special importer UI for configuring this.
* Added a special preview showing the audio waveform as well as the playback position in the resource picker.
* Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-23 07:31:17 +02:00
Aaron Franke
8b5c744f95
Update export template names for Windows, Mac, and Linux
2022-07-22 18:40:59 -05:00
Rémi Verschelde
fe929d4787
Merge pull request #62513 from reduz/shader_preprocessor_remake
2022-07-23 00:02:33 +02:00
Rémi Verschelde
e5df1e65f9
Merge pull request #62581 from Guh-Feng/Color-Picker-Update
2022-07-22 23:46:27 +02:00
Rémi Verschelde
86a5a23351
Merge pull request #63093 from aaronfranke/export-templates-dir
2022-07-22 23:07:07 +02:00
reduz
f649678402
Clean up Shader Preprocessor
...
* Moved preprocessor to Shader and ShaderInclude
* Clean up RenderingServer side
* Preprocessor is separate from parser now, but it emits tokens with include location hints.
* Improved ShaderEditor validation code
* Added include file code completion
* Added notification for all files affected by a broken include.
2022-07-22 22:53:03 +02:00
Yuri Roubinsky
7b94603baa
Adding shader preprocessor support
...
Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com>
2022-07-22 22:51:57 +02:00
Aaron Franke
b00bb577e7
Rename directory for export templates from templates to export_templates
2022-07-22 12:35:43 -05:00
kleonc
07118d7094
Fix in editor drag and dropping a `Node` to generic `NodePath` property
2022-07-22 18:32:36 +02:00
Rémi Verschelde
653f95282c
Merge pull request #62996 from reduz/feature-build-profiles
2022-07-22 12:50:20 +02:00
reduz
6236a688b7
Implement Feature Build Profiles
...
This PR is a continuation of #50381 (which was implemented exactly a year ago!)
* Add a visual interface to select which classes should not be built into Godot (well, they are built if something else uses them, but if not used the optimizer will remove them out).
* Add a detection system to scan the project and figure out the actual classes used.
* Added the ability for SCons to load build profiles.
Obligatory Screen:
A simple test with a couple of nodes in the scene resulted in a 25% reduction for the final binary size
TODO:
* Script languages need to implement used class detection (left for another PR).
* Options to disable servers or server functionalities (like 2D or 3D physics, navigation, etc). Are missing, that should also greatly aid in reducing binary size.
* Options to disable some modules would be desired.
* More options to disable drivers (OpenGL, Vulkan, etc) would be desired.
In general this PR is a starting point for more contributors to improve and enhance this functionality.
2022-07-22 10:53:23 +02:00
Rémi Verschelde
19db9ed863
Merge pull request #63286 from RandomShaper/fix_debugger_focus
2022-07-22 00:48:06 +02:00
Guh-Feng
1b8652e86a
Color Pickers Respect Settings
...
Updated editor_node with function that sets up color pickers throughout Godot to respect editor's settings.
2022-07-21 18:11:09 -04:00
kobewi
b42bbca266
Fix node dragging not working when dock is moved
2022-07-21 23:57:52 +02:00
Pedro J. Estébanez
033001375f
Fix editor re-focus on debugger break on Windows
2022-07-21 21:47:05 +02:00
Rémi Verschelde
f40aafeb39
Merge pull request #63244 from KoBeWi/canvas_picker
2022-07-21 16:34:16 +02:00
SaracenOne
bd0819d4a0
Disable plugin for conversion of foreign Sprite2D to different types
2022-07-21 15:04:29 +01:00
SaracenOne
7776b47489
Add read-only mode to AnimationEditor for foreign resources.
2022-07-21 14:46:58 +01:00
luz paz
38aaaa3cf9
Fix various typos not caught by codespell
...
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-21 07:38:23 -04:00
kobewi
dabe021f19
Fix selection list in 2D editor
2022-07-21 12:24:02 +02:00
bruvzg
8823eae328
Rename OSX to macOS and iPhoneOS to iOS.
2022-07-21 09:37:52 +03:00
MinusKube
a4ddb033c9
Fix FileInfo::import_valid always being set to false for TextFile in some cases
2022-07-20 23:51:29 +02:00
Rémi Verschelde
010289a076
Merge pull request #58457 from PhoenixFlame101/master
...
Fix code folding icon color not matching defined color
2022-07-20 22:34:25 +02:00
Rémi Verschelde
4ba6c9a19f
Merge pull request #63229 from Chaosus/vs_fix_icons
2022-07-20 22:25:04 +02:00
PhoenixFlame101
dd8cee4b50
Fix code folding icon color not matching defined color
...
Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.
- Create new icons for use specifically in the code editor
- Add these icons to the exceptions when converting dark theme icons
to light theme automatically
- Change the default value of the code folding color to match previous
color
- Code folding icon is now pure white by default to correctly match
the color defined in settings
2022-07-20 23:05:47 +03:00
Rémi Verschelde
e1901008a5
Merge pull request #63247 from YuriSizov/toolbars-go-with-the-flow
2022-07-20 21:38:56 +02:00
Rémi Verschelde
e1c50152a0
Merge pull request #63232 from nathanfranke/simplify-editor-anchors
...
Simplify alignment preset, fixing icon for full rect
2022-07-20 21:15:14 +02:00
Rémi Verschelde
9a941ea35e
Merge pull request #61347 from fire-forge/theme-icons
...
Add type icons to Theme editor Import Items tab
2022-07-20 21:05:34 +02:00
Yuri Sizov
dcd64799ef
Use FlowContainer to handle toolbar overflow more gracefully
2022-07-20 20:43:45 +03:00
Nathan Franke
f3d43a384d
simplify alignment preset, fixing icon for full rect
2022-07-20 12:18:33 -05:00
Yuri Rubinsky
702b6a00d8
Fix icons not loaded correctly in the visual shader editor
2022-07-20 19:24:42 +03:00
SaracenOne
86aa2a8578
Add drag-and-drop support for materials in 3D
...
Add mesh surface picking for material drag & drop, show drag info label
2022-07-19 12:49:09 -07:00
Rémi Verschelde
715f556cd4
Merge pull request #62139 from bruvzg/label_font_setttings
...
Add LabelSettings resource for quick Label theme property override.
2022-07-19 20:16:01 +02:00
Rémi Verschelde
8351d75b7f
Merge pull request #63195 from Rindbee/fix-wrong-clear-edit-menu
2022-07-19 13:49:43 +02:00
Rindbee
8972dd8492
Fix incorrectly clearing edit menu
...
Delete only if `editor_enabled` is true, otherwise destructor may delete it repeatedly.
2022-07-19 19:09:27 +08:00
Rémi Verschelde
7fd29b5464
Merge pull request #59301 from fire-forge/layout-preset-full-rect
2022-07-19 12:06:00 +02:00
Rémi Verschelde
00c0fbb8cf
Merge pull request #62871 from fire-forge/vector2i
2022-07-19 08:45:49 +02:00
FireForge
468157bfe0
Capitalize the SpriteFrames search bar placeholder
...
Follow-up to https://github.com/godotengine/godot/pull/49488
2022-07-18 20:15:50 -05:00
FireForge
97dfbea6ad
Rename Control PRESET_WIDE to PRESET_FULL_RECT
2022-07-18 20:08:11 -05:00
FireForge
84431bd782
Use integer types in Image and ImageTexture methods
...
- Image.blit_rect()
- Image.blit_rect_mask()
- Image.blend_rect()
- Image.blend_rect_mask()
- Image.fill_rect()
- Image.get_used_rect()
- Image.get_rect()
- ImageTexture.set_size_override()
2022-07-18 19:43:32 -05:00
kleonc
a4d8c78e48
SpriteFramesEditor Add animation searchbox
2022-07-18 15:47:12 +02:00
Rémi Verschelde
1c6148aa86
Merge pull request #63062 from Chaosus/vs_fix
2022-07-18 12:05:36 +02:00
Rémi Verschelde
2bc9b7b76b
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 556e090bcc
)
2022-07-18 10:28:22 +02:00
Rémi Verschelde
ecc86afc00
Merge pull request #63124 from Calinou/editor-help-codeblock-add-padding
2022-07-17 23:28:59 +02:00
Hugo Locurcio
976d12c3c1
Add padding for code blocks in the editor help
...
This improves their appearance, making them look closer to code blocks
in the online manual.
2022-07-17 22:55:20 +02:00
Pedro J. Estébanez
b46a2aaa4b
Create reset tracks with the right update mode
2022-07-17 19:51:15 +02:00
FireForge
caa0cdaac6
Use menu icon for layers grid button
2022-07-17 00:42:23 -05:00
Aaron Franke
94779c9e30
Alphabetize editor plugins and move 2D plugins to their own section
2022-07-16 17:34:33 -05:00
Rémi Verschelde
5a6b13b8bb
Merge pull request #62939 from TokageItLab/implement-rest-fixer
...
Add Rest Fixer to importer retarget
2022-07-16 16:54:20 +02:00
Yuri Rubinsky
f05fce405e
Fix visual shader graph not correctly updating when multiple tabs opened
2022-07-16 16:43:06 +03:00
Silc Renew
9be288edf9
refactor sync in AnimationTree
2022-07-16 21:45:32 +09:00
Silc Renew
f3af3aedfe
add rest fixer to importer retarget
2022-07-16 19:53:11 +09:00
Fabian Keller
2bf9e6090c
rename translate(d) to translate(d)_local in Transform 2D/3D
2022-07-16 11:47:54 +02:00
Rémi Verschelde
2c11e6d9ef
Merge pull request #62980 from garychia/scene_tree_editor_improvement
2022-07-14 17:45:48 +02:00
kobewi
87fb95f1ff
Clear drag_selection when drag ends
2022-07-14 14:51:47 +02:00
Chia-Hsiang Cheng
83d478ffcd
Disable the OK button when no node is selected.
2022-07-14 12:03:27 +08:00
Xwdit
8ee125a128
Fix document not showing for script properties in inspector
2022-07-14 03:33:51 +02:00
kobewi
38d8cb4782
Fix drag_selection crash on scene close
2022-07-14 02:31:52 +02:00
Rémi Verschelde
5fec0d232a
Merge pull request #58763 from Calinou/editor-fix-default-float-step
2022-07-14 00:21:33 +02:00
Rémi Verschelde
41dda3bea0
Merge pull request #62919 from MinusKube/dock-layout-save-bug
2022-07-14 00:12:10 +02:00
Rémi Verschelde
cf9994ed03
Merge pull request #62952 from and-rad/results-count-no-negative
2022-07-14 00:07:01 +02:00
Rémi Verschelde
991f78183d
Merge pull request #60696 from Calinou/shadow-quality-rename-project-settings
2022-07-14 00:03:17 +02:00
Rémi Verschelde
a0f0eb5e03
Merge pull request #62710 from Calinou/editor-help-improve-code-kbd-ref-highlight
2022-07-13 23:55:59 +02:00
Hugo Locurcio
23dcc3345b
Tweak the name for new animations in the editor
...
- Use snake_case to "suggest" the naming that fits the Godot style guide.
- Fully spell out "new_animation" since both editors can fit it in full.
- Don't internationalize the new animation name to have consistent
behavior between both editors.
- Since the recommendation is to follow snake_case, special characters
should also be avoided in the name to make animations easier to refer
to in code.
2022-07-13 19:57:48 +02:00
Hugo Locurcio
21ea1c3835
Rename soft shadow quality project settings for easier searching
...
`rendering/quality/shadows` is now `rendering/quality/positional_shadow`
to explicitly denote that the settings only affect positional light shadows,
not directional light shadows.
Shadow atlas settings now contain the word "atlas" for easier searching.
Soft shadow quality settings were renamed to contain the word "filter".
This makes the settings appear when searching for "filter" in the
project settings dialog, like in Godot 3.x.
2022-07-13 19:56:02 +02:00
FireForge
0df23111b3
Show Resource type name in Array editor
...
Follow-up to #60409
Example: @export var gradient_array: Array[Gradient]
Before: Array[Object]
After: Array[Gradient]
2022-07-13 12:07:01 -05:00
Rémi Verschelde
9b29f18631
Merge pull request #59680 from fire-forge/property-help
...
Add "Open Documentation" button to EditorProperty context menu
2022-07-13 14:12:53 +02:00
Rémi Verschelde
200009cd48
Merge pull request #62282 from fire-forge/gradient2d-editor-fix
...
Fix GradientTexture2D editor height
2022-07-13 14:11:11 +02:00
Rémi Verschelde
b942c1ffe3
Merge pull request #62827 from fire-forge/ok-cancel
...
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-13 14:10:38 +02:00
Andreas Raddau
48b8bfbbcf
Fix negative search result match
2022-07-12 15:14:43 +02:00
bruvzg
f63d54126d
Add LabelSettings resource for quick Label theme property override.
2022-07-12 16:05:12 +03:00
FireForge
dcf42cff86
Add "Open Documentation" button to EditorProperty context menu
2022-07-11 19:30:46 -05:00
MinusKube
b634688fca
Fix editor dock layout not saving correctly
2022-07-11 20:57:47 +02:00
Rindbee
b6fdd0815c
Fix property link not working in MultiNodeEdit
...
This is due to the `p_field` in the `EditorProperty::emit_changed`.
`p_field` only works for `MultiNodeEdit`, not for other objects.
2022-07-11 10:38:34 +08:00
Hugo Locurcio
75f7e1fbf8
Fix some properties having an invalid float step of `0`
...
This also clamps the float step in the editor to the lowest value
that is guaranteed to work in all situations (including for 32-bit
floats).
2022-07-10 22:56:59 +02:00
bruvzg
d02bf7584a
[Command line export] return 0 exit code when export is finished with warnings.
2022-07-10 23:39:16 +03:00
Hugo Locurcio
99ac090233
Improve appearance of the material editor preview
...
- Use lower camera FOV to show more of the sphere/box, while still
fully displaying the meshes in question.
2022-07-10 18:47:09 +02:00
FireForge
d6188b4632
Use a SpinBox in the inspector array resize dialog
2022-07-10 00:19:29 -05:00
Hugo Locurcio
3e7bcc4755
Define bold, italics and mono fonts in editor log for `print_rich()`
...
This is also used by the number indicator for message grouping,
as it uses a bold font.
Mono font does not actually turn proportional fonts into monospace.
Instead, it's a more faint version of the regular font, intended
to emulate the look of the "faint" ANSI escape code (and make `[code]`
distinguishable from regular text).
The custom code font will be used to generate the bold/italic/mono
variants if specified in the Editor Settings.
2022-07-09 19:18:02 +02:00
FireForge
af19501cc7
Seperate filter and description in FileDialog.add_filter()
2022-07-09 10:51:45 -05:00
FireForge
e4067064ce
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
2022-07-09 10:47:08 -05:00
Rémi Verschelde
d26442e709
Merge pull request #60739 from KoBeWi/add_static_methods_everywhere!!
2022-07-08 16:50:47 +02:00
Rémi Verschelde
dc86bce306
AssetLib: Only notify when unavailable in verbose mode
2022-07-08 15:25:54 +02:00
Rémi Verschelde
d479eba7b4
Merge pull request #62405 from YeldhamDev/movie_maker_stuff
...
Clean and fix the Movie Maker button
2022-07-08 14:42:34 +02:00
kobewi
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
Rémi Verschelde
0e3ac839b4
Merge pull request #62638 from Calinou/animationtree-editor-use-antialiasing
2022-07-08 10:17:40 +02:00
Rémi Verschelde
7d3ff927de
Merge pull request #62075 from Vitika9/gsoc-colorpicker
2022-07-08 09:06:47 +02:00
bruvzg
8f6c4956ca
Fix regressions from Font refactor
...
Remove unnecessary font override
Fixes button outline draw when it should not, causing button colors to be slightly off
2022-07-08 08:27:18 +03:00
Rémi Verschelde
664d8cd8ab
Merge pull request #62816 from akien-mga/feature-list-comma-fix
2022-07-07 16:29:59 +02:00
Rémi Verschelde
7fd036800c
Merge pull request #62622 from Rindbee/make-blend-import-preview-visible
2022-07-07 15:27:30 +02:00
bruvzg
a319e6e623
Fix regressions from Font refactor
...
Fixes `p_font.is_null()` errors due to incorrect resource type used.
Fixes code editor font not set correctly, and OpenType features applied to the wrong font.
2022-07-07 15:11:08 +03:00
Rémi Verschelde
ba5049402a
Export: Fix comma handling in feature list RTL
...
Fixes #62815 .
2022-07-07 13:42:27 +02:00
Rémi Verschelde
1e553e34fb
Merge pull request #62108 from bruvzg/font_config_v3
2022-07-07 12:22:49 +02:00
Dave Palais
d9e4327e34
EditorScenePostImportPlugin: Return requested option value
2022-07-06 15:11:09 -05:00
Vitika9
0011d93c81
ColorPicker Refactor
2022-07-06 22:11:43 +05:30
Rémi Verschelde
5a4d1bff79
Merge pull request #62777 from object71/potential-fix-for-crash-error-expand
2022-07-06 16:27:10 +02:00
Rémi Verschelde
635d447a69
Merge pull request #62713 from YuriSizov/docs-scripting-annotations
2022-07-06 15:31:19 +02:00
Hristo Stamenov
e0742be4db
Double check the selected tree item on error activated and error selected callbacks as the value might be nullptr which would cause a crash.
2022-07-06 16:24:26 +03:00
Rémi Verschelde
550f9faa9c
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 30ceef93b0
)
2022-07-06 15:04:47 +02:00
bruvzg
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
Rémi Verschelde
cf19484746
Merge pull request #62374 from reduz/implement-bitfield-hint
...
Implement a BitField hint
2022-07-06 09:35:40 +02:00
Haoyu Qiu
61bc7d6576
Fix heap-use-after-free when closing a scene with its builtin script open
2022-07-06 10:45:36 +08:00
Guilherme Felipe
51aa57328a
[Node3DEditorViewport] Add correct margin for rotation control and fps label.
2022-07-05 17:32:16 -03:00
reduz
5ac42cf576
Implement a BitField hint
...
Allows to specify the binder that an enum must be treated as a bitfield.
2022-07-05 22:13:37 +02:00
Hugo Locurcio
a347650fd6
Improve visibility of code, kbd and clickable references in editor help
...
This adds a background color for inline code, code blocks, keyboard
shortcuts and clickable references (such as `[member something]`).
2022-07-05 19:35:51 +02:00
kobewi
072e2ff659
Show the transform operation numbers in 2D
2022-07-05 13:19:32 +02:00
Nolkaloid
31745a8b15
Fix drag'n drop type check for NodePaths
2022-07-04 20:10:40 +02:00
Yuri Sizov
a9098e6147
Add support for documenting built-in annotations
2022-07-04 20:21:39 +03:00
Rémi Verschelde
1d06fec535
Merge pull request #62448 from MinusKube/completion-scroll-click
...
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-04 10:13:20 +02:00
Rémi Verschelde
ba8e7efc2b
Merge pull request #38298 from ThakeeNathees/file-dialog-autocomplete-fix
2022-07-04 10:10:47 +02:00
bruvzg
e3d5bc2098
Use autowrap in the curve editor.
2022-07-04 10:13:11 +03:00
Rémi Verschelde
5cc830892a
Merge pull request #62681 from Jummit/keep-perspective-menu
...
Keep Perspective menu open after selecting an option
2022-07-04 08:21:57 +02:00
Thakee Nathees
446f1b7052
Fix FileDialog file name autocompletion with filters
...
Fixes #38195 .
2022-07-04 01:26:34 +02:00
MinusKube
336400dc42
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-03 23:47:52 +02:00
Jummit
e3ab344af9
Keep Perspective menu open on selection
...
Makes the Perspective menu consistent with the View menu in the 3D
viewport. This allows for quicker inspection of the scene, and makes
missclicks more forgiving.
2022-07-03 17:23:41 +02:00
Rémi Verschelde
b2a4cac9f4
Merge pull request #62649 from Calinou/3d-editor-gizmos-fix-gi
2022-07-03 15:30:08 +02:00
Rémi Verschelde
6f02454634
Merge pull request #59834 from trollodel/advanced_import_fix
...
Fix some bugs in the advanced scene import
2022-07-03 10:51:40 +02:00
Rémi Verschelde
c818e3dfc2
Merge pull request #62647 from python273/asset-library-dynamic-column-count
2022-07-02 23:42:54 +02:00
Hugo Locurcio
de976eb82f
Fix 3D editor gizmos appearing in GI following default GI mode change
2022-07-02 23:19:01 +02:00
python273
d65eb592b0
Make asset library's column count dynamic
2022-07-02 23:42:09 +03:00
Rémi Verschelde
f254500753
Merge pull request #61168 from DeeJayLSP/wav_ieee
2022-07-02 22:04:06 +02:00
Hugo Locurcio
feac27476c
Use antialiasing for line drawing in the AnimationTree editor
...
- Use EDSCALE where relevant to improve scaling on hiDPI displays.
2022-07-02 18:26:41 +02:00
Rindbee
d9709e151b
Make import preview of blend files visible
...
Unlike other scene imports, the import of blend files requires options. Otherwise, the preview may not be visible.
2022-07-02 13:10:29 +08:00
Rémi Verschelde
a2459c7d35
Merge pull request #61610 from TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-02 00:17:21 +02:00
Kirill
924658a849
Stretch image on resize in asset description dialog
2022-07-01 17:17:40 +03:00
Hugo Locurcio
32973094f5
Add a Bake Mask property to GPUParticlesCollisionSDF3D
...
This allows not accounting for certain visible meshes during baking
(such as foliage and thin fixtures).
This also adds a clarification about transparent materials always
being excluded in the OccluderInstance3D documentation.
2022-06-30 23:12:40 +02:00
Rémi Verschelde
0800d475a4
Merge pull request #62540 from MinusKube/debugger-array-crash
...
Add/fix support for RID, Callable and Signal in editor properties
2022-06-30 23:04:08 +02:00
Voylin
cebdfd1bbd
Fixing Print_rich which only displays correctly in terminal
...
There was an issue that the type was not passed through correctly. These couple of lines fix this issue and make print_rich work as expected.
2022-07-01 04:34:19 +09:00
Silc Renew
dc43cfc830
implement bone renamer in importer
2022-07-01 03:55:28 +09:00
MinusKube
d56185146d
Add editor properties for Callable and Signal
2022-06-30 17:39:10 +02:00
Rémi Verschelde
1e082914e2
Merge pull request #62299 from Calinou/texture-preview-add-mipmap-memory-usage
...
Mention mipmap and memory usage in the texture editor preview
2022-06-30 13:12:09 +02:00
Rémi Verschelde
fd3970f762
Merge pull request #62531 from Faless/fix/4.x_assetlib_is_available
2022-06-30 10:06:17 +02:00
Fabio Alessandrelli
0e504e4191
[AssetLib] Fix crash in Web editor.
...
Add EditorAssetLibrary::is_available which always returns false in the
Web editor and use it in EditorNode for detection.
2022-06-30 01:26:08 +02:00
Rémi Verschelde
047cdc9a9f
Merge pull request #62511 from Chaosus/fix_doc_title_property
...
Fix `help_title_font_size` editor property to correctly apply to docs
2022-06-30 01:25:24 +02:00
Rémi Verschelde
a7e589df38
Merge pull request #62084 from smix8/path_debug_options_4.x
...
Add Path2D/3D debug options
2022-06-29 20:36:43 +02:00
Hugo Locurcio
87c989f98d
Mention mipmap and memory usage in the texture editor preview
...
This is important to quickly determine if a texture is using
unexpectedly high amounts of memory, or to troubleshoot
why mipmap sampling modes have no effect on it.
- Improve readability by increasing outline size and reducing
font size to match the rest of the editor UI.
2022-06-29 17:38:50 +02:00
Yuri Rubinsky
c6f57c30c3
Fix `help_title_font_size` editor property to correctly apply to docs
2022-06-29 15:08:54 +03:00
kobewi
798f9c8632
Advance animation after confirming
2022-06-29 13:55:23 +02:00
Rémi Verschelde
5235ce4379
i18n: Sync editor translations with Weblate
...
(cherry picked from commit f29241fa1e
)
2022-06-29 12:12:43 +02:00
Rémi Verschelde
caa9ec8aca
Merge pull request #62489 from qarmin/more_renames
...
More function/class renames in converter
2022-06-28 23:39:33 +02:00
Rafał Mikrut
3ca45b8200
More function/class renames in converter
2022-06-28 18:21:11 +02:00
Voylin
c6291bcd8a
Adding print_rich for printing with BBCode
2022-06-29 00:41:29 +09:00
Rémi Verschelde
4c14bf7482
Merge pull request #62470 from vnen/gdscript-export-nodes
...
GDScript: Enable exporting nodes to the inspector
2022-06-28 08:07:00 +02:00
Rémi Verschelde
b863c40356
Merge pull request #62468 from V-Sekai/core-const-expressions
...
Add a const call mode to Object, Variant and Script.
2022-06-28 01:08:24 +02:00
George Marques
9490146a16
GDScript: Enable exporting nodes to the inspector
...
Also fix an small issue in the property editor for NodePath trying to
use the meta property when not needed.
2022-06-27 18:42:52 -03:00
K. S. Ernest (iFire) Lee
9ddebc0c22
Add a const call mode to Object, Variant and Script.
...
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).
This mode ensures only const functions can be called, making it safe to use from the editor.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27 13:33:06 -07:00
Hendrik Brucker
99ce0df3b1
Refactor bezier interpolation functions
2022-06-27 19:42:43 +02:00
Rémi Verschelde
c41e4b10c3
Merge pull request #61954 from KoBeWi/scene_factory 🏭
2022-06-27 14:56:53 +02:00
Rémi Verschelde
bbca1d6530
Fixup #62318 after ResourceCache changes
2022-06-27 14:02:21 +02:00
Rémi Verschelde
09c584990c
Merge pull request #62318 from reduz/simplify-subresource-saving
...
Simplify Subresource Saving
2022-06-27 13:50:49 +02:00
Rémi Verschelde
fbc3777467
Merge pull request #62185 from reduz/export-node-pointer-path
...
Add ability to export Node pointers as NodePaths
2022-06-27 11:14:36 +02:00
Rémi Verschelde
af694245f5
Merge pull request #62221 from ConteZero/drag_and_drop_option
...
Add an option to drag'n'drop selected text in ``TextEdit``
2022-06-26 16:02:52 +02:00
ConteZero
5d56efcaa4
Add an option to drag'n'drop selected text in TextEdit
2022-06-26 15:22:02 +02:00
Rémi Verschelde
16b23ee372
Merge pull request #62248 from Calinou/editor-icons-add-multiplayer-nodes
...
Add editor icons for MultiplayerSpawner and MultiplayerSynchronizer
2022-06-26 08:51:45 +02:00
Rémi Verschelde
2b349141dc
Merge pull request #62250 from Calinou/editor-icons-add-abstract-icons
...
Add editor icons for abstract nodes that can now be added in the editor
2022-06-26 08:49:58 +02:00
Hugo Locurcio
283356c7ee
Add editor icons for MultiplayerSpawner and MultiplayerSynchronizer
...
Co-authored-by: Hendrik Brucker <hendrik.brucker@mail.de>
2022-06-26 05:35:55 +02:00
Hugo Locurcio
8a31a2d25c
Add editor icons for abstract nodes that can now be added in the editor
2022-06-26 05:08:44 +02:00
Hugo Locurcio
ca7e92ed39
Request attention on the editor window when done recording a movie
...
Recording a movie can take a long time, so the user may not be
paying attention to the editor while leaving a movie rendering
in the background.
This also allows editor plugins to access the state of Movie Maker mode
within the editor (and set it).
2022-06-26 02:26:38 +02:00
Rémi Verschelde
295a79c125
Merge pull request #62406 from YeldhamDev/custom_scene_fix
...
Fix error about transient window when running a custom scene
2022-06-25 23:15:36 +02:00
Michael Alexsander
793810938e
Clean and fix the Movie Maker button
2022-06-25 18:14:19 -03:00
Michael Alexsander
d6f5c5429f
Fix error about transient window when running a custom scene
2022-06-25 16:41:10 -03:00
reduz
b7c41f9ba1
Add ability to export Node pointers as NodePaths
...
This PR implements:
* A new hint: PROPERTY_HINT_NODE_TYPE for variant type OBJECT, which can take specific node types as hint string.
* The editor will show it as a node path, but will set it as a pointer to a node from the current scene if you select a path.
* When scene is saved, the node path is saved, then restored as a pointer.
NOTE: This is a proof of concept and this approach will most likely not work. The reason if that, if the node referenced is deleted, then when trying to edit this the node will become invalid.
Potential workarounds: Since this uses the Variant API, it should obtain the pointer from the Variant object ID. Yet, this would either only really work in GDScript or it would need to be implemented with workarounds in every language.
Alternative ways to make this work: Nodes could export an additional property with a node path (like for which_node, it could be which_node_path).
Another alternative: Path editing could happen as a hidden metadata (ignoring the pointer).
2022-06-25 15:50:15 +02:00
Rémi Verschelde
b192073001
Merge pull request #62309 from reduz/remake-resource-thread-safety
...
Remake ResourceCache thread safety code and API
2022-06-25 14:09:28 +02:00
Rémi Verschelde
dd3de622d8
Merge pull request #62372 from MarcusElg/nosliderrename
...
Rename @export_range's noslider option to no_slider
2022-06-25 14:03:44 +02:00
Hugo Locurcio
5da61d8a4c
Add MJPEG to the list of editor capitalizations
2022-06-24 22:24:21 +02:00