Commit Graph

872 Commits

Author SHA1 Message Date
Rémi Verschelde
b4216e7923 Merge pull request #56808 from timothyqiu/crash-fix
Fix crash when exiting the editor
2022-01-15 09:34:43 +01:00
Haoyu Qiu
f39dd7418a Fix crash when exiting the editor 2022-01-15 11:22:18 +08:00
Rémi Verschelde
1338ad90c1 Merge pull request #55541 from KoBeWi/outcognito_scripts 2022-01-14 21:04:13 +01:00
kobewi
daeb06c50b Make script type distinguishable by icon 2022-01-13 12:29:05 +01:00
Rémi Verschelde
a6a86a8d52 Merge pull request #56646 from Chaosus/vst_context_menu 2022-01-12 11:39:06 +01:00
Rémi Verschelde
603481c93a Merge pull request #53185 from KoBeWi/viewing_pan 2022-01-12 11:36:41 +01:00
Haoyu Qiu
66ac415f08 i18n: Make VisualScript node caption & text translatable 2022-01-11 21:18:15 +08:00
kobewi
5d2371d595 Unify panning in sub-editors and make it configurable 2022-01-11 13:57:19 +01:00
Yuri Roubinsky
98c58138f7 Add context menu to visual script editor 2022-01-09 19:19:39 +03:00
Rémi Verschelde
39360d908e Merge pull request #56352 from Gallilus/Include-base-signals-to-VisualScriptEmitSignal 2022-01-05 11:02:10 +01:00
Rémi Verschelde
7a2dfcf238 Update copyright statements to 2022
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Rémi Verschelde
4abf7104e1 Merge pull request #53957 from fabriceci/new-template-workflow 2022-01-03 20:40:33 +01:00
Max Hilbrunner
f7ac4a4e50 Merge pull request #56440 from KoBeWi/returnals
Fix usage of "Return" in the docs
2022-01-02 23:49:04 +01:00
fabriceci
f69d7f463f Improve editor template workflow
Co-Authored-By: jmb462 <jmb462@gmail.com>
2022-01-02 21:52:09 +01:00
kobewi
5376803cb6 Fix usage of "Return" in the docs 2022-01-02 21:09:18 +01:00
David Cambré
bc8c95f9ad Include base signals to VisualScriptEmitSignal 2021-12-30 20:08:54 +01:00
Rémi Verschelde
b1ab16023b Merge pull request #55906 from Chaosus/vss_fix 2021-12-13 18:55:06 +01:00
Yuri Roubinsky
14d47b6399 Fix incorrect placement of default value editor in visual scripts 2021-12-13 19:32:24 +03:00
Nathan Franke
c4524d0331 Replace String comparisons with "", String() to is_empty()
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Nathan Franke
d60470a957 align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
jmb462
1c4e5a5bc7 Fix bad popups offset in editor with single window off
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06 14:29:48 +01:00
Umang Kalra
791e48f793 Fixes variable/singal nodes not renaming in visualscript editor 2021-11-24 23:56:43 +05:30
Rémi Verschelde
8cee138698 Merge pull request #50139 from LightningAA/rename-remove-to-remove-at
Rename `remove()` to `remove_at()` when removing by index
2021-11-24 07:59:56 +01:00
Lightning_A
cb47e7f319 Rename remove() to remove_at() when removing by index 2021-11-23 18:58:57 -07:00
Yuri Roubinsky
df1fcaf100 Added reset_size method to Control and Window classes 2021-11-22 16:55:21 +03:00
Yuri Roubinsky
e56b37a0a8 Fix randfn in visual scripts 2021-11-17 18:52:44 +03:00
Yuri Roubinsky
1dca7ea720 Expose randfn to global scope 2021-11-17 14:29:19 +03:00
Rémi Verschelde
9b13c77b25 Replace Godot docs URL with $DOCS_URL in XML class reference 2021-11-15 13:02:21 +01:00
Rémi Verschelde
e6e1160b76 Merge pull request #51684 from aaronfranke/enum-class 2021-11-12 23:39:17 +01:00
Aaron Franke
9526feece0 Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
Rémi Verschelde
16c662221c Merge pull request #54903 from aaronfranke/modules-no-editor
Make OpenSimplex and VisualScript modules not depend on editor files
2021-11-12 21:17:31 +01:00
Aaron Franke
2da99a9f01 Make OpenSimplex and VisualScript modules not depend on the editor 2021-11-12 12:03:54 -06:00
Rémi Verschelde
0706a17ac8 Merge pull request #53819 from TokageItLab/re-implement-ping-pong
Reimplement ping-pong animation and reverse playback
2021-11-09 22:11:04 +01:00
Rémi Verschelde
7398a03a64 Merge pull request #54653 from KoBeWi/built_in_scripts_deserved_that
Improve save handling for built-in scripts
2021-11-09 21:46:58 +01:00
kobewi
aa23b76249 Improve save handling for built-in scripts 2021-11-07 23:51:12 +01:00
David Cambré
ba8abc832a VisualScript-sync-and-improve-variable-and-property 2021-11-06 13:03:38 +01:00
kobewi
a206d93d8f Add is_built_in() method to Resource 2021-11-04 12:45:58 +01:00
Rémi Verschelde
f55b3592c1 Merge pull request #54571 from Calinou/rename-noeditor-property-hint 2021-11-04 00:18:44 +01:00
Hugo Locurcio
5507c243c3 Rename PROPERTY_USAGE_NOEDITOR to PROPERTY_USAGE_NO_EDITOR
This is consistent with other constants that include `NO`,
such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03 23:06:17 +01:00
David Cambré
05f85a9e89 Fixes 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-03 20:40:52 +01:00
Silc 'Tokage' Renew
1da316233b reimplement ping-pong 2021-11-03 13:39:33 +09:00
Rémi Verschelde
a8b1696509 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 15:43:36 +02:00
Rémi Verschelde
4db876a82c 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 15:19:35 +02:00
Marcel Admiraal
aaccecb0d8 Remove unimplemented methods 2021-10-21 18:44:25 +01:00
Gilles Roudière
efd8ba99d7 Implement toast notifications in the editor 2021-10-14 13:30:54 +02:00
Juan Linietsky
556ee2a8ab Merge pull request #53687 from godotengine/revert-48332-implement-ping-pong
Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation"
2021-10-11 19:28:34 -03:00
Juan Linietsky
0837a9115d Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation" 2021-10-11 19:27:50 -03:00
Rémi Verschelde
2abbede480 Merge pull request #48332 from TokageItLab/implement-ping-pong 2021-10-11 22:55:01 +02:00
Paulb23
8f8831841e Move add_syntax_highlighter bind to ScriptEditorBase 2021-10-11 18:13:31 +01:00
Tokage
b19f39d0a2 implement ping-pong loop in animation
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-09 18:08:43 +09:00