b2829f3256
Merge pull request #105897 from akien-mga/mingw-remove-undef-hacks
...
Remove WinAPI `#undef` hacks needed for mingw-std-threads
2025-04-30 09:18:42 -05:00
4e68f277c6
add REGION_RECT
...
fix formatting
fix shader compile (region_rect after draw_data)
fix formatting
fix formatting
Review fix (move region_rect in main + remove useless visual shader options)
fix formatting
fix alphabetic order (+ remove useless action for spatial shaders)
typo + remove TYPE_LIGHT option for region_rect
2025-04-30 11:07:22 +02:00
c019b76523
Remove WinAPI #undef hacks needed for mingw-std-threads
...
Instead, we rename the conflicting symbols.
2025-04-29 14:24:03 +02:00
5b49fd4207
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
2025-04-23 12:47:31 +03:00
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
9870c8ca68
Fix visual shader editor popups not using editor scale.
2025-04-10 10:17:17 +03:00
ec675fc329
Merge pull request #100333 from YYF233333/reduce_list
...
Use `LocalVector` instead of `List` as arg of `Dictionary::get_key_list`
2025-04-09 08:51:45 -05:00
e8eeccebcb
Unify Scripts Panel naming for the script and shader editors
...
Both use the same shortcut and action, so it makes sense to call it
a Files panel as opposed to a Scripts panel.
2025-04-09 01:17:36 +02:00
f7e4987d0e
Dictionary::get_key_list use LocalVector instead of List.
2025-04-09 02:46:24 +08:00
302fa831cc
Initial editor accessibility.
2025-04-08 20:25:48 +03:00
b983a05806
Re-organize UI in the shader editor
2025-04-05 13:12:59 +03:00
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
22b5ec17fb
Using iterator pattern instead of List::Element *.
...
Co-authored-by: Adam Scott <ascott.ca@gmail.com >
2025-03-28 13:29:15 +08:00
6f25babd6b
Remove empty constructors and destructors from editor/
2025-03-17 21:20:02 +01:00
c937b6d180
Merge pull request #102419 from Ivorforce/std-size
...
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
ef4636ac59
Fix some i18n issues in visual shader editor
2025-03-07 18:39:45 +08:00
e34f1f504c
Use std::size instead of sizeof(a) / sizeof(a[0]) pattern throughout the codebase.
2025-02-07 14:57:48 +01:00
7cc0bf79dd
Fix mouse filter on visual shader node previews
2025-02-01 13:25:28 +03:00
27665436cd
Fix float constant descriptions not translating on macOS.
2025-01-17 09:33:41 +01:00
524cbec858
Merge pull request #100309 from Chaosus/vs_prevent_invalid_boolean_varying
...
Prevent using boolean varyings in vertex function of visual shaders
2025-01-13 20:21:43 +01:00
0aede87b67
Add derivative functions to sky shader mode in visual shader
2025-01-10 10:28:02 +03:00
6c6e74408c
Merge pull request #94616 from Chaosus/vs_fix_vec4_constant
...
Change `VisualShaderNodeVec4Constant` type to vec4
2025-01-03 02:01:09 +01:00
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
9a96393f46
Add warped panning to every ViewPanner instance
2024-12-20 17:40:27 +01:00
4887172a59
Fix ViewPanner panning mouse warp
...
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.
This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.
This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.
This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01:00
059ed731f5
Prevent using boolean varyings in vertex function of visual shaders
2024-12-12 14:35:49 +03:00
ba39b078f5
[Scene] Add SceneStringName::FlatButton
2024-12-10 11:12:26 +03:00
e6125ef51b
Merge pull request #98763 from AThousandShips/more_sname_uses
...
Use `SceneStringName` in more places
2024-12-02 15:50:44 +01:00
af56d6e8e8
Use SceneStringName in more places
2024-12-02 14:39:16 +01:00
d58b2e879f
Get rid of easily removable uses of const_cast
2024-12-01 17:50:13 -08:00
6d4bb8fbda
Merge pull request #94721 from ckaiser/animation-blend-tree-tweaks
...
Improve blend tree contrast/margins
2024-11-29 22:45:47 +01:00
88e81ee730
Fix various typos and code style issues
2024-11-28 17:40:42 +01:00
9e259ef061
Merge pull request #97884 from passivestar/list-variations
...
Add theme type variations for secondary Trees and ItemLists
2024-11-27 10:47:14 -06:00
0ee60dd543
Merge pull request #99516 from KoBeWi/quantum_entanglement_of_source_files
...
Untangle ColorPicker includes
2024-11-26 13:04:54 -06:00
7faad0cc7a
Merge pull request #97388 from tetrapod00/visualshader-linear-srgb
...
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-11-22 14:54:47 -06:00
289e548e34
Untangle ColorPicker includes
2024-11-22 21:42:50 +01:00
5559075844
Fix graph node sizing regression, improve blend tree contrast/margins
2024-11-22 16:11:28 -03:00
0ff5d5fd04
Add theme type variations for secondary Trees and ItemLists
2024-11-19 18:33:30 +04:00
a64b3fd3f8
Allow SCREEN_UV to be used in light function of spatial shader
2024-11-19 11:39:49 +03:00
313fe08e19
Merge pull request #99177 from Chaosus/vs_swap_connections
...
Add swap connection option to visual shader graph
2024-11-15 10:42:35 -06:00
ce833a3885
Add swap connection option to visual shader graph
2024-11-15 13:02:09 +03:00
5a856a6896
Fix error emitting when reset a visual shader preview parameter
2024-11-15 12:39:07 +03:00
485e7f899b
Add copy/paste options to preview material parameters in visual shader
2024-11-12 22:04:44 +03:00
a47daa0a44
Avoid const_cast in List::erase by requiring mutable elements
2024-11-08 00:10:08 -08:00
ef8d981267
Merge pull request #98303 from Chaosus/vs_transparency_preview
...
Add alpha channel display to vec4 previews of visual shader nodes
2024-10-31 11:17:34 +03:00
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
2191df0cea
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-10-19 12:18:34 -07:00
43a99fba3d
Add alpha channel display to vec4 previews of visual shader nodes
2024-10-18 20:00:10 +03:00
79f654ced5
[Core] Fix sorting of Dictionary keys
...
`StringName` keys were sorted as `StringName` which is unstable.
2024-10-18 08:47:05 +02:00
b4460c6ba3
Add cut_nodes_request signal to GraphEdit
2024-09-27 08:47:11 +05:30