Commit Graph

4382 Commits

Author SHA1 Message Date
Clay John dd8702f13d
Merge pull request #67426 from MrBlockers/blurry-texture-preview
Make texture preview filter setting content aware
2022-10-21 17:25:38 -07:00
Max Hilbrunner 8ebc8813d5
Merge pull request #67314 from anvilfolk/quote-fix
Fix single-quotes incorrectly escaped when dragging into script editor
2022-10-21 18:12:09 +02:00
MrBlockers 4bddec7003 Make texture preview and picker use mipmap filter 2022-10-20 18:36:09 -04:00
Max Hilbrunner f066f2c0de
Merge pull request #66940 from aaronfranke/doc-get-tr-aabb
Remove the global space `get_transformed_aabb` helper method
2022-10-19 22:40:02 +02:00
Max Hilbrunner b209065e89
Merge pull request #67543 from clayjohn/PLU-default
Use CameraAttributesPractical in the editor default environment
2022-10-19 21:49:57 +02:00
clayjohn 15e14c5b59 Use CameraAttributesPractical in the editor default environment
This avoids forcing DoF in the editor when physical light units are enabled
2022-10-18 10:15:53 -07:00
Aaron Franke 9ebd8c5bb5
Remove the global space `get_transformed_aabb` helper method 2022-10-18 07:30:31 -05:00
João Martins 97bada99ee Fix single-quotes incorrectly escaped when dragging into script editor 2022-10-17 16:05:53 -04:00
Rémi Verschelde 36d5f0d1cc Merge pull request #64277 from KoBeWi/script_editor🧹🧹
Reorganize script editor menu
2022-10-17 17:31:14 +02:00
Rémi Verschelde eb4711dafb Merge pull request #67411 from rburing/editor_cast_rays_in_physics_process
Node3D editor: cast rays in `NOTIFICATION_PHYSICS_PROCESS`
2022-10-17 17:31:07 +02:00
Marc Gilleron 9efb2e786e Fix case where mutex is never unlocked 2022-10-15 13:06:00 +01:00
Rémi Verschelde dc4b616596 Merge pull request #63332 from KoBeWi/static_images_aka_photos
Make some Image methods static
2022-10-15 12:56:57 +02:00
kobewi 985671012a Separate Line and CurveLinear icons 2022-10-15 02:00:39 +02:00
Ricardo Buring d9ce8b8996 Node3D editor: cast rays in NOTIFICATION_PHYSICS_PROCESS
Fixes crashes in the editor with threaded physics (when dragging a scene
into the viewport or when snapping a node to the floor).
2022-10-14 23:37:20 +02:00
kobewi af0ee8b0a0 Reorganize script editor menu 2022-10-14 18:41:01 +02:00
kobewi 072f6feaba Make some Image methods static 2022-10-14 14:34:15 +02:00
kobewi bee0b7e583 Redraw 2D viewport when scene changes 2022-10-14 00:22:46 +02:00
Juan Linietsky 71d2e38cb5 Optimize Convex Collision
Implements the Gauss Mapping optimization to SAT convex collision test.

* Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf) by Dirk Gregorius.
* Requires adding of face information to edges in MeshData
* Took the chance to convert MeshData to LocalVector for performance.
2022-10-13 19:07:53 +02:00
Rémi Verschelde 2ffb609658 Merge pull request #66337 from EricEzaM/sprite-frames
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-13 15:24:39 +02:00
Eric M b322b3d649 Add shortcuts for SpriteFrames editor. Small renaming changes for clarity & consistency. 2022-10-13 21:14:59 +10:00
Rémi Verschelde 86a836f9e3 Merge pull request #59468 from EricEzaM/fix-zoom-shortcuts
Fix zoom in/out keyboard shortcuts not working
2022-10-13 09:03:58 +02:00
kobewi 386382d796 Fix source sort not saving in TileMap editor 2022-10-11 22:40:39 +02:00
Pedro J. Estébanez f82deaa5b3 Polish rendering driver refactor further (take 2) 2022-10-11 19:06:55 +02:00
Rémi Verschelde e413d1c9c3 Merge pull request #67104 from Calinou/add-viewport-transparent-project-setting
Add a project setting to make the root viewport transparent
2022-10-11 09:28:43 +02:00
Rémi Verschelde 28f642097a Merge pull request #67183 from akien-mga/gcc-warnings-cleanup
SCons: Cleanup GCC warnings configuration
2022-10-10 17:42:36 +02:00
Rémi Verschelde 8017827144 SCons: Re-enable treating `#warning` as error with `werror`
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.

