Commit Graph

53958 Commits

Author SHA1 Message Date
Samuele Panzeri
59f04e16b8 Support long path in file access on windows
Changed windows file access file to check for path length and use the \\?\ long format when needed
2023-05-05 10:04:39 +02:00
Manik Sharma
3ce0ebb242 Make environment energy adjustable as a float in 3D editor's preview environment 2023-05-05 09:01:46 +05:30
Clay John
d023e51363
Merge pull request #76722 from HotHead007/master
Make sun energy adjustable as a float in the 3D editor's preview sun
2023-05-04 13:29:31 -07:00
Johan Aires Rastén
8452e6cdb3 Add SPECULAR_AMOUNT spatial light shader built-in
Light3D has a light_specular property which is used to set the
intensity of specular contributed by this light source, but it was
previously only used by the default material light shader, and not
possible to use in a custom light() shader.
2023-05-04 09:15:12 +02:00
Manik Sharma
5e1cb39101 Make sun energy adjustable as a float in the 3D editor's preview sun 2023-05-04 10:34:07 +05:30
Aaron Franke
740b0713a2
Fix small mistake in docs, "antecedents" -> "ancestors" 2023-05-03 21:23:28 -05:00
SilicDev
6fa4f71ca6 Reimplement String.erase 2023-05-04 00:52:35 +02:00
VolTer
c8e06fe838 Document TextServerDummy 2023-05-03 21:23:03 +02:00
Jason Yundt
a6dc35e5cf Streamline and centralize bug reporting guides
Before this change, there was three different bug reporting guides:

- [“Filing an issue on GitHub”][1]
- [“Reporting bugs”][2]
- [The issue template][3]

This commit:

1. makes sure that [the issue template][3] contains all of the same
   information that [“Filing an issue on GitHub”][1] and
   [“Reporting bugs”][2] did and
2. makes [“Reporting bugs”][2] simply tell users to fill out the
   template.

The goal of this change is to make reporting bugs easier. This change
accomplishes that goal by presenting bug reporters with all of the
information they need to know on the bug reporting page itself.

This commit partially implements this proposal:
<https://github.com/godotengine/godot-proposals/discussions/4083>

[1]: https://docs.godotengine.org/en/stable/community/contributing/ways_to_contribute.html#filing-an-issue-on-github
[2]: ./CONTRIBUTING.md#reporting-bugs
[3]: ./.github/ISSUE_TEMPLATE/bug_report.yml
2023-05-03 14:53:49 -04:00
Max Hilbrunner
8c729f0f34
Merge pull request #76646 from KoBeWi/acoording_to_screen
Some clarifications on screen-space coordinates
2023-05-03 20:45:40 +02:00
Max Hilbrunner
ba32279cd0
Merge pull request #76550 from RandomShaper/vk_gi_take_2
Fix voxel GI issues (2)
2023-05-03 20:24:05 +02:00
Max Hilbrunner
c14f8701a7
Merge pull request #76557 from clayjohn/NoiseTexture3D
Fix compatibility breakage from adding NoiseTexture3D
2023-05-03 20:17:03 +02:00
kobewi
33b9be27d3 Some clarifications on screen-space coordinates 2023-05-03 20:15:49 +02:00
Max Hilbrunner
dbd615a28e
Merge pull request #76692 from clayjohn/Mobile-sky-dark
Use proper UV in cubemap downsampler raster (Fixes reflections in mobile renderer)
2023-05-03 20:15:41 +02:00
Max Hilbrunner
1f104b4a60
Merge pull request #76669 from smix8/fix_create_from_blend_shape_4.x
Fix SurfaceTool::create_from_blend_shape()
2023-05-03 20:11:08 +02:00
Max Hilbrunner
2816825e44
Merge pull request #76555 from Tetane/master
Fix 2D shader preview draws over uniform
2023-05-03 20:07:00 +02:00
Patrick
e35bbd76a3 Fix Rotation Issue with NODE_POSITION_VIEW Visual Shader Node 2023-05-03 19:59:43 +02:00
Clay John
f0080279d3
Merge pull request #76609 from HolonProduction/save-branch-as-scene-unique-name
Preserve scene unique names when saving branch as scene.
2023-05-03 10:40:30 -07:00
David Snopek
61f03daeeb Explicitly mark inherited export mode when making a dedicated server export 2023-05-03 09:47:33 -05:00
QbieShay
cbc99ee460
Merge pull request #76683 from brno32/fastnoise-lite-frequency-hint
adjusting step size for fastnoise frequency hint
2023-05-03 13:55:07 +02:00
Pedro J. Estébanez
c58e50adcc Fix additional cases of breakage of rendering effects 2023-05-03 11:57:54 +02:00
clayjohn
fb77021559 Use proper UV in cubemap downsampler raster
This removes bias in cubemap downsampling shader that resulted in the bottom of cubemaps being over represented
2023-05-03 01:06:34 -07:00
Ricardo Buring
3f17a81f87 Add debug collision shape to CSG with collision 2023-05-03 08:41:37 +02:00
VolTer
9c7673b2ab Add documentation for TubeTrailMesh and RibbonTrailMesh 2023-05-03 06:21:20 +02:00
mashumafi
a93a2e519d Wait for navigation baking to finish before destruction 2023-05-02 21:05:47 -04:00
UltraBIF
8106d33d0f Fixed various typos across the docs 2023-05-02 18:24:32 -04:00
Alex Drozd
2b053e4e4c adjusting step size for fastnoise frequency hint 2023-05-02 23:25:36 +02:00
Clay John
2a0aef5f09
Merge pull request #68033 from MewPurPur/auto-light3d-warning-updates
Show Light3D's scale warning immediately when a user edits the property.
2023-05-02 14:08:08 -07:00
Clay John
68724aa6ed
Merge pull request #76598 from Calinou/doc-particleprocessmaterial-turbulence-cost
Document high performance cost of turbulence in ParticleProcessMaterial
2023-05-02 13:40:25 -07:00
Clay John
4a208699e8
Merge pull request #76597 from Tefatika/fix/tefatika/76578-tab-container-all_tab_in_front-error
Fixed error messages when setting all_tab_in_front of TabContainer
2023-05-02 12:28:53 -07:00
smix8
2dbc5d95eb Fix SurfaceTool::create_from_blend_shape()
Fixes SurfaceTool::create_from_blend_shape().
2023-05-02 08:48:48 +02:00
Chase Warrington
46e06ee1e6 Propogate previously unused NOTIFICATION_WORLD_2D_CHANGED, make CanvasItem/CollisionObject2D use it 2023-05-01 18:26:55 -04:00
kobewi
24224381ec Add proper snapping to tile polygon editor 2023-05-01 21:36:33 +02:00
Fredia Huya-Kouadio
ee86505136
Merge pull request #76640 from shendo/android_plugin_crash_on_emit_signal
[Android] Fix dynamic Variant params stack constructions in JNI callbacks
2023-05-01 11:11:43 -07:00
Florian Kothmeier
68b9fa71a0
Implement vertical icon alignment for buttons 2023-05-01 19:51:47 +02:00
Koyper
bcce315a9a Update @GDScript.xml range docs to iterate backwards. 2023-05-01 11:03:48 -05:00
shendo
92ade92fce [Android] Fix dynamic Variant params stack constructions in JNI callbacks
Emitting signals with params from Android plugins could crash due to
object assignment with uninitialised mem.  Instead, use 'memnew_placement'
to construct into stack addresses.  Make similar JNI callbacks consistent.

