Age | Commit message (Collapse) | Author |
|
|
|
on modification if the scene was just saved. Fixes #18027.
Still I feel this line was commented for a reason. If you bisect a bug and find
this commit, let me know.
|
|
Add store_csv_line method for File
|
|
-Also added set_deferred, this was missing.
|
|
|
|
|
|
Better buffering for WebSocket
|
|
Co-authored-by: Zirak <zirakertan@gmail.com>
|
|
|
|
Allow to specify a custom strength when calling Input.action_press(),…
|
|
Fix GDScript placeholder fallback
|
|
|
|
allows virtual axis, mainly for mobile.
|
|
|
|
|
|
-Removed one and zero hints for properties, replaced by default value
|
|
|
|
These methods aren't used anywhere in Godot's code, and all they do is cast floating types to int64_t. There's no reason to have these lines, they literally do nothing, and they aren't useful functions to begin with.
|
|
Error running Expression.execute after parse error
|
|
Fix: String::format Variant to String conversion
|
|
|
|
|
|
There happens a segmentation fault when you use Expression.parse() and you don't check for errors and then run Expression.execute(). So we check if there was a parse error in the execute method now.
|
|
Add missing Rect2 methods to GDNative API
Add missing Quat methods to GDNative API
Add missing NodePath methods to GDNative API
Add missing String methods to GDNative API
Add missing Array methods to GDNative API
Add missing Basis methods to GDNative API
Add missing Color methods to GDNative API
Update gdnative_api.json
|
|
Previosly String::format used variant.get_construct_string() to convert
the passed Variants to Strings. This however did not match the expected
printing behavior of some datatypes: Strings for example turned out
escaped.
This fix replaces the call to get_construct_string() with a simple
conversion. This makes String::format consistent with "%s" % "sth" and
formated Variants turn out like printed as expected.
|
|
Limit several project settings
|
|
|
|
This was not a problem on Windows as binary names are guaranteed to end
with '.exe', but on Unix systems binary extensions are purely cosmetic
and thus optional, which is a problem when using `get_basename()` to
lookup a potential '.pck' file, as it can fail on e.g. "My Game 2.0" (#15188).
To fix this, ProjectSettings::setup now checks for both basename + '.pck'
and filename + '.pck'.
Fixes #15188, supersedes and closes #22755.
Also took the opportunity to improve documentation on this core method.
|
|
Fixes #22684.
|
|
|
|
Visualscript search fixes
|
|
* There were spaces unequally inside the function definitions.
* camelcase_to_underscore() should also work for numbers inside of the camel case.
* Removed the builtin concept
* Capitalize descriptions from methods too.
* Match the visual script functions by removing the empty arguments "( )"
* Add some test cases
|
|
When an item has been inserted into an already-occupied slot, and
the original inhabitant of that slot was moved on, it was wrongly
moved with the inserted-item's key/value instead of its own.
This closes #22928.
|
|
This reverts commit 6415454581c3ba0025da6b9bae42e060fa4e1508.
That patch was correct but Object::has_method is not a reliable way to check
if we can use the given method, as it doesn't support inner classes (#22838).
|
|
Add ONE constants to Vector2 and Vector3
|
|
Optimize interpolation algorithms
|
|
|
|
Interpolation in the form of va + (vb - va) * c is faster and prevents floating point issues for int/string
Followup to https://github.com/godotengine/godot/pull/22786
|
|
|
|
|
|
|
|
Cleaned up/Fixed some bugs in the remote inspector code.
|
|
Fix more "may be used initialized" warnings from GCC 7
|
|
Remove redundant "== true" and "== false" code
|
|
Fixed int interpolation issue, closes #22763
|
|
Some of this code has been re-organized.
f
|
|
If it can be compared to a boolean, it can be evaluated as one in-place.
|
|
Fixes #22747.
|
|
When interpolating between two equal int values a and b, floating point
calculation imprecisions can result in different values depending on
the interpolation factor.
|
|
Fix warnings in HTML5 build outside platform files
|