Commit graph

32416 commits

Author SHA1 Message Date
Rémi Verschelde ab1503c9d5
Merge pull request #45121 from Chaosus/shader_emit
Renamed `emit_particle` to `emit_subparticle` shader function
2021-01-12 19:33:29 +01:00
Rémi Verschelde af878716f2
CI: Update to clang-format 11 and apply ternary operator changes 2021-01-12 19:32:53 +01:00
Rémi Verschelde df257f4fb6
Merge pull request #45132 from akien-mga/ci-android-ndk-pin-r21
CI: Pin Android NDK r21 as we don't support r22 yet
2021-01-12 19:32:13 +01:00
Rémi Verschelde 06613ed9a3
CI: Pin Android NDK r21 as we don't support r22 yet 2021-01-12 18:42:59 +01:00
PouleyKetchoupp 4b43cd17c5 Fix collision shape update when changing shape properties
This change does two things:

1. Properly update the internal shape data using _update_in_shape_owner
when updating a shape (in 2D it was resetting one way collision)

2. Avoid unnecessary updates when calling set_shape with the same shape,
which happens each time a shape property is modified
(e.g shape.extents.x = ...)

Fixes #45090
2021-01-12 10:28:20 -07:00
Rémi Verschelde 1218441b16
Merge pull request #44514 from madmiraal/split-os-execute
Split OS::execute into two methods
2021-01-12 16:17:04 +01:00
Rémi Verschelde 3bce846e0c
Merge pull request #45126 from groud/improve_undo_redo
Improve UndoRedo class
2021-01-12 15:50:09 +01:00
Gilles Roudière 831247b39c Improve UndoRedo class 2021-01-12 14:34:46 +01:00
Rémi Verschelde bd07c5b7a8
Merge pull request #45123 from qarmin/errors_tab_container
Fix errors when removing non Control node from TabContainer
2021-01-12 12:56:13 +01:00
Rémi Verschelde 65b77a5d35
Merge pull request #45113 from YeldhamDev/forgot_these_options_even_existed
Fix script list only showing their names regardless of display option
2021-01-12 11:48:51 +01:00
Rafał Mikrut 56734f44e5 Fix errors when removing non Control node from TabContainer 2021-01-12 10:48:18 +01:00
Rémi Verschelde ca1d9edc55
Merge pull request #45118 from TechnoPorg/fix-animation-classref
Docs: Fix incorrect parameter in audio_track_set_key_stream.
2021-01-12 09:51:00 +01:00
Yuri Roubinsky ef941a6500 Renamed emit_particle to emit_subparticle shader function 2021-01-12 09:41:08 +03:00
TechnoPorg 81dc9be973
Fix incorrect parameter in audio_track_set_key_stream.
The description for audio_track_set_key_stream referenced a parameter called offset, which is not a parameter for that method. The description now references the correct parameter, stream.
2021-01-11 18:55:14 -06:00
dankan1890 390ff22a8c Create spritesheet for SpriteFrames by drag and dropping.
Close godotengine/godot-proposals#378
2021-01-12 00:51:59 +01:00
Michael Alexsander 4194447a21 Fix script list only showing their names regardless of display option 2021-01-11 18:01:21 -03:00
Rémi Verschelde 8e514bbf6a
Merge pull request #45101 from Chaosus/shader_fix_instance_uniform
Fix shader uniform instances compilation
2021-01-11 16:16:09 +01:00
Yuri Roubinsky fcc5d67b03 Fix shader uniform instances compilation 2021-01-11 17:46:33 +03:00
Rémi Verschelde 8811a8eb4a
Merge pull request #45088 from skyace65/ReferenceResource
Remove the implication that references and resources are not objectes from their description
2021-01-11 15:45:44 +01:00
Rémi Verschelde 323bdae229
Merge pull request #45038 from fire/meshopt-scale
Scale error in mesh optimizer so it uses absolute scale.
2021-01-11 15:41:41 +01:00
Rémi Verschelde acbd950583
Merge pull request #45059 from fmazan/autoload-export
Automatically add all AutoLoad resources when exporting the project
2021-01-11 15:40:02 +01:00
K. S. Ernest (iFire) Lee 59b61a1f64 Scale error in mesh optimizer so it uses absolute scale.
Switch to simplify sloppy for another try.

