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
SaracenOne
86aa2a8578
Add drag-and-drop support for materials in 3D
...
Add mesh surface picking for material drag & drop, show drag info label
2022-07-19 12:49:09 -07:00
Rémi Verschelde
715f556cd4
Merge pull request #62139 from bruvzg/label_font_setttings
...
Add LabelSettings resource for quick Label theme property override.
2022-07-19 20:16:01 +02:00
Rémi Verschelde
8351d75b7f
Merge pull request #63195 from Rindbee/fix-wrong-clear-edit-menu
2022-07-19 13:49:43 +02:00
Rindbee
8972dd8492
Fix incorrectly clearing edit menu
...
Delete only if `editor_enabled` is true, otherwise destructor may delete it repeatedly.
2022-07-19 19:09:27 +08:00
Rémi Verschelde
7fd29b5464
Merge pull request #59301 from fire-forge/layout-preset-full-rect
2022-07-19 12:06:00 +02:00
Rémi Verschelde
00c0fbb8cf
Merge pull request #62871 from fire-forge/vector2i
2022-07-19 08:45:49 +02:00
FireForge
468157bfe0
Capitalize the SpriteFrames search bar placeholder
...
Follow-up to https://github.com/godotengine/godot/pull/49488
2022-07-18 20:15:50 -05:00
FireForge
97dfbea6ad
Rename Control PRESET_WIDE to PRESET_FULL_RECT
2022-07-18 20:08:11 -05:00
FireForge
84431bd782
Use integer types in Image and ImageTexture methods
...
- Image.blit_rect()
- Image.blit_rect_mask()
- Image.blend_rect()
- Image.blend_rect_mask()
- Image.fill_rect()
- Image.get_used_rect()
- Image.get_rect()
- ImageTexture.set_size_override()
2022-07-18 19:43:32 -05:00
kleonc
a4d8c78e48
SpriteFramesEditor Add animation searchbox
2022-07-18 15:47:12 +02:00
Rémi Verschelde
1c6148aa86
Merge pull request #63062 from Chaosus/vs_fix
2022-07-18 12:05:36 +02:00
Rémi Verschelde
2bc9b7b76b
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 556e090bcc
)
2022-07-18 10:28:22 +02:00
Rémi Verschelde
ecc86afc00
Merge pull request #63124 from Calinou/editor-help-codeblock-add-padding
2022-07-17 23:28:59 +02:00
Hugo Locurcio
976d12c3c1
Add padding for code blocks in the editor help
...
This improves their appearance, making them look closer to code blocks
in the online manual.
2022-07-17 22:55:20 +02:00
Pedro J. Estébanez
b46a2aaa4b
Create reset tracks with the right update mode
2022-07-17 19:51:15 +02:00
FireForge
caa0cdaac6
Use menu icon for layers grid button
2022-07-17 00:42:23 -05:00
Aaron Franke
94779c9e30
Alphabetize editor plugins and move 2D plugins to their own section
2022-07-16 17:34:33 -05:00
Rémi Verschelde
5a6b13b8bb
Merge pull request #62939 from TokageItLab/implement-rest-fixer
...
Add Rest Fixer to importer retarget
2022-07-16 16:54:20 +02:00
Yuri Rubinsky
f05fce405e
Fix visual shader graph not correctly updating when multiple tabs opened
2022-07-16 16:43:06 +03:00
Silc Renew
9be288edf9
refactor sync in AnimationTree
2022-07-16 21:45:32 +09:00
Silc Renew
f3af3aedfe
add rest fixer to importer retarget
2022-07-16 19:53:11 +09:00
Fabian Keller
2bf9e6090c
rename translate(d) to translate(d)_local in Transform 2D/3D
2022-07-16 11:47:54 +02:00
Rémi Verschelde
2c11e6d9ef
Merge pull request #62980 from garychia/scene_tree_editor_improvement
2022-07-14 17:45:48 +02:00
kobewi
87fb95f1ff
Clear drag_selection when drag ends
2022-07-14 14:51:47 +02:00
Chia-Hsiang Cheng
83d478ffcd
Disable the OK button when no node is selected.
2022-07-14 12:03:27 +08:00
Xwdit
8ee125a128
Fix document not showing for script properties in inspector
2022-07-14 03:33:51 +02:00
kobewi
38d8cb4782
Fix drag_selection crash on scene close
2022-07-14 02:31:52 +02:00
Rémi Verschelde
5fec0d232a
Merge pull request #58763 from Calinou/editor-fix-default-float-step
2022-07-14 00:21:33 +02:00
Rémi Verschelde
41dda3bea0
Merge pull request #62919 from MinusKube/dock-layout-save-bug
2022-07-14 00:12:10 +02:00
Rémi Verschelde
cf9994ed03
Merge pull request #62952 from and-rad/results-count-no-negative
2022-07-14 00:07:01 +02:00
Rémi Verschelde
991f78183d
Merge pull request #60696 from Calinou/shadow-quality-rename-project-settings
2022-07-14 00:03:17 +02:00
Rémi Verschelde
a0f0eb5e03
Merge pull request #62710 from Calinou/editor-help-improve-code-kbd-ref-highlight
2022-07-13 23:55:59 +02:00
Hugo Locurcio
21ea1c3835
Rename soft shadow quality project settings for easier searching
...
`rendering/quality/shadows` is now `rendering/quality/positional_shadow`
to explicitly denote that the settings only affect positional light shadows,
not directional light shadows.
Shadow atlas settings now contain the word "atlas" for easier searching.
Soft shadow quality settings were renamed to contain the word "filter".
This makes the settings appear when searching for "filter" in the
project settings dialog, like in Godot 3.x.
2022-07-13 19:56:02 +02:00
FireForge
0df23111b3
Show Resource type name in Array editor
...
Follow-up to #60409
Example: @export var gradient_array: Array[Gradient]
Before: Array[Object]
After: Array[Gradient]
2022-07-13 12:07:01 -05:00
Rémi Verschelde
9b29f18631
Merge pull request #59680 from fire-forge/property-help
...
Add "Open Documentation" button to EditorProperty context menu
2022-07-13 14:12:53 +02:00
Rémi Verschelde
200009cd48
Merge pull request #62282 from fire-forge/gradient2d-editor-fix
...
Fix GradientTexture2D editor height
2022-07-13 14:11:11 +02:00
Rémi Verschelde
b942c1ffe3
Merge pull request #62827 from fire-forge/ok-cancel
...
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-13 14:10:38 +02:00
Andreas Raddau
48b8bfbbcf
Fix negative search result match
2022-07-12 15:14:43 +02:00
bruvzg
f63d54126d
Add LabelSettings resource for quick Label theme property override.
2022-07-12 16:05:12 +03:00
FireForge
dcf42cff86
Add "Open Documentation" button to EditorProperty context menu
2022-07-11 19:30:46 -05:00
MinusKube
b634688fca
Fix editor dock layout not saving correctly
2022-07-11 20:57:47 +02:00
Hugo Locurcio
75f7e1fbf8
Fix some properties having an invalid float step of 0
...
This also clamps the float step in the editor to the lowest value
that is guaranteed to work in all situations (including for 32-bit
floats).
2022-07-10 22:56:59 +02:00
bruvzg
d02bf7584a
[Command line export] return 0 exit code when export is finished with warnings.
2022-07-10 23:39:16 +03:00
Hugo Locurcio
99ac090233
Improve appearance of the material editor preview
...
- Use lower camera FOV to show more of the sphere/box, while still
fully displaying the meshes in question.
2022-07-10 18:47:09 +02:00
FireForge
d6188b4632
Use a SpinBox in the inspector array resize dialog
2022-07-10 00:19:29 -05:00
FireForge
af19501cc7
Seperate filter and description in FileDialog.add_filter()
2022-07-09 10:51:45 -05:00
FireForge
e4067064ce
Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialog
2022-07-09 10:47:08 -05:00
Rémi Verschelde
d26442e709
Merge pull request #60739 from KoBeWi/add_static_methods_everywhere!!
2022-07-08 16:50:47 +02:00
Rémi Verschelde
dc86bce306
AssetLib: Only notify when unavailable in verbose mode
2022-07-08 15:25:54 +02:00
Rémi Verschelde
d479eba7b4
Merge pull request #62405 from YeldhamDev/movie_maker_stuff
...
Clean and fix the Movie Maker button
2022-07-08 14:42:34 +02:00
kobewi
d2900429e8
Add static methods for creating Image and ImageTexture
2022-07-08 13:40:47 +02:00
Rémi Verschelde
0e3ac839b4
Merge pull request #62638 from Calinou/animationtree-editor-use-antialiasing
2022-07-08 10:17:40 +02:00
Rémi Verschelde
7d3ff927de
Merge pull request #62075 from Vitika9/gsoc-colorpicker
2022-07-08 09:06:47 +02:00
bruvzg
8f6c4956ca
Fix regressions from Font refactor
...
Remove unnecessary font override
Fixes button outline draw when it should not, causing button colors to be slightly off
2022-07-08 08:27:18 +03:00
Rémi Verschelde
664d8cd8ab
Merge pull request #62816 from akien-mga/feature-list-comma-fix
2022-07-07 16:29:59 +02:00
Rémi Verschelde
7fd036800c
Merge pull request #62622 from Rindbee/make-blend-import-preview-visible
2022-07-07 15:27:30 +02:00
bruvzg
a319e6e623
Fix regressions from Font refactor
...
Fixes `p_font.is_null()` errors due to incorrect resource type used.
Fixes code editor font not set correctly, and OpenType features applied to the wrong font.
2022-07-07 15:11:08 +03:00
Rémi Verschelde
ba5049402a
Export: Fix comma handling in feature list RTL
...
Fixes #62815 .
2022-07-07 13:42:27 +02:00
Rémi Verschelde
1e553e34fb
Merge pull request #62108 from bruvzg/font_config_v3
2022-07-07 12:22:49 +02:00
Dave Palais
d9e4327e34
EditorScenePostImportPlugin: Return requested option value
2022-07-06 15:11:09 -05:00
Vitika9
0011d93c81
ColorPicker Refactor
2022-07-06 22:11:43 +05:30
Rémi Verschelde
5a4d1bff79
Merge pull request #62777 from object71/potential-fix-for-crash-error-expand
2022-07-06 16:27:10 +02:00
Rémi Verschelde
635d447a69
Merge pull request #62713 from YuriSizov/docs-scripting-annotations
2022-07-06 15:31:19 +02:00
Hristo Stamenov
e0742be4db
Double check the selected tree item on error activated and error selected callbacks as the value might be nullptr which would cause a crash.
2022-07-06 16:24:26 +03:00
Rémi Verschelde
550f9faa9c
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 30ceef93b0
)
2022-07-06 15:04:47 +02:00
bruvzg
344ba0ffaf
Refactor Font configuration and import UI, and Font resources.
2022-07-06 14:12:36 +03:00
Rémi Verschelde
cf19484746
Merge pull request #62374 from reduz/implement-bitfield-hint
...
Implement a BitField hint
2022-07-06 09:35:40 +02:00
Haoyu Qiu
61bc7d6576
Fix heap-use-after-free when closing a scene with its builtin script open
2022-07-06 10:45:36 +08:00
Guilherme Felipe
51aa57328a
[Node3DEditorViewport] Add correct margin for rotation control and fps label.
2022-07-05 17:32:16 -03:00
reduz
5ac42cf576
Implement a BitField hint
...
Allows to specify the binder that an enum must be treated as a bitfield.
2022-07-05 22:13:37 +02:00
Hugo Locurcio
a347650fd6
Improve visibility of code, kbd and clickable references in editor help
...
This adds a background color for inline code, code blocks, keyboard
shortcuts and clickable references (such as `[member something]`).
2022-07-05 19:35:51 +02:00
kobewi
072e2ff659
Show the transform operation numbers in 2D
2022-07-05 13:19:32 +02:00
Nolkaloid
31745a8b15
Fix drag'n drop type check for NodePaths
2022-07-04 20:10:40 +02:00
Yuri Sizov
a9098e6147
Add support for documenting built-in annotations
2022-07-04 20:21:39 +03:00
Rémi Verschelde
1d06fec535
Merge pull request #62448 from MinusKube/completion-scroll-click
...
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-04 10:13:20 +02:00
Rémi Verschelde
ba8e7efc2b
Merge pull request #38298 from ThakeeNathees/file-dialog-autocomplete-fix
2022-07-04 10:10:47 +02:00
bruvzg
e3d5bc2098
Use autowrap in the curve editor.
2022-07-04 10:13:11 +03:00
Rémi Verschelde
5cc830892a
Merge pull request #62681 from Jummit/keep-perspective-menu
...
Keep Perspective menu open after selecting an option
2022-07-04 08:21:57 +02:00
Thakee Nathees
446f1b7052
Fix FileDialog file name autocompletion with filters
...
Fixes #38195 .
2022-07-04 01:26:34 +02:00
MinusKube
336400dc42
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-03 23:47:52 +02:00
Jummit
e3ab344af9
Keep Perspective menu open on selection
...
Makes the Perspective menu consistent with the View menu in the 3D
viewport. This allows for quicker inspection of the scene, and makes
missclicks more forgiving.
2022-07-03 17:23:41 +02:00
Rémi Verschelde
b2a4cac9f4
Merge pull request #62649 from Calinou/3d-editor-gizmos-fix-gi
2022-07-03 15:30:08 +02:00
Rémi Verschelde
6f02454634
Merge pull request #59834 from trollodel/advanced_import_fix
...
Fix some bugs in the advanced scene import
2022-07-03 10:51:40 +02:00
Rémi Verschelde
c818e3dfc2
Merge pull request #62647 from python273/asset-library-dynamic-column-count
2022-07-02 23:42:54 +02:00
Hugo Locurcio
de976eb82f
Fix 3D editor gizmos appearing in GI following default GI mode change
2022-07-02 23:19:01 +02:00
python273
d65eb592b0
Make asset library's column count dynamic
2022-07-02 23:42:09 +03:00
Rémi Verschelde
f254500753
Merge pull request #61168 from DeeJayLSP/wav_ieee
2022-07-02 22:04:06 +02:00
Hugo Locurcio
feac27476c
Use antialiasing for line drawing in the AnimationTree editor
...
- Use EDSCALE where relevant to improve scaling on hiDPI displays.
2022-07-02 18:26:41 +02:00
Rindbee
d9709e151b
Make import preview of blend files visible
...
Unlike other scene imports, the import of blend files requires options. Otherwise, the preview may not be visible.
2022-07-02 13:10:29 +08:00
Rémi Verschelde
a2459c7d35
Merge pull request #61610 from TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-02 00:17:21 +02:00
Kirill
924658a849
Stretch image on resize in asset description dialog
2022-07-01 17:17:40 +03:00
Hugo Locurcio
32973094f5
Add a Bake Mask property to GPUParticlesCollisionSDF3D
...
This allows not accounting for certain visible meshes during baking
(such as foliage and thin fixtures).
This also adds a clarification about transparent materials always
being excluded in the OccluderInstance3D documentation.
2022-06-30 23:12:40 +02:00
Rémi Verschelde
0800d475a4
Merge pull request #62540 from MinusKube/debugger-array-crash
...
Add/fix support for RID, Callable and Signal in editor properties
2022-06-30 23:04:08 +02:00
Voylin
cebdfd1bbd
Fixing Print_rich which only displays correctly in terminal
...
There was an issue that the type was not passed through correctly. These couple of lines fix this issue and make print_rich work as expected.
2022-07-01 04:34:19 +09:00
Silc Renew
dc43cfc830
implement bone renamer in importer
2022-07-01 03:55:28 +09:00
MinusKube
d56185146d
Add editor properties for Callable and Signal
2022-06-30 17:39:10 +02:00
Rémi Verschelde
1e082914e2
Merge pull request #62299 from Calinou/texture-preview-add-mipmap-memory-usage
...
Mention mipmap and memory usage in the texture editor preview
2022-06-30 13:12:09 +02:00
Rémi Verschelde
fd3970f762
Merge pull request #62531 from Faless/fix/4.x_assetlib_is_available
2022-06-30 10:06:17 +02:00
Fabio Alessandrelli
0e504e4191
[AssetLib] Fix crash in Web editor.
...
Add EditorAssetLibrary::is_available which always returns false in the
Web editor and use it in EditorNode for detection.
2022-06-30 01:26:08 +02:00
Rémi Verschelde
047cdc9a9f
Merge pull request #62511 from Chaosus/fix_doc_title_property
...
Fix `help_title_font_size` editor property to correctly apply to docs
2022-06-30 01:25:24 +02:00
Rémi Verschelde
a7e589df38
Merge pull request #62084 from smix8/path_debug_options_4.x
...
Add Path2D/3D debug options
2022-06-29 20:36:43 +02:00
Hugo Locurcio
87c989f98d
Mention mipmap and memory usage in the texture editor preview
...
This is important to quickly determine if a texture is using
unexpectedly high amounts of memory, or to troubleshoot
why mipmap sampling modes have no effect on it.
- Improve readability by increasing outline size and reducing
font size to match the rest of the editor UI.
2022-06-29 17:38:50 +02:00
Yuri Rubinsky
c6f57c30c3
Fix help_title_font_size
editor property to correctly apply to docs
2022-06-29 15:08:54 +03:00
kobewi
798f9c8632
Advance animation after confirming
2022-06-29 13:55:23 +02:00
Rémi Verschelde
5235ce4379
i18n: Sync editor translations with Weblate
...
(cherry picked from commit f29241fa1e
)
2022-06-29 12:12:43 +02:00
Rémi Verschelde
caa9ec8aca
Merge pull request #62489 from qarmin/more_renames
...
More function/class renames in converter
2022-06-28 23:39:33 +02:00
Rafał Mikrut
3ca45b8200
More function/class renames in converter
2022-06-28 18:21:11 +02:00
Voylin
c6291bcd8a
Adding print_rich for printing with BBCode
2022-06-29 00:41:29 +09:00
Rémi Verschelde
4c14bf7482
Merge pull request #62470 from vnen/gdscript-export-nodes
...
GDScript: Enable exporting nodes to the inspector
2022-06-28 08:07:00 +02:00
Rémi Verschelde
b863c40356
Merge pull request #62468 from V-Sekai/core-const-expressions
...
Add a const call mode to Object, Variant and Script.
2022-06-28 01:08:24 +02:00
George Marques
9490146a16
GDScript: Enable exporting nodes to the inspector
...
Also fix an small issue in the property editor for NodePath trying to
use the meta property when not needed.
2022-06-27 18:42:52 -03:00
K. S. Ernest (iFire) Lee
9ddebc0c22
Add a const call mode to Object, Variant and Script.
...
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script).
This mode ensures only const functions can be called, making it safe to use from the editor.
Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27 13:33:06 -07:00
Hendrik Brucker
99ce0df3b1
Refactor bezier interpolation functions
2022-06-27 19:42:43 +02:00
Rémi Verschelde
c41e4b10c3
Merge pull request #61954 from KoBeWi/scene_factory 🏭
2022-06-27 14:56:53 +02:00
Rémi Verschelde
bbca1d6530
Fixup #62318 after ResourceCache changes
2022-06-27 14:02:21 +02:00
Rémi Verschelde
09c584990c
Merge pull request #62318 from reduz/simplify-subresource-saving
...
Simplify Subresource Saving
2022-06-27 13:50:49 +02:00
Rémi Verschelde
fbc3777467
Merge pull request #62185 from reduz/export-node-pointer-path
...
Add ability to export Node pointers as NodePaths
2022-06-27 11:14:36 +02:00
Rémi Verschelde
af694245f5
Merge pull request #62221 from ConteZero/drag_and_drop_option
...
Add an option to drag'n'drop selected text in ``TextEdit``
2022-06-26 16:02:52 +02:00
ConteZero
5d56efcaa4
Add an option to drag'n'drop selected text in TextEdit
2022-06-26 15:22:02 +02:00
Rémi Verschelde
16b23ee372
Merge pull request #62248 from Calinou/editor-icons-add-multiplayer-nodes
...
Add editor icons for MultiplayerSpawner and MultiplayerSynchronizer
2022-06-26 08:51:45 +02:00
Rémi Verschelde
2b349141dc
Merge pull request #62250 from Calinou/editor-icons-add-abstract-icons
...
Add editor icons for abstract nodes that can now be added in the editor
2022-06-26 08:49:58 +02:00
Hugo Locurcio
283356c7ee
Add editor icons for MultiplayerSpawner and MultiplayerSynchronizer
...
Co-authored-by: Hendrik Brucker <hendrik.brucker@mail.de>
2022-06-26 05:35:55 +02:00
Hugo Locurcio
8a31a2d25c
Add editor icons for abstract nodes that can now be added in the editor
2022-06-26 05:08:44 +02:00
Rémi Verschelde
295a79c125
Merge pull request #62406 from YeldhamDev/custom_scene_fix
...
Fix error about transient window when running a custom scene
2022-06-25 23:15:36 +02:00
Michael Alexsander
793810938e
Clean and fix the Movie Maker button
2022-06-25 18:14:19 -03:00
Michael Alexsander
d6f5c5429f
Fix error about transient window when running a custom scene
2022-06-25 16:41:10 -03:00
reduz
b7c41f9ba1
Add ability to export Node pointers as NodePaths
...
This PR implements:
* A new hint: PROPERTY_HINT_NODE_TYPE for variant type OBJECT, which can take specific node types as hint string.
* The editor will show it as a node path, but will set it as a pointer to a node from the current scene if you select a path.
* When scene is saved, the node path is saved, then restored as a pointer.
NOTE: This is a proof of concept and this approach will most likely not work. The reason if that, if the node referenced is deleted, then when trying to edit this the node will become invalid.
Potential workarounds: Since this uses the Variant API, it should obtain the pointer from the Variant object ID. Yet, this would either only really work in GDScript or it would need to be implemented with workarounds in every language.
Alternative ways to make this work: Nodes could export an additional property with a node path (like for which_node, it could be which_node_path).
Another alternative: Path editing could happen as a hidden metadata (ignoring the pointer).
2022-06-25 15:50:15 +02:00
Rémi Verschelde
b192073001
Merge pull request #62309 from reduz/remake-resource-thread-safety
...
Remake ResourceCache thread safety code and API
2022-06-25 14:09:28 +02:00
Rémi Verschelde
dd3de622d8
Merge pull request #62372 from MarcusElg/nosliderrename
...
Rename @export_range's noslider option to no_slider
2022-06-25 14:03:44 +02:00
Hugo Locurcio
5da61d8a4c
Add MJPEG to the list of editor capitalizations
2022-06-24 22:24:21 +02:00
Marcus Elg
6c1ac9f3be
Rename export_range's noslider option to no_slider
2022-06-24 10:45:34 +02:00
Rémi Verschelde
a2b20c15be
Merge pull request #61698 from raulsntos/icon_color-editor-theme
...
Add icon colors to editor theme
2022-06-24 09:09:30 +02:00
Rémi Verschelde
6260ab6a4d
Merge pull request #62349 from KoBeWi/crash_pattern
...
Fix crash when drawing invalid tiles
2022-06-23 22:47:21 +02:00
reduz
9eb5f2a0d7
Simplify Subresource Saving
...
Redo edited subresource (and resource) saving in a much more simplified way.
I think this should work (unless I am missing something) and be faster than what is there.
It should also supersede #55885 .
I am not 100% entirely convinced that this approach works, but I think it should so please test.
2022-06-23 21:25:20 +02:00
Raul Santos
842a3efe84
Add icon colors to editor theme
...
Add `icon_normal_color`, `icon_pressed_color`, and
`icon_disabled_color` to `Button`, `OptionButton`,
`CheckButton`, and `CheckBox`.
2022-06-23 20:02:27 +02:00
Rémi Verschelde
c32285733d
Merge pull request #62323 from Maran23/window-title-changed-data-fix
2022-06-23 15:47:50 +02:00
kobewi
2ccef6616e
Fix crash when drawing invalid tiles
2022-06-23 14:34:23 +02:00
Rémi Verschelde
91b984a507
Merge pull request #61966 from Rindbee/fix-internal-nodes-owned
...
Fix setting owner on internal nodes when save branch as scene
2022-06-23 14:08:12 +02:00
Rémi Verschelde
21b51fdf7e
Merge pull request #61826 from guilhermefelipecgs/fix_leak
...
Fix ObjectDB instances leaked on state machine when editor closes
2022-06-23 09:58:51 +02:00
Haoyu Qiu
084fdee4a2
Add missing TTR in dialog title
2022-06-23 13:13:42 +08:00
Marius Hanl
3b20b9d32a
Update the window title when the project settings were changed or when the unsaved cache was changed (either by editing something or by saving)
...
This makes sure that:
1.) The title is always up-to-date with project settings
2.) The title always reflects the changes made in the editor by showing or hiding the '(*)'
2022-06-22 23:53:52 +02:00
reduz
e772b65d92
Remake resource thread safety and API
...
* Ensures thread safety when resources are destroyed.
* Simplified API by always forcing `ResourceCache::get_ref`, which needs less hacks and is fully thread safe.
* Removed RWLock for resources because its not possible to use for the new logic. Should not be a problem.
Supersedes #57533
2022-06-22 13:46:46 +02:00
Diddykonga
0672711b29
[Editor]: Allow Select Current
to Save Scenes
...
[Editor]: Change `Select Current` to Save scenes before attempting to Run them.
2022-06-21 23:07:35 -05:00
Rémi Verschelde
f3bf0334bb
Merge pull request #62262 from fire-forge/suffix2
2022-06-21 16:05:35 +02:00
kobewi
a08d930740
Rework scene creation dialog
2022-06-21 15:42:56 +02:00
Rémi Verschelde
40c360b870
Merge pull request #62122 from reduz/implement-movie-writer
...
Implement a Movie Maker mode
2022-06-21 14:24:14 +02:00
reduz
5786516d4d
Implement Running Godot as Movie Writer
...
* Allows running the game in "movie writer" mode.
* It ensures entirely stable framerate, so your run can be saved stable and with proper sound (which is impossible if your CPU/GPU can't sustain doing this in real-time).
* If disabling vsync, it can save movies faster than the game is run, but if you want to control the interaction it can get difficult.
* Implements a simple, default MJPEG writer.
This new features has two main use cases, which have high demand:
* Saving game videos in high quality and ensuring the frame rate is *completely* stable, always.
* Using Godot as a tool to make movies and animations (which is ideal if you want interaction, or creating them procedurally. No other software is as good for this).
**Note**: This feature **IS NOT** for capturing real-time footage. Use something like OBS, SimpleScreenRecorder or FRAPS to achieve that, as they do a much better job at intercepting the compositor than Godot can probably do using Vulkan or OpenGL natively. If your game runs near real-time when capturing, you can still use this feature but it will play no sound (sound will be saved directly).
Usage:
$ godot --write-movie movie.avi [scene_file.tscn]
Missing:
* Options for configuring video writing via GLOBAL_DEF
* UI Menu for launching with this mode from the editor.
* Add to list of command line options.
* Add a feature tag to override configurations when movie writing (fantastic for saving videos with highest quality settings).
2022-06-21 11:28:47 +02:00
Rindbee
72a768b24f
Avoid possibly showing two Dialogs at the same time
...
Update editor/scene_tree_editor.cpp
Add a comment to explain why
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-06-21 17:21:04 +08:00
FireForge
743a48da2a
Fix GradientTexture2D editor height
2022-06-20 22:21:18 -05:00
Rémi Verschelde
0aa85f4ff8
Merge pull request #62252 from Maran23/project-window-title-rename-fix
...
Update project window title when a project setting was changed
2022-06-20 23:19:14 +02:00
FireForge
88589c091b
Improve TileSet editor and add more suffixes
2022-06-20 15:28:19 -05:00
Marius Hanl
9f2d1b5cf0
Update project window title when a project setting was changed
...
Before this fix the title was just updated when we make the first change in the project settings. Now we always update the window title as it may be changed in the meantime when a project setting is changed (e.g. the app name (application/config/name)).
2022-06-20 21:57:50 +02:00
smix8
e12e239ab4
Add Path2D/3D debug options
...
Add Path2D/3D debug options.
2022-06-20 17:32:05 +02:00
Hugo Locurcio
aafb5e54f4
Rename VideoPlayer editor icon to VideoStreamPlayer
...
The icon was previously unused.
2022-06-20 16:37:37 +02:00
Juan Linietsky
15837ec191
Revert "Disable VRAM compression by default for small textures in Detect 3D"
2022-06-20 15:30:19 +02:00
Rémi Verschelde
b4804a2d3f
Merge pull request #61459 from reduz/new-shader-editor
2022-06-20 15:27:16 +02:00
reduz
141c375581
Clean up Hash Functions
...
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934
* Clean up usage of murmur3
* Fixed usages of binary murmur3 on floats (this is invalid)
* Changed DJB2 to use xor (which seems to be better)
2022-06-20 12:54:19 +02:00
Rémi Verschelde
460a083e2b
Merge pull request #62201 from Calinou/navigation-nodes-tweak-editor-icons
2022-06-20 10:07:10 +02:00
Georg Ziegler
c4404e2918
Move definition of const int ERROR_CODE to be reachable by all functions.
2022-06-19 14:53:40 +02:00
Rémi Verschelde
22a8c80f67
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 000499662b
)
2022-06-19 14:00:18 +02:00
Hugo Locurcio
6999b55190
Tweak editor icons for navigation nodes and SkeletonIK3D
...
This adds a partial 2D/3D color to each icon for easier visual grepping.
The icons are not fully colored as these nodes don't inherit from
Node2D or Node3D. This is similar in principle to how the
WorldEnvironment editor icon is colored.
2022-06-19 07:53:54 +02:00
Hugo Locurcio
2651e88b05
Automatically update the editor viewport when 3D scaling options are changed
...
This allows for previewing the effects of the various 3D scaling
project settings without having to restart the editor.
2022-06-19 01:05:17 +02:00
Rémi Verschelde
94e962e27f
Merge pull request #62151 from tdaven/tdaven/fix-62149
...
Add missing new function parameter to fix button presses.
2022-06-18 11:00:41 +02:00
Rémi Verschelde
0daa868ab4
Merge pull request #62023 from Calinou/detect-3d-small-textures-no-vram-compress
...
Disable VRAM compression by default for small textures in Detect 3D
2022-06-17 21:07:04 +02:00
Trevor Davenport
e3fc0fd118
Add missing new function parameter.
2022-06-17 10:13:10 -06:00
Rémi Verschelde
362f53ff02
Merge pull request #62125 from cow-neaz/stop_game_on_reloading_project
...
Stop game on reloading project - Fix #62088 issue
2022-06-17 08:08:20 +02:00
Rémi Verschelde
9f732dfe9b
Merge pull request #62072 from fire-forge/project-manager-icons
...
Add icons to the Project Manager side buttons
2022-06-17 08:07:02 +02:00
FireForge
b7b6b38453
Add icons to the Project Manager side buttons
2022-06-16 19:32:41 -05:00
cow-neaz
8935cf17cf
Stop game on reloading project
2022-06-17 03:20:37 +03:00
Rémi Verschelde
d04e7a7506
i18n: Sync editor translations with Weblate
...
(cherry picked from commit 135c252a38
)
2022-06-16 21:07:30 +02:00
cow-neaz
3ed980a4b7
Add drag and drop support to EditorPropertyPath
2022-06-16 20:08:14 +03:00
Rémi Verschelde
1767507e69
Merge pull request #61888 from Chaosus/vs_remove_engine_version
...
Remove engine version from visual shader
2022-06-16 18:19:03 +02:00
bruvzg
b5c96df277
Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the TextServer.
2022-06-16 16:49:37 +03:00
Rémi Verschelde
ac9cfd0c2d
Merge pull request #61820 from pfertyk/issue-61604-is-plugin-enabled-by-name
2022-06-16 09:59:07 +02:00
Rémi Verschelde
4bbe7f0b98
Merge pull request #51950 from qarmin/bad_godot4_converter
2022-06-15 11:13:49 +02:00
Rémi Verschelde
0a46f73aff
Merge pull request #62063 from fire-forge/inputevent-button
2022-06-15 11:06:36 +02:00
Rémi Verschelde
57867d8ae3
Merge pull request #62060 from fire-forge/h-offset
2022-06-15 10:24:11 +02:00
Rafał Mikrut
24f45bd533
Add Godot 3.x -> Godot 4.x project converter
2022-06-15 10:11:17 +02:00
FireForge
f85eb4164a
Expose PopupMenu set/get_item_horizontal_offset()
...
- Renames setter from set_item_h_offset()
- Adds getter
2022-06-15 02:08:44 -05:00
FireForge
f72c1ac2a3
Use new inspector button style in InputEvent editor
2022-06-15 01:44:16 -05:00
FireForge
4e469886e8
Allow folding in sub-inspectors in Array and Dictionary editors
2022-06-14 23:25:40 -05:00
Rémi Verschelde
f9f3db443e
Merge pull request #61702 from fire-forge/tilemap-layers
2022-06-14 22:54:39 +02:00
FireForge
b8720500b0
Improve TileMap editor layer selection button
2022-06-14 14:14:19 -05:00
Rémi Verschelde
c9e3fe73ff
Merge pull request #62009 from KoBeWi/rings_a_bell
...
Improve toaster buttons
2022-06-14 21:07:22 +02:00
kobewi
5553e27fe8
Add vector value linking
...
Co-authored-by: redlamp <244062+redlamp@users.noreply.github.com>
2022-06-14 14:58:44 +02:00
Hugo Locurcio
04d5626bc0
Disable VRAM compression by default for small textures in Detect 3D
...
This is done to prevent reducing texture quality when it doesn't save
much video memory, especially for pixel art.
The size threshold can be adjusted in the project settings.
To get the previous behavior where textures detected to be used in 3D
had their compression mode always set to VRAM, set this to the lowest value
(16).
2022-06-14 13:08:20 +02:00
bruvzg
0d6de213b4
[macOS] Fix high-precision scrolling direction in the canvas editor zoom.
2022-06-14 10:52:58 +03:00
kobewi
54c9a481a0
Improve toaster buttons
2022-06-14 02:35:25 +02:00
Rémi Verschelde
4d14341244
Merge pull request #62005 from Calinou/texture-import-detect-3d-i18n
...
Add internationalization for Detect 3D texture import messages
2022-06-13 21:01:48 +02:00
Hugo Locurcio
8f235bdbbe
Add internationalization for Detect 3D texture import messages
...
These messages are only printed in the editor and can be seen
in the editor Output panel, so these should be localizable.
2022-06-13 20:16:41 +02:00
Rémi Verschelde
41986532c1
Merge pull request #61974 from Calinou/project-settings-mark-as-basic
2022-06-13 17:16:03 +02:00
Rémi Verschelde
d4f31e201d
Merge pull request #61809 from groud/terrain_center_bit
2022-06-13 17:06:34 +02:00
Rémi Verschelde
2f9a074fb4
Merge pull request #61972 from and-rad/confirm-insert
...
Fixed keying multiple animation tracks
2022-06-13 13:41:54 +02:00
Rémi Verschelde
136f84fc35
Merge pull request #61772 from bruvzg/ft_ot_collect
2022-06-13 11:13:05 +02:00
Rémi Verschelde
044b4fef54
Merge pull request #61936 from jgillich/vehicle-import
...
restore vehicle+wheel importers
2022-06-13 10:57:22 +02:00
Fabio Alessandrelli
ac878ed9b8
Merge pull request #61736 from KoBeWi/final_form_of_the_fix
...
Fix Debugger tab not updating when clearing errors
2022-06-12 20:46:45 +02:00
Hugo Locurcio
c178cfef8e
Mark some common project settings as basic
2022-06-12 19:50:14 +02:00
Andreas Raddau
9d9a50b7ee
Fixed missing call to AnimationTrackEditor::make_insert_queue
2022-06-12 16:02:09 +02:00
Rémi Verschelde
91dd049aab
Merge pull request #61950 from Calinou/editor-capitalization-add-taa
...
Add TAA to the list of editor capitalizations
2022-06-12 08:48:30 +02:00
Rémi Verschelde
79fd068a10
Merge pull request #61240 from fire-forge/suffix
...
Add suffixes to all nodes and resources
2022-06-12 08:47:41 +02:00
Rindbee
472d16be4f
Fix setting owner on internal nodes when save brach as scene
2022-06-12 13:57:42 +08:00
Hugo Locurcio
b55f1404ce
Add TAA to the list of editor capitalizations
...
This is used in the "Use Taa" setting (for temporal antialiasing).
2022-06-12 00:27:56 +02:00
FireForge
d605d13324
Add margins to Array and Dictionary editors
2022-06-11 10:44:15 -05:00
Jakob Gillich
e260fd2811
restore vehicle+wheel importers
...
fixes #61733
2022-06-11 17:05:58 +02:00
FireForge
4678736a39
Add suffixes to all nodes and resources
2022-06-11 09:41:05 -05:00
kobewi
ec6bbd486f
Don't handle pending clicks outside scene tree
2022-06-10 15:14:31 +02:00
Gilles Roudière
62d2549e9e
Add terrain center bit
2022-06-10 14:37:39 +02:00
Haoyu Qiu
f78943b08b
Add tooltips to Export dialog icon buttons
2022-06-10 18:38:46 +08:00
Yuri Rubinsky
d6622330d7
Remove engine version from visual shader
2022-06-10 13:17:16 +03:00
Rémi Verschelde
efcf0d88e4
Merge pull request #61454 from fire-forge/round-script
2022-06-10 10:53:19 +02:00
Rémi Verschelde
4922fee09e
Merge pull request #59770 from fire-forge/rounded-corners
2022-06-10 10:53:09 +02:00
Rémi Verschelde
ab2fd4a671
Merge pull request #59776 from fire-forge/more-round
2022-06-10 10:52:44 +02:00
Yuri Rubinsky
e02aadba95
Distinguish Length function name to Length2D/3D/4D in visual shaders
2022-06-10 11:08:08 +03:00
Rémi Verschelde
3bd8706c1f
Merge pull request #61487 from chungd87/fix-animation-UI-bug
2022-06-10 09:45:22 +02:00
kobewi
9036fcbe5e
Remove TooltipPanel and TooltipLabel
2022-06-09 22:23:11 +02:00
Paweł Fertyk
725eb629b3
Allow plugin name in is_plugin_enabled
...
Fixes #61604 .
2022-06-09 18:42:32 +02:00
Danny Chung
09658f7e3b
Increase AnimationPlayer position SpinBox to fit more decimals
...
Fixed UI bug where it appeared that pushing the up or down incrementing
arrows did not increment the SpinBox value appropriately. Just needed
to increase the size of the box horizontally, to display four decimal
points consistently.
2022-06-09 09:59:26 +02:00
Rémi Verschelde
f2bf93070f
Merge pull request #61648 from KoBeWi/dependency_editle
2022-06-09 09:54:07 +02:00
Guilherme Felipe de C. G. da Silva
7fc3aa43ce
Fix ObjectDB instances leaked on state machine when editor closes
2022-06-08 17:08:48 -03:00
bruvzg
e00571b194
Add readable export errors.
2022-06-08 17:55:46 +03:00
Rémi Verschelde
72dea3b821
i18n: Sync editor translations with Weblate
...
Remove some translation templates which were empty or almost empty
(less than 10 strings translated, years without further activity).
(cherry picked from commit f1eab40cda
)
2022-06-08 13:18:34 +02:00
Rémi Verschelde
c8ce7e34e2
i18n: Misc fixes translation strings
...
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:57:54 +02:00
Rémi Verschelde
b33660228b
Merge pull request #61784 from Geometror/visualeditors_editorsettings_propagation
...
Fix visual editor settings change propagation
2022-06-07 21:03:13 +02:00
Rémi Verschelde
5ebdfc31b2
Merge pull request #61319 from JFonS/taa_wip
...
Initial TAA implementation
2022-06-07 20:53:55 +02:00
Rémi Verschelde
d52a79ad22
Merge pull request #59786 from V-Sekai/ok_color
...
Allow picking similar colours using OKHSL.
2022-06-07 20:52:32 +02:00
Rémi Verschelde
28cf97746f
Merge pull request #61779 from RechieKho/zoom_100_percent_error
...
Define zoom shortcut before using it
2022-06-07 20:52:09 +02:00
Johannes Witt
784b1adb18
Fix EditorSpinSlider
mouse reset position on tree exit
2022-06-07 20:08:15 +02:00
Hendrik Brucker
e4ba3b64f0
Fix visual editor settings change propagation
2022-06-07 19:17:47 +02:00
Rémi Verschelde
e24e4935ff
Merge pull request #61751 from KoBeWi/ 🐱 👤
2022-06-07 16:02:16 +02:00
RechieKho
ea9aaab293
Define zoom shortcut before using it
2022-06-07 21:27:38 +08:00
K. S. Ernest (iFire) Lee
1b776a6e7a
Allow picking similar colours using OKHSL.
2022-06-07 05:53:27 -07:00
kobewi
83014f8901
Add GLOBAL_DEF_INTERNAL to hide specific settings
2022-06-07 14:14:03 +02:00
Rémi Verschelde
7f5c10b588
Merge pull request #61737 from LightningAA/fix-frac-typo
...
Fix typo "Frac" instead of "Fract"
2022-06-07 14:10:56 +02:00
jfons
ba832d83b2
Initial TAA implementation
...
Initial TAA support based on the implementation in Spartan Engine.
Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-06-07 13:14:44 +02:00
Rémi Verschelde
36bd26dc75
Merge pull request #61767 from KoBeWi/tiling_speedrun
...
Add shortcuts to GenericTilePolygonEditor
2022-06-07 11:36:57 +02:00
bruvzg
6e4cdad3ac
[TextServer] Adds support for TrueType / OpenType collection files (*.TTC, *.OTC).
2022-06-07 11:35:59 +03:00
Rémi Verschelde
54d43efbd8
Merge pull request #61651 from Haydoggo/path-editor-handle-swap
...
Fix end handles being reversed in Path3DGizmo
2022-06-07 07:52:32 +02:00
kobewi
cf2287a2b4
Add shortcuts to GenericTilePolygonEditor
2022-06-07 02:03:04 +02:00
Aaron Record
14df02b21f
Fix typo "Frac" instead of "Fract"
2022-06-05 19:20:32 -06:00
kobewi
79c7d5b2ab
Fix Debugger tab not updating when clearing errors
2022-06-06 01:27:09 +02:00
kobewi
6ac85ccc3d
Enable nearest filtering in shrunk 3D viewport
2022-06-05 18:24:05 +02:00
Andy Gainey
9172ab37bf
Fix inverted mouse wheel zoom in CanvasItemEditor #61716
...
Bug introduced in bb07c6a7d0
while fixing symmetry of zooming in and out.
2022-06-05 16:29:59 +02:00
Rémi Verschelde
25908c17c9
Merge pull request #61696 from guilhermefelipecgs/fix_menus
...
Removes start/end states from menus
2022-06-05 13:59:31 +02:00
Rémi Verschelde
4b8609ded9
Merge pull request #61690 from againey/zoom-fix-for-canvas-item-editor
...
Fix zoom in callback for CanvasItemEditor to use correct numeric sign
2022-06-05 13:50:35 +02:00
Rémi Verschelde
eaffb88558
Merge pull request #61678 from KoBeWi/ 🌲 💥
...
Fix crash with empty scenes
2022-06-05 01:28:56 +02:00
Guilherme Felipe de C. G. da Silva
e363fdeed9
Removes start/end states from menus
2022-06-04 15:13:07 -03:00
Andy Gainey
bb07c6a7d0
Fix zoom in callback for CanvasItemEditor to use correct numeric sign
2022-06-04 18:14:19 +02:00
Rémi Verschelde
7a5eba16d8
Merge pull request #61679 from fire-forge/tilemap-grid
...
Update viewport when toggling TileMap grid
2022-06-04 15:45:43 +02:00
Hayden Leete
f6123e00e7
fix end handles being reversed in Path3DGizmo
2022-06-04 10:58:52 +12:00
Rémi Verschelde
5507f9ef73
Merge pull request #61668 from guilhermefelipecgs/fix_style
...
Fix state machine style
2022-06-04 00:21:04 +02:00
kobewi
d2c8741a69
Fix crash with empty scenes
2022-06-04 00:04:49 +02:00
kobewi
847eee71df
Improve title of DependencyEditorOwners
2022-06-03 21:05:05 +02:00
FireForge
87cfe90f6e
Update viewport when toggling TileMap grid
2022-06-03 13:52:53 -05:00
Guilherme Felipe de C. G. da Silva
4bf5047fb0
Fix state machine style
2022-06-03 14:59:00 -03:00
Rémi Verschelde
027c38e97f
Merge pull request #59327 from raulsntos/csharp-flag-enums
2022-06-03 17:28:12 +02:00
Fabio Alessandrelli
f805ecf4e7
Merge pull request #61481 from Calinou/profiler-increase-frame-history
...
Increase the editor profiler frame history default and maximum limit
2022-06-03 12:46:56 +02:00
Raul Santos
329818f20b
Support explicit values in flag properties, add C# flags support
...
- Add support for explicit values in properties using `PROPERTY_HINT_FLAGS`
that works the same way it does for enums.
- Fix enums and flags in VisualScriptEditor (it wasn't considering the
explicit value).
- Use `PROPERTY_HINT_FLAGS` for C# enums with the FlagsAttribute instead
of `PROPERTY_HINT_ENUM`.
2022-06-03 05:19:01 +02:00
kobewi
489ac77cbc
Update half resolution immediately
2022-06-03 02:12:41 +02:00