Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
Happy new year to the wonderful Godot community!
|
|
|
|
The conversion from an String to int can overflow int and int64
so it is safer to manipulate strings when we try to find the next
available name for a Node.
|
|
Also makes the editor exit faster
|
|
Notify node's moved children after sibling removed
|
|
-Removed one and zero hints for properties, replaced by default value
|
|
Fixes #16213.
|
|
|
|
Fixed error when duplicating a scene which has connection
|
|
Fix warnings on release builds and some MSVC warnings
|
|
Fixes the following Clang 5 warnings:
```
modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare]
core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable]
core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable]
core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable]
core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable]
modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function]
modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable]
modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function]
scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function]
```
|
|
Fixed error when duplicating node from editor.
|
|
Added find_parent method to node class
|
|
|