Age | Commit message (Collapse) | Author |
|
- Renames PackedIntArray to PackedInt32Array.
- Renames PackedFloatArray to PackedFloat32Array.
- Adds PackedInt64Array and PackedFloat64Array.
- Renames Variant::REAL to Variant::FLOAT for consistency.
Packed arrays are for storing large amount of data and creating stuff like
meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of
memory. That said, many users requested the ability to have 64 bits packed
arrays for their games, so this is just an optional added type.
For Variant, the float datatype is always 64 bits, and exposed as `float`.
We still have `real_t` which is the datatype that can change from 32 to 64
bits depending on a compile flag (not entirely working right now, but that's
the idea). It affects math related datatypes and code only.
Neither Variant nor PackedArray make use of real_t, which is only intended
for math precision, so the term is removed from there to keep only float.
|
|
Also changed all relevant properties defined manually to StringName.
|
|
|
|
objects and made them default.
|
|
|
|
- Now is sent the method ID rather the full function name.
- The passed IDs (Node and Method) are compressed so to use less possible space.
- The variant (INT and BOOL) is now encoded and compressed so to use much less data.
- Optimized RPCMode retrieval for GDScript functions.
- Added checksum to assert the methods are the same across peers.
This work has been kindly sponsored by IMVU.
|
|
|
|
|
|
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.
|
|
Fixes #33749
This function can be called outside the scene tree.
|
|
This closes #33660.
|
|
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.
|
|
Added some obvious errors explanations
|
|
|
|
resumed on Android devices.
|
|
It is implemented using editor-only metadata, in a way similar to
edit locking or Position2D gizmo extents.
This closes #2082.
|
|
The tooltip now displays the number of connections and groups
that are assigned to the hovered node.
|
|
|
|
Improve error message in Node::get_path()
|
|
Improve error message in Node::remove_child()
|
|
|
|
|
|
Unnecessary reassignments
|
|
|
|
Those assignments are duplicated since add_to_group() or remove_from_group() aren't changing the state of those members.
|
|
|
|
Fix inability to insert keys via Insert Key context menu
|
|
Fixes #30495
|
|
|
|
Fix some editor crashes
|
|
|
|
Remove redundant code, possible NULL pointers and others
|
|
Also document NodePath.
|
|
|
|
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
|
|
In practice this only happens when duplicating a node which is not in
the scene tree yet, as nameless nodes get assigned a generated name
when added to the scene tree.
Fixes #27319.
|
|
|
|
Add settings for single-quotes on completion
|
|
Add a monitor for the orphan nodes
|
|
It appears that Object::script may be a valid ScriptInstance but not be
castable to Ref<Script>. There were only 5 places in the code that made
this assumption. This commit fixes that.
|
|
- Allow the user to keep track of the nodes that might leak
- Possible fix for #27103
|
|
-Node folding is now saved externally together with the properties
-External resources remember their ID when scenes are saved.
|
|
Make get_node return NULL for empty NodePaths
|
|
#27614
|
|
Fixes #25292
|
|
|
|
reduz wanted the original PR reverted due to issues, so this follow-up had to be too
(done in 8cb54182ad2698a962def84f79cc8206ac9f13b2). But he ended up adapting part of
the original PR in 27d77723811c2652c6118eca03a38c4ae1441895 without including this fix.
|
|
probably many recent bugs using GraphEdit
|
|
This reverts commits 1025e3ecea67b90232cfdc9590a7ee8887efdcc8
and 799ed2b98984414fd3b7b667c5e3e5d2e6d35a66.
|
|
|