Rémi Verschelde
8eb1d20346
Merge pull request #56206 from KoBeWi/random_call_deferred_to_the_rescue_once_again
2022-01-05 10:57:53 +01:00
Rémi Verschelde
319c442771
Merge pull request #55791 from kleonc/tree-dont-consume-mouse-if-collapser-not-visible
2022-01-05 10:56:50 +01:00
Rémi Verschelde
e32c685092
Merge pull request #54441 from Geometror/checkbutton-checkbox-font-hover-pressed-color
2022-01-05 10:55:33 +01:00
Rémi Verschelde
d27f06a61b
Merge pull request #56193 from kodiwills/fix-update-mode-not-refreshed-visually-on-undo
2022-01-05 10:53:34 +01:00
Rémi Verschelde
4b6d2fd163
Merge pull request #56212 from laws65/skin-export-crash-fix
2022-01-05 10:48:52 +01:00
Rémi Verschelde
0719deea8a
Merge pull request #56346 from pycbouh/control-treenteger
2022-01-05 10:47:05 +01:00
Rémi Verschelde
91b5c358fc
Merge pull request #55512 from RandomShaper/better_node_delete
2022-01-05 10:25:13 +01:00
Rémi Verschelde
89f070065b
Merge pull request #56408 from eazrael/tree-fix-selectionmode-row
...
Tree: Fix de-select when selection mode set to SELECT_ROW
2022-01-05 09:22:00 +01:00
Rémi Verschelde
026de65e5f
Merge pull request #56491 from hinlopen/n3d-minor-improvement
...
Minor code improvements in Node3D
2022-01-05 08:49:11 +01:00
Stijn
805155e2f6
Minor code improvements in Node3D. Refactor Node3D::show/hide/set_visible to a shared implementation.
2022-01-04 23:22:49 +01:00
Rémi Verschelde
ba2bdc478b
Style: Remove inconsistently used @author
docstrings
...
Each file in Godot has had multiple contributors who co-authored it over the
years, and the information of who was the original person to create that file
is not very relevant, especially when used so inconsistently.
`git blame` is a much better way to know who initially authored or later
modified a given chunk of code, and most IDEs now have good integration to
show this information.
2022-01-04 20:42:50 +01:00
Rémi Verschelde
eab30316ee
Merge pull request #55332 from Calinou/voxelgidata-tweak-default-dynamic-range
...
Decrease the default dynamic range in VoxelGIData to 2.0
2022-01-04 17:18:28 +01:00
Rémi Verschelde
851fb16350
Merge pull request #56305 from Calinou/rename-lod-threshold
2022-01-04 15:28:06 +01:00
Marcel Admiraal
f107139979
Rename Project Window width and height settings to match their function
2022-01-04 13:59:16 +00:00
JFonS
6c25d05f70
Merge pull request #55370 from Calinou/geometryinstance3d-lod-fade-node-configuration-warning
...
Emit node configuration warnings for GeometryInstance3D distance fade
2022-01-04 13:58:32 +01:00
Rémi Verschelde
42312f066b
Merge pull request #53313 from KoBeWi/debinded_konnekt
2022-01-04 12:22:46 +01:00
Rémi Verschelde
23342ac23c
Merge pull request #54987 from KoBeWi/@@Node2D@@69@@420@@@
2022-01-04 10:08:32 +01:00
Rémi Verschelde
7f66c16c03
Merge pull request #51206 from clayjohn/Vulkan-ASSGI
2022-01-04 10:00:17 +01:00
Rémi Verschelde
2536d6ca20
Merge pull request #55331 from Calinou/voxelgidata-fix-dynamic-range-property
2022-01-04 09:59:26 +01:00
kobewi
11111d997e
Fix TextureButton focus texture logic
2022-01-04 01:06:24 +01:00
Rémi Verschelde
8501233401
Merge pull request #56347 from NNesh/fix/graph_editor_out_of_range_alignment
...
Fixed an invalidation of sets and out of range for an alignment
2022-01-04 00:37:43 +01:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Rémi Verschelde
1032c2c434
Merge pull request #55487 from YeldhamDev/scroll_bikeshedding
2022-01-03 14:10:41 +01:00
luz paz
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
Christoph Nelles
185724e5e9
Tree: Fix de-select when selection mode set to SELECT_ROW
...
It no longer de-selects an already selected row if the SELECT_MODE is
set to SELECT_ROW.
Update scene/gui/tree.cpp
Co-authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-01-02 00:36:30 +00:00
NNesh
0af3d6b990
Fixed a invalidation of sets and out of range in the _horizontal_alignment function
...
Fixed start index (to the second half element)
Fixed out of range when size is equal 1
2022-01-02 00:21:36 +05:00
Yuri Sizov
fe283fd07a
Correctly use fallback Theme values as last resort
2021-12-31 18:53:43 +03:00
Yuri Sizov
f1bc5c976a
Fix an incorrect exposed property type in Tree
2021-12-30 20:04:14 +03:00
David Cambré
38ad72af44
Update default port_grab_distance_vertical
2021-12-29 19:14:28 +01:00
Yuri Sizov
7d37f76241
Use GDVIRTUAL* macros when binding virtual methods in exposed classes
2021-12-29 20:27:44 +03:00
Marcel Admiraal
3105d9b1f3
Rename speed to velocity when it's a directional Vector
2021-12-29 15:35:26 +00:00
Hugo Locurcio
df09bc38cb
Rename Lod Threshold to Mesh Lod Threshold
...
This makes it more obvious that the setting only affects mesh LOD,
not manual (H)LOD achieved using visibility ranges.
2021-12-29 00:11:50 +01:00
PucklaMotzer09
be2d59fa0a
Unfocus Control on NOTIFICATION_EXIT_TREE
2021-12-26 17:53:07 +01:00
Silc 'Tokage' Renew
61759da5b3
Fix some gizmo behavior to make more consistent
2021-12-25 03:24:04 +09:00
laws65
c559bef1c7
Prevent crashes on exported project relating to Skin resource
2021-12-24 17:32:51 +10:30
kobewi
a7a41a3431
Fix TabContainer not setting layout immediately
2021-12-23 23:47:27 +01:00
Kodi
51db86d789
add missing emit_changed() to set update mode function
2021-12-23 07:53:36 -05:00
Rémi Verschelde
1906b59675
Merge pull request #55636 from bruvzg/vis_char_modes
...
Add different "visible characters" behavior modes.
2021-12-23 00:43:33 +01:00
Rémi Verschelde
0f6a6ca5be
Merge pull request #56131 from Chaosus/shader_refactor_render_modes
2021-12-22 13:29:03 +01:00
Yuri Roubinsky
e8a457ba89
Refactor render_mode in shaders, forbid declaring duplicates
2021-12-21 22:20:09 +03:00
Rémi Verschelde
489f11ee0c
Merge pull request #56043 from Zylann/mesh_old_conversion_message
2021-12-21 15:23:57 +01:00
Marc Gilleron
830b54a03b
Added resource path to message about old mesh format conversion
2021-12-21 14:39:40 +01:00
kobewi
540ddbc33b
Fix being unable to clear some theme overrides
2021-12-21 10:37:08 +01:00
Rémi Verschelde
78857ec770
Merge pull request #55823 from KoBeWi/optional_button
2021-12-21 09:43:42 +01:00
Rémi Verschelde
011c0279c5
Merge pull request #56102 from jmb462/fix-wrong-gradientedit-colorpicker-shape
2021-12-21 09:43:26 +01:00
kobewi
c68e93ad52
Implement property array for OptionButton
2021-12-21 08:53:09 +01:00
Zae
e957f7aeb0
Fix BaseButton's localization for tooltip with shortcut
2021-12-21 01:08:37 +08:00
jmb462
f491b43edd
Fix wrong ColorPicker shape with GradientEdit
2021-12-20 18:00:11 +01:00
Haoyu Qiu
1078c389f9
Fix crash when executing TileMap.map_pattern
...
Validates the input reference.
2021-12-18 15:53:21 +08:00
Ansraer
c7a03412ac
add 2d scale factor property
2021-12-17 19:19:41 +01:00
Yuri Roubinsky
6435d1be23
Merge pull request #55982 from Chaosus/vs_texture_filtering
2021-12-16 13:53:47 +03:00
Fabio Alessandrelli
75ed3d74e8
Merge pull request #55747 from timothyqiu/editor-proxy
...
Add proxy support for the editor
2021-12-16 10:06:14 +01:00
Yuri Roubinsky
1eb40904ce
Add texture filtering properties to VisualShaderNodeTextureUniform
2021-12-16 11:50:33 +03:00
Yuri Roubinsky
765032ae95
Merge pull request #55969 from Chaosus/shader_anisotropic
2021-12-16 07:06:43 +03:00
Rémi Verschelde
deb30a4108
Merge pull request #52015 from mechPenSketch/expose_hotzones2
...
Expose connection hot zones in `GraphNode`
2021-12-15 20:23:07 +01:00
Yuri Roubinsky
f0a58af12f
Rename shader hint filter_anisotropy
to filter_anisotropic
2021-12-15 22:12:38 +03:00
Yuri Roubinsky
09185d76ac
Rename shader hint filter_aniso
to filter_anisotropy
2021-12-15 13:18:32 +03:00
Hugo Locurcio
b6caa0587a
Add compatibility class handlers for portal and room occlusion culling
...
Portal and room occlusion culling is replaced by raster occlusion
in 4.0, which undergoes an entirely different setup process. Therefore,
we can only convert those nodes to Node3Ds to allow loading `3.x` scenes
while keeping transforms valid.
2021-12-14 18:45:28 +01:00
Hugo Locurcio
e962900f23
Rename and reorder bake mode properties for consistency
...
The order now goes from least to most computationally expensive:
- Disabled
- Static
- Dynamic
2021-12-14 12:01:12 +01:00
vitika9
51501dadcc
Added check for SceneTree being null
2021-12-13 15:41:29 +05:30
Rémi Verschelde
7f9a82b944
Merge pull request #52998 from AnilBK/node2d-renames
...
Node2D member renames.
2021-12-13 09:15:12 +01:00
Rémi Verschelde
ef1d59cf1b
Merge pull request #55816 from RandomShaper/fix_revert_null_defaults
2021-12-12 20:56:57 +01:00
Rémi Verschelde
dd869bd2a7
Merge pull request #55814 from williamd67/GPULightMapper-correct-colors
2021-12-12 20:56:11 +01:00
Rémi Verschelde
e8011be6f5
Merge pull request #55729 from cdemirer/fix-script-editor-unexpected-scroll-upon-resize
2021-12-12 20:54:53 +01:00
jmb462
d44b33741b
Fix bad mouse offset to show tooltips in Tree
2021-12-12 09:12:26 +01:00
Yuri Roubinsky
526390c048
Fix highlight for completion options match (rebased)
...
Co-authored-by: Gustav Andersson <gvekan@users.noreply.github.com>
2021-12-12 10:39:49 +03:00
mechPenSketch
0449b30bbc
Expose connection hot zones in GraphNode
2021-12-12 15:20:40 +08:00
Pedro J. Estébanez
18663aa305
Stop asuming a default value of NIL means there's no default
2021-12-11 14:03:48 +01:00
William Deurwaarder
742f072c59
GPULightMapper: convert colors of lights to linear
...
To make baked colors of lights equal to dynamic colors of lights they have to be
converted to linear as the colors of dynamic lights are converted to linear by
RendererSceneRenderRD.
2021-12-11 13:01:07 +01:00
cdemirer
a361236526
Fix unexpected scroll on resize + consistent return value
2021-12-11 10:03:24 +08:00
PouleyKetchoupp
940f3fde5c
Improve RigidDynamicBody force and torque API
...
Makes the API for forces and impulses more flexible, easier to
understand and harmonized between 2D and 3D.
Rigid bodies now have 3 sets of methods for forces and impulses:
-apply_impulse() for impulses (one-shot and time independent)
-apply_force() for forces (time dependent) applied for the current step
-add_constant_force() for forces that keeps being applied each step
Also updated the documentation to clarify the different methods and
parameters in rigid body nodes, body direct state and physics servers.
2021-12-10 15:55:40 -07:00
Rémi Verschelde
0ba7103bea
Merge pull request #55702 from nekomatata/physics-solver-settings
2021-12-10 22:10:41 +01:00
Rémi Verschelde
9ef6b5c104
Merge pull request #55797 from KoBeWi/internal_shenanigans
2021-12-10 18:55:20 +01:00
kobewi
1ff9ddeb27
Fix wrong internal children usage in BoxContainer
2021-12-10 18:01:44 +01:00
Hugo Locurcio
92e9cca5be
Rename hint_aniso
to hint_anisotropy
in the shader language
...
The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
2021-12-10 17:41:17 +01:00
Rémi Verschelde
4f9b6d9a3f
Merge pull request #51235 from AnilBK/awkward-funcs
2021-12-10 16:58:11 +01:00
kleonc
67dd4f15ee
Tree Don't consume mouse event by collapse arrow which isn't shown
2021-12-10 16:54:47 +01:00
Steve Szilágyi
0c352407d8
VehicleWheel can now return the surface it's colliding with.
...
Fixed PR issues.
Update vehicle_body_3d.cpp
Apply suggestions from code review
Co-authored-by: Camille Mohr-Daurat <pouleyKetchoup@gmail.com>
2021-12-10 13:22:02 +01:00
Rémi Verschelde
3c448437f6
Merge pull request #55263 from RPicster/ParticleMaterial-random-start-color
2021-12-10 10:06:46 +01:00
Rémi Verschelde
f455660e93
Merge pull request #55572 from aaronfranke/ci-double
2021-12-10 10:02:38 +01:00
Rémi Verschelde
7e32a27879
Merge pull request #55739 from Paulb23/text-edit-base-performance
2021-12-10 09:46:15 +01:00
Rémi Verschelde
bdf8340e59
Merge pull request #43181 from nathanfranke/string-empty
...
Replace String comparisons with "", String() to is_empty()
2021-12-10 08:56:31 +01:00
Haoyu Qiu
753ae7403f
Add drag start/end signals for Slider
2021-12-10 11:19:10 +08:00
FelipeMatoba
29178d3564
Increased time delay on selection when opening a popup
2021-12-09 16:44:56 -03:00
Aaron Franke
e9808e3d9a
Add a double-precision editor build to CI
2021-12-09 09:52:48 -06:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Rémi Verschelde
4129c1d140
Merge pull request #55299 from nathanfranke/renames
2021-12-09 10:22:24 +01:00
Nathan Franke
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
Haoyu Qiu
5912dd2964
Add proxy support for the editor
...
* Adds proxy support for `HTTPRequest`.
* Adds `network/http_proxy/{host,port}` editor settings.
* Labeled as "HTTP Proxy" and it will be used for both HTTP and
HTTPS requests. This is the same convention as seen in Android
Studio's proxy settings.
* Makes Asset Library and Export Template Manager use proxy according to
the editor settings.
2021-12-09 11:48:16 +08:00
Jonathan Gollnick
0c14b930ef
Fix _validate_property on AnimatedSprite 2D and 3D
2021-12-08 16:59:11 -06:00
Paulb23
bfe2cd2f03
Optimise TextEdit base operations
2021-12-08 18:23:07 +00:00
kobewi
347e50f73b
Improve PopupMenu doc about id and index
2021-12-08 13:02:42 +01:00
Rémi Verschelde
5cf178f3bf
Merge pull request #55694 from KoBeWi/scrollbar_modding_tools
...
ScrollContainer's scrollbar visibility is now enum
2021-12-08 09:16:57 +01:00
Hugo Locurcio
c5550108c8
Decrease the default dynamic range in VoxelGIData to 2.0
...
This reduces visible banding in indirect lighting and reflections.
Sharp reflections now match more closely the original scene.
The downside of this change is that clipping may appear in reflections
in extremely bright scenes, but this should not be a concern in most
scenes.
2021-12-08 00:28:17 +01:00
Hugo Locurcio
cf936ae0dd
Rename GPUParticles attractor and collision nodes to have a 3D suffix
...
GPUParticles attractors and collision are currently only available in 3D.
Their 2D counterparts haven't been implemented yet, but they will use
separate nodes.
2021-12-08 00:21:05 +01:00
jmb462
083ff9a133
Fix bad mouse offset with Control::wrap_mouse()
2021-12-07 20:55:12 +01:00
PouleyKetchoupp
8682adcb87
Add physics solver settings to project settings
...
Helps with discovery and setup of physics solver settings, in a specific
project settings section for both 2D and 3D.
Other changes for cleanup:
-Removed unused space parameters in 3D
SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO
SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS
-Added custom solver bias for Shape3D (same as Shape2D)
-Improved documentation for solver settings
2021-12-07 12:08:04 -07:00
kobewi
841a9ef820
ScrollContainer's scrollbar visibility is now enum
2021-12-07 18:27:12 +01:00
Rémi Verschelde
3ed2bd13ad
Merge pull request #55670 from akien-mga/rename-videoplayer
2021-12-07 09:24:35 +01:00
Aaron Franke
6eb7179f1c
Rename "items_count" property to "item_count"
2021-12-06 22:02:27 -06:00
Rémi Verschelde
c1ed695f32
Merge pull request #55659 from timothyqiu/boom
...
Fix crash when `update()` is called inside `_draw()`
2021-12-06 22:39:02 +01:00
Rémi Verschelde
7ac9ea75cc
Rename VideoPlayer
to VideoStreamPlayer
for consistency
...
It's a player for `VideoStream` resources, just like `AudioStreamPlayer` is a
player for `AudioStream` resources.
Closes https://github.com/godotengine/godot-proposals/issues/3624 .
2021-12-06 19:01:28 +01:00
Rémi Verschelde
75ac048e4b
Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size
2021-12-06 18:28:46 +01:00
Rémi Verschelde
e11baf90d1
Merge pull request #55666 from KoBeWi/reduce_ProximityGroup3D_to_atoms
2021-12-06 18:14:17 +01:00
kobewi
30e1478d0f
Remove ProximityGroup3D node
2021-12-06 17:01:51 +01:00
kobewi
6a2938471b
Rename TouchScreenButton's textures
2021-12-06 15:46:05 +01:00
jmb462
81efebb3a1
Fix bad popups offset in editor with single window off
...
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06 14:29:48 +01:00
Rémi Verschelde
ede7614fe2
Merge pull request #55544 from V-Sekai/audio_camera_null_mitigation
2021-12-06 14:19:40 +01:00
kobewi
ea7cc1dea9
Rename minimum_size_changed() method
2021-12-06 14:02:34 +01:00
Rémi Verschelde
a512edcfb9
Merge pull request #55654 from KoBeWi/reset_softcode
2021-12-06 13:27:27 +01:00
kobewi
9cb66cac2d
Add a constant StringName for RESET animation
2021-12-06 12:26:42 +01:00
bruvzg
ad4408d413
Add different "visible characters" behavior modes.
2021-12-06 12:14:49 +02:00
Haoyu Qiu
f18de71b56
Fix crash when update() is called inside _draw()
2021-12-06 14:20:26 +08:00
Hugo Locurcio
89ec3d3bc7
Remove or make verbose some debugging prints
...
The message about SpatialMaterial conversion was turned into a warning,
as it can potentially interfere with porting projects from Godot 3.x
(if there's a bug in the conversion code).
2021-12-05 23:22:23 +01:00
kobewi
7f6ab0006d
Bind column_titles_visible as property
2021-12-05 02:55:38 +01:00
Rémi Verschelde
4f298237bf
Merge pull request #55595 from Paulb23/text-edit-underline
...
Fixed TextEdit underline draw pos
2021-12-04 00:55:48 +01:00
Pedro J. Estébanez
441928c7e3
Fix WorldEnvironment node warning about unset resources
2021-12-03 20:04:50 +01:00
Paulb23
f9b66da748
Fixed TextEdit underline draw pos
2021-12-03 16:56:01 +00:00
Raffaele Picca
ddf82697d7
Random initial color parameter for ParticleMaterial
...
Works with 2D and 3D GPU Particles
2021-12-03 13:58:17 +01:00
Rémi Verschelde
bbff64eee3
Merge pull request #55580 from timothyqiu/force-drag
2021-12-03 12:49:26 +01:00
Haoyu Qiu
86a47c6540
Fix mouse cursor and notification for force dragging
2021-12-03 18:19:41 +08:00
Yuri Roubinsky
b12fea5b52
Add bitwise operators to VisualShaderNodeIntOp
2021-12-03 12:48:35 +03:00
Rémi Verschelde
543462eb29
Merge pull request #55294 from ConteZero/text_edit_drag_and_drop
...
Add drag and drop to TextEdit
2021-12-02 23:19:53 +01:00
ConteZero
0699941f07
Add drag and drop to TextEdit
2021-12-02 22:00:07 +01:00
Rémi Verschelde
8f00625824
Merge pull request #54910 from Calinou/basematerial3d-texture-auto-roughness-metallic
...
Set roughness/metallic to 1 when assigning a texture in BaseMaterial3D
2021-12-02 21:11:32 +01:00
Rémi Verschelde
892a5a72cd
Merge pull request #55474 from akien-mga/copy-operators-no-reference
2021-12-02 17:34:45 +01:00
Rémi Verschelde
11d5b91462
Merge pull request #55548 from pycbouh/editor-scroll-dat-preview
2021-12-02 17:30:11 +01:00
Rémi Verschelde
8c1fc562dc
Merge pull request #55483 from pycbouh/theme-load-and-order
2021-12-02 17:20:04 +01:00
Rémi Verschelde
ced07100d7
Merge pull request #53287 from Chaosus/sprite3d_fix
2021-12-02 16:23:33 +01:00
Yuri Sizov
c33f407d27
Allow scrolling theme preview when the control picker is active
2021-12-02 17:57:53 +03:00
Rémi Verschelde
bb3f0a9d58
Merge pull request #55271 from RPicster/particles-texture-animation-speed
2021-12-02 10:14:26 +01:00
Rémi Verschelde
81b7418013
Merge pull request #55402 from TokageItLab/fixed-immediatemesh-minimum-aabb
...
Fixed minimum size of `AABB` in `ImmediateMesh` to draw only one vertex
2021-12-02 08:05:56 +01:00
Silc 'Tokage' Renew
ca2b7a87a5
Fixed minimum size of aabb in ImmediateMesh to draw only one vertex
2021-12-02 08:33:33 +09:00
Rémi Verschelde
3b9de26fec
Merge pull request #53868 from aaronfranke/curve
2021-12-02 00:17:47 +01:00
lawnjelly
6db29583f2
Faster Path2D drawing with polyline
...
Changes the Path2D drawing to use POLYLINE instead of thick lines.
2021-12-01 15:23:27 +00:00
Pedro J. Estébanez
0a0381dd0a
Rationalize Node removals and deletions
...
- Regarding preservation of owner, `free()` and `remove_child()` now behave the same: owner is kept during `tree_exiting` signal and `null` during `tree_exited`.
- `tree_exited` is emitted in the same order as `tree_exiting`.
- Superfluous code to handle cancelation of ownership is removed.
2021-12-01 14:28:59 +01:00
Aaron Franke
129911f61a
Improve Curve with const and real_t
2021-11-30 14:24:27 -06:00
Rémi Verschelde
e223a9c129
Merge pull request #55486 from nekomatata/physics-contacts-debug
2021-11-30 20:21:54 +01:00
Rémi Verschelde
7e0537bd79
Merge pull request #55301 from Chaosus/vs_fix_meshemitter_crash
2021-11-30 19:41:11 +01:00
Michael Alexsander
ec4f4c6cda
Rename all methods that return ScrollBar
nodes to get_*_scroll_bar()
2021-11-30 13:46:36 -03:00
PouleyKetchoupp
1ce74c0273
Fix physics 2D/3D contact points rendering
...
Physics internal process was removed by mistake, it's needed for contact
points to be updated each frame.
Fixed some multimesh parameters to allow 3D contact points to be drawn,
although it's still not working well in 3D as only some of the contact
points are drawn, and some of them keep being drawn when the number
of visible instances drops to 0 instead of hiding them all.
2021-11-30 09:35:12 -07:00
Yuri Sizov
d567ce3582
Make default/project theme wait for modules before initializing
2021-11-30 19:09:29 +03:00
Rémi Verschelde
7da392bcc5
Don't return reference on copy assignment operators
...
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this
can lead to confusing code and subtle bugs.
According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B) , C++
allows any arbitrary return type, so this is standard compliant.
This could be re-assessed if/when we have an actual need for a behavior more
akin to that of the C++ STL, for now this PR simply changes a handful of
cases which were inconsistent with the rest of the codebase (`void` return
type was already the most common case prior to this commit).
2021-11-30 16:26:29 +01:00
TechnoPorg
acb90ed020
Don't obtain a reference to a subwindow
...
Fixes the wrong location being accessed after changing the order of embedded windows.
This commit also removes an unused variable.
2021-11-29 16:52:19 -07:00
ator-dev
8c2b7ea537
Prevent hidden tab close buttons from intercepting input [4.0]
2021-11-29 20:25:42 +00:00
Rémi Verschelde
9c116fcf0a
Merge pull request #55377 from RedHeadphone/patch-1
2021-11-29 16:24:14 +01:00
Hugo Locurcio
1b59818fb3
Remove redundant SpriteBase3D opacity
property
...
The `opacity` property is superseded by the GeometryInstance3D
`transparency` property. It works the opposite way (0.0 is opaque,
1.0 is fully transparent), but provides the same behavior in a more
universal manner.
2021-11-29 16:13:55 +01:00
Rémi Verschelde
e4a7ee0da9
Merge pull request #55437 from KoBeWi/show_tooltips_only_when_node_is_not_paused_and_when_it's_paused_don't_show_master_edition
2021-11-29 15:40:54 +01:00
Rémi Verschelde
cae5615a22
Merge pull request #55417 from ekumlin/issue-54856
2021-11-29 14:46:01 +01:00
Rémi Verschelde
d2ac4bb48e
Merge pull request #55052 from RPicster/master-particles-visibility-rect
2021-11-29 14:30:58 +01:00
kobewi
dc5f6ac4cf
Don't show tooltips for paused controls
2021-11-29 13:23:28 +01:00
Rémi Verschelde
89a4ab6c11
Merge pull request #48717 from Faless/debugger/4.x_custom_res_fix
2021-11-29 13:13:13 +01:00
Raffaele Picca
37cfa56db3
Visibility rect only shown when a GPUParticle2D is selected to reduce visual clutter in scenes with a lot of Particle nodes.
2021-11-28 19:42:42 +01:00
Red Headphone
8a6c6d5329
progress_offset now added to reference cross draw function
2021-11-28 17:59:00 +05:30
Silc 'Tokage' Renew
0569930280
Fixed PlaybackData in AnimationPlayer
2021-11-27 07:53:48 +09:00
Hugo Locurcio
3135c6f03e
Emit node configuration warnings for GeometryInstance3D distance fade
...
The visibility range begin/end margin properties must be set above 0.0
for the fade transition to be visible.
2021-11-26 21:46:32 +01:00
Yuri Roubinsky
93bb34cfb4
Prevent crash when passing empty array to MeshEmitter
2021-11-26 16:07:09 +03:00
Rémi Verschelde
3a0a935fcc
Merge pull request #54345 from floppyhammer/fix-circular-texture-progress
...
Fix nine patch of circular TextureProgressBar
2021-11-26 08:23:45 +01:00
Raffaele Picca
459e2a4b6f
Fixed texture animation speed when using random lifetime ( Particle2D gpu + cpu) as mentioned here: https://github.com/godotengine/godot/issues/54993
2021-11-26 01:12:23 +01:00
Hugo Locurcio
4e593b3e9a
Fix VoxelGIData dynamic range property being treated as integer
...
Floating-point values are accepted as dynamic range settings.
This also clamps the lowest value to 1.0, as there's no practical
use case for going below 1.0 (it introduces clipping without
improving precision).
2021-11-26 00:47:31 +01:00
Rémi Verschelde
1b89296fad
Merge pull request #55227 from ator-dev/fix-code-folding
2021-11-25 22:21:46 +01:00
Max Hilbrunner
a6a2e0feb9
Merge pull request #52387 from Calinou/node-rename-path-changed-notification
...
Rename Node's `NOTIFICATION_PATH_CHANGED` to `NOTIFICATION_PATH_RENAMED`
2021-11-25 17:47:44 +01:00
ator-dev
bac0a035c9
Fix code folding when end of block is unindented delimiter
2021-11-24 22:43:06 +00:00
Rémi Verschelde
547c270777
Merge pull request #51679 from Je06jm/fsr
...
AMD FidelityFX Super Resolution
2021-11-24 22:34:48 +01:00
Lightning_A
e078f970db
Rename remove()
to remove_at()
when removing by index
2021-11-23 18:58:57 -07:00
Je06jm
20deb0917d
Implemented AMD's FSR as a computer shader for upscaling 3D scenes
2021-11-23 14:16:03 -07:00
Camille Mohr-Daurat
c6022ddcf3
Merge pull request #55254 from fabriceci/fix-horizontal-velocity-being-always-reset-on-wall
...
Fix horizontal velocity being always reset when the body hit a wall in 3D
2021-11-23 11:22:17 -07:00
kobewi
4682f22293
Improve various texts
2021-11-23 12:20:57 +01:00
fabriceci
ed9b18be94
Fix horizontal velocity being always reset when the body hit a wall in 3d
2021-11-23 11:29:29 +01:00
Camille Mohr-Daurat
66ba19a435
Merge pull request #55202 from fabriceci/fix-wall-acceleration-in-3d
...
Fix wall acceleration in move and slide (3D)
2021-11-22 08:27:56 -07:00
Rémi Verschelde
76aa1d0a43
Merge pull request #55151 from Chaosus/control_reset_size
2021-11-22 16:22:57 +01:00
Camille Mohr-Daurat
8daf0cc49c
Merge pull request #55216 from fabriceci/fix-body-stuck-complex-scenario-3d
...
Fix CharacterBody3D stuck in some advanced scenario
2021-11-22 08:16:16 -07:00
Yuri Roubinsky
eabf8f5edf
Added reset_size
method to Control
and Window
classes
2021-11-22 16:55:21 +03:00
fabriceci
a86d73ef3b
Fix body stuck in some 3d advanced scenario
2021-11-22 13:36:51 +01:00
Yuri Sizov
e85e6ec7fc
Add methods to get position from column and line in TextEdit
2021-11-22 15:13:13 +03:00
Rémi Verschelde
70d530029a
Merge pull request #55171 from dalexeev/font-data-set-fixed-size
2021-11-22 12:23:41 +01:00
Rémi Verschelde
78dbe4e3e4
Merge pull request #54339 from ConteZero/line_edit_drag_and_drop
2021-11-22 12:20:01 +01:00
Rémi Verschelde
a387094c25
Merge pull request #55174 from clayjohn/Sky-SRGB
2021-11-22 12:19:20 +01:00
Rémi Verschelde
ed3af70b11
Merge pull request #55170 from Razoric480/raz/cast-handle
2021-11-22 11:53:28 +01:00
clayjohn
7ba555dada
Convert PhysicalSkyMaterial colors to SRGB
2021-11-21 12:26:29 -08:00
fabriceci
b738af86da
Fix wall acceleration in move and slide (3D)
2021-11-21 17:09:49 +01:00
Danil Alexeev
753d677343
Expose FontData::{set,get}_fixed_size
methods
2021-11-20 20:47:01 +03:00
Francois Belair
2e6e3a8ed7
Change cast of int to num to int static cast
2021-11-20 11:58:55 -05:00
Hugo Locurcio
6c0b55acad
Fix ProceduralSkyMaterial colors due to double sRGB -> linear conversion
2021-11-20 17:26:06 +01:00
fabriceci
3a4debfa59
Scales the horizontal velocity according to the wall slope in 2D
2021-11-19 14:09:17 +01:00
Hugo Locurcio
652fd9ffcc
Remove outdated comments related to the 20-layer editor limitation
...
All 32 layers are now exposed in the editor.
2021-11-18 23:02:40 +01:00
Rémi Verschelde
395558c021
Merge pull request #54462 from Paulb23/the-last-hidden-line
2021-11-18 15:56:06 +01:00
Rémi Verschelde
d087e1c413
Merge pull request #55082 from Chaosus/vs_mesh_emitter
2021-11-18 15:16:38 +01:00
Rémi Verschelde
bae15cb90e
Merge pull request #53602 from KoBeWi/mountain_range
2021-11-18 13:02:02 +01:00
Yuri Roubinsky
0270144644
Enchance VisualShaderNodeMeshEmitter
, add more ports and fix bugs
2021-11-18 14:02:15 +03:00
Eric
7257bb6ad0
Fix condition on 'jump to limits' logic
...
This is a fix for: #54856
2021-11-17 21:12:34 -08:00
Paulb23
2a302f7097
Fix TextEdit mouse interactions when the last line is hidden
2021-11-17 18:29:19 +00:00
Yuri Roubinsky
8be89357ce
Fix ColorPicker
inverted input on color circle
2021-11-17 20:33:17 +03:00
Rémi Verschelde
0ef092a138
Merge pull request #55056 from RandomShaper/fix_crash_instantiate
2021-11-17 15:54:38 +01:00
Pedro J. Estébanez
78ffc2a987
Fix crash when loading scene instance after node vanished from parent
2021-11-17 14:00:23 +01:00
Rémi Verschelde
08eb8c9fc3
Merge pull request #55018 from kodiwills/add-error-macros-for-set_modification_count
...
add negative number validation for set_modification_count
2021-11-17 08:48:19 +01:00
Kodi
bdcd98c6ce
add input validation for set_modification_count
...
update error macros for set_modification_count
2021-11-16 19:09:01 -05:00
Hugo Locurcio
8fb7e622a6
Rename built-in SGN()
macro to SIGN()
...
This matches the name of the GDScript function (except it's uppercase
here).
2021-11-16 20:40:49 +01:00
Nathan Lovato
a5d0a74b65
Make bezier handle type a property of keyframes, update interface
...
- Replaced unused code related to old close icon with a button
- Add bezier handle options to right-click menu
- Remove mirror handle mode, only keep balanced
- Update animation reference
2021-11-16 09:26:35 -05:00
Rémi Verschelde
098e3cf8f7
Fix style issue after #54148
2021-11-16 14:27:44 +01:00