summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-10-05Merge pull request #52963 from Pineapple/WIN32_LEAN_AND_MEAN_masterRémi Verschelde
2021-10-04GDScript: Use path cache when checking preloaded scriptsGeorge Marques
The path itself might not always be set in some cases, especially when the script is just created and is already in the resource cache. Using get_path() in this case gets the correct resource path. This also adds a null check for safety in case the path is incorrect or missing, to avoid a crash in the engine.
2021-10-04Fix some leftover references to idle_framekobewi
2021-10-04Merge pull request #52914 from vnen/gdscript-assign-member-with-opRémi Verschelde
2021-10-04Merge pull request #53399 from V-Sekai/extension-game-convertRémi Verschelde
2021-10-04GDScript: Fix member assignment with operationGeorge Marques
It was wrongly updating the assigned value with the result of the operation.
2021-10-04Enable GLTFDocumentExtensionConvertImporterMesh only in games.K. S. Ernest (iFire) Lee
2021-10-04Merge pull request #53303 from akien-mga/53295-gdscript-completion-quote-styleRémi Verschelde
2021-10-04Merge pull request #53338 from briansemrau/gdscript-handle-for-with-null-listRémi Verschelde
2021-10-04Merge pull request #53366 from KoBeWi/your_argument_is_null_and_voidRémi Verschelde
2021-10-04GDScript completion: Handle quote style ad-hoc to remove editor dependencyRémi Verschelde
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`.
2021-10-04Merge pull request #52802 from V-Sekai/gltf-extensionsRémi Verschelde
2021-10-04Fix crash when pinned SoftBody point is out of rangeHaoyu Qiu
2021-10-03GLTF for game templates.K. S. Ernest (iFire) Lee
Convert GLTF Document to use ImporterMeshInstance3D. Add a GLTFDocument extension list and an extension for converting the importer mesh instance 3d to mesh instance 3d. Use GLTF module when the editor tools are disabled. Modified the render server to be less restrictive on matching blend arrays and have more logging. Misc bugs with multimesh. Always index the meshes.
2021-10-03Allow void as return type for constructorskobewi
2021-10-03Merge pull request #46555 from gongpha/line-ptr-more-than-size-bmpRémi Verschelde
Check if the line pointer goes away from the image buffer's EOF in the BMP importer
2021-10-02GDScript Check for null list in `for` loopBrian Semrau
2021-10-01Merge pull request #53290 from Faless/mp/4.x_opts_namesFabio Alessandrelli
[Net] Rename RPC constants and annotation arguments.
2021-10-01Merge pull request #53308 from Razoric480/fix-lsp-issuesRémi Verschelde
2021-10-01Merge pull request #53311 from nekomatata/soft-body-remove-mesh-referenceCamille Mohr-Daurat
Remove scene code in physics servers
2021-10-01[Net] Rename RPC constants and annotation arguments.Fabio Alessandrelli
any -> any_peer sync -> call_local ordered -> unreliable_ordered Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
2021-10-01Remove scene code in physics serversPouleyKetchoupp
Replaced Mesh with mesh RID in Godot Physics 3D and Bullet.
2021-10-01Fix empty line hover; fix open non-res:// scriptFrancois Belair
2021-10-01Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg
interface.
2021-10-01Merge pull request #38397 from Calinou/doc-range-backwards-exampleRémi Verschelde
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Add an example on iterating an array backwardsHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/3472.
2021-09-30Merge pull request #47670 from Calinou/doc-upnp-non-blockingMax Hilbrunner
Document how to set up UPnP in a non-blocking manner
2021-09-30Merge pull request #53245 from JFonS/occ_fixes2Rémi Verschelde
Occlusion culling fixes
2021-09-30Merge pull request #52544 from JFonS/lod_fixesJuan Linietsky
Auto LOD fixes and improvements
2021-09-30Revert "GdScript: Use reduced constant expression result when doing binary ↵Rémi Verschelde
operations. Fixes #50293" This reverts commit 62077086076fb99fb7fe014522c44ae83f87dc4d. It broke a GDScript test (which didn't exist back when the PR was made, so was missed prior to the merge). It choked on: ``` prints("a", test_instance.a, test_instance.a == Named.VALUE_A) ``` With: ``` Invalid operands "VALUE_A (enum value)" and "int" for "==" operator. ```
2021-09-30Merge pull request #51818 from MarianoGnu/gdscript2-enum-fixesRémi Verschelde
2021-09-30Document how to set up UPnP in a non-blocking mannerHugo Locurcio
2021-09-30Rename Node's `filename` property to `scene_file_path` for clarityHugo Locurcio
2021-09-30Merge pull request #53227 from Calinou/rename-getornullMax Hilbrunner
Rename RID's `getornull()` to `get_or_null()`
2021-09-30Compile bullet with threasafe switch onManuele Finocchiaro
(cherry picked from commit 6f81c213a65d288f4ae9c29472e85460dad6038b)
2021-09-30bullet: Sync with upstream 3.17Rémi Verschelde
Stop include Bullet headers using `-isystem` for GCC/Clang as it misleads SCons into not properly rebuilding all files when headers change. This means we also need to make sure Bullet builds without warning, and current version fares fairly well, there were just a couple to fix (patch included). Increase minimum version for distro packages to 2.90 (this was never released as the "next" version after 2.89 was 3.05... but that covers it too). Fixes #43868. (cherry picked from commit b7901c773c2eaff26b5c3a5342773a70571b2648)
2021-09-30Occlusion culling fixesjfons
Fixes some issues found by UBSAN and other misc things: * Fixed memory leak on exit. * Properly align ray packet buffer to 64 bytes. * Added some compiler flags from Embree's build system. * Fixed ray masks.
2021-09-29Rename RID's `getornull()` to `get_or_null()`Hugo Locurcio
2021-09-29Merge pull request #53221 from bruvzg/fix_fb_text_serverRémi Verschelde
[Fallback TextServer] Fix char to glyph conversion.
2021-09-29gltf export: Fix export of skeletons, skins and blend shapes.Lyuma
Create GLTFSkeleton at the same time we create GLTFNode objects. Create GLTFSkin at the same time we export MeshInstance3D Fixes export of blend shape arrays for meshes with multiple surfaces. Fixes array indexing issues in export of glTF morph target animations. Converts BoneAttachment3D nodes during normal node creation: this avoids special cases during mesh export, and especially exporting skeletons or meshes which are children of BoneAttachment3D. Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2021-09-29[Fallback TextServer] Fix char to glyph conversion.bruvzg
2021-09-29Merge pull request #53217 from Faless/ext/fix_pointer_infoRémi Verschelde
2021-09-29Merge pull request #53216 from vnen/gdscript-builtin-type-not-idRémi Verschelde
2021-09-29GDScript: Don't allow builtin type names as identifiersGeorge Marques
2021-09-29Fix const pointers types in docs and extension API.Fabio Alessandrelli
The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr template, resulting in "void*" being used as it's type info in both the documentation and the extension API dump.
2021-09-29GDScript: Fix assignment with operation for propertiesGeorge Marques
2021-09-29Merge pull request #53092 from Razoric480/lsp-report-_initRémi Verschelde
2021-09-29Make LSP report _init instead of Object::newFrancois Belair
2021-09-29Merge pull request #52800 from akien-mga/gdscript-remove-exp_rangeRémi Verschelde