Fixes #75754.
2023-05-01 16:31:23 +10:00
VolTer
818d57b5b4 Light3D show scaling warning immediately 2023-05-01 02:55:17 +02:00
VolTer
6b84e258d2 Use String.repeat() in more places 2023-05-01 02:27:46 +02:00
VolTer
9d77caaf95 Add an example for how to use AudioStreamGenerator 2023-04-30 20:18:49 +02:00
Juan Linietsky
1c93606e47 Add ValidatedCall to MethodBind
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.

NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
2023-04-30 20:01:26 +02:00
HolonProduction
7814dedc91 Preserve scene unique names when saving branch as scene. 2023-04-30 13:33:43 +02:00
Tefatika
abd894daf7
Fixed error messages when setting all_tab_in_front of TabContainer
Some signal handlers weren't unregistered when removing the wrapped
child TabBar, which resulted in errors printed when the TabBar was
removed and added again when the flag was updated
2023-04-30 08:17:21 +02:00
Hugo Locurcio
f10759489d
Document high performance cost of turbulence in ParticleProcessMaterial
- Mention that GPUParticlesAttractorVectorField3D can be used as an
  alternative to turbulence in 3D.
2023-04-30 00:38:26 +02:00
Marius Hanl
29358daa4d Expose horizontal/vertical custom_step as editor property for the ScrollContainer 2023-04-29 23:56:59 +02:00
stmSi
83626ab90d Added note to used set_deferred while setting scroll values in _ready function. 2023-04-29 23:16:38 +06:30
ChibiDenDen
5956aa1a6a Fix gles3 rendering on android studio emulator
Use a temporary framebuffer for screen copy from rendertarget to screen.

This solves GLES3 rendering in android studio emulator (before this change there is just a black screen)

Based on discussion in:
https://github.com/godotengine/godot/issues/74828
2023-04-29 16:21:54 +03:00
Black-Cat
d710af2e97
Fix precision in physics supports generation
Lower threshold for dot was (1.0 - threshold) which is incorrect.
Patch changes it to correct version sqrt(1.0 - threshold * threshold)

Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com>
2023-04-29 12:12:10 +01:00
Haoyu Qiu
d24ee551ec Allow EditorInspector to change its property name style when necessary
Previously, an EditorInspector's property name can only be set from
outside. Inspectors used for settings needs to respond to changes in
editor settings. So a few boilerplate code is almost always needed,
including watching for a certain editor setting in `_notification()`.

This commit adds a `set_use_settings_style()` function to tell the
inspector to watch for editor settings changes on its own.
2023-04-29 10:51:00 +08:00
clayjohn
ccff24597f Fix compatibility breakage from adding NoiseTexture3D
Also optimize some of the Noise methods
2023-04-28 18:49:09 -07:00