Update to meshoptimizer e3f53f66e7a35b9b8764bee478589d79e34fa698.
2021-01-11 06:07:54 -08:00
Rémi Verschelde a33dc4274c
Merge pull request #45066 from Chaosus/shader_fix_uniform_crash
Prevent editor crash due to modify the order of non-instance shader uniforms by instance uniforms
2021-01-11 14:58:55 +01:00
Rémi Verschelde 4f8a036fc5
Merge pull request #45050 from Chaosus/shader_fix_light
Fix LIGHT compilation for canvas shader
2021-01-11 14:58:10 +01:00
Rémi Verschelde c26510359a
Merge pull request #42270 from AndreaCatania/AndreaCatania-patch-4
Added the function `remove_unordered` to the LocalVector container.
2021-01-11 14:48:00 +01:00
Rémi Verschelde f414a323b1
Merge pull request #42740 from lolleko/fix-nanosleep-usage
Fix nanosleep usage
2021-01-11 14:42:10 +01:00
skyace65 dca298d22b Remove the implication that references and resources are not objected from their description 2021-01-11 08:22:16 -05:00
Rémi Verschelde 51992250e6
Merge pull request #43176 from mateosss/crash-uninit-const
Fix crash by adding nullcheck for uninitialized constants
2021-01-11 14:00:54 +01:00
Rémi Verschelde 6d48943768
Merge pull request #43980 from gvekan/fix-missing-function-hints
Fix missing function hints
2021-01-11 13:54:22 +01:00
Rémi Verschelde c17413f159
Merge pull request #44104 from nekomatata/coroutine-await-fix
Fix error when calling coroutine with await in _ready
2021-01-11 13:54:04 +01:00
Rémi Verschelde 813bdb4941
Merge pull request #44005 from RandomShaper/gds_needless_check
Remove useless check in GDScript
2021-01-11 13:53:52 +01:00
Rémi Verschelde f6be114d02
Merge pull request #44427 from briansemrau/fix-variant-bitand-validated-eval
Fix bitwise-and eval not updating return type
2021-01-11 13:53:27 +01:00
Rémi Verschelde 3e9a40cdc0
Merge pull request #44604 from lyuma/gdscript_dictionary_crash
GDScript: Fix crash when iterating through empty dictionary.
2021-01-11 13:53:12 +01:00
Rémi Verschelde 8363c44265
Merge pull request #44719 from ThakeeNathees/assert-argument-bug-fixed
GDScript assert message parsing bug fixed
2021-01-11 13:51:44 +01:00
Rémi Verschelde a2021588ca
Merge pull request #44672 from ThakeeNathees/array-dict-const-fold-bug-fix
Array/Dictionary marked as not safe to const fold
2021-01-11 13:51:31 +01:00
Rémi Verschelde bcfb698fb4
Merge pull request #44818 from ThakeeNathees/const-crash-fix
GDScript crash at incomplete const bug fix
2021-01-11 13:51:18 +01:00
Rémi Verschelde aaf6725150
Merge pull request #44889 from ThakeeNathees/builtin-invalid-call-crash-fix
GDScript invalid method call on built-in crash fix
2021-01-11 13:51:07 +01:00
Rémi Verschelde 0dba21a4d1
Merge pull request #45076 from ThakeeNathees/gdscript-operator-precedence-bug-fix
GDScript operator `+` `-` precedence bug fix
2021-01-11 13:50:00 +01:00
Rémi Verschelde 2b1f2ac60a
Merge pull request #45042 from KoBeWi/ok_maybe_it_changed
Emit changed signal from Color Picker when changed
2021-01-11 13:49:22 +01:00
AndreaCatania 5ba60c17dd Add function LocalVector::remove_unordered
Added LocalVector unit tests.
2021-01-11 13:47:31 +01:00
Rémi Verschelde d83b9d62da
Merge pull request #45069 from Chaosus/vs_code_preview_window
Pushes visual shader code preview to separate window
2021-01-11 13:46:50 +01:00
Yuri Roubinsky 69033672b7 Pushes visual shader code preview to separate window 2021-01-11 14:23:59 +03:00
Rémi Verschelde 2830a152de
Merge pull request #45077 from Xrayez/fix-lstrip/rstrip-docs
Clarify `lstrip()/rstrip()` methods in `String` for removed characters
2021-01-11 12:02:58 +01:00
Rémi Verschelde 29db5bd25e
Merge pull request #45075 from VedatGunel/reserved-keyword
Change reserved keyword in Regex documentation code
2021-01-11 12:01:54 +01:00
Rémi Verschelde 43ab640483
Merge pull request #42616 from Calinou/project-settings-no-object
Don't allow adding Objects to the project settings
2021-01-11 11:27:08 +01:00
Rémi Verschelde c3b23f0203
Merge pull request #45054 from dsnopek/webxr-yaxis-master
Invert the Y-axis on thumbsticks and trackpads in WebXR
2021-01-10 20:25:14 +01:00
Fabio Alessandrelli a594243eee
Merge pull request #45071 from Faless/js/4.x_sync_fixes
[HTML5] Fix master build
2021-01-10 14:30:11 +01:00
Andrii Doroshenko (Xrayez) a2c82bbf5f Clarify lstrip()/rstrip() methods in String for removed characters 2021-01-10 15:13:59 +02:00
Hugo Locurcio 7b84f4fc31
Don't allow adding Objects to the project settings
Godot doesn't support serializing objects.

This closes #33667.
2021-01-10 14:13:20 +01:00
Thakee Nathees 0889f14af9 GDScript operator + - precedence bug fix
Fix: #43265
2021-01-10 18:33:05 +05:30