summaryrefslogtreecommitdiffstats
path: root/modules/visual_script/visual_script_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make OpenSimplex and VisualScript modules not depend on the editorAaron Franke2021-11-121-4612/+0
|
* Merge pull request #54653 from KoBeWi/built_in_scripts_deserved_thatRémi Verschelde2021-11-091-11/+14
|\ | | | | Improve save handling for built-in scripts
| * Improve save handling for built-in scriptskobewi2021-11-071-11/+14
| |
* | VisualScript-sync-and-improve-variable-and-propertyDavid Cambré2021-11-061-11/+16
|/
* Add is_built_in() method to Resourcekobewi2021-11-041-1/+1
|
* Fixes copy-paste issue in the visual script editorDavid Cambré2021-11-031-111/+130
| | | | | Moves copy and paste in their own functions so copy_nodes_request and paste_nodes_request are able to work. Applies paste offset to the last mouse clicked position.
* clang-format: Disable alignment of operands, too unreliableRémi Verschelde2021-10-281-1/+1
| | | | | | | | | Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
* Move add_syntax_highlighter bind to ScriptEditorBasePaulb232021-10-111-2/+0
|
* Use range iterators for `Map`Lightning_A2021-09-301-12/+12
|
* Fix incorrect call of `_center_on_node` in VisualScript editorYuri Roubinsky2021-09-181-9/+4
|
* Added status bar and toggle scripts panel button to EditorHelp/VScriptsYuri Roubinsky2021-09-151-0/+27
|
* Fix Visual Script editorMax Hilbrunner2021-08-241-14/+12
|
* Entirely removes BIND_VMETHOD in favor of GDVIRTUALreduz2021-08-231-3/+1
| | | | | | | | * `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions. * Everything else converted to GDVIRTUAL * BIND_VMETHOD is gone, always use the new syntax from now on. Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
* Namespaces instead of underscore prefix for bindsMax Hilbrunner2021-08-171-13/+18
| | | | | | Thanks to neikeq for the initial work. Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
* Fix duplicate conditions.Anilforextra2021-08-131-3/+2
|
* Resource: Remove unused `_use_builtin_script()` virtual methodRémi Verschelde2021-08-121-4/+0
| | | | And another piece of dead code found while searching for "use_builtin".
* Make action names translatableHaoyu Qiu2021-07-311-2/+2
|
* Merge pull request #50840 from ↵Rémi Verschelde2021-07-261-1/+1
|\ | | | | | | | | Gallilus/VisualScript-drop-preload-nodes-change-action-name Change "Add Preload Node" action to "Add Node(s)"
| * Change "Add Preload Node" action to "Add Node(s)"Gallilus2021-07-251-1/+1
| | | | | | The action might also drop Custom Nodes
* | Use const references where possible for List range iteratorsRémi Verschelde2021-07-251-18/+18
| |
* | Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-131/+129
|/
* Merge pull request #49749 from ↵Rémi Verschelde2021-07-211-40/+70
|\ | | | | | | | | DavidCambre/VisualScriptFunction_Call_Set_Get_Improvement-2 VisualScriptFunctionNodes Improvements
| * Improve and streamline VisualScriptFuncNodes Call Set GetDavid Cambré2021-07-211-40/+70
| | | | | | | | | | | | | | This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get Uniform design. Drag in set-get from tree is now working. Removes redundant method_select popup.
* | Fix visual script iconsNick Huelin2021-07-201-0/+3
| | | | | | | | This pull request fixes an issue where the visual script icons weren't representative of their data.
* | Merge pull request #50581 from DavidCambre/VisualScript-Drop-Custom-NodesRémi Verschelde2021-07-201-6/+20
|\ \ | | | | | | Allow dropping custom node scripts in VisualScript editor
| * | VisualScript-Drop-Custom-NodesDavid Cambré2021-07-181-6/+20
| | | | | | | | | | | | Allows to drop custom node scripts directly in VisualScript
* | | Merge pull request #50566 from reduz/optimize-stringname-usageRémi Verschelde2021-07-191-99/+99
|\ \ \ | | | | | | | | Optimize StringName usage
| * | | Optimize StringName usagereduz2021-07-181-99/+99
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* / / Prevents some warnings from appearing in visual scriptsYuri Roubinsky2021-07-181-1/+15
|/ /
* / Fix creating a new function in visual scriptsYuri Roubinsky2021-07-101-1/+1
|/
* VisualScriptEditor Fix in graph position calculation (do not skip zoom)kleonc2021-06-231-106/+46
|
* Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-30/+30
|
* Adding some more missing renames for Transform3D and QuaternionBastiaan Olij2021-06-151-2/+2
|
* Consistently prefix bound virtual methods with _kobewi2021-06-121-3/+3
|
* Merge pull request #49462 from TokageItLab/update-property-selector-icon-listRémi Verschelde2021-06-091-2/+2
|\ | | | | update property selector's icon list
| * update property selector's icon list and rename Quat.svg to Quaternion.svgSilc 'Tokage' Renew2021-06-091-2/+2
| |
* | Rename missing shortcut names in visual script editorJonas Bernemann2021-06-081-4/+4
|/ | | | | | With the change of the shortcuts for common actions like delete, copy and paste the delete menu items in the visual script editor for members where missing because of a missing shortcut.
* Fixed color for node headers in visual scriptsYuri Roubinsky2021-06-061-0/+1
|
* Rename Quat to QuaternionMarcel Admiraal2021-06-041-2/+2
|
* Rename Variant TRANSFORM to TRANSFORM3DAaron Franke2021-06-031-2/+2
| | | Also _transform to _transform3d
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-18/+18
|
* Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde2021-05-171-4/+4
|\
| * Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A2021-05-071-4/+4
| | | | | | | | InputEventWithModifiers properties/methods
* | Add get_base_editor to ScriptEditorBasesent442021-05-151-0/+4
|/
* Merge pull request #45607 from Calinou/improve-editor-themeRémi Verschelde2021-05-061-34/+22
|\ | | | | Improve the editor theme
| * Improve the editor themeHugo Locurcio2021-04-271-34/+22
| | | | | | | | | | | | | | | | | | | | The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
* | Rename `doubleclick` to `double_click`Aaron Franke2021-05-041-1/+1
|/
* Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal2021-04-171-4/+4
|
* Style: Apply clang-tidy's `readability-braces-around-statements`Rémi Verschelde2021-04-051-2/+2
|
* Fix crashes in *_input functionsRafał Mikrut2021-04-051-0/+2
|