Commit Graph

28 Commits

Author SHA1 Message Date
Mattia Zirpoli 2eb41ac549 VisualShader: fix new node spawning position with display scaling 2025-12-13 02:41:01 +01:00
kobewi a2a82f02e3 Fix broken VisualShader icons 2025-12-09 13:41:12 +01:00
Logan Detrick 0d83637853 Use new dock system for ShaderDock 2025-12-02 10:40:44 -08:00
Hugo Locurcio db920eb7f0
Use Unicode arrow symbols throughout the editor
This does not apply to text printed to the Output panel, as the fixed-width
font may not have the glyph in its character set (or if it does, the arrow
character may be hard to read).
2025-12-02 01:36:35 +01:00
Rémi Verschelde 1575e3da90
Merge pull request #97620 from jj11hh/master
[Visual Shader] Fix nodes' relative positions changed in a different display scale.
2025-12-01 11:48:05 +01:00
Rémi Verschelde 8237bb4a32
Merge pull request #112124 from Chaosus/vs_expressions
Few fixes for expression node in visual shaders
2025-11-27 21:48:04 +01:00
Jiang Yiheng dda1842b18 Fixed an issue where nodes' relative positions changed when opened in a different display scale. 2025-11-18 23:00:29 +08:00
Hugo Locurcio 8a22dba956
Tweak high-end mark in the visual shader editor's node creation dialog
- Use Forward+/Mobile terminology as support actually depends on the
  rendering method used, not the rendering driver.
- Use a standard warning color as this is no longer indicated as
  Vulkan-specific.
- Fix color on light theme (the text was being modulated instead
  of having its color overridden).
2025-11-18 01:40:49 +01:00
kit e2cbfb53f1 Deprecate TextEdit background_color 2025-11-13 22:48:04 -05:00
kobewi 44358a586b Update VisualShader on theme changes 2025-11-04 11:44:49 +01:00
Michael Alexsander e06f015f95
Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
2025-10-30 00:31:54 -03:00
Chaosus da0c60e10d Few fixes for expression node in visual shaders 2025-10-28 18:18:13 +03:00
Thaddeus Crews b137476eb5
Merge pull request #109998 from aaronfranke/shader-toggle-files-organize
Organize toggle files button logic in shader editor
2025-10-24 11:23:12 -05:00
Thaddeus Crews d1d28c0bcf
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
2025-10-06 09:06:49 -05:00
Lukas Tenbrink 1db0a60dc0 Replace `std::size` usage with `std_size` to avoid `<iterator>` include. 2025-10-05 00:26:11 +02:00
Aaron Franke 3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews fdf32d1b2a
Merge pull request #108577 from YYF233333/global_class_list
Simplify `ScriptServer::get_global_class_list`
2025-09-30 11:19:10 -05:00
A Thousand Ships bd65cfa876
Revert "Replace many uses of `is_class` with `derives_from`."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Aaron Franke 23fa9d8508
Organize toggle files button logic in shader editor 2025-09-24 17:55:39 -07:00
Lukas Tenbrink 8ef4a43ada Replace many uses of `is_class` with `derives_from`. 2025-09-23 19:59:00 +02:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Colin O'Rourke c4559c02de VisualShader Conversion fails with Embeds
Potentially resolves https://github.com/godotengine/godot/issues/101375

VisualShader now has a has_node_embeds function that runs through it's child nodes to find embedded resources via object properties. Conversion plugin uses this function to catch the error.
2025-09-18 14:35:30 -07:00
Yufeng Ying a50fc5acd8 Change ClassDB::get_class_list and related stuff. 2025-09-16 15:00:33 +08:00
Aaron Franke 0831b4b516
Make shader editor menu position consistent between shader languages 2025-08-26 06:56:55 -07:00
Talkashie bc7e68dfd1 Typos 2025-08-19 18:32:59 -05:00
Giganzo c21a03361a Add hover styles to buttons in Script/Shader editor 2025-08-16 15:05:07 +02:00
Colin O'Rourke f26a66c630 Bug Fixes
More detailed logic to fix 3 errors.

* Using 0 as the default value for 'Saved_type' would cause new Particle, Sky, and Fog shaders to display incorrectly and fail to function.

* Passing Saved_type directly into edit_type_select would cause an error because Saved_Type is not the options button index, and can be out of bounds.

* Restoring some saved Particle types correctly requires also checking the custom mode box
2025-07-18 18:30:37 -07:00
A Thousand Ships f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00