Commit Graph

46137 Commits

Author SHA1 Message Date
VolTer 2e6108d181 Improve binary operator highlighting 2022-08-14 15:49:07 +02:00
Hugo Locurcio 39ba2b335a
Document run-time SceneTree debug property changes not working correctly 2022-08-14 15:06:29 +02:00
Yuri Rubinsky 22df2c527b Implement coloring for disabled branches in the shader editor 2022-08-14 13:57:26 +03:00
Omar El Sheikh f1fda97c33 Implement Octahedral on OpenGL3 2022-08-13 10:20:14 -07:00
Hugo Locurcio f6417a4ead
Hide Dummy text driver in the Project Settings as it makes editor unusable
This also improves documentation related to driver project settings.
2022-08-13 19:05:46 +02: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
Patrick 2b93f44739 small typo in TextServer, changes bitwise to logical which can be faster in some cases via "short circuiting" 2022-08-13 07:44:41 -06:00
Micky fe86c5cba5 Rename CanvasItem.`follow_viewport_enable` to end with "d"
For consistency with the rest of the exposed booleans in Godot
2022-08-13 13:00:45 +02:00
Micky 55dff09e93 Rename EditorPlugin.`*_PROPERTY_EDITOR_*` to `*_INSPECTOR_*`
The name "Inspector" has been adopted for years and is thus more familiar.
2022-08-13 12:59:03 +02:00
Micky b62d06fbed Rename Navigation's `neighbor_dist` to `neightbor_distance`
NavigationAgent2D/3D.`neighbor_dist` -> `neighbor_distance` (also affects setters and getters)

NavigationServer2D/3D.`agent_set_neighbor_dist()` -> `agent_set_neighbor_distance()`

Also changes their parameters' names.

Doesn't affect "Agent.neighborDist_" in Agent.h
2022-08-13 12:40:55 +02:00
Micky 953c78eaff Improve documentation of CanvasItem's draw logic 2022-08-13 01:46:19 +02:00
clayjohn 7d6287f616 Properly scale depth in bokeh_dof effect so that setting distance to blur effect is accurate again 2022-08-12 16:39:05 -06:00
clayjohn 65e0b266d1 Bind uniform buffer locations for lights even when no lights present to comply with strict webGL drivers 2022-08-12 15:23:01 -06:00
Yuri Rubinsky f2a6168414
Merge pull request #64310 from Chaosus/shader_texture_funcs 2022-08-12 21:28:22 +03:00
Andy Maloney 9b345e793a [doc] Use "param" instead of "code" to refer to parameters (8) 2022-08-12 14:00:25 -04:00
Yuri Rubinsky cf1bb3d83a
Merge pull request #64307 from Chaosus/shader_texture_proj_grad 2022-08-12 20:45:55 +03:00
Yuri Rubinsky e21aad968d Add `textureQueryLod/Levels` functions to the shader language 2022-08-12 20:44:57 +03: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
Andy Maloney d32803fdd6 [doc] Use "param" instead of "code" to refer to parameters (7) 2022-08-12 13:19:48 -04:00
Andy Maloney ea2192b99e [doc] Use "param" instead of "code" to refer to parameters (6) 2022-08-12 12:07:53 -04:00
Clay John 22bb15cde5
Merge pull request #64306 from RandomShaper/win_spawn_text
Fix jumbled error output when using Windows spawn fix
2022-08-12 09:52:12 -06:00
Yuri Sizov 29492f9084
Merge pull request #64285 from asmaloney/doc-params-4
[doc] Use "param" instead of "code" to refer to parameters (4)
2022-08-12 15:59:11 +03:00
Yuri Sizov 65a1d86c4f
Merge pull request #64196 from asmaloney/doc-params-3
[doc] Use "param" instead of "code" to refer to parameters #3
2022-08-12 15:29:58 +03: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
Yuri Rubinsky 7822fbc9e2 Add `textureProjGrad` function to the shader language 2022-08-12 12:01:37 +03:00
Ignacio Roldán Etcheverry f45f20285c Fix instance binding unreference callback regression
This was a regression from 4469144891

The callback should be called, not only be called when the refcount
reaches 0. For example, the C# callback needs to know when the
refcount reaches 1, in order to swap to a weak GC handle.
2022-08-12 08:43:53 +02:00
Pedro J. Estébanez 4a3cb14473 Fix jumbled error output when using Windows spawn fix 2022-08-12 08:01:56 +02:00
Hugo Locurcio 67d4015520
Merge pull request #64219 from Calinou/voxelgi-fix-ormmaterial3d 2022-08-12 00:16:39 +02:00
Hugo Locurcio ff9118d103
Merge pull request #64225 from Calinou/3d-scaling-bilinear-use-negative-mipmap-bias 2022-08-11 21:41:37 +02:00
Hugo Locurcio 126114cfda
Fix ORMMaterial3D not being taken into account by static VoxelGI 2022-08-11 21:39:05 +02:00
Clay John 368446de55
Merge pull request #63582 from KoBeWi/power_shader
Improvements to shader editor
2022-08-11 12:45:33 -06:00
Andy Maloney 1df86ecea5 [doc] Use "param" instead of "code" to refer to parameters (4) 2022-08-11 13:52:19 -04:00
Yuri Sizov ad247899ab
Merge pull request #64271 from KoBeWi/get_no_color
Optimize theme usage in editor log
2022-08-11 18:52:17 +03:00
Yuri Sizov 5aacac5853
Merge pull request #64164 from asmaloney/doc-params2
[doc] Use "param" instead of "code" to refer to parameters #2
2022-08-11 16:51:13 +03: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
Yuri Sizov 6c4fa12f82
Merge pull request #61328 from KoBeWi/recurring_theme
Add missing properties to default theme
2022-08-11 16:26:30 +03:00
Andy Maloney 2d54c36c3c [doc] Use "param" instead of "code" to refer to parameters 2022-08-11 16:13:29 +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
kobewi be0de927c7 Optimize theme usage in editor log 2022-08-11 12:48:43 +02:00
Haoyu Qiu 3369d090d9 Fix overlapping keying and remove button in Inspector 2022-08-11 18:00:34 +08: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 106b680501
Merge pull request #64239 from RandomShaper/ditch_platform_rc
Clean iOS platform config of long gone macro
2022-08-11 00:29:46 +02:00
Rémi Verschelde 44b88f2edf
Merge pull request #64246 from Xwdit/fix_inspector_document
Refix document not showing for gdscript properties in inspector since commit 77d3ac7
2022-08-11 00:28:54 +02:00
Rémi Verschelde 4a2d16af6f
Merge pull request #64237 from clayjohn/VRS-texture-create
Detect if VRS is supported when creating textures
2022-08-11 00:27:42 +02:00
Xwdit 39469fdd58 Fix document display in inspector for properties 2022-08-10 23:11:24 +02:00
Pedro J. Estébanez 8c2a577350 Clean iOS platform config of long gone macro 2022-08-10 21:42:49 +02:00
clayjohn 7c848ee591 Detect if VRS supported before creating default VRS texture 2022-08-10 13:27:19 -06:00