Paul Joannon
6bc0be16a5
Expose the collider RID in Raycast nodes
...
Create and expose the method `get_collider_rid` in `RayCast2D` and `Raycast3D`.
This method returns the `RID` of the first object that the ray intersects, or an empty `RID` if no object is intersecting the fay (i.e. `is_colliding` returns `false`).
2022-08-22 09:18:08 +02:00
Michael Alexsander
e298144a41
Fix ItemList
selection visual when the scrollbar visibility changes
2022-08-21 22:10:41 -03:00
kobewi
185b1a5bd3
Improve SplitContainer minimum size splitting
2022-08-21 03:30:11 +02:00
Aaron Franke
8893b2bdb4
Clean up mesh include code and comments
2022-08-20 13:24:40 -05:00
Omar El Sheikh
2425d798cd
Octahedral Normal Support for Sprite and Soft Body
...
Properly encode the normal and tangent vectors with octahedral
compression
2022-08-20 10:01:46 -07:00
Aaron Franke
7be49cb5e0
Clean up include guards in 3D skeleton modification code
2022-08-19 19:18:47 -05:00
clayjohn
bbbcdd725a
Remove requirement to have vertex positions when creating a mesh. Meshes can now be constructed from an index buffer alone
2022-08-19 14:50:12 -06:00
bruvzg
8f2083e6c0
Fix MenuBar minimum size adding unnecessary extra spacing after the last item.
2022-08-19 22:04:58 +03:00
Yuri Sizov
e08feee8a6
Replace meta properties with regular properties in Control
2022-08-19 20:52:01 +03:00
Yuri Sizov
b35ff86c17
Merge pull request #64612 from bruvzg/fix_shortcuts
...
Fix MenuBar not processing shortcuts.
2022-08-19 20:43:17 +03:00
Yuri Sizov
469c18152f
Merge pull request #64592 from mhilbrunner/move-fast-break-things
...
Unexpose VelocityTracker3D
2022-08-19 20:43:02 +03:00
Yuri Sizov
96ba6e8cf9
Merge pull request #64595 from mhilbrunner/ergo-proxy
...
Unexpose ProxyTexture
2022-08-19 20:42:27 +03:00
Yuri Sizov
7895a66cf2
Merge pull request #64334 from YuriSizov/core-bind-property-revert-methods
...
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-19 20:41:41 +03:00
bruvzg
2040087898
Fix MenuBar not processing shortcuts.
2022-08-19 16:49:50 +03:00
Silc Renew
dded7c72c1
Make cubic_interpolate()
consider key time in animation
2022-08-19 14:48:37 +09:00
Max Hilbrunner
92bdeb7eb5
Unexpose ProxyTexture
2022-08-19 03:01:47 +02:00
Max Hilbrunner
da567cb1f9
Unexpose VelocityTracker3D
2022-08-19 02:28:24 +02:00
Max Hilbrunner
420a8c888e
Merge pull request #63950 from bruvzg/menu_bar3
...
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-19 01:24:24 +02:00
Clay John
17ca5b913c
Merge pull request #64156 from bruvzg/sys_msdf
...
Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files.
2022-08-18 14:58:57 -06:00
Clay John
903a3a641e
Merge pull request #64315 from Daylily-Zeleen/fixed-GraphEdit-signal-argument-type
...
Fixed GraphEdit signal argument type
2022-08-18 14:50:33 -06:00
Clay John
547e64d226
Merge pull request #63999 from QbieShay/qbie/vs-qol
...
Quality of life visual shaders updates
2022-08-18 14:47:23 -06:00
Clay John
0a313b4b83
Merge pull request #64449 from Calinou/label3d-hide-ineffective-properties
...
Hide properties that have no effect in Label3D inspector
2022-08-18 14:31:19 -06:00
bruvzg
8c56a7416b
Implement MenuBar
control to wrap PopupMenu
s or native menu, use native menu for editor.
2022-08-18 22:25:44 +03:00
RedMser
c25b8f2876
Remove unintentional PROPERTY_USAGE_INTERNAL
...
The flag only matters for property definition,
but was also used in _validate_property a lot.
2022-08-18 16:25:00 +02:00
RedMser
83f2723893
Fix some property validation not been refactored
2022-08-18 16:24:15 +02:00
Silc Renew
b27fe6452d
add init bone poses
2022-08-18 18:41:37 +09:00
Silc Renew
2c2e1a7736
added Curve in animation node transition for better control over cros…
...
Co-authored-by: jeronimo-schreyer <jeronimo.schreyer@gmail.com>
2022-08-18 08:17:30 +09:00
Silc Renew
b31115cdc1
Add collision weight to PhysicsBody for penetrations must be avoided
...
Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2022-08-18 08:10:31 +09:00
Yuri Sizov
980f5f32f4
Make property_*_revert
methods multilevel and expose them for scripting
2022-08-18 00:03:53 +03:00
kobewi
7305390fdc
Add a method to get TileData from a cell
2022-08-16 15:04:39 +02:00
danboo
14ddeb8e44
break out of font search loop after first match
...
The documentation for the font_names property indicates:
Array of font family names to search, first matching font found is used.
2022-08-15 20:58:48 -08:00
Yuri Sizov
fff0e7b8e2
Clarify the Line2D, Curve2D/3D documentation and fix parameter names
2022-08-15 21:38:14 +03:00
Hugo Locurcio
0f95db6786
Hide properties that have no effect in Label3D inspector
...
- Use the disabled GI mode as Label3D can't contribute to GI in any way.
- Improve Label3D class documentation.
2022-08-15 18:41:32 +02:00
Yuri Sizov
4426049c64
Merge pull request #64314 from YuriSizov/control-theme-item-cache
...
Add dumb theme item cache to `Control`
2022-08-15 16:35:59 +03:00
Yuri Rubinsky
22df2c527b
Implement coloring for disabled branches in the shader editor
2022-08-14 13:57:26 +03:00
Omar El Sheikh
78881b3cc3
Octahedral Normal/Tangent Compression
...
Implementation of Octahedral normal compression into Godot 4.0
2022-08-13 08:09:32 -07:00
QbieShay
ecbeb8de1b
Improve visual shader defaults for quality of life
...
- multiply part of addmultiply defaults to 1
- curvetexture's repeat is turned off
- vectors into float takes first component instead of average
2022-08-12 19:39:56 +02:00
daylilyzeleen
64e33d9ed1
fixed GraphEdit signal argument type
2022-08-12 20:18:36 +08:00
Rindbee
4a3a15c304
Fix case where h_separation
might not work in Button
...
This patch mainly solves two things:
1. The typo of `h_separation`;
2. Negative values of `h_separation` will be treated as `0` when used, to prevent the button's minimum `width` from being reduced by `h_separation`.
2022-08-12 19:57:08 +08:00
Yuri Sizov
9f88300007
Add dumb theme item cache to Control
2022-08-12 14:36:06 +03:00
Hugo Locurcio
126114cfda
Fix ORMMaterial3D not being taken into account by static VoxelGI
2022-08-11 21:39:05 +02:00
Yuri Sizov
f3e849edf4
Merge pull request #64267 from bruvzg/le_secret
...
Change `LineEdit` default secret character from "*" to "•".
2022-08-11 16:28:22 +03:00
kobewi
e06cd2742f
Add missing properties to default theme
2022-08-11 14:15:04 +02:00
bruvzg
93b39fad2f
Change LineEdit secret character from "*" to "•".
2022-08-11 13:55:11 +03:00
Rémi Verschelde
e9e9e92e48
Merge pull request #64147 from smix8/fix_navigationregion3d_debug_doublerender_4.x
...
Fix NavigationRegion3D debug mesh rendering twice in Editor
2022-08-11 09:42:38 +02:00
Rémi Verschelde
edf07ee7a6
Merge pull request #64160 from Calinou/tweak-label3d-defaults
2022-08-10 11:48:39 +02:00
Silc Renew
7331295523
add get_depth() to KinematicCollision3D as same of 2D
2022-08-10 10:33:58 +09:00
Hugo Locurcio
a13d8578e0
Tweak Label3D defaults for better readability
...
- Increase font size and decrease pixel size.
- The font is rendered at the same physical size, but is more detailed,
which is visible when the camera is up close.
- Add an outline to improve readability on mixed-color backgrounds.
- The outline is fairly thick to ensure it doesn't get too grainy
at a distance (without requiring MSDF or mipmaps on the default
project font).
2022-08-09 16:26:28 +02:00
bruvzg
bf1cc6326a
Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files.
2022-08-09 14:21:09 +03:00
smix8
0e4c31ce57
Fix NavigationRegion3D debug mesh rendering twice in Editor
...
Fixes double rendering of NavigationRegion3D debug mesh due to both 3DGizmo and runtime debug rendering the mesh at the same time.
2022-08-09 11:12:03 +02:00
Silc Renew
f70dfec535
improve animation track optimizer algorithm
2022-08-09 09:18:45 +09:00
Rémi Verschelde
d9d5990c51
Merge pull request #64034 from DarkKilauea/fix-nav-region-gizmo
2022-08-08 22:37:00 +02:00
Yuri Sizov
1362bc22bd
Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript
2022-08-08 16:36:01 +03:00
Rémi Verschelde
a8a4982de2
Merge pull request #63925 from YeldhamDev/window_fixes
2022-08-08 10:34:08 +02:00
Rémi Verschelde
159664bd93
Merge pull request #64093 from nathanfranke/shader-capitalize
2022-08-08 10:18:57 +02:00
Rémi Verschelde
bc81c02fe1
Merge pull request #62571 from Calinou/gpuparticlescollisionsdf3d-add-bake-mask
2022-08-08 10:18:11 +02:00
Nathan Franke
3d7d4ccada
capitalize shader uniform groups
2022-08-08 02:21:04 -05:00
Rémi Verschelde
b712727515
Merge pull request #64068 from DarkKilauea/fix-region-travel-cost
2022-08-08 08:55:02 +02:00
Josh Jones
8c324132d0
Fix typo when setting NavigationRegion travel_cost
2022-08-07 10:40:33 -07:00
Rémi Verschelde
f754dd20be
Merge pull request #62454 from Geometror/reflect-refract-vec2-vec4
...
Allow for vec2/vec4 to be used in reflect and refract
2022-08-07 19:16:05 +02:00
Hendrik Brucker
b8d5f4bdd5
Allow vec2 and vec4 for reflect and refract
2022-08-07 18:03:16 +02:00
Hugo Locurcio
baaa7503c7
Add a shadow opacity property to Light3D
...
This can be used to make shadows translucent for a specific light.
The light distance fade system also uses this to smoothly fade the shadow
when the light fade transition distance is greater than 0.
2022-08-07 11:06:32 +02:00
Josh Jones
92c40bcf32
Fix NavigationRegion3D gizmo's odd visual behavior
2022-08-06 23:54:57 -07:00
Rémi Verschelde
21f6916ffc
Merge pull request #60843 from hoontee/CSG3
...
Add `TorusMesh`
2022-08-06 21:01:51 +02:00
Rémi Verschelde
d100c2d59f
Merge pull request #63776 from fire-forge/shapecast2d
...
Add ShapeCast2D editor handle and improve debug drawing
2022-08-06 00:27:41 +02:00
Rémi Verschelde
3249b7d40d
Merge pull request #63859 from Rindbee/fix-hue-slider-incorrectly-rotated
...
Fix Hue slider incorrectly rotated 90 degrees in ColorPicker
2022-08-06 00:25:55 +02:00
Rémi Verschelde
99aa97949f
Merge pull request #63958 from hakro/fix-control-animation-keys
...
Remove rect_ prefix from control properties when keyframing
2022-08-06 00:17:37 +02:00
Hakim
60677c4e95
Remove rect_ prefix from control properties when keyframing
2022-08-05 16:04:51 +02:00
Yuri Sizov
62d14ca22d
Round icon position and size in buttons to make them look sharper
2022-08-05 15:48:45 +03:00
Hugo Locurcio
e919e51a6b
Use interleaved gradient noise for distance fade
...
This provides better visuals and performance compared to the previous
ordered dither.
2022-08-05 11:35:34 +02:00
Michael Alexsander
2b86c458bf
Fix some bugs with Window
s
2022-08-05 02:25:15 -03:00
Rémi Verschelde
25915cdd0e
Merge pull request #59844 from Calinou/rename-shader-param-methods
2022-08-05 02:52:06 +02:00
Rémi Verschelde
e36f324bdf
Merge pull request #63922 from rburing/fix_softbody_normals
2022-08-05 02:50:32 +02:00
Hugo Locurcio
db22b7ded0
Rename shader parameter uniform setter/getter methods for consistency
...
`shader_uniform` is now consistenly used across both per-shader
and per-instance shader uniform methods. This makes methods easier
to find in the class reference when looking for them.
2022-08-04 23:17:06 +02:00
Ricardo Buring
74f41f8560
Fix SoftDynamicBody3D normals
...
Store normal vector in A2B10G10R10 format.
2022-08-04 23:10:04 +02:00
Rémi Verschelde
daa1220a86
Merge pull request #61856 from iwek7/label_overflowing_text
2022-08-04 22:03:29 +02:00
Rémi Verschelde
f6431db9a5
Merge pull request #63852 from fire-forge/default-colors
2022-08-04 22:03:10 +02:00
hoontee
21b9b117be
Add TorusMesh
2022-08-04 13:45:54 -05:00
Rémi Verschelde
49ac05550e
Merge pull request #63838 from tefusion/fix-arrange-nodes-freeze
...
Fix GraphEdit::arange_nodes causing a freeze when cycle in Graph
2022-08-04 19:36:22 +02:00
iwek
efcdfc2332
Fix issue with overlaping text label text
2022-08-04 19:19:33 +02:00
Rémi Verschelde
e9f8b2d190
Merge pull request #58536 from winterpixelgames/feature/virtual-keyboard-types
...
Add support for multiple virtual keyboard types
2022-08-04 19:11:40 +02:00
Rémi Verschelde
84acfd69d7
Merge pull request #54792 from EIRTeam/independent_arrows
2022-08-04 18:09:29 +02:00
tefusion
f1c19e058c
Fix GraphEdit::arange_nodes causing a freeze
...
When a Graph contains cycles, e.g. 1->2->3->1 _layering would end
up in an infinite loop since IS_SUBSET would never be true.
By keeping check of the size of z, which contains the already layered
nodes, one can detect a freeze (since it should change after
current_layer increases. If it doesn't "u" didn't change and q and u
will never be equal resulting in a freeze/infinite while loop).
If a freeze happens warn the user and put all the nodes part of the
cycle (leftover in p) to the first layer which will end up in them
being listed top to bottom.
2022-08-04 17:13:56 +02:00
Brian Semrau
103c0fa6e6
Add support for multiple virtual keyboard types
2022-08-04 10:41:33 -04:00
Jóhannes Gunnar Þorsteinsson
ba35cff303
Independent spinbox arrow step precision
...
Rebased by EIREXE
This work has been kindly sponsored by IMVU & EIRTeam.
2022-08-04 14:48:46 +02:00
derammo
4e6c8e00fc
fixed Tree UI control bug corrupting child cache
2022-08-04 08:24:51 -04:00
Rémi Verschelde
40eafcfab4
Merge pull request #49947 from Calinou/standardmaterial3d-tweak-default-height-properties
2022-08-04 11:31:32 +02:00
Hugo Locurcio
c6cca43419
Tweak StandardMaterial3D's default height properties
...
- Set the default height scale to 5.0 and multiply it by 0.01 in the shader.
- Document heightmap properties in BaseMaterial3D class reference.
2022-08-04 09:57:55 +02:00
Rémi Verschelde
cf46ef42a9
Merge pull request #62230 from Calinou/sdfgi-cell-size-remove-linked-properties
...
Don't store the values of linked SDFGI properties in Environment
2022-08-04 09:22:04 +02:00
Rémi Verschelde
79ff8e8ea1
Merge pull request #63890 from Calinou/camera3d-size-allow-precise-adjustments
...
Allow more precise adjustments of orthogonal/frustum size in Camera3D
2022-08-04 07:38:05 +02:00
Rindbee
7869ea236e
Fix Hue slider incorrectly rotated 90 degrees in ColorPicker
2022-08-04 11:30:03 +08:00
Hugo Locurcio
1f6e081db7
Don't store the values of linked SDFGI properties in Environment
2022-08-04 02:24:28 +02:00
Hugo Locurcio
e1ae87cf3d
Allow more precise adjustments of orthogonal/frustum size in Camera3D
2022-08-03 23:51:08 +02:00
Rémi Verschelde
3ea9a7daea
Merge pull request #63791 from V-Sekai/mend-ok-hsl-washout
2022-08-03 16:06:53 +02:00
Rémi Verschelde
e38118c960
Merge pull request #59303 from KoBeWi/check_out_my_very_long_button
2022-08-03 15:06:54 +02:00
Rémi Verschelde
4ac993ffe2
Merge pull request #63348 from Rindbee/fix-toggling-after-scrolling-causes-blank
2022-08-03 14:42:19 +02:00
Rémi Verschelde
2c0c76c415
Merge pull request #61851 from Calinou/particles-default-global-coordinates
2022-08-03 11:38:23 +02:00
Rémi Verschelde
6678921914
Merge pull request #63820 from nathanfranke/templates-in-header
2022-08-03 11:37:08 +02:00
Rémi Verschelde
80ddee06e6
Merge pull request #56451 from Calinou/rootmotionview-no-replace-with-node
...
Don't replace RootMotionView with Node in a running project
2022-08-03 08:03:09 +02:00
Hugo Locurcio
813bfe00f3
Don't replace RootMotionView with Node in a running project
...
This behavior was inconsistent with other editor-only nodes such as
Position3D, Position2D and ReferenceRect. It also caused issues when
a script extended RootMotionView as it ceased to work when the project
was run.
2022-08-03 02:48:02 +02:00