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
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
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
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