Commit graph

32581 commits

Author SHA1 Message Date
Yuri Roubinsky d87303d058 Auto-creates a port in visual shader expression on dragging from 2021-01-16 12:57:09 +03:00
ArrowInAKnee 13e7f1193a Remove unnecessary file existence check when saving scene 2021-01-16 01:22:09 +03:00
Hugo Locurcio 44204ec32d
Make Range return 1.0 ratio if minimum and maximum values are equal
An error message is also no longer printed.
This matches the behavior found in most UI frameworks where having
equal minimum and maximum values is considered acceptable.

This closes #43179.
2021-01-15 23:14:50 +01:00
Rémi Verschelde 05f5c8725b
Merge pull request #45218 from KoBeWi/new_regression_coming_in_3_2_1
Unify single and multiscene instancing
2021-01-15 21:38:52 +01:00
Rémi Verschelde 2c68cb1a56
Merge pull request #45212 from Chaosus/vs_fix_popup_size
Fix invalid visual shader context menu popup size
2021-01-15 21:37:00 +01:00
Rémi Verschelde ebe8751fff
Merge pull request #45216 from Chaosus/vs_fix_updating
Fix replaced visual shader nodes updating
2021-01-15 21:36:32 +01:00
kobewi 881c8da0a0 Unify single and multiscene instancing 2021-01-15 20:13:09 +01:00
Yuri Roubinsky 4a85f4cafe Fix replaced visual shader nodes updating 2021-01-15 21:10:32 +03:00
Yuri Roubinsky c955a16b39 Fix invalid visual shader context menu popup size 2021-01-15 19:55:21 +03:00
Rémi Verschelde c7fb7674c8
Merge pull request #44805 from Chaosus/vs_convert
Add convert options between constants and uniforms in visual shaders
2021-01-15 16:58:26 +01:00
Rémi Verschelde e8aab62d40
i18n: Sync translations with Weblate
(cherry picked from commit 7e207cfd48)
2021-01-15 16:56:47 +01:00
Rémi Verschelde b4020d3c27
Merge pull request #45197 from nekomatata/improved-raycast-node-render-debug
Improve Raycast3D render debug
2021-01-15 16:50:57 +01:00
Rémi Verschelde 1ffe3ed47a
Merge pull request #33685 from Scony/improve-item-lists-add-item-methods
ItemList's add_(icon_)item method returns id of added item
2021-01-15 16:24:20 +01:00
Rémi Verschelde 8cd11032fb
Merge pull request #38562 from Calinou/3d-light-size-property-hint
Tweak the 3D light size property to only allow reasonable values
2021-01-15 16:21:53 +01:00
Rémi Verschelde ee41c58b4a
Merge pull request #38578 from Phischermen/transform-notification-doc_update
Mention gotcha about how gizmos affect transform notifications
2021-01-15 16:17:26 +01:00
Rémi Verschelde a96ee7176a
Merge pull request #45183 from naithar/fix/plugin-config-names
[4.0] Rename 'PluginConfig' struct to fix lto warnings
2021-01-15 16:12:02 +01:00
Rémi Verschelde 86e2d4c593
Merge pull request #45196 from Paulb23/text_edit_draw_behind_gutter
Fix TextEdit drawing Caret and icons out of bounds
2021-01-15 16:08:45 +01:00
Rémi Verschelde d1f2644cfa
Merge pull request #45164 from Calinou/texture-region-editor-line-background
Draw a "background" line behind the dashed line in TextureRegion editor
2021-01-15 15:58:32 +01:00
Sergey Minakov 7990c2c5e8 [Plugins] Rename 'PluginConfig' struct to platform specific name 2021-01-15 17:54:35 +03:00
Fabio Alessandrelli 9a2f848855
Merge pull request #45171 from Calinou/doc-enet-udp-only
Mention that NetworkedMultiplayerENet uses UDP only
2021-01-15 15:52:29 +01:00
Rémi Verschelde fa5ead4db7
Merge pull request #42713 from madmiraal/fix-42614
Update area-body_shape_entered-exited signal documentation.
2021-01-15 13:00:23 +01:00
Rémi Verschelde 274db4aa64
Merge pull request #45149 from pycbouh/ge-disconnect-crash
Prevent signal disconnection attempts on invalid references
2021-01-15 12:48:56 +01:00
Rémi Verschelde 8a33107086
Merge pull request #35572 from dankan1890/drag_sheet
Create spritesheet for SpriteFrames by drag and dropping.
2021-01-15 09:17:05 +01:00
Aaron Franke 925d28e822
Move the asset library API URLs to the Editor Settings 2021-01-15 01:30:40 -05:00
Rémi Verschelde 64ba83a096
Merge pull request #44870 from alexpech12/fix-rich-text-label-set-visible-characters
Keep RichTextLabel visible character properties in sync
2021-01-15 00:59:26 +01:00
PouleyKetchoupp 9e660475a7 Improve Raycast3D render debug
Fix Raycast3D node render debug not showing in editor camera preview.