We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10 16:12:26 +02:00
kobewi 983a5227fb Remove default shortcut for Preview Canvas Scale 2022-10-10 14:22:26 +02:00
Rémi Verschelde 8c24b35b76 Merge pull request #65942 from SaracenOne/animation_change_callback_fix
Fix animation change callbacks
2022-10-10 13:53:53 +02:00
Rémi Verschelde b9d063170c Merge pull request #67178 from TokageItLab/add-signal-animation_selected-APEditer
Add `animation_selected` signal to AnimationPlayerEditor to subscribe changed animation
2022-10-10 13:52:48 +02:00
Silc Renew 847c783319 Add animation_selected signal to AnimationPlayerEditor 2022-10-10 16:52:49 +09:00
Kongfa Waroros e81e81a56e Fix crashing when editing the `TileSet` field 2022-10-10 00:37:47 +07:00
Silc Renew a2a3f8cd0a Remove unused func definition in BoneMapEditor 2022-10-09 12:13:22 +09:00
Hugo Locurcio bab8497fa2
Add a project setting to make the root viewport transparent
This allows recording videos with a transparent background without
having to create a script.
2022-10-09 00:16:07 +02:00
bruvzg 0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
Rémi Verschelde afb63944d0 Merge pull request #66930 from EricEzaM/66770-addendum-split-action-map-file
Split `action_map_editor` file into one file per class it contained.
2022-10-06 16:34:51 +02:00
Eric M 598ee4266c Split `action_map_editor` file into one file per class it contained.
* ActionMapEditor
* EventListenerLineEdit
* InputEventConfigurationDialog
2022-10-06 18:29:20 +10:00
Rémi Verschelde f5903215d0 Merge pull request #61902 from Paulb23/multi-caret
Add Multi-caret support to TextEdit
2022-10-06 08:56:34 +02:00
Paulb23 0cbe176ce6 Add multi caret support to Editor 2022-10-05 17:19:26 +01:00
Rémi Verschelde 132a0e3242 Merge pull request #66770 from EricEzaM/search-by-event
Add searching by event in Editor Settings shortcuts and Project Settings input map.
2022-10-05 08:34:45 +02:00
Rémi Verschelde b904789242 Merge pull request #66894 from KoBeWi/TileSetAtlasSourceEditor_on_vacation
Disconnect TileSet from source editor if no sources
2022-10-05 08:32:57 +02:00
Rémi Verschelde 121e1df55b Merge pull request #66300 from KoBeWi/📝🧭
Split script navigation state and edit state
2022-10-05 08:30:49 +02:00
kobewi 52435e6f90 Disconnect TileSet from source editor if no sources 2022-10-04 20:13:01 +02:00
Rémi Verschelde 8f7cb50c9a Merge pull request #65528 from Mickeon/rename-more-spatial-to-node-3d
Rename remaining "Spatial" in Plugins to "Node3D"
2022-10-04 16:47:08 +02:00
Rémi Verschelde 4e66b0c8a7 Merge pull request #66384 from schme/66165-fix-shader-list-not-marking-shaders-as-saved
Fix Shader Editor not marking files saved
2022-10-04 16:43:43 +02:00
Micky ae5771e1b1 Rename remaining "Spatial" in Plugins to "Node3D"
For EditorNode3DGizmo:
- `get_spatial_node` -> `get_node_3d`
- `set_spatial_node` -> `set_node_3d`

For EditorPlugin:
- `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin`
- `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin`

Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
2022-10-04 16:27:29 +02:00
Kasper Sauramo bedbb2e893 add explicit editor save tagging when saving 2022-10-04 11:49:32 +03:00
Rémi Verschelde f36dda3185 Merge pull request #66867 from Rindbee/implement-willSaveWaitUntil
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving
2022-10-04 10:33:03 +02:00
Rémi Verschelde 163582de58 Merge pull request #62188 from MaeIsBad/MaeIsBad/master
Move "Create Debug Tangents" on MeshInstance3D into an editor plugin
2022-10-04 10:29:11 +02:00
Rindbee ab0314938e Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving
Implement `GDScriptTextDocument::willSaveWaitUntil` to clean up outdated documents before saving,
then update the document in `GDScriptTextDocument::didSave`.
2022-10-04 15:38:57 +08:00
kobewi 1a9516f6a8 Prevent infinite confirmation in shader editor 2022-10-04 00:28:06 +02:00