Age | Commit message (Collapse) | Author |
|
Fixes a bug where the VERSION_PATCH define is not yet in scope if
typedefs.h is included before version.h at compilation time.
(cherry picked from commit 3b687c5474113b64f186388883ca85cdfe6523d4)
|
|
External editor improvements and fixes
|
|
Respect the expand margin for StyleBoxTextures again.
|
|
|
|
Notable changes:
- Now ScriptLanguages have the option to override the global external editor setting.
If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used.
- Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`.
- `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from.
Fixes:
- Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor.
- Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit.
- `Script::get_member_line()` now returns -1 ("found nothing") by default.
|
|
Fix editor style box for ToolButton
|
|
PackedScene: Fix wrong DEFVAL
|
|
|
|
|
|
|
|
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
|
|
-properly show editor without having to resize window on windows
|
|
Add methods to get and set bits of collision layers and masks for TileMaps (3.0)
|
|
Allow zero preprocess time for Particles2D
|
|
|
|
should have flipped the dst_rect..
|
|
|
|
|
|
Optimize-out some debug and/or non-tools methods
|
|
Travis builds would fail with:
./drivers/gles3/rasterizer_storage_gles3.h:1018:19: error: ISO C++ forbids initialization of member 'fixed_fps' [-fpermissive]
|
|
Reset display folded for an instanced scene if editable children is toggled off
|
|
Fixes loading existing 3.0-alpha projects broken by 74808ac4d9176180dc7ecace99723edab8a73e0e.
|
|
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).
|
|
This avoids the display folded flag needlessly getting into the scene file (potentially forever) and also gives more visual feedback if the user re-enables editable children so it will display unfolded at first.
|
|
|
|
Add four methods to the TileMap node to make collision layers and masks be modified bit by bit (like PhysicBody2Ds and RayCast2Ds:
* set_collision_layer_bit()
* set_collision_mask_bit()
* get_collision_layer_bit()
* get_collision_mask_bit()
To comply with collision layers' renaming from https://github.com/godotengine/godot/issues/5696 , the method names are NOT set/get_layer_mask_bit()
|
|
Fix typo in FixedSpatialMaterial
[ci skip]
|
|
NormapMap
|
|
|
|
Follow-up to #8251.
|
|
Fix is_move_and_slide_on_wall, make move_and_slide floor angle configurable
|
|
Made slide and reflect active verbs acting on itself in Vector2 and V…
|
|
Fixes #7313
|
|
Previous value of time_left is added to wait_time before assigning to time_left
|
|
Fix more property names in _change_notify calls.
|
|
Improve TouchScreenButton
|
|
|
|
|
|
This is in alignment with other functions in vector classes.
Also added checks for normalization, fixed the sign of reflect (which now corresponds to reflection along a plane mathematically), added bounce method and updated docs.
Fixes #8201.
|
|
Fix shape not being updated
Add a way to hide the shape on editor and debug-with-visible-shapes
Remove useless checks
|
|
[3.0] Fixed NinePatchRect/StyleBoxTexture incorrectly drawing AtlasTexture
|
|
Added ability to change A-star cost function
|
|
Add the option to check if input was handled
|
|
Node2D/Control variables now update with canvas changes
|
|
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.
|
|
|
|
|
|
When working with a viewport you should call Viewport.input() to pass
the input, but if the input was unhandled you might also want to call
Viewport.unhandled_input() so that objects in the sub-scene can handle
the event. This adds a way to check if the input was handled so that you
know whether you should call Viewport.unhandled_input() or not.
Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
|
|
|
|
Fixed StyleBoxTexture and NinePatchRect drawing the entire texture of an
AtlasTexture.
|