Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-27 | Auto LOD fixes and improvements | jfons | |
* Fixed LODs for shadow meshes. * Added a merging step before simplification. This helps with tesselated meshes that were previously left untouched. The angle difference at wich edges ar considered "hard" can be tweaked as an import setting. * LODs will now start with the highest decimation possible and keep doubling (approximately) the number of triangles from there. This makes sure that very low triangle counts are included when possible. * Given more weight to normal preservation. * Modified MeshOptimizer to report distance-based error instead of including attributes in the reported metrics. * Added attribute transference between the original mesh and the various LODs. Right now only normals are taken into account, but it could be expanded to other attributes in the future. | |||
2021-09-24 | Replace `#pragma once` by traditional include guards for consistency | Hugo Locurcio | |
`#pragma once` was used in a few files, yet we settled on using traditional include guards instead. The PooledList template comment was also moved to allow editors such as Visual Studio Code to display the comment when hovering PooledList. `app.h` was renamed to `app_uwp.h` to be less generic for the include guard. | |||
2021-09-23 | Construct values only when necessary. | Anilforextra | |
2021-09-22 | [ClassDB] Unify construct/extension retrieval. | Fabio Alessandrelli | |
2021-09-22 | [Core] Add ClassDB functions to retrieve/construct extensions. | Fabio Alessandrelli | |
Calling the constructor alone is not enough if the class to be instantiated is not a base class. This commit adds two functions, one for retrieving the the extension class reference, the other to construct an instance using the constructor and the extension class reference. | |||
2021-09-21 | Merge pull request #52878 from AnilBK/add-get-center | Rémi Verschelde | |
2021-09-21 | Add Get Center Method for Rect2/Rect2i and AABB. | Anilforextra | |
2021-09-21 | Merge pull request #52877 from Calinou/add-print-verbose | Rémi Verschelde | |
Add `print_verbose()` built-in function to print in verbose mode only | |||
2021-09-21 | Add `print_verbose()` built-in function to print in verbose mode only | Hugo Locurcio | |
This can be used as a shorthand for: if OS.is_stdout_verbose(): print("...") Unlike `print_debug()`, this works in release builds too and can be toggled off in debug builds. | |||
2021-09-21 | Improve implementation of builtin action overrides | Eric M | |
2021-09-20 | Merge pull request #52513 from Ev1lbl0w/fix_path_double_slash | Rémi Verschelde | |
Fix path with multiple slashes not being corrected on templates | |||
2021-09-20 | Merge pull request #52398 from deakcor/dev-transform | Rémi Verschelde | |
2021-09-19 | Expose get_skew for transform2d and add new constructor | Vincent D | |
Expose set_scale and set_skew for transform2d Replacing float by real_t Adding const parameters Updated transform2d doc | |||
2021-09-17 | Allow indexing of String values in scripting languages | George Marques | |
2021-09-17 | Merge pull request #52450 from aaronfranke/they-came-from-scale | Rémi Verschelde | |
Replace Vector3.to_diagonal_matrix with Basis.from_scale | |||
2021-09-17 | Allow comparing equality between builtin types and null | George Marques | |
2021-09-17 | Replace Vector3.to_diagonal_matrix with Basis.from_scale | Aaron Franke | |
2021-09-16 | Merge pull request #52734 from lucypero/thread_override_master | Rémi Verschelde | |
2021-09-16 | Allow for platform Thread implementation override | Lucy | |
2021-09-16 | Merge pull request #52739 from BastiaanOlij/gdextension_array_index | Rémi Verschelde | |
2021-09-16 | Merge pull request #52740 from akien-mga/os-get_locale-language | Rémi Verschelde | |
Implement `OS::get_locale_language()` helper method | |||
2021-09-16 | Add GD extensions operator functions for arrays | Bastiaan Olij | |
2021-09-16 | Merge pull request #52358 from kleonc/astar_error_messages | Rémi Verschelde | |
`AStar` Add error messages | |||
2021-09-16 | Merge pull request #52735 from BastiaanOlij/gdextension_property_group | Rémi Verschelde | |
Add property group and subgroup registration to extensions | |||
2021-09-16 | Implement `OS::get_locale_language()` helper method | Rémi Verschelde | |
This method extracts the 2 or 3-letter language code from `OS::get_locale()`, making it easier for users to identify the "main" language code for users that might have different OS locales due to different OS or region, but should be matched to the same translation (e.g. "generic" Spanish). Fixes #40703. | |||
2021-09-15 | Merge pull request #52571 from timothyqiu/expose-enum | Juan Linietsky | |
Expose enum related methods in ClassDB | |||
2021-09-16 | Add property group and subgroup registration to extensions | Bastiaan Olij | |
2021-09-15 | Fix String::num_real and String test cases when compiling with doubles | Aaron Franke | |
2021-09-15 | Merge pull request #52693 from akien-mga/fixup-inputmap-macos-override | Rémi Verschelde | |
InputMap: Fixup `macos` feature tag overrides after #52291 | |||
2021-09-15 | InputMap: Fixup `macos` feature tag overrides after #52291 | Rémi Verschelde | |
Fixes #52691. | |||
2021-09-15 | --single-window is passed through project manager. | Jacob Edie | |
This means you can start godot with --single-window | |||
2021-09-15 | Merge pull request #52123 from lightspot21/fix-placement-new-warning | Rémi Verschelde | |
Silence false-positive warning for malformed placement new on GCC 11.1 | |||
2021-09-15 | Merge pull request #52562 from BastiaanOlij/gd_extensions_register_drivers | Rémi Verschelde | |
Add driver types to GD extension initialisation levels | |||
2021-09-15 | Merge pull request #52291 from Calinou/inputmap-rename-osx-macos | Rémi Verschelde | |
Rename `osx` to `macos` in input map feature tag handling | |||
2021-09-15 | Rename `osx` to `macos` in input map feature tag handling | Hugo Locurcio | |
This follows the general feature tag rename for 4.0. | |||
2021-09-14 | Clean convex hull decomposition code | PouleyKetchoupp | |
Remove unnecessary conversion between triangle data and vertex data whenever possible. | |||
2021-09-15 | Fix placement new on zero-sized region warning on GCC 11.1 | Grigoris Pavlakis | |
On latest (11.1 as of this commit) GCC, the following warning is continuously issued during build: warning: placement new constructing an object of type 'SafeNumeric<unsigned int>' and size '4' in a region of type 'uint32_t*' {aka 'unsigned int*'} and size '0' [-Wplacement-new=] This happens because on 98ceb60eb4 the new operator override used was dropped and replaced with standard placement new. GCC sees the subtraction from the pointer and complains as it thinks that the SafeNumeric is placed outside an allocation, not knowing that the address requested is already inside one. After suggestions, the false positive is silenced, with no other changes. | |||
2021-09-14 | Merge pull request #52613 from V-Sekai/fix_custom_sync_commands | Fabio Alessandrelli | |
Fix custom multiplayer sync commands | |||
2021-09-14 | Merge pull request #52535 from e8newallm/52490-type_conversion | Rémi Verschelde | |
Added explicit type conversion to uint32_t | |||
2021-09-13 | Revert some URLs from the "Replace HTTP URLs with HTTPS" PR | Aaron Franke | |
2021-09-13 | Merge pull request #50375 from Paulb23/code_edit_unit_tests | Rémi Verschelde | |
2021-09-13 | Merge pull request #52049 from theraot/master | Rémi Verschelde | |
2021-09-13 | Added explicit type conversions | Matthew Newall | |
2021-09-13 | Add driver types to GD extension initialisation levels | Bastiaan Olij | |
2021-09-12 | Fix custom multiplayer sync commands | SaracenOne | |
2021-09-11 | Expose enum related methods in ClassDB | Haoyu Qiu | |
2021-09-10 | Merge pull request #52406 from ellenhp/libvorbis | Juan Linietsky | |
Replace stb_vorbis with libvorbis | |||
2021-09-10 | Merge pull request #52229 from lawnjelly/basis_quat_warning | Max Hilbrunner | |
Improve Basis::get_quaternion error message | |||
2021-09-10 | Fix path with multiple slashes not being corrected on templates | Ricardo Subtil | |
2021-09-09 | Replace stb_vorbis with libogg+libvorbis | Ellen Poe | |