Age | Commit message (Collapse) | Author |
|
- Add do..while(0) wrapper to ERR_FAIL_NULL macros.
- Add do..while(0) wrapper to ERR_FAIL_COND macros.
- Add do..while(0) wrapper to ERR_CONTINUE macros.
- Add do..while(0) wrapper to ERR_BREAK macros.
- Add do..while(0) wrapper to CRASH_COND macros.
- Add do..while(0) wrapper to ERR_FAIL macros.
- Add do..while(0) wrapper to ERR_PRINT macros.
- Add do..while(0) wrapper to WARN_PRINT macros.
- Add do..while(0) wrapper to WARN_DEPRECATED macros.
- Add do..while(0) wrapper to CRASH_NOW macros.
|
|
|
|
|
|
Otherwise we can have a segmentation fault if we try to call
`add_child` on an already freed node.
Fixes #35323.
|
|
Regression from #34040, apparently making this a const reference
introduces issues (not sure why, but previous code worked fine).
Fixes #34691.
Co-authored-by: dankan1890 <mewuidev2@gmail.com>
|
|
|
|
Viewport environment is updated properly when set to own world
|
|
This reduces the amount of code required to exit a process with a
non-zero exit code. This pattern is also found in most other
programming languages.
|
|
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
|
|
- Make it possible to enter more precise values (up to 3 decimals).
- Make it possible to enter values above 4096.
|
|
This reverts commit cafb888361eba08297dd88b18dc71f4d418525c0.
Fixes #34405.
Reopens #8799, #24064.
|
|
|
|
|
|
When own_world property is set, the viewport stores a unique resource for the world. With this change it keeps being updated from changes made to the world property instead of storing a default empty world with environment settings that can't be modified.
Fixes #23412
|
|
|
|
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.
|
|
Fixes #33749
This function can be called outside the scene tree.
|
|
following up f392c4ea7a778db6c5c73a1c6b9348b84707ee81
|
|
Implement `Node::get_process_priority()` and its associated property
|
|
This closes #33660.
|
|
A new external MSAA setting was introduced in https://github.com/godotengine/godot/pull/33518
that fixed issues on GLES2 and Oculus Mobile VR. To avoid misunderstanding it was suggested
by @BastiaanOlij and discussed on discord to rename it to AndroidVR.
|
|
Add MSAA mode for Quest
|
|
|
|
Drop the physics mouseover whenever a input has been handled.
|
|
Game camera override
|
|
Allow tab key to be used for shortcuts
|
|
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.
|
|
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list.
It happens in the state machine case by hiding a line edit control when it loses focus.
Fixes #23808
|
|
Fixed leak on exit when using yield with SceneTreeTimer
|
|
Expose Node::update_configuration_warning() to scripts
|
|
Use case:
yield(get_tree().create_timer(2), "timeout")
Some resources were never released because the SceneTreeTimer was keeping a reference to GDScriptFunctionState in its signal connections, while GDScriptFunctionState was holding a reference to the SceneTreeTimer object. Cleaning all signal connections on game exit fixes the issue.
Fixes #29946
|
|
This method can be used to generate custom node warnings by script.
Node::_get_configuration_warning was already exposed to generate custom warnings, but it wasn't fully usable without being able to notify the scene tree when the warning needs to appear or change.
|
|
|
|
|
|
Fix GPU particle transform delay when created on SceneTree timer timeout
|
|
|
|
codecustard/fix_scrollwheel_triggering_focus_change
Fix scrollwheel triggering focus change
|
|
Added some obvious errors explanations
|
|
|
|
resumed on Android devices.
|
|
Clicking or using the scrollwheel outside of the focused control triggers a focus change. This makes sense for mouse clicks, but scrollwheeling outside the focuses control does not. This PR ignores scrollwheeling outside of the focused control.
|
|
Add network profiler
|
|
|
|
Timer and Tween check if they are in SceneTree when starting
|
|
Tween now throws error and doesnt even execute.
|
|
Add an `editor_description` property to Node for documentation purposes
|
|
Fixed UI navigation using joy axis inputs
|
|
|
|
Fixes #31879
|