summaryrefslogtreecommitdiffstats
path: root/modules/visual_script/visual_script_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-108/+54
| | | | | | | | | | | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* | Fix resizer icon color in VisualScripts/Shaders when graph headers is onYuri Roubinsky2020-02-261-2/+10
| |
* | Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky2020-02-251-12/+16
|/ | | | | | | | | | | | | | | | | | | | | - Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
* Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde2020-02-231-1/+1
| | | | | | | | | | This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-55/+55
| | | | objects and made them default.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-29/+29
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.Juan Linietsky2020-02-151-2/+2
|
* Texture refactorJuan Linietsky2020-02-111-10/+10
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Makes adding port in Visual Script nodes deferredHaoyu Qiu2020-01-141-2/+2
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* Makes more editor strings translatableHaoyu Qiu2019-12-211-2/+2
| | | | | | | | | | * "Add" button text in Groups Editor * "Receiver Method" in Connect Signal Dialog * "Play Mode" in Animation State Machine Editor * "Mesh Library" button text in Mesh Library editor plugin * Compose Array node button texts in Visual Script * Various button texts in TileSet Editor * Various Run Script errors
* Fixes size of create function dialogHaoyu Qiu2019-12-171-1/+1
|
* Makes more strings in editor translatableHaoyu Qiu2019-12-161-3/+3
| | | | | | * File type names in file dialogs * Layout option names * Visual shader editor UI
* Fixes wrong position when adding node in VS editorcodecustard2019-12-041-0/+1
| | | When adding a node in the visual script editor while zoomed in, the position of the newly added node would be wrong.
* Fix typos with codespellRémi Verschelde2019-11-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using codespell 1.16.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
* Merge pull request #32853 from OsamaElHariri/visual_script_setter_props_fixRémi Verschelde2019-11-071-1/+5
|\ | | | | Set the properties of a Set node after add_node
| * Set the properties of a Set node after add_nodeOsama El Hariri2019-10-281-1/+5
| |
* | Fix: typo atleast -> at leastOmicron2019-11-011-2/+2
| | | | | | Typo found in source string, reported by linux-man on weblate
* | i18n: Sync translation template with current sourceRémi Verschelde2019-10-291-2/+2
|/
* Remove redundant compiler directivesTimo Schwarzer2019-10-141-8/+0
| | | | Closes #32817
* Fix theme in visual script dialogs (at startup)Chaosus2019-09-301-0/+2
|
* Merge pull request #32402 from YeldhamDev/fix_vs_add_functionRémi Verschelde2019-09-291-47/+55
|\ | | | | Fix VS editor's "Create Function" dialog
| * Fix VS editor's "Create Function" dialogMichael Alexsander Silva Dias2019-09-281-47/+55
| |
* | Deconstruct node for VisualscriptSwarnim Arun2019-09-291-2/+5
|/ | | | Adds deconstruct nodes for the built-in types and adds default text to function rename_input_box for the visualscript.
* Merge pull request #32398 from YeldhamDev/cleanup_vs_editor_leftRémi Verschelde2019-09-281-25/+16
|\ | | | | Cleanup VS editor's left menu
| * Cleanup VS editor's left menuMichael Alexsander Silva Dias2019-09-271-25/+16
| |
* | Fix Edit function buttonSwarnim Arun2019-09-281-1/+1
|/
* Visualscript editor graph unification & refactoringSwarnim Arun2019-09-261-614/+1833
| | | | Removes the need to have separate graphs per function for the VisualScript Nodes, and refactoring UI and other improvements such as fuzzy search, right click search boxes and in-graph editable nodes
* Merge pull request #30852 from swarnimarun/vs_tools_scriptRémi Verschelde2019-09-221-0/+10
|\ | | | | Tool Mode for Visualscript
| * Tool Mode for VisualscriptSwarnim Arun2019-09-211-0/+10
| | | | | | | | Add the ability to VisualScript to function in Tool mode aka the Editor itself similar to GDScript or Mono
* | Fix resizer icon visiblity on light theme in GraphNodeChaosus892019-09-011-0/+1
| |
* | Add descriptive tooltips in VS editorEmmanuel Barroga2019-07-311-4/+4
|/ | | | | | | | | In the Visual Script editor, the override icon is not very clear what it's intended purpose is for. Currently, its tooltip just says: "Function:" which is the same tooltip as the "add new function" icon. To resolve this issue, this PR adds descriptive tooltips to the following icons in the Visual Script editor: -Override Function -Add Function -Add Variable -Add Signal
* Changed some code showed in LGTM and Coverageqarmin2019-07-201-1/+0
|
* Use base `Color()` constructors instead of `Color::html()`Hugo Locurcio2019-07-081-74/+74
| | | | | This results in slightly smaller binaries (-17 KB for an editor binary) as no strings need to be allocated.
* Merge pull request #29333 from hbina/fix_double_click_when_no_edited_funcRémi Verschelde2019-07-011-1/+3
|\ | | | | fixed an issue with double clicking available node in VisualScriptEditor
| * fixed an issue where there is no edited function but user double clicks on ↵hbina0852019-05-301-1/+3
| | | | | | | | an available functions
* | Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-191-2/+2
| |
* | Merge pull request #28766 from pgoral/editor_validation_issueRémi Verschelde2019-06-171-0/+3
|\ \ | | | | | | Changing method signature in other class in not recognized in working…
| * | Changing method signature in other class in not recognized in working class ↵Goral2019-05-291-0/+3
| | | | | | | | | | | | in typed GDScript #28685
* | | Merge pull request #29262 from DarknessCatt/issue-27476Rémi Verschelde2019-06-111-0/+3
|\ \ \ | |_|/ |/| | Automatically add new line to scripts
| * | Automatically add new line to scriptsMatheus Lima Cunha2019-05-291-0/+3
| | |
* | | Remove some redundant linesJames Buck2019-05-291-3/+0
| | |
* | | Merge pull request #28836 from Jummit/vs-fix-default-call-modesRémi Verschelde2019-05-241-69/+74
|\ \ \ | | | | | | | | Change the call mode to self when adding nodes via the node search
| * | | change call mode to self when adding nodes with node searchJummit2019-05-121-69/+74
| | |/ | |/| | | | | | | fixes #28614
* | | Merge pull request #28980 from Jummit/vs-rename-change-base-typeRémi Verschelde2019-05-241-1/+1
|\ \ \ | | | | | | | | Fix VisualScript Change Base Type title
| * | | Fix VisualScript Change Base Type titleJummit2019-05-181-1/+1
| |/ /
* / / Fix history state setup in VisualScriptSwarnim Arun2019-05-201-1/+1
|/ /
* | VS: Give the generic search the current base type.K. S. Ernest (iFire) Lee2019-05-011-4/+3
| |
* | Merge pull request #27707 from Calinou/tweak-message-wordingRémi Verschelde2019-04-301-1/+1
|\ \ | | | | | | Improve wording of various messages and make casing more consistent