Commit Graph

5012 Commits

Author SHA1 Message Date
jsjtxietian efa82d5025 fix CollisionShape3D Shape Size handle will missing
when Script editor floating

(cherry picked from commit fec0396cac)
2023-10-19 21:49:00 +02:00
Raul Santos 85ab269796 C#: Fix line in OpenInExternalEditor
(cherry picked from commit 132a1daf1a)
2023-10-19 21:21:02 +02:00
Rémi Verschelde aae20e5b10
Fix various typos with codespell
Also includes typo fixes from #79993, #80068, #80276, and #80303.

Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>

(cherry picked from commit faaf27f284)
2023-10-03 20:45:35 +02:00
Yuri Sizov d5fab0ec4c Fix leak when closing theme editor preview tabs
(cherry picked from commit 5e3229b7ed)
2023-09-27 21:03:23 +02:00
jsjtxietian 1238554f05 Use ui_text_submit to confirm and close text prompts
Fix press space when enter editor layout name will
confirm and save layout, same in theme editor

(cherry picked from commit ba41910967)
2023-09-21 15:14:04 +02:00
A Thousand Ships c4be3487ca Make editor camera speed indicator use `m/s` and `m`
(cherry picked from commit 8d7a2c615c)
2023-09-21 14:09:19 +02:00
Dario f6f2b0897a Propagate error correctly when max texture size for lightmaps is too small.
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453.

(cherry picked from commit 7dfb854556)
2023-09-20 22:44:04 +02:00
Rindbee 5f46bca824 Fix history mismatch
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")

