Age | Commit message (Collapse) | Author |
|
Fix some code found by Coverity Scan and PVS Studio
|
|
|
|
|
|
|
|
|
|
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by
separate libraries.
Since we bundle mbedtls in most cases, and we can easily only include
the needed sources if we so desire, let's use it.
To simplify library changes in the future, and better isolate header
dependencies all functions have been wrapped around inside a class in
`core/math/crypto_base.h`.
If the mbedtls module is disabled, we only bundle the needed source
files independently of the `builtin_mbedtls` option.
If the module is enabled, the `builtin_mbedtls` option works as usual.
Also remove some unused headers from StreamPeerMbedTLS which were
causing build issues.
|
|
|
|
Remove always true/false values
|
|
|
|
Tweak SpatialMaterial's default metallic and roughness texture channels
|
|
|
|
Bug found thanks to GCC 8's -Wduplicated-branches.
Slight refactor for readability.
|
|
Add missing license headers
|
|
Make `fix_headers.py` script compatible with Python 3.
|
|
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
|
|
Fixes the support of the 'keep on reimport' flag - Issue #20878.
|
|
WindyDarian/scene_import_root_type_script_global_class_support
Support script global class (class_name) as root_type when importing a scene
|
|
Using codespell 1.15.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Modify ResourceImporterScene to split animations with blendshapes.
|
|
Use filename for scene root of imported models
|
|
Fixes WAV import being cut in half with new trim code
|
|
|
|
# Conflicts:
# editor/import/resource_importer_scene.cpp
|
|
Small fixes, mostly duplicated code
|
|
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
|
|
|
|
Modified both MeshInstance tools as well as importer to use it instead of QuickHull.
|
|
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
|
|
|
|
|
|
Fix end pops when trimming wav files
|
|
Fix skeleton reparenting to also work when the skeleton node is not a bone
|
|
should occur (moved from being in the code itself)
-Added fade out frames constant at top of file, defining how many frames should have fade out applied (to avoid pops at the end of trim)
-Rewrote parts of the trimming logic to use an average of volume across all channels instead of any particular channel
-Added fade-out to trimming
|
|
track update mode.
(cherry picked from commit 589c5698a0808fb2ad9f240d65c1f44ad6544834)
|
|
From the gltf 2 spec, the order is R * S. Previously we did S * R, which broke some mesh with non-uniform scale.
Fix #23356, Fix #14725
|
|
Existing code only did the reparenting when the parent node was a bone. This
change fixes that, plus the reparenting code itself, which used the index of
the skin instead of the skin index itself to address the skeleton array.
|
|
|
|
Unescape translations in CSV importer
|
|
Fixes #25361
|
|
fixes #26468
|
|
Importer for scenes only overrides the base Node if differently specified by the user
|
|
the user
|
|
|
|
-Added ability for resource importers to save metadata
-Added ability for resource importers to validate depending on project settings
|
|
-Fixed a bug where etc textures were imported broken
|
|
#25897 and many others
|
|
To follow the glTF 2.0 specification in all cases (including outside
of imported glTF scenes), the blue channel is now used for metallic
and the green channel is now used for roughness.
|
|
Fixes #25316.
|
|
Also drop some unused files.
Renamed:
- `scene/2d/navigation2d.h` -> `navigation_2d.h`
- `scene/2d/screen_button.h` -> `touch_screen_button.h`
- `scene/3d/scenario_fx.h` -> `world_environment.h`
- `scene/audio/audio_player.h` -> `audio_stream_player.h`
- `scene/resources/bit_mask.h` -> `bit_map.h`
- `scene/resources/color_ramp.h` -> `gradient.h`
- `scene/resources/shape_line_2d.h` -> `line_shape_2d.h`
- `scene/resources/scene_format_text.h` -> `resource_format_text.h`
- `scene/resources/sky_box.h` -> `sky.h`
Dropped:
- `scene/resources/bounds.h`
|
|
Also drop some unused files.
Renamed:
- `core/dvector.h` -> `pool_vector.h`
- `core/io/resource_import.h` -> `resource_importer.h`
- `core/sort.h` -> `sort_array.h`
- `core/string_db.h` -> `string_name.h`
Dropped:
- `core/allocators.h`
- `core/os/shell.h`
- `core/variant_construct_string.cpp`
|