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