Update the path of the edited scene when saving the scene. (For action "Add
atlas source")

(cherry picked from commit 28db5e7649)
2023-09-20 22:44:03 +02:00
MineBill 4ec566fae2 Set the VoxelGIData path before saving, otherwise the ResourceSave will revert it to an empty String
(cherry picked from commit c34d5627fb)
2023-08-31 19:48:16 +02:00
Yadnesh Kulkarni 09c245fd74 Fixed grid disappearance
(cherry picked from commit a8dde286ce)
2023-07-10 17:46:08 +02:00
jpcerrone 2ba192e803 Fix comments and indentation in .gdshaderinc files
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.

(cherry picked from commit 71b8a9d274)
2023-07-10 17:26:15 +02:00
MewPurPur 8cefce591a Improve string printing in the tiledata editor
(cherry picked from commit 1649dcad0b)
2023-07-10 17:26:15 +02:00
bitsawer f5addd583d Make shader preprocessor keyword colors consistent
(cherry picked from commit a5d6152949)
2023-07-10 17:26:14 +02:00
Rindbee 836913ce7a Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor`
(cherry picked from commit fec731bf33)
2023-07-10 17:26:13 +02:00
Yuri Sizov 8cfbc6bda2 Revert "Remember only permanent bottom tabs"
This reverts commit 5dde57e958.
2023-06-23 15:23:36 +02:00
Rémi Verschelde 9ab388c146
Merge pull request #78609 from KoBeWi/—GodotEngine
Unify window title format
2023-06-23 12:36:44 +02:00
kobewi 44bec97d5e Unify window title format 2023-06-23 12:21:56 +02:00
kobewi 5dde57e958 Remember only permanent bottom tabs 2023-06-23 10:53:39 +02:00
Gilles Roudière bca1f91291 Fixes crash in TileSetAtlasSourceEditor 2023-06-22 15:03:53 +02:00
Yuri Sizov 4fc045e9b5
Merge pull request #76152 from timothyqiu/tile-resize-clamp
Fix tile resizing towards atlas boundary
2023-06-21 11:19:24 +02:00
Rémi Verschelde 9e56f28d0e
Merge pull request #75345 from Rindbee/fix-wrong-description-in-EditorSettings
Fix wrong descriptions in EditorSettings
2023-06-21 10:18:09 +02:00
Yuri Sizov 38ae7b58d1
Merge pull request #78350 from ajreckof/you-know-when-you-want-to-search-this-member-you-don't-know-and-then-you-have-the-script-editor-all-over-the-place-now-it-should-not-happen-anymore-hopefully
Fix placement and style of the "Make Floating" button
2023-06-21 03:03:19 +02:00
Rindbee 19d77ea90d Fix wrong descriptions in EditorSettings
Fix wrong descriptions about `editors/3d/grid_division_level_max`
and `editors/3d/grid_division_level_min`.
2023-06-21 07:16:30 +08:00
ajreckof 13e65da804 Fix wrong placement of the Make Floating Button. 2023-06-21 01:00:37 +02:00
Samuele Panzeri 4067907074 Fix insert key crash with no animation 2023-06-20 17:39:09 +02:00
Gilles Roudière 94b1bc0d68 Fix TileMap draw preview when switching CI editor tool 2023-06-20 12:12:01 +02:00
Rémi Verschelde e4deaa2727
Merge pull request #76787 from RedworkDE/avoid-localvector-copy
Avoid making unnecessary copies of `LocalVector`
2023-06-20 00:01:55 +02:00
Haoyu Qiu ac36776729 Fix tile resizing towards atlas boundary 2023-06-20 00:36:37 +08:00
Artyom Lunchenkov 613c060e0b
Add a line break to error messages in the script editor
Fixes #71002
2023-06-19 15:57:27 +02:00
Rémi Verschelde cdfaf8a10f
Merge pull request #78418 from brno32/apply-texture-filter-2d-polygon-editor
Apply selected texture filter when editing UV
2023-06-19 13:28:36 +02:00
Alex Drozd 0c75d5d70c apply selected texture filter when editing UV 2023-06-18 22:56:26 +02:00
Qiqi Wu 9321e9fa86 fix TexturePreview crash from an invalid image 2023-06-18 13:08:06 +08:00
clayjohn 36a005fafc
Add RENDERING_INFO parameters to GL Compatibility renderer
This also fixes RENDERING_INFO_TOTAL_PRIMITIVES_IN_FRAME for the RD renderers as it was incorrectly reporting vertex/index count at times

This also adds memory tracking to textures and buffers to catch memory leaks.

This also cleans up some memory leaks that the new system caught.
2023-06-16 09:10:00 +02:00
kleonc 77b8e0fcb7 Allow setting negative WorldBoundaryShape2D.distance through the editor 2023-06-14 14:54:00 +02:00
Rémi Verschelde 7aa530c4ca
Merge pull request #78171 from MewPurPur/fix-curve-editor-crash
Fix Curve Editor crash with null curve
2023-06-13 13:53:02 +02:00
Haoyu Qiu 8b5d5dc2c4 Fix crash when opening a TileSet with invalid tiles 2023-06-13 18:50:08 +08:00
MewPurPur beae9b0bc1 Fix Curve Editor crash with null curve 2023-06-13 11:35:35 +02:00
Yuri Sizov 593d5ca29f
Merge pull request #77962 from KoBeWi/some_hand-holding_is_ok,_probably
Improve some tile editor hint labels
2023-06-12 18:23:23 +02:00
Rémi Verschelde 6306eb4047
Merge pull request #76372 from sygi/dont_propagate_lock_view
Store lock view rotation whether its on or off
2023-06-12 17:09:38 +02:00
kobewi 0a4d0506d1 Fix problems reloading MeshLibrary 2023-06-11 19:42:24 +02:00
Rémi Verschelde b083c1dbf5
Merge pull request #78005 from Sauermann/fix-some-simplifications
Some code simplifications
2023-06-09 11:06:26 +02:00
Rémi Verschelde 577ab3c565
Merge pull request #75746 from ajreckof/order_autocomplete
Sort code autocompletion with rules
2023-06-08 18:14:31 +02:00
Markus Sauermann 5ddab1f363 Some code simplifications
AnimationNodeBlendSpace2DEditor:
- `!tree` is always false, because it is checked a few lines above

CurveEdit:
- grabbing != GRAB_NONE is redundant

GradientTexture2DEdit:
- grabbed != HANDLE_FROM is redundant
- grabbed != HANDLE_TO is redundant

Viewport:
- index is not used afterwards
- In these cases `gui.mouse_focus` is always valid. Move check to a DEV_ASSERT
- simplify `stopped` calculation
2023-06-08 16:15:22 +02:00
kobewi 0972e15df5 Improve some tile editor hint labels 2023-06-07 15:59:19 +02:00
kobewi 16ac217aa0 Draw materials in tile atlas view 2023-06-07 01:03:55 +02:00
Rémi Verschelde 46c4068821
Merge pull request #77170 from lawnjelly/scu_build_master
Add support for single compilation unit builds
2023-06-06 17:58:09 +02:00
lawnjelly b69c8b4791 Single Compilation Unit build.
Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-06-06 15:36:51 +01:00
Rémi Verschelde 67c0467e04
Merge pull request #77860 from ajreckof/add-move-control-points-button-for-Path3D
Add move control points button to Path3D Editor.
2023-06-05 18:05:02 +02:00
ajreckof 7f4f219a24 Add move control points button to PAth3D Editor 2023-06-05 04:54:48 +02:00
ajreckof 05dd9c0f8b Make panning the 3D view with trackpad goes the right way 2023-06-05 02:12:52 +02:00