Use dynamic mesh update to change the ray on-the-fly without too much
extra cost when collision debug is enabled.

Fixes #43571
2021-01-14 15:52:01 -07:00
Paulb23 7666c1caf3 Fix TextEdit drawing Caret and icons out of bounds 2021-01-14 22:19:57 +00:00
Rémi Verschelde 011d201046
Merge pull request #43923 from madmiraal/fix-43588
Fix cast_motion sometimes failing
2021-01-14 20:44:19 +01:00
Rémi Verschelde e3b523a088
Merge pull request #45193 from fstiewitz/gltf-without-buffers-4
Fix glTF import of scenes without buffers
2021-01-14 19:48:53 +01:00
Fabian Stiewitz 934277bad2 fix gltf not importing files w/o bufferViews or accessors 2021-01-14 19:13:47 +01:00
Hugo Locurcio 7b33498995
Mention that NetworkedMultiplayerENet uses UDP only
This is important to clarify for those doing port forwarding.
2021-01-14 17:15:20 +01:00
Rémi Verschelde 70a70a4f2b
Merge pull request #45161 from Xrayez/bind-emit-changed
Expose `Resource.emit_changed()` to script
2021-01-14 15:56:26 +01:00
Yuri Sizov 5e8e9fc601 Prevent signal disconnection attempts on invalid references 2021-01-14 15:19:32 +03:00
Alexander Pech 463e2002ab Keep RichTextLabel visible character properties in sync
The RichTextLabel class is inconsistent in how it updates the
visible_characters and percent_visible properties when either is changed.

To keep both properties consistent, update percent_visible when setting the
visible_characters property.
For both properties, when setting one, notify change for the other.

Docs updated for member set_visible_characters on RichTextLabel class.
2021-01-14 21:32:41 +11:00
Rémi Verschelde 2af5723aee
Merge pull request #45070 from fmazan/fs-dock-name-sort
Fix file name comparison when new file is added to file system
2021-01-14 08:28:41 +01:00
Rémi Verschelde 156d700f00
Merge pull request #45167 from madmiraal/fix-44703
Fix not clearing a Joint3D with only a B node when removing the B node
2021-01-14 08:26:03 +01:00
Marcel Admiraal 95020d3e38 Fix not clearing a Joint3D with only a B node when removing the B node 2021-01-13 18:58:05 +00:00
Hugo Locurcio 656aba1273
Draw a "background" line behind the dashed line in TextureRegion editor
This makes the dashed line visible on any background.
2021-01-13 17:22:37 +01:00
Rémi Verschelde 8d4698db36
Merge pull request #45159 from madmiraal/fix-45145
Only remove Bullet's body constraints when removing body from space
2021-01-13 17:15:45 +01:00
Rémi Verschelde 0b409d89d0
Merge pull request #45136 from akien-mga/clang-format-11
CI: Update to clang-format 11 and apply ternary operator changes
2021-01-13 16:10:44 +01:00
Rémi Verschelde 59495adb7c
Merge pull request #45157 from madmiraal/fix-44514
Raise SIGKILL instead of CRASH_NOW in child process when fork fails
2021-01-13 15:51:09 +01:00
Andrii Doroshenko (Xrayez) e94f46dcdb Expose Resource.emit_changed() to script
Also known as `emit_signal("changed")`.
2021-01-13 16:27:58 +02:00
Rémi Verschelde a8cf045fd0
Merge pull request #45156 from madmiraal/fix-45146
Update Mono module to use new execute method.
2021-01-13 15:16:48 +01:00
Rémi Verschelde d754cf95a2
Merge pull request #45155 from bruvzg/fix_execute_arguments
Fix OS::execute() and OS::create_process() command line argument.
2021-01-13 15:16:07 +01:00
Marcel Admiraal 797a7fc6cc Only remove Bullet's body constraints when removing body from space 2021-01-13 13:32:46 +00:00
Marcel Admiraal 89225884f6 Raise SIGKILL instead of CRASH_NOW in child process when fork fails 2021-01-13 10:18:57 +00:00
bruvzg 533ed0c7c8
Fix OS::execute() and OS::create_process() command line argument CharStrings freed before use. 2021-01-13 11:38:02 +02:00
Marcel Admiraal 3ee860e3d1 Update Mono module to use new execute method. 2021-01-13 09:34:14 +00:00
Rémi Verschelde 7f8ab378e9
Merge pull request #45102 from nekomatata/fix-update-shape-data
Fix collision shape update when changing shape properties
2021-01-13 09:18:15 +01:00
Hugo Locurcio 3333b58a7f
Check for clang-format version in the pre-commit hook
Different clang-format versions may result in different formatting.
Therefore, it's recommended to use the same version as used in CI.
2021-01-12 21:40:46 +01:00