summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-12-02Expose max_axis_index and max_axis_index for Vector2(i)Aaron Franke
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).
2021-12-02Merge pull request #55474 from akien-mga/copy-operators-no-referenceRémi Verschelde
2021-12-02Merge pull request #55529 from raulsntos/rename-vector-paramsRémi Verschelde
2021-12-01Merge pull request #55533 from nekomatata/bullet-query-shape-indexRémi Verschelde
2021-12-01Rename Vector parameters to be consistentRaul Santos
Renames parameters that were named differently across different scripting languages or their documentation to use the same name everywhere.
2021-12-01Fix shape index in multiple physics queries with BulletPouleyKetchoupp
Two main changes: - Better handling of concave shapes to make sure the queries don't return a triangle index instead of shape index. Note: A concave shape within a compound shape will always return a shape index of 0 because of Bullet limitations. - Extra check for compound shapes in some queries to avoid undefined behavior, because the shape index can have an uninitialized value with convex shapes in some cases.
2021-12-01Fix crash when loading an invalid mp3 fileVincent
2021-11-30Don't return reference on copy assignment operatorsRémi Verschelde
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
2021-11-25Enchance descriptions of @GlobalScope/@GDScriptYuri Roubinsky
2021-11-25Move logic for saving project features to ProjectSettings save_customAaron Franke
2021-11-24Fixes variable/singal nodes not renaming in visualscript editorUmang Kalra
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Merge pull request #54949 from Chaosus/fix_warningRémi Verschelde
2021-11-23Merge pull request #55243 from KoBeWi/some_random_stuff_idkRémi Verschelde
2021-11-23Improve various textskobewi
2021-11-22Fix crash when exporting meshes to gltf that have no skin.jitspoe
2021-11-22Merge pull request #55151 from Chaosus/control_reset_sizeRémi Verschelde
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-22Merge pull request #54919 from ↵JFonS
williamd67/GPULightmapper-improve-noise-to-prevent-artifacts GPULightmapper: better algorithm to generate rays for indirect lighting
2021-11-21Fix merge conflict between #42711 and #42374Marcel Admiraal
2021-11-20Merge pull request #55126 from akien-mga/wslay-45d22583bRémi Verschelde
2021-11-20Merge pull request #55127 from akien-mga/libwebp-1.2.1Rémi Verschelde
2021-11-20Merge pull request #55115 from akien-mga/tinyexr-1.0.1Rémi Verschelde
2021-11-20Add shape data to area overlap data.Marcel Admiraal
2021-11-19wslay: Sync with upstream 45d22583bRémi Verschelde
https://github.com/tatsuhiro-t/wslay/commit/45d22583b488f79d5a4e598cc7675c191c5ab53f Mostly style changes, a couple new methods and fixes. Tweak file structure a bit.
2021-11-19GPULightmapper: better algorithm to generate rays for indirect lightingWilliam Deurwaarder
Previous algorithm used an algorithm to generate rays that was not completely random. This caused artifacts when large lighmap textures were used. The new algorithm creates better rays and by that prevents artifacts.
2021-11-19libwebp: Sync with upstream 1.2.1Rémi Verschelde
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.1/NEWS
2021-11-19miniupnpc: Update to version 2.2.3Rémi Verschelde
Library code and public headers are now properly separated, we can fix include paths to remove the redundant subfolder.
2021-11-19tinyexr: Sync with upstream 1.0.1Rémi Verschelde
Removes miniz as a bundled dependency, relies on our own zlib instead. Includes a couple commits ahead of `v1.0.1` tag to fix MinGW builds.
2021-11-18Merge pull request #42374 from madmiraal/fix-32776Camille Mohr-Daurat
Trigger RigidBodyBullet space override updates when Area properties change.
2021-11-18Merge pull request #42306 from madmiraal/fix-39947Camille Mohr-Daurat
Update Bullet Area overlaps when Area properties or shapes change.
2021-11-18Merge pull request #44726 from madmiraal/fix-44644Camille Mohr-Daurat
Ignore Bullet collision contact points with distance = 0
2021-11-17Fix `randfn` in visual scriptsYuri Roubinsky
2021-11-17Expose `randfn` to global scopeYuri Roubinsky
2021-11-16Rename built-in `SGN()` macro to `SIGN()`Hugo Locurcio
This matches the name of the GDScript function (except it's uppercase here).
2021-11-16Merge pull request #54581 from aaronfranke/operator-docsRémi Verschelde
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-11-15Fix mono build after invalid rename of `KEY_READ`Stefan Boronczyk
Follow-up to #51684.
2021-11-14Add path to functions that return iporter optionsreduz
-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-13Allow using built-in names for variables, push warnings insteadYuri Roubinsky
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Make OpenSimplex and VisualScript modules not depend on the editorAaron Franke
2021-11-12Add a minimal template build to CIAaron Franke
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-11-12Modules: Make sure to include modules_enabled.gen.h where neededRémi Verschelde
2021-11-11Show built-in script names in the debuggerkobewi
2021-11-11[GDScript] Check string literals for Unicode direction control characters.bruvzg
2021-11-10Merge pull request #54840 from Calinou/mono-move-exception-policy-settingRémi Verschelde
2021-11-10Move Mono unhandled exception setting to be located within a subsectionHugo Locurcio
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-10Fix errors in CharacterBody when floor is destroyed or removedPouleyKetchoupp
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-10Merge pull request #54676 from Chaosus/gds_restrict_namesRémi Verschelde