Rémi Verschelde
0e95c24778
Merge pull request #54629 from Gallilus/Fixes-copy-paste-issue-in-the-visual-script-editor-3.x
...
Fixes copy-paste issue in the visual script editor
2022-04-15 21:19:09 +02:00
Nicholas Huelin
b71f5e0cbd
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 d2a3675ec8 )
2022-04-13 11:43:49 +02:00
Rémi Verschelde
bd10a340a6
Merge pull request #60049 from timothyqiu/vs-filter-scroll
2022-04-12 21:03:28 +02:00
Umang Kalra
5997700fa5
Fixes variable node not showing updated name in visualscript editor
2022-04-11 17:38:05 +05:30
Haoyu Qiu
a0c55a9c47
Scroll to selected item when filtering VisualScript nodes
2022-04-09 10:14:09 +08:00
Rémi Verschelde
8b6ba9dcc2
Merge pull request #59213 from Calinou/doc-add-xml-schema-3.x
...
Add an XML schema for documentation (3.x)
2022-03-16 23:31:50 +01:00
Hugo Locurcio
ab7886cfd4
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-03-16 23:01:02 +01:00
Rémi Verschelde
948b93a406
Merge pull request #59067 from akien-mga/3.x-cherrypicks
...
Cherry-picks for the 3.x branch (future 3.5) - 15th batch
2022-03-12 22:01:23 +01:00
Haoyu Qiu
7558e47f1a
Use RTR() for VisualScriptNode captions and texts
...
(cherry picked from commit 34614b544a )
2022-03-12 15:10:28 +01:00
Haoyu Qiu
5b6d2d353c
Fix VisualScript crash when using Set Index node
...
(cherry picked from commit 022c73fcb6 )
2022-02-17 09:54:36 +01:00
Rémi Verschelde
179bc7f33a
Merge pull request #57947 from akien-mga/3.x-cherrypicks
2022-02-11 13:45:03 +01:00
Rémi Verschelde
92524c5ce8
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
(cherry picked from commit 2d58a2091e )
2022-02-11 09:50:59 +01:00
Rémi Verschelde
7669335a71
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Haoyu Qiu
13e207c793
i18n: Make VisualScript node caption & text translatable
2022-01-11 21:16:33 +08:00
Rémi Verschelde
bf4d11a72c
Merge pull request #53464 from LATRio/53456
...
[3.x] Add type validations when setting basic type
2022-01-08 11:03:44 +01:00
LATRio
2118079c8c
Add type validations when setting basic type
2022-01-08 11:30:55 +09:00
Rémi Verschelde
850b6c352b
Merge pull request #56512 from mhilbrunner/fix-docs-links
2022-01-05 12:59:04 +01:00
Max Hilbrunner
19e301ea59
Fix docs links in 3.x after docs reorg
2022-01-05 11:54:52 +01:00
Rémi Verschelde
8e95af1328
Merge pull request #55728 from KoBeWi/is_built_in()_should've_been_backported
2021-12-08 14:24:53 +01:00
kobewi
5ab52d78c5
Fix custom built-in script names
2021-12-08 14:04:10 +01:00
Rémi Verschelde
feaef5d65f
Merge pull request #55611 from KoBeWi/yet_another_nice_backport
...
[3.x] Improve save handling for built-in scripts
2021-12-04 08:56:03 +01:00
kobewi
cdad3d2f57
Improve save handling for built-in scripts
2021-12-04 01:28:52 +01:00
Marcel Admiraal
2596277850
Remove unimplemented methods
2021-11-18 12:47:36 +00:00
David Cambré
c1ff202e32
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.
2021-11-16 16:49:15 +01:00
Rémi Verschelde
2178a7fb3e
Replace Godot docs URL with $DOCS_URL in XML class reference
2021-11-15 17:22:47 +01:00
Rémi Verschelde
663122285b
Bump version to 3.5-beta
2021-11-05 16:10:17 +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