Commit graph

4991 commits

Author SHA1 Message Date
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
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
Yuri Sizov
dc8a0c3cd1
Merge pull request #77674 from ProbablyWorks/77562-tilemap-center-view-button-offset-fix
Set the grow direction for the "Center View" button in the TileMap editor
2023-06-02 15:52:44 +02:00
ProbablyWorks
882ffdfaae set the grow direction of the center view button after setting the anchors 2023-06-01 21:44:16 -04:00
Kongfa Waroros
aeb9b8381a Add null checking when finding a lightmap baking path 2023-06-02 04:06:19 +07:00
Rémi Verschelde
42775ff75b
Merge pull request #77705 from MewPurPur/less-code-for-mouse-exit
Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins
2023-06-01 15:52:12 +02:00
Rémi Verschelde
0b5c5022f2
Merge pull request #77663 from RedworkDE/audiostream-preview-crash
Fix crash in AudioStream preview
2023-06-01 15:52:08 +02:00
VolTer
6566b96b63 Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor plugins 2023-05-31 20:03:04 +02:00
Yuri Sizov
282f5ebda1
Merge pull request #47628 from Calinou/2d-editor-remove-contrained-view
Remove constrained view in the 2D editor
2023-05-31 16:35:54 +02:00
kobewi
b8a136c385 Add Center View button to 2D editor 2023-05-31 12:56:18 +02:00
Yuri Sizov
e7345c3e89
Merge pull request #77208 from KoBeWi/the_tooltip_centipede
Small rework of tooltip plugins
2023-05-31 12:37:42 +02:00
Yuri Sizov
8d6c472f6a
Merge pull request #77135 from KoBeWi/Vector∞
Refactor vector editor properties
2023-05-31 12:36:37 +02:00
kobewi
267728a240 Refactor vector editor properties 2023-05-31 00:14:28 +02:00
kobewi
5baebf75f2 Small rework of tooltip plugins 2023-05-30 23:13:50 +02:00
RedworkDE
301731c7e6 Fix crash in AudioStream preview 2023-05-30 20:26:10 +02:00
Rémi Verschelde
c79f96d23a
Merge pull request #77592 from nklbdev/fix_update_animation_duration_in_every_selected_tile
Fix update animation frame duration in every selected tile
2023-05-30 09:33:20 +02:00
Nikolay Lebedev
779c39f478 Fix update animation frame duration in every selected tile 2023-05-29 23:15:40 +05:00
Haoyu Qiu
b30a332009 Fix theme of editor VCS dialogs
These dialogs were added to the plugin itself so theme can't be
propagated.

Also moved initialization of the VCS menu after the creation of
EditorInterface.
2023-05-29 21:25:31 +08:00
Rémi Verschelde
aa739bae4f
Merge pull request #76616 from TokageItLab/implement-anim-node-sub2
Implement `AnimationNodeSub2` to `AnimationTree` and allow less or greater value in mathematical `AnimationNode`
2023-05-29 10:29:02 +02:00
Rémi Verschelde
c97201babc
Merge pull request #76545 from JoNax97/gradient_color_spaces
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-29 10:28:58 +02:00
Rémi Verschelde
990943782a
Merge pull request #74959 from MewPurPur/nice-curves
Overhaul the Curve Editor
2023-05-29 10:28:53 +02:00
Rémi Verschelde
9f05e16727
Merge pull request #70940 from MewPurPur/better-gradient2d-editor
Improvements to Gradient2D Editor
2023-05-29 10:28:46 +02:00
VolTer
a3c4a4b039 Overhaul the Curve Editor 2023-05-28 14:17:51 +02:00