Rémi Verschelde
355b6996a7
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-06-19 14:06:55 +02:00
Rémi Verschelde
c7c576ec01
Merge pull request #60793 from akien-mga/3.4-cherrypicks
2022-05-05 16:56:06 +02:00
David Cambré
0e36bbe37f
Fixes the copy paste issue in the visual script editor.
...
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.
(cherry picked from commit fb7c23f30b6c7e2366fb7e76321bc306f6ae55c5)
2022-05-05 15:12:44 +02:00
Rémi Verschelde
48dd4f1d9c
Merge pull request #60205 from akien-mga/3.4-cherrypicks
2022-04-13 15:51:01 +02:00
Nicholas Huelin
58082cff18
Fix Visual Script's jump to function relative to zoom
...
When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.
(cherry picked from commit e8a326a08fa334eb54a5a1ff09722caf90c160d8)
2022-04-13 12:18:45 +02:00
Rémi Verschelde
9cc72931c0
Merge pull request #58234 from akien-mga/3.4-cherrypicks
2022-02-17 12:34:37 +01:00
Haoyu Qiu
9ba592baac
Fix VisualScript crash when using Set Index node
...
(cherry picked from commit 1262d331c0b516c76977f27a9633102ce5ca483d)
2022-02-17 10:42:04 +01:00
Rémi Verschelde
d67c8198b2
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
(cherry picked from commit a627cdafc53bd9d986471fcaceac7e51213a7a68)
2022-01-13 16:00:37 +01:00
Rémi Verschelde
fa44a595e4
Merge pull request #56535 from akien-mga/3.4-cherrypicks
...
Cherry-picks for the 3.4 branch (future 3.4.3) - 1st batch
2022-01-06 01:59:20 +01:00
Max Hilbrunner
1a1a10349e
Fix docs links in 3.x after docs reorg
...
(cherry picked from commit 717801c9cba0f0ef3435179d1e04563e8316aef6)
2022-01-06 00:58:32 +01:00
Rémi Verschelde
f87cf36f5d
clang-format: Various fixes to comments alignment from clang-format 13
...
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28 14:50:32 +02:00
Rémi Verschelde
7f9b36f4e7
clang-format: Disable alignment of operands, too unreliable
...
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`.
2021-10-28 13:23:38 +02:00
Rémi Verschelde
f07c33e5e3
Merge pull request #53763 from Ev1lbl0w/bugfix-visual_script_crash
2021-10-13 14:53:02 +02:00
Ev1lbl0w
36cbaa9748
Fix VisualScript crash with null object
2021-10-13 12:19:29 +01:00
Rémi Verschelde
417207ffd6
Merge pull request #53511 from akien-mga/3.x-i18n-classref
2021-10-07 14:03:56 +02:00
Rémi Verschelde
850a3c788e
Use translated docs in PropertySelector
...
And do the dedent and stripping for both translated and
non-translated strings for consistency, and so that we
don't need to do it at the call site.
(cherry picked from commit 2ae3f92cd6 )
2021-10-07 12:48:23 +02:00
David Cambré
5e23250c8c
Update VisualScriptCustomNode.xml
...
(cherry picked from commit c697a773a5 )
2021-09-21 17:14:59 +02:00
David Cambré
e95b90bd32
Fix VisualScriptPropertySet value hint
2021-08-29 15:42:04 +02:00
K. S. Ernest (iFire) Lee
232b455836
Merge pull request #51922 from Gallilus/Revert-sequence-port-VisualScriptPropertySet-basic-type
...
Revert sequence port VisualScriptPropertySet basic type
2021-08-20 08:05:14 -07:00
David Cambré
13aa471415
Revert sequence port VisualScriptPropertySet basic type
...
Revert a part of #50709 .
Adding a sequence port to basic type set breaks backwards compatibility
2021-08-20 15:43:47 +02:00
Rémi Verschelde
5ac71e9092
Merge pull request #51574 from akien-mga/3.x-cherrypicks
...
Cherry-picks for the 3.x branch (future 3.4) - 15th batch
2021-08-12 20:30:30 +02:00
Rémi Verschelde
3b70def536
doc: Point URLs to 3.4 version of the online docs
2021-08-12 17:08:10 +02:00
Rémi Verschelde
d2c43497c7
Resource: Remove unused _use_builtin_script() virtual method
...
And another piece of dead code found while searching for "use_builtin".
(cherry picked from commit a1ab6f186b )
2021-08-12 16:45:48 +02:00
Rémi Verschelde
402d27c3ed
Merge pull request #51166 from RandomShaper/fix_can_reset_3.x
2021-08-09 09:19:25 +02:00
Rémi Verschelde
8fd0cd8c11
Merge pull request #51208 from Chaosus/vs_cleanup_warnings_3.x
...
[3.x] Prevents some warnings from appearing in visual scripts
2021-08-03 11:08:00 +02:00
Rémi Verschelde
a100d5d5f9
Merge pull request #51207 from akien-mga/3.x-cherrypicks
2021-08-03 11:03:53 +02:00
Yuri Roubinsky
535960fcab
[3.x] Prevents some warnings from appearing in visual scripts
2021-08-03 11:27:45 +03:00
Rémi Verschelde
02ee17f9a2
doc: Use self-closing tags for return and argument
...
For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
(cherry picked from commit 6846557be1 )
2021-08-03 10:20:19 +02:00
Haoyu Qiu
f8471f68b0
Validates VisualScript.add_node input node
...
(cherry picked from commit 61295c2a31 )
2021-08-03 09:33:25 +02:00
Pedro J. Estébanez
36c2185455
Add Script::inherits_script()
...
Partial cherry-pick of 3dcee28bb2 .
Co-authored-by: Juan Linietsky <reduzio@gmail.com >
2021-08-02 15:18:30 +02:00
Haoyu Qiu
cb237c1b49
Make action names translatable
2021-07-31 22:19:47 +08:00
Rémi Verschelde
624bbb76b9
Merge pull request #50882 from akien-mga/3.x-cherrypicks
2021-07-26 14:31:17 +02:00
Gallilus
4a16b926cf
Change "Add Preload Node" action to "Add Node(s)"
...
The action might also drop Custom Nodes
(cherry picked from commit 0bb9c1b0d9 )
2021-07-26 13:36:07 +02:00
Rémi Verschelde
cf65b385c8
Merge pull request #50709 from DavidCambre/Improve-and-stramline-VisualScriptFuncNodes-Call-Set-Get
...
[3.x] Improve and streamline VisualScriptFuncNodes Call Set Get
2021-07-23 13:00:24 +02:00
David Cambré
4e792ac804
Improve and streamline VisualScriptFuncNodes Call Set Get
...
This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get
Uniform design.
Drag in set-get from tree is now working.
port 'pass' not backported to 3.x to keep script backwards compatibility
2021-07-22 21:13:37 +02:00
Rémi Verschelde
f7098e8e5a
Merge pull request #50696 from DavidCambre/Allow-dropping-custom-node-scripts-in-VisualScript-editor
...
[3.x] Allow dropping custom node scripts in VisualScript editor
2021-07-22 12:42:06 +02:00
Rémi Verschelde
767ffaefc3
Expose visual script custom node type hints
2021-07-21 19:33:10 +02:00
David Cambré
8a33608e4b
Allow dropping custom node scripts in VisualScript editor
2021-07-21 15:01:07 +02:00
Rémi Verschelde
9c4071830c
Merge pull request #50475 from akien-mga/3.x-cherrypicks
2021-07-15 12:19:47 +02:00
Tomasz Chabora
b1410bc498
Document remaining Visual Script classes
...
(cherry picked from commit 7f3186137e )
2021-07-15 10:46:04 +02:00
Rémi Verschelde
6ad439226a
Merge pull request #49999 from kleonc/visual_script_editor-fix-position-when-zooming
...
[3.x] VisualScriptEditor Fix in graph position calculation (do not skip zoom)
2021-06-29 16:31:27 +02:00
kleonc
dd943be1dd
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
2021-06-29 15:32:16 +02:00
Rémi Verschelde
01af7cc3fd
Merge pull request #49997 from akien-mga/3.x-cherrypicks
2021-06-29 14:56:18 +02:00
Umang Kalra
86fc486a8e
Fixes missing descriptions in search window of visualscript
...
(cherry picked from commit 2873b2e8d1 )
2021-06-29 13:11:47 +02:00
Rémi Verschelde
ce22b8440e
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
(cherry picked from commit 8fad8b7035 )
2021-06-07 12:06:59 +02:00
David Cambré
782f64743f
The built in function math/seed was missing the sequenceport.
...
(cherry picked from commit fe3c1bffbf )
2021-06-01 12:52:18 +02:00
Rémi Verschelde
5fe0d1b0cb
Merge pull request #47751 from Calinou/highlight-control-flow-keywords-3.x
...
Highlight control flow keywords with a different color (3.x)
2021-05-25 09:20:46 +02:00
Hugo Locurcio
ba26c63dd0
Highlight control flow keywords with a different color
...
This makes them easier to distinguish from other keywords.
2021-05-25 00:31:39 +02:00
Rémi Verschelde
10eb2c702a
VisualScript: Fix wrongly setting default value on property hint change
...
PR #45096 put the backported code in the wrong case, it should be for `type`
and not for `hint`.
Also synced `hint` enum values with `Object.PropertyHint`.
Fixes #48698 .
2021-05-13 22:37:31 +02:00
Rémi Verschelde
6833bea01d
Merge pull request #48475 from akien-mga/3.x-style-changes
2021-05-05 15:12:55 +02:00