Age | Commit message (Collapse) | Author |
|
Collisions and nav debug are conditionally compiled depending on DEBUG_ENABLED
is_editor_hint() and is_node_being_edited() are compiled only with TOOLS_ENABLED
Every affected method is implemented in the header in case its macro is not present (the getters just returning false and the setters having an empty body) so the compiler can inline and finally no-op-out them as likely as possible.
is_node_being_edited() already showed a similar optimization effort and has been adapted to this change.
Furthermore, and as a consequence, -debugcol and -debugnav will not work on non-debug (strict release) builds.
This can bring a little bit of runtime performance on release and non-tooled builds (less code, so less cycles to spend and maybe more cache friendly).
|
|
When godot was running as the project manager, it tried to call a method on a null pointer (get_tree()->get_edited_scene_root()).
This is undefined behaviour and caused a crash when compiled with sanitizing enabled.
|
|
Honor the Tween's final values
|
|
|
|
Add missing binding for DUPLICATE_USE_INSTANCING
|
|
|
|
Cache DynamicFont resource for Android
|
|
added Timer is_time_left()
|
|
From https://github.com/lucasdemarchi/codespell
|
|
|
|
rm doc
|
|
Remove warning on owner re-assignment
|
|
Fix redundant connections saved in sub-inheritance
|
|
List Control::has_point as a virtual method
|
|
fix remove_and_skip()
|
|
fixed ClassDB inconsistencies
|
|
|
|
|
|
According to Issue #8018, a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h.
classes.xml was updated to also list this method in Control.
|
|
fixes #7960
|
|
WindowDialog: Fix crash when running as ProjectManager
|
|
Fixes a bug introduced in #7970
|
|
Fix connection errors when replacing node
|
|
Several fixes for TouchScreenButton
|
|
Map POSITION to gl_FragCoord.xy for 2D shaders
|
|
Fix node duplication in scene sub-inheritance
|
|
|
|
- Avoid connecting the signals to nonexistent methods
- Preserve only persistent connections
|
|
- getting stuck on pause
- handling input when not visible
|
|
|
|
|
|
Darkens the editor on WindowDialog popup.
This adds the following new Editor settings:
- interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming
- interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1)
- interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant.
Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all
windows of the editor :P
|
|
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
|
|
|
|
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
|
|
TileMap: Respect self_modulate property
|
|
TabContainer's signal changes (v3)
|
|
Now `TileMap`s make use of the `self_modulate` property.
There's still a bug: The Editor doesn't re-draw with the new color when you change the TileMaps `self_modulate`
in the inspector. You'll have to make it update manually (by placing a tile, changing the transform, etc..)
I'll open an issue for that after this is merged (If I don't fix it in the meantime ^^).
|
|
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
|
|
Fix two problems with Area2D and remove_child()
|
|
Resizable editor / project settings dialogs & save their bounds
|
|
Fix wrong TreeItem reference after reconstructing
|
|
|
|
bounds
|
|
|
|
|
|
Bunch of missing `else` statements and general logic
|
|
|
|
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
|
|
Use the common PRNG in 2D particles code.
|