Commit Graph

6063 Commits

Author SHA1 Message Date
0deccc550c Merge pull request #42374 from madmiraal/fix-32776
Trigger RigidBodyBullet space override updates when Area properties change.
2021-11-18 12:22:02 -07:00
756eab200b Merge pull request #42306 from madmiraal/fix-39947
Update Bullet Area overlaps when Area properties or shapes change.
2021-11-18 12:04:41 -07:00
b7260e04cc Merge pull request #44726 from madmiraal/fix-44644
Ignore Bullet collision contact points with distance = 0
2021-11-18 11:16:15 -07:00
9536b3b59a Fix randfn in visual scripts 2021-11-17 18:52:44 +03:00
a74acca858 Expose randfn to global scope 2021-11-17 14:29:19 +03:00
8fb7e622a6 Rename built-in SGN() macro to SIGN()
This matches the name of the GDScript function (except it's uppercase
here).
2021-11-16 20:40:49 +01:00
471e7cbfc7 Merge pull request #54581 from aaronfranke/operator-docs 2021-11-16 14:10:09 +01:00
6c1bd4d227 Replace Godot docs URL with $DOCS_URL in XML class reference 2021-11-15 13:02:21 +01:00
5059d8a46c Fix mono build after invalid rename of KEY_READ
Follow-up to #51684.
2021-11-15 08:49:37 +01:00
cd2a499084 Add path to functions that return iporter options
-Allows displaying custom options for specific file format variants
-Added support for scene format import to retrieve custom options

This PR is necessary for #54886 to be implemented properly.
2021-11-14 14:06:10 -03:00
3c0fdcc8ac Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
2ad3d1bd7a Make OpenSimplex and VisualScript modules not depend on the editor 2021-11-12 12:03:54 -06:00
ae713f8980 Add a minimal template build to CI
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-11-12 09:30:50 -06:00
88c4380737 Modules: Make sure to include modules_enabled.gen.h where needed 2021-11-12 13:42:58 +01:00
3b320cd9fe Show built-in script names in the debugger 2021-11-11 20:47:09 +01:00
74b9892f7a [GDScript] Check string literals for Unicode direction control characters. 2021-11-11 15:41:59 +02:00
d209369fa3 Merge pull request #54840 from Calinou/mono-move-exception-policy-setting 2021-11-10 18:33:18 +01:00
a9a45ee7ee Move Mono unhandled exception setting to be located within a subsection
Settings that aren't within a subsection are difficult to reach when
other settings do have a subsection.

This also adds documentation for the project setting.
2021-11-10 17:31:54 +01:00
bfd0d33244 Fix errors in CharacterBody when floor is destroyed or removed
In all physics servers, body_get_direct_state() now silently returns
nullptr when the body has been already freed or is removed from space,
so the client code can detect this state and invalidate the body rid.

In 2D, there is no change in behavior (just no more errors).

In 3D, the Bullet server returned a valid direct body state when the
body was removed from the physics space, but in this case it didn't
make sense to use the information from the body state.
2021-11-10 08:27:33 -07:00
e8870ddefc Merge pull request #54676 from Chaosus/gds_restrict_names 2021-11-10 15:20:44 +01:00
92ae349668 Merge pull request #54358 from Shawak/feature-allow-root-node-paths-without-quote 2021-11-10 15:19:17 +01:00
571ea72f35 fix pingpong in math 2021-11-10 14:31:56 +09:00
06a33e590f 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
e3f3fc517a 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
c7a8e047cc Allow using $/root node paths
format

fix shadowing

use match instead of comparison

Update gdscript_parser.cpp
2021-11-09 18:46:28 +01:00
26f82563de Merge pull request #54798 from Calinou/gdscript-opcode-no-hash 2021-11-09 14:01:34 +01:00
605784f019 Remove hash symbol in front of opcode error messages in GDScript
The hash symbol creates spurious issue references on GitHub if
the message is posted outside a code block, which means some issues
have a lot more references than originally intended.
2021-11-09 12:20:16 +01:00
bc6ec58456 Merge pull request #47600 from qarmin/enable_mono_editor 2021-11-09 12:13:11 +01:00
071829acc5 Enable mono editor build in CI 2021-11-09 11:02:04 +01:00
5968653662 Merge pull request #46721 from bruvzg/custom_word_break_punct 2021-11-09 00:13:59 +01:00
d9a74fd07f Merge pull request #54372 from bruvzg/text_edit_ui 2021-11-09 00:13:25 +01:00
236fd3305b Merge pull request #54473 from briansemrau/no-debug-functions-on-thread 2021-11-08 19:37:48 +01:00
95f6f3c756 Prevent identifiers from naming as built-in funcs and global classes 2021-11-08 21:35:31 +03:00
78ed2c05a2 Merge pull request #54118 from Pineapple/dont-ignore-type-mismatch-in-setter-master 2021-11-08 19:26:27 +01:00
6c8a1683a5 Merge pull request #54663 from Gallilus/VisualScript-sync-and-improve-variable-anb-property 2021-11-08 13:13:52 +01:00
134e4d168b Improve save handling for built-in scripts 2021-11-07 23:51:12 +01:00
4995a477ff Fix LSP crash when parsing signal symbols.
If the number of parameters was less than the number of class members, the LSP would cause godot to crash because it was using the index for class members instead of the index for signal parameters.

Fixes #54720 .
2021-11-07 12:20:25 -05:00
9b0dddd8e5 Fix example in NoiseTexture doc 2021-11-06 19:49:22 +03:00
d763ee8398 VisualScript-sync-and-improve-variable-and-property 2021-11-06 13:03:38 +01:00
813466b3c8 Add documentation to operators for math types
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2021-11-04 14:44:55 -05:00
744b43b527 Fix Quaternion multiplication operator 2021-11-04 11:24:46 -05:00
e393c2a734 Add is_built_in() method to Resource 2021-11-04 12:45:58 +01:00
c012fbc8b2 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
8714e1e961 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
a2803f3d86 Merge pull request #54072 from KoBeWi/hrcr_is_ded 2021-11-03 17:31:48 +01:00
953a7bce7e reimplement ping-pong 2021-11-03 13:39:33 +09:00
81c93caf02 Merge pull request #54471 from rafallus/callable_area_monitor 2021-11-02 23:20:41 +01:00
5efb11926d Merge pull request #54346 from mhilbrunner/used-what-instead-of-what 2021-11-02 08:48:58 +01:00
ce9e90af01 Merge pull request #54494 from lyuma/fix_override_materials
glTF: Fix override materials and non-empty arrays
2021-11-02 08:11:57 +01:00
de93d48901 glTF: Fix override materials and non-empty arrays
Keep track of MeshInstance and GeometryInstance override materials in the GLTFMesh object.
Ensure all arrays are non-empty to conform with "minItems":1 in glTF spec.
2021-11-01 23:22:45 -07:00