| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The previous code only parsed the first two characters (potentially reading
out of bounds if input was invalid), but some locales use a 3-letter language
code (e.g. 'nah_MX').
So I refactored the logic a bit to properly parse the locale and extract the
part left of the regional code, if provided (supports both 'en_US' and 'en-US'
style).
I made TranslationServer::get_language_code() public as I'll use it in a
follow up commit.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Underscaled arc tolerance produced very small values so that changes
to this parameter were negligible when scaled internally, hence significant
performance drop (lots of intermediate points inserted in an arc). Now the
performance is mostly the same compared to other types of offsetting
(SQUARE, MITER).
|
| |\ \ \ \
| | | | |
| | | | | |
fixed pitch bend value and MIDI running status on the InputEventMIDI.
|
| | |/ / / |
|
| |\ \ \ \
| |/ / /
|/| | | |
Fixed antialiased option for Polygon2D
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Polygon2D:
The property wasn't used anymore after switching from canvas_item_add_polygon() to canvas_item_add_triangle_array() for drawing.
Line2D:
Added the same property as for Polygon2D & fixed smooth line drawing to use indices correctly.
Fixes #26823
|
| |\ \ \ \
| |_|_|/
|/| | | |
Fix HTTP HEAD requests
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
get loaded with two backslashes"
This reverts commit 1342551664091c1ceb931ee45d9c43f09df5f1ff.
|
| |\ \ \ \
| |_|/ /
|/| | | |
Add download_chunk_size property to HTTPRequest.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows setting the `read_chunk_size` of the internal HTTPClient.
This is important to reduce the allocation overhead and number of file
writes when downloading large files, allowing for better download speed.
|
| |\ \ \ \
| |/ / /
|/| | | |
Fix HTTPClient::poll crash when connection set to null
|
| | |/ / |
|
| |\ \ \
| | | |
| | | | |
Fix some overflows and unitialized variables
|
| | |/ / |
|
| |/ /
| |
| |
| |
| | |
s * edge0 = -d / a * edge0 = -edge0⋅v0 / (edge0⋅edge0) * edge0 = vector projection of -v0 onto edge0
By incorrectly using -e/c instead of -d/a, Face3::get_closest_point_to was returning the wrong point in certain cases. Specifically, I noticed it returning vertex[0] when it should have been returning vertex[1].
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Messages coming from ERR_EXPLAIN / ERR_*_MSG macros used to strip the
error explanation in release builds and was changed in a recent
refactoring.
This commit restores the old behaviour (fixing release builds).
|
| |\ \
| | |
| | | |
Send *_MSG macros' explanations directly to the _err_print_error().
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
| |
| |
| | |
This makes it possible to change it at runtime in projects.
|
| | |
| |
| |
| | |
Fix incomplete binding.
|
| |\ \
| | |
| | | |
Emit an error rather than crash in A*
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | | |
Game camera override
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
|
| |\ \ \
| | | |
| | | | |
Fix analog input in sliders
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | | |
Fix #24137 Different number of leading zeros on MINGW printf("%lg")
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use _set_output_format() on MINGW platform to force _snprintf_s() to
conform to the C99 standard and match the other platforms.
Fixes #24137
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Make is_equal_approx separate and make == exact again
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit changes behavior for GDScript and C#.
Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Internal changes only
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This commit adds exposed behavior for C#
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Improve support for directed graphs in A*; docs update included
|
| | | | | | | | |
|
| | | | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix localise_path method
|
| | | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
with two backslashes
|
| | |_|_|/ / / /
|/| | | | | | |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Update zstd to 1.4.3
|
| | |/ / / / / / |
|
| |\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix some crashes, overflows and using variables without values
|
| | | | | | | | | |
|
| |\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Check for cyclic inheritance when adding a global script class
|
| | | | | | | | | | |
|
| |\ \ \ \ \ \ \ \ \
| |_|/ / / / / / /
|/| | | | | | | | |
Added empty() function to pool array types
|