Swarnim Arun
f82f8ec125
Fix crashing of VisualScript due to...
...
Attempting to move the function node to another function whose data connection is a dependency of the node the specific node being moved to a different function during changes to sequence connections.
By skipping, if the from_node is a function_node during the data connection dependencies scan.
Should fix #37991
(cherry picked from commit 5c48631509751191afc5a83e4c48075a90a38150)
2020-06-04 12:16:40 +02:00
Haoyu Qiu
ae45f7df23
Makes adding port in Visual Script nodes deferred
2020-01-14 21:03:09 +08:00
Rémi Verschelde
be5dd6ce1f
Update copyright statements to 2020
...
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.
2020-01-01 11:16:22 +01:00
Haoyu Qiu
dabb079de6
Cleans up headers included in editor_node.h
2019-12-24 21:46:05 +08:00
Haoyu Qiu
b97dc6a6e9
Makes more editor strings translatable
...
* "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
2019-12-21 20:58:17 +08:00
Haoyu Qiu
5d738c7dd7
Fixes size of create function dialog
2019-12-17 09:04:30 +08:00
Haoyu Qiu
d2fce601b8
Makes more strings in editor translatable
...
* File type names in file dialogs
* Layout option names
* Visual shader editor UI
2019-12-16 16:41:07 +08:00
codecustard
cce26ada16
Fixes wrong position when adding node in VS editor
...
When adding a node in the visual script editor while zoomed in, the position of the newly added node would be wrong.
2019-12-04 17:12:01 -08:00
Rémi Verschelde
930f051a8b
Fix typos with codespell
...
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
```
2019-11-22 08:35:03 +01:00
Rémi Verschelde
410850ac19
Merge pull request #32853 from OsamaElHariri/visual_script_setter_props_fix
...
Set the properties of a Set node after add_node
2019-11-07 13:13:33 +01:00
Omicron
26adf635c4
Fix: typo atleast -> at least
...
Typo found in source string, reported by linux-man on weblate
2019-11-01 16:10:21 +01:00
Rémi Verschelde
43d9afb3af
i18n: Sync translation template with current source
2019-10-29 13:57:45 +01:00
Osama El Hariri
7b1bb68586
Set the properties of a Set node after add_node
2019-10-28 21:03:12 +02:00
Timo Schwarzer
c9f2101028
Remove redundant compiler directives
...
Closes #32817
2019-10-14 16:23:13 +02:00
Chaosus
b7abea99e7
Fix theme in visual script dialogs (at startup)
2019-09-30 10:51:05 +03:00
Rémi Verschelde
43a4d0ffb6
Merge pull request #32402 from YeldhamDev/fix_vs_add_function
...
Fix VS editor's "Create Function" dialog
2019-09-29 21:36:57 +02:00
Swarnim Arun
7fadef06b0
Deconstruct node for Visualscript
...
Adds deconstruct nodes for the built-in types and adds default text to function rename_input_box for the visualscript.
2019-09-29 23:00:08 +05:30
Michael Alexsander Silva Dias
1e8498dd62
Fix VS editor's "Create Function" dialog
2019-09-28 11:57:13 -03:00
Rémi Verschelde
14647a9fef
Merge pull request #32398 from YeldhamDev/cleanup_vs_editor_left
...
Cleanup VS editor's left menu
2019-09-28 07:35:46 +02:00
Michael Alexsander Silva Dias
a71734853f
Cleanup VS editor's left menu
2019-09-27 21:20:43 -03:00
Swarnim Arun
91a1d201d1
Fix Edit function button
2019-09-28 02:16:11 +05:30
Swarnim Arun
3d8b00c657
Visualscript editor graph unification & refactoring
...
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
2019-09-26 01:53:58 +05:30
Rémi Verschelde
874eb2293c
Merge pull request #30852 from swarnimarun/vs_tools_script
...
Tool Mode for Visualscript
2019-09-22 21:21:59 +02:00
Swarnim Arun
497cde27ab
Tool Mode for Visualscript
...
Add the ability to VisualScript to function in Tool mode aka the Editor itself similar to GDScript or Mono
2019-09-21 18:42:27 +05:30
Chaosus89
78fa1fc0ce
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 09:12:26 +03:00
Emmanuel Barroga
3e3679a882
Add descriptive tooltips in VS editor
...
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
2019-07-31 20:10:19 -07:00
qarmin
2738b0b1e2
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
Hugo Locurcio
f88bded1d2
Use base Color() constructors instead of Color::html()
...
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
2019-07-08 21:17:10 +02:00
Rémi Verschelde
636ac701e6
Merge pull request #29333 from hbina/fix_double_click_when_no_edited_func
...
fixed an issue with double clicking available node in VisualScriptEditor
2019-07-01 16:33:04 +02:00
JohnJLight
af6a3a56a4
Made use of semicolons more consitent, fixed formatting
2019-06-19 15:24:31 +02:00
Rémi Verschelde
afa8680918
Merge pull request #28766 from pgoral/editor_validation_issue
...
Changing method signature in other class in not recognized in working…
2019-06-17 23:13:08 +02:00
Rémi Verschelde
023eae8bc3
Merge pull request #29262 from DarknessCatt/issue-27476
...
Automatically add new line to scripts
2019-06-11 15:07:09 +02:00
hbina085
72d3cb4138
fixed an issue where there is no edited function but user double clicks on an available functions
2019-05-30 19:10:53 -04:00
Matheus Lima Cunha
5f457a03c4
Automatically add new line to scripts
2019-05-29 18:13:29 -03:00
Goral
467b772d16
Changing method signature in other class in not recognized in working class in typed GDScript #28685
2019-05-29 22:27:16 +02:00
James Buck
a61cb17530
Remove some redundant lines
2019-05-29 15:20:39 -05:00
Rémi Verschelde
f7f70bc566
Merge pull request #28836 from Jummit/vs-fix-default-call-modes
...
Change the call mode to self when adding nodes via the node search
2019-05-24 17:44:54 +02:00
Rémi Verschelde
97518c612b
Merge pull request #28980 from Jummit/vs-rename-change-base-type
...
Fix VisualScript Change Base Type title
2019-05-24 13:45:09 +02:00
Swarnim Arun
7b6296d324
Fix history state setup in VisualScript
2019-05-20 22:15:43 +05:30
Jummit
4b2bdf3106
Fix VisualScript Change Base Type title
2019-05-18 10:07:12 +02:00
Jummit
a32b7b4d50
change call mode to self when adding nodes with node search
...
fixes #28614
2019-05-12 09:27:05 +02:00
K. S. Ernest (iFire) Lee
86c9702154
VS: Give the generic search the current base type.
2019-05-01 08:27:22 -07:00
Rémi Verschelde
aa41f4d303
Merge pull request #27707 from Calinou/tweak-message-wording
...
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Rikhardur Bjarni Einarsson
0f1735eeb7
Added a marker in text_edit that tells which row is executing.
2019-04-23 21:51:01 +01:00
Hugo Locurcio
fca481e7bd
Improve wording of various messages and make casing more consistent
...
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Jummit
8014ff12ca
position nodes from the generic search at the cursor
2019-04-18 15:30:20 +02:00
PouleyKetchoupp
4edfb8f684
Properly handle different border widths in rounded corner aa
...
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
Michael Alexsander Silva Dias
be42fb5086
Make translatable some undo/redo operations in the editor
2019-02-21 16:41:01 -03:00
Rémi Verschelde
c3208308e0
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
79fbd4126f
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
...
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00