summaryrefslogtreecommitdiffstats
path: root/editor/plugins/visual_shader_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix error when duplicating visual shader node inside a FrameHaoyu Qiu2024-05-201-2/+1
|
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-13/+13
|
* Use Core/Scene stringnames consistentlykobewi2024-05-131-14/+14
|
* [VisualShader] Add reroute node and improve port drawingHendrik Brucker2024-05-131-68/+205
|
* [Core] Add case-insensitive `String::containsn`A Thousand Ships2024-05-081-1/+1
|
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-12/+14
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`A Thousand Ships2024-05-021-3/+3
| | | | Convenience for a number of cases operating on single values
* Prevent expanding output port in visual shader expressionYuri Rubinsky2024-04-191-7/+7
|
* Fix incorrect behavior at expanding an output port in visual shader nodeYuri Rubinsky2024-04-171-6/+6
|
* Merge pull request #89810 from Geometror/fix-79417Rémi Verschelde2024-04-081-3/+32
|\ | | | | | | [VisualShader] Remove invalid graph connections when ports are removed
| * [VisualShader] Remove invalid graph connections when ports are removedHendrik Brucker2024-04-081-3/+32
| | | | | | | | Co-authored-by: EddieBreeg <eddiebreeg0@protonmail.com>
* | Add GraphFrame and integrate it in VisualShaderHendrik Brucker2024-04-041-181/+615
| |
* | Fixed undo/redo behaviour of color picker and added ability to ↵Zi Ye2024-03-241-0/+2
| | | | | | | | cancel/confirm color selection.
* | Fix unexpected auto translation of Tree contentHaoyu Qiu2024-03-181-0/+2
|/
* Fix possible crash when converting a node to other in visual shaderYuri Rubinsky2024-03-081-0/+1
|
* Merge pull request #88951 from Geometror/vs-prop-ed-fixesRémi Verschelde2024-03-051-21/+44
|\ | | | | | | Make editing properties more intuitive in VisualShader
| * Make editing properties more intuitive in VisualShaderHendrik Brucker2024-03-051-21/+44
| |
* | Add percent (`%`) sign to Remainder node name in visual shadersHugo Locurcio2024-02-281-6/+6
|/ | | | This makes the node easier to search in the Create New Node dialog.
* Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-9/+9
|
* Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_namedRémi Verschelde2024-02-231-4/+1
|\ | | | | | | Add methods to add submenus without using names
| * Add methods to add submenus without using nameskobewi2024-02-221-4/+1
| |
* | Redesign the graph editor for visual shadersHendrik Brucker2024-02-221-25/+55
|/
* Use check_changed_settings_in_group() everywherekobewi2024-02-191-5/+9
|
* Make auto translation inheritableMichael Alexsander2024-02-151-4/+4
|
* Merge pull request #86564 from Giwayume/feature/canvas-item-shader-custom-dataRémi Verschelde2024-02-081-0/+2
|\ | | | | | | Support CUSTOM shader attributes in 2D
| * Add custom shader attributes to Canvas Item ShadersGiwayume2024-01-231-0/+2
| |
* | Check is the ref shader valid in visual shader's update_option_menujsjtxietian2024-01-251-1/+1
| |
* | Add connection-related VisualShader operationsHendrik Brucker2024-01-191-5/+222
| | | | | | | | | | | | - Insert a node in a connection - Drop an unconnected node on a connection to insert it - Delete a connection
* | Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* | Update deferred calls to use Callableskobewi2024-01-091-20/+8
|/
* Remove unnecessary assignmentsWilson E. Alvarez2023-12-131-5/+3
| | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* Set some window in visual shader editor to be exclusivejsjtxietian2023-11-221-3/+10
|
* Add preprocessor pass on visual shader when showing generated code100gold2023-10-291-7/+40
|
* Add bulk change guards to successive theme overrides in Editor and GUIYuri Sizov2023-10-191-0/+8
|
* Disable port name auto translation in Visual Shader editorHaoyu Qiu2023-10-131-0/+4
|
* Merge pull request #82370 from ↵Rémi Verschelde2023-10-021-5/+5
|\ | | | | | | | | | | YuriSizov/graphs-request-rename-close-delete-please Rename close requests to delete requests in `GraphEdit`
| * Rename close requests to delete requests in `GraphEdit`Yuri Sizov2023-09-261-5/+5
| |
* | Implement drop-down list properties to the custom visual shader nodesYuri Roubinski2023-09-291-1/+60
|/
* Merge pull request #81939 from YuriSizov/gui-flat-and-depressedRémi Verschelde2023-09-251-1/+1
|\ | | | | | | Replace flat buttons with flat-styled buttons with a visible pressed state
| * Replace flat buttons with flat-styled buttons with a visible pressed stateYuri Sizov2023-09-191-1/+1
| |
* | made visual shader ports expandable by default if there is only one output ↵DennisManaa2023-09-221-3/+6
|/ | | | | | port and it's of any vector type Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
* [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-151-6/+6
|
* Fix accessing editor theme items throughout the UIYuri Sizov2023-09-151-39/+39
| | | | This also exposes `EditorInterface::get_editor_theme`.
* Improve undo action namesHaoyu Qiu2023-09-121-1/+1
| | | | | | | * Avoid concating strings manually for better i18n and easy l10n * Use `vformat` when possible * Use separate strings if the changing part is only a few hardcoded strings * Don't put a period at the end of the name
* Clean up/refactor GraphNode and make it more flexibleHendrik Brucker2023-09-071-202/+219
| | | | | Split GraphNode into GraphElement and GraphNode, add custom titlebar, and adjust theming.
* Add EditorStringNames singletonkobewi2023-09-031-69/+70
|
* Merge pull request #80517 from ↵Rémi Verschelde2023-08-281-1/+1
|\ | | | | | | | | | | YuriSizov/tsa-randomly-picked-you-for-mandatory-inspection-i-think-not Avoid unnecessary inspector updates when loading or switching scenes
| * Avoid unnecessary inspector updates when loading or switching scenesYuri Sizov2023-08-121-1/+1
| | | | | | | | | | | | This should result in some noticeable performance improvements, aside from fixing bugs due to conflicts in logic. This also simplifies some related code identified while debugging.
* | Merge pull request #78996 from Tetane/create_shader_node_popupRémi Verschelde2023-08-211-1/+1
|\ \ | |/ |/| | | Fix "Create Shader Node" window position when visual shader editor is floating
| * Fix Create shader Node window position on second monitorTetane2023-07-031-1/+1
| |