Commit graph

5927 commits

Author SHA1 Message Date
aaronp64
7593e55527 Improve Editor Inspector/Theme item lookup performance
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab

- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call

These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
Rémi Verschelde
5d089e1a8e
Merge pull request #93518 from bruvzg/imp_fix
[Editor] Fix importers add-ons after 93238
2024-06-25 10:02:05 +02:00
Rémi Verschelde
f597f24a07
Merge pull request #93521 from nblackburn/popupmenu-pot-gen
Include "PopupMenu" labels in POT gen
2024-06-25 09:19:53 +02:00
Nathaniel Blackburn
648d5a8525
include popupmenu labels in pot gen 2024-06-23 20:59:17 +01:00
bruvzg
2fdf24375d
[Editor] Fix importers add-ons after 93238 2024-06-23 21:12:00 +03:00
kobewi
230a4cb63f Store TileMapLayer selection in scene's history 2024-06-22 18:42:48 +02:00
Rémi Verschelde
4a9dc72d16
Merge pull request #93361 from passivestar/viewport-buttons-styles
Add missing style overrides for viewport overlay buttons
2024-06-21 10:14:21 +02:00
passivestar
83078715ca Add missing style overrides for viewport overlay buttons 2024-06-20 22:28:45 +04:00
Rémi Verschelde
acb9a4e6ad
Merge pull request #93385 from Chaosus/vs_fix_updating
Fix visual shader not being updated when switching tabs
2024-06-20 16:18:59 +02:00
Yuri Rubinsky
3bbbedc144 Fix visual shader not being updated when switching tabs 2024-06-20 13:37:16 +03:00
Manny-OnGit
8a44cf0342 fixed issue #93043, ruler tool prevents new nodes from being added with right click. 2024-06-19 10:51:46 -07:00
Rémi Verschelde
4949e96b0b
Merge pull request #91845 from ryevdokimov/disable-freelook-when-drag-and-drop
Disable viewports inputs when dragging and dropping into the viewport
2024-06-19 10:53:17 +02:00
Rémi Verschelde
a50b535988
Merge pull request #93110 from Hilderin/fix-signal-panel-after-connection
Fix Can't reopen signals panel immediately after connecting a signal
2024-06-19 10:10:14 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
A Thousand Ships
d9e2fc74c7
[Scene] Add SceneStringNames::item_selected 2024-06-19 09:39:05 +02:00
Hilderin
64ba2cf3a9 Fix Can't reopen signals panel immediately after connecting a signal #92996 2024-06-18 18:24:40 -04:00
A Thousand Ships
d519715d94
[Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
Rémi Verschelde
76a8fa6fed
Merge pull request #93292 from rune-scape/singleton-cleanup
Fix missing cleanup and null checks for various singletons
2024-06-18 14:09:01 +02:00
Rémi Verschelde
2a470143ef
Merge pull request #93255 from jsjtxietian/atlas-default
Prevent generating preview for zero sized texture
2024-06-18 14:08:48 +02:00
rune-scape
6adcb1373a fix missing cleanup and null checks for various singletons 2024-06-18 01:05:30 -07:00
jsjtxietian
3027b49943 Prevent generating preview for zero sized texture 2024-06-18 16:04:10 +08:00
Rémi Verschelde
e2fc6d38cb
Merge pull request #92926 from alula/patch-2
Make texture filtering in TileAtlasView consistent
2024-06-17 17:27:12 +02:00
alula
e591bb0288
Make texture filtering in TileAtlasView consistent
Co-authored-by: Gilles Roudière <gilles.roudiere@gmail.com>
2024-06-17 16:56:32 +02:00
Rémi Verschelde
170af05c80
Merge pull request #93219 from Chaosus/vs_fix_varyings
Fix bugs in visual shader varyings
2024-06-17 13:30:20 +02:00
Rémi Verschelde
bb8fe430fe
Merge pull request #90098 from viksl/fix-instant-rotation-and-return-wrapping
Allow wrapping for begin rotate transformation to bring it in line with Blender.
2024-06-17 10:57:57 +02:00
Yuri Rubinsky
537316098f Fix bugs in visual shader varyings 2024-06-16 16:58:46 +03:00
Yuri Rubinsky
a7d5e2f0d9 Add missing TTR's for EditorProgress 2024-06-14 10:52:38 +03:00
Rémi Verschelde
680e489189
Merge pull request #93087 from KoBeWi/path_to_less_bugs
Allow cancelling actions in Path2D editor
2024-06-13 17:19:30 +02:00
Hilderin
4575ccbad9 Fix Crash when trying to undo SpriteFrames animation rename #93079 2024-06-12 21:42:49 -04:00
kobewi
85a8c3e71a Allow cancelling actions in Path2D editor 2024-06-12 15:22:50 +02:00
Rémi Verschelde
1e0015ac64
Merge pull request #92994 from smix8/navmesh_2d_clear
Fix NavigationRegion2D editor plugin clear button not updating debug visuals
2024-06-11 16:59:38 +02:00
Rémi Verschelde
430812980c
Merge pull request #86721 from Naros/gde-debugger-tooling
Improve GDExtension Tools Integration with Editor Debug Tooling
2024-06-11 10:48:34 +02:00
Chris Cranford
8577340501 Expose several EngineDebugger methods and signals as plugin callbacks 2024-06-10 19:46:23 -04:00
smix8
14bed692bf Fix NavigationRegion2D clear button not updating debug visuals
Fixes that NavigationRegion2D editor plugin clear button did not update the debug visuals.
2024-06-10 19:36:21 +02:00
Rémi Verschelde
3d170c56d6
Merge pull request #92861 from TokageItLab/fix-animation-player-just-after-started
Fix seeking Animation immediate after playback for Discrete track
2024-06-10 16:11:55 +02:00
Silc Lizard (Tokage) Renew
bea47d877b Fix seeking Animation immediate after playback for Discrete track 2024-06-08 22:09:37 +09:00
Silc Lizard (Tokage) Renew
4f6fb8ee81 Fix Shader for SkeletonGizmo to follow renderer's reversed-z change
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-06-05 05:44:24 +09:00
Rémi Verschelde
92ea322802
Merge pull request #86947 from TheSofox/tile-set-paint-button-tooltip
Made tooltip on `TileSet` Paint Button give more information when disabled
2024-06-04 16:51:14 +02:00
A Thousand Ships
0f72b15bc2
Fix some incorrect uses of String over StringName
These were accepting `SNAME` assignments
2024-06-03 13:42:31 +02:00
bruvzg
5168647530
Use current mouse button state instead of saved values. 2024-05-31 15:50:14 +03:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
A Thousand Ships
cade5b88d9
Use CoreStringNames::normal in more places 2024-05-30 22:57:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
kobewi
a345160ab3 Fix wrong usage of parameters_base_path StringName 2024-05-30 12:03:43 +02:00
Rémi Verschelde
32def9f98e
Merge pull request #92392 from KoBeWi/this_makes_editor_200%_faster
Optimize usage of position icon in 2D editor
2024-05-30 11:48:06 +02:00
Rémi Verschelde
aa147b74ea
Merge pull request #90664 from KoBeWi/shadowdropped_resource
Prevent crash when dropping Resource that can't load
2024-05-30 11:47:38 +02:00
Rémi Verschelde
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
Rémi Verschelde
a8cc65f54f
Merge pull request #92495 from matheusmdx/fix-animation-player-error
Fix error after create a new animation in an empty AnimationPlayer
2024-05-29 22:14:03 +02:00