Age | Commit message (Collapse) | Author |
|
The code had a subtle signed/unsigned bug -
```cpp
if( signed - unsigned < 0)
// signed - unsigned is unsigned in c++, so
if( unsigned < 0)
// and thus the if block will never be executed
```
Thus all the following code would be ran, including unnecessary retries
of compacting the pool.
|
|
Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.
|
|
|
|
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)
-
|
|
Enable autoload in editor
|
|
|
|
Also even out Basis and Quat APIs a little.
|
|
Rename multiplayer_api to multiplayer, add docs
|
|
Experimental support for windows with per-pixel transparency.
|
|
Checks on input_buffer in PacketPeerStream
|
|
Check implicit casts on object classes in bound method calls
|
|
|
|
- Adds q/quit option to console debugging
- Adds options (variable_prefix)
- Breaks into debugger with Ctrl-C in local debug mode (Unix/Windows)
- Added option to list all breakpoints
- Fixes add/remove breakpoint bug (invalid path parsing)
- Minor cleanup
|
|
Adjust decimal precision
|
|
Use hysteresis for smoother physics update frequency
|
|
Add Geometry::line_intersects_line_2d()
|
|
Detects crash-related marshalling errors due to NAN values
|
|
|
|
Save runtime node as scene from remote scene tree.
|
|
Crazy-P/Resolves-Freeze-on-change-reflection-probe
Resolves editor freezes on change of reflection probe
|
|
blit and blend fix when dst<Vector2
|
|
add Point2 helper for Image.get_pixel and Image.set_pixel
|
|
|
|
Remove unused Variant._data.RefPtr
|
|
Added method to clear input events of an action
|
|
Now both structs (Vector2 & Vector3) have round, floor & ceil methods.
(see #18603)
|
|
updated OAHashMap to use robinhood hashing
|
|
|
|
API hash fixes
|
|
|
|
Implement universal translation of touch to mouse (3.1)
|
|
fix API string path
|
|
Handle missing arg pointer in Variant::get_call_error_text
|
|
Fix Coverity reports of uninitialized scalar variable
|
|
fix for segfault when using CallBasic in visual script on release build
|
|
- Tool scripts will be executed and can be accessed by plugins.
- Other script languages can implement add/remove_named_global_constant
to make use of this functionality.
|
|
If at the time of the _GLOBAL_DEF call a setting itself was unknown,
the function would always return the supplied default value instead of
checking for overrides. This commit changes that, lookup now always
happens which correctly takes overrides into account.
|
|
Fixing input strength and the impossibility to erase action events
|
|
Keep alpha when changing h, s or v Color property in GDScript
|
|
Fixes logically dead code (Coverity)
|
|
I had a situation coming from godot-python where the caller of
Variant::get_call_error_text() passed null for `p_argptrs`. In
addition to fixing that in the caller, seems like good practice to
defend against that situation in the callee to prevent a crash.
So this patch just substitutes some semi-useful text for the source
type name and keeps going so the user's actual error gets emitted.
|
|
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)
The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.
Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.
*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.
On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.
Plus: Improve/fix tracking of current mouse position.
** Summary of changes to settings: **
- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
|
|
Fix .pck exporting via PCKPacker
|
|
|
|
Reduces some aliasing.
|
|
|
|
image-point2-helper
|
|
|
|
|
|
|