summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2022-04-07Fix path handling in FBX and Blend importersRémi Verschelde
Fixes #59996.
2022-04-07Add built-in Variant types to autocompletion listDavid Maziarka
Co-authored-by: Gustav <gusan092@student.liu.se>
2022-04-06Merge pull request #59947 from vnen/gdscript-static-methods-classdbRémi Verschelde
2022-04-06GDScript: Add support for static method calls in native typesGeorge Marques
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-06Merge pull request #59862 from bruvzg/font_delay_texture_updateRémi Verschelde
Delay font texture update, until `draw` is called. Rasterize glyphs during shaping.
2022-04-05Merge pull request #59930 from Scony/fix-navi-get-simple-path-masterRémi Verschelde
Fix `map_get_path` aka `get_simple_path` behavior in 2D & 3D
2022-04-05Fix get_simple_path behavior in 2D & 3DPawel Lampe
2022-04-05Fix `NoiseTexture._generate_texture` crashPaweł Fertyk
Fixes #59915 .
2022-04-05CI: Update black formatter and apply changesRémi Verschelde
2022-04-05Delay font texture update, until `draw` is called. Rasterize glyphs during ↵bruvzg
shaping.
2022-04-04Merge pull request #59888 from akien-mga/clang-tidyRémi Verschelde
2022-04-04Merge pull request #59885 from Jayman2000/autoload-inheritance-messageRémi Verschelde
2022-04-04Improve autoload inheritance error messageJason Yundt
Autoloaded scripts should always inherit from Node. When you run a project that tries to autoload a script which doesn’t inherit from Node, then Godot gives an error. Before this change, the error said “Script does not inherit a Node”. That error message is a little bit misleading. If a class inherits a Node, then one of its superclasses has a Node. If a class inherits _from_ Node, then one of its superclasses is Node. This change corrects that mistake. Fixes #59884.
2022-04-04Style: Apply clang-tidy to current code, add `readability-redundant-member-init`Rémi Verschelde
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-04-04Merge pull request #59513 from BastiaanOlij/openxr_actionmap_editorRémi Verschelde
2022-04-04Add action map editor for OpenXRBastiaan Olij
2022-04-03Initialize pointer variables to fix random crash on startup.Marc Gilleron
`configure_blender_dialog` is lazily created if equal to null, however nothing really sets it to null.
2022-04-03Merge pull request #59633 from EricEzaM/better-code-complete-updateRémi Verschelde
Improve sorting of Code Completion options.
2022-04-01Improve sorting of Code Completion options.Eric M
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-04-01Merge pull request #59764 from reduz/blender-import-autodetectRémi Verschelde
2022-04-01Add Blender install autodetection and configuration.reduz
This PR is a continuation to #54886 * Changed Blender path editor setting from binary to installation. * Add a class to query whether the format is supported. * This class allows to create proper editors to configure support. **NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com> Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-03-31Fix group name in FastNoise and GradientFireForge
2022-04-01Merge pull request #59755 from V-Sekai/import-gltf-mat-placeholderRémi Verschelde
2022-03-31Merge pull request #59753 from V-Sekai/let-there-be-lightRémi Verschelde
2022-03-31Add support for Blend importing of material placeholders.K. S. Ernest (iFire) Lee
Couldn't get the 'NONE' option to work.
2022-03-31Allow importing punctual lights from Blend.K. S. Ernest (iFire) Lee
2022-03-31Fix some issues found by clang sanitizers.bruvzg
2022-03-31[Brotli] Use aligned reads when building with sanitizers.bruvzg
2022-03-31Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
2022-03-31[ICU] Add library name suffix for API rename to avoid conflicts (GDExtension ↵bruvzg
build).
2022-03-30Merge pull request #59694 from vnen/gdscript-better-call-superRémi Verschelde
2022-03-30Merge pull request #58983 from Chaosus/gds_fix_builtin_methods_completionRémi Verschelde
2022-03-30GDScript: Fix issues with completion and `super` callsGeorge Marques
- Make call errors use the call node instead of the calle, which will be empty on super calls. - Don't allow `super()` to be used within lambdas.
2022-03-30Fix autocompletion of static methods in built-in types in GDScriptYuri Roubinsky
2022-03-30Add fbx2gltf support for importing .fbx filesK. S. Ernest (iFire) Lee
Lets you drag or place .fbx files in the project folder and it will import the files. An editor setting sets the location of the fbx2gltf binary. Enables .fbx and .blend by default. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-03-30Remove ad-hoc FBX importerRémi Verschelde
This importer was the fruit of a lot of amazing reverse engineering work by RevoluPowered, based on the original Assimp importer that was introduced by fire. While promising and well tuned for a specific type of FBX scenes, it was found to have many flaws to support the many FBX exporters and legacy models that Godot users want to use. As we currently lack a maintainer to improve it, those issues are left unresolved and FBX import is still sub-par in the current Godot releases. After some experimentation, we're instead adding a new importer that relies on Facebook's `fbx2gltf` command line tool to convert FBX to glTF, so that we can then use our well-maintained glTF importer. See #59653 and https://github.com/facebookincubator/FBX2glTF for details.
2022-03-30Add PortableCompressedTexturereduz
* Resource that allows saving textures embedded in scenes or standalone. * Supports only formats that are portable: Lossy, Lossles or BasisUniversal This is something I wanted to add for a long time. I made it now because @fire requires it for importing GLTF2 files with embedded textures, but also this will allow saving Godot scenes as standalone binary files that will run in all platforms (because textures will load everywhere). This is ideal when you want to distribute individual standalone assets online in games that can be built from Godot scenes.
2022-03-29Merge pull request #59507 from bruvzg/openxr_move_proj_settingsRémi Verschelde
Move OpenXR project settings to the main, to make them visible on unsupported platforms.
2022-03-29Move OpenXR project settings to the main, to make them visible on ↵bruvzg
unsupported platforms.
2022-03-29Add support for importing .blend filesK. S. Ernest (iFire) Lee
Lets you drag or place .blend files in the project folder and it will import the files. Checks for Blender 3.0's gltf2 `export_keep_originals` option. Add basepath support to GLTFDocument append_from_file. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-03-29Merge pull request #59583 from V-Sekai/svg-crashRémi Verschelde
2022-03-29Set threads to be one to avoid SVG crash.K. S. Ernest (iFire) Lee
2022-03-29Merge pull request #59660 from timothyqiu/fbx-regRémi Verschelde
2022-03-29Simplify FBX importer project settings registeringHaoyu Qiu
2022-03-29[ICU] Add library name suffix for API rename to avoid conflicts.bruvzg
2022-03-28Merge pull request #59644 from akien-mga/template-no-editor-depRémi Verschelde
2022-03-28Merge pull request #56718 from Geometror/noise-overhaulRémi Verschelde
2022-03-28Remove last editor code dependencies in template buildRémi Verschelde
SConstruct change also makes it possible to outright delete the `editor` folder in a `tools=no` build, which we use in CI to ensure no invalid cross-dependencies are added.