Commit Graph

44908 Commits

Author SHA1 Message Date
cdemirer
52781535a3 Check for parameters shadowing class members 2022-07-18 00:28:27 +03:00
Hugo Locurcio
976d12c3c1
Add padding for code blocks in the editor help
This improves their appearance, making them look closer to code blocks
in the online manual.
2022-07-17 22:55:20 +02:00
Rémi Verschelde
d942532710
Merge pull request #63119 from RandomShaper/fix_reset_track_update 2022-07-17 20:20:09 +02:00
Pedro J. Estébanez
b46a2aaa4b Create reset tracks with the right update mode 2022-07-17 19:51:15 +02:00
Aaron Franke
97df94ae90
Update comments in vulkan_context.cpp
Co-authored-by: Quinn Leavitt <59779489+QuinnLeavitt@users.noreply.github.com>
2022-07-17 12:45:17 -05:00
Rémi Verschelde
3ae61590e1
Merge pull request #63087 from akien-mga/scons-num_jobs-default-max 2022-07-17 15:43:56 +02:00
Rémi Verschelde
87ca6a67ff
Merge pull request #42325 from zak-grumbles/fix_camera_current_doc 2022-07-17 13:42:44 +02:00
Rémi Verschelde
ea21122575 SCons: Default num_jobs to max CPUs minus 1 if not specified
This doesn't change the behavior when `--jobs`/`-j` is specified as a
command-line argument or in `SCONSFLAGS`.

The SCons hack used to know if `num_jobs` was set by the user is derived
from the MongoDB setup.

We use `os.cpu_count()` for portability (available since Python 3.4).

With 4 CPUs or less, we use the max. With more than 4 we use max - 1 to
preserve some bandwidth for the user's other programs.
2022-07-17 12:38:41 +02:00
Zak Grumbles
349c750b18 Improve documentation for Camera3D's current member
* Added additional information to the camera documentation to explain
  how the 'current' attribute behaves when multiple cameras are in a
  scene.
2022-07-17 11:29:59 +02:00
Rémi Verschelde
3953c1aa73
Merge pull request #63094 from Geometror/fix-gradient-cubic-interpolation 2022-07-17 11:22:43 +02:00
Rémi Verschelde
4ce34366e1
Merge pull request #63095 from Geometror/gradient-texture-1d-def-instantiate 2022-07-17 11:21:50 +02:00
Rémi Verschelde
04d59a5e8f
Merge pull request #60901 from BastiaanOlij/vrs
Adding Variable Rate Shading support to Godot
2022-07-17 11:04:24 +02:00
Marcel Admiraal
4c23fe602b Update camera position when updating camera limit 2022-07-17 08:51:43 +01:00
Marcel Admiraal
96c75f1d10 Set initial SceneTree processes times to 0.0 2022-07-17 08:51:25 +01:00
Marcel Admiraal
438b706d43 Fix TextEdit test dependency on SceneTree's initial process time > 0 2022-07-17 08:50:12 +01:00
Bastiaan Olij
d139131aab Adding Variable Rate Shading support to Godot
Improve GI renderer and add VRS support
Implement render device has_feature and move subgroup settings to limit_get
2022-07-17 15:42:24 +10:00
Hendrik Brucker
655e2935cf Automatically create a Gradient resource when creating a GradientTexture1D 2022-07-17 04:04:57 +02:00
Hendrik Brucker
039045d569 Fix cubic interpolation for Gradient 2022-07-17 03:46:27 +02:00
Rémi Verschelde
e3a8ab68ce
Merge pull request #63075 from basta/master
Changing function definition to fix errror when compiling godot-python
2022-07-17 02:07:26 +02:00
Rémi Verschelde
7d644c43fa
Merge pull request #63082 from aaronfranke/editor-plugin-alphabetize 2022-07-17 01:18:05 +02:00
Aaron Franke
94779c9e30
Alphabetize editor plugins and move 2D plugins to their own section 2022-07-16 17:34:33 -05:00
Rémi Verschelde
9dfd120a7e
Merge pull request #63077 from Zylann/doc_plane_distance_to
Indicate Plane.distance_to returns a signed distance
2022-07-16 23:10:12 +02:00
Rémi Verschelde
1137948015
Merge pull request #63078 from snailrhymer/patch-1 2022-07-16 23:05:59 +02:00
snailrhymer
c051c84385
Fix typo in VehicleBody3D.xml 2022-07-16 18:06:01 +01:00
Marc Gilleron
45e329c1d2 Indicate Plane.distance_to returns a signed distance 2022-07-16 18:00:31 +01:00
basta
3e664b4e29 Changed bool to GdNativeBool 2022-07-16 18:09:36 +02:00
Rémi Verschelde
5a6b13b8bb
Merge pull request #62939 from TokageItLab/implement-rest-fixer
Add Rest Fixer to importer retarget
2022-07-16 16:54:20 +02:00
Rémi Verschelde
c39223e0db
Merge pull request #62623 from TokageItLab/refactor-sync-animtree
Add `sync` to `NodeTransition` and `BlendSpace1D/2D` and refactor `sync` in `AnimationTree`
2022-07-16 16:53:34 +02:00
Yuri Rubinsky
f05fce405e Fix visual shader graph not correctly updating when multiple tabs opened 2022-07-16 16:43:06 +03:00
Silc Renew
9be288edf9 refactor sync in AnimationTree 2022-07-16 21:45:32 +09:00
Silc Renew
f3af3aedfe add rest fixer to importer retarget 2022-07-16 19:53:11 +09:00
sakrel
16a8967757 Fix DirectionalLight2D and PointLight2D shadows not rendering correctly 2022-07-15 23:55:15 +02:00
Rémi Verschelde
ae5668f81e
Merge pull request #63013 from aaronfranke/double-slider-box 2022-07-15 23:20:22 +02:00
Fabio Alessandrelli
08f3053641
Merge pull request #63043 from pattlebass/fix-html5-locale
HTML5: Make locale string match other platforms
2022-07-15 22:56:37 +02:00
Aaron Franke
2326ba67e2
Consistently use double in Slider and SpinBox 2022-07-15 15:47:47 -05:00
pattlebass
d57a76c809 HTML5: Make OS.get_locale() match other platforms
Fixes #63029.
2022-07-15 22:11:39 +03:00
Xwdit
152466938f Fix grouping annotations displayed in document 2022-07-15 12:39:52 +02:00
Yuri Rubinsky
7e66903d56 Implement rotate_90/rotate_180 functions to Image 2022-07-15 11:50:42 +03:00
Rémi Verschelde
9904a9db5a
Merge pull request #62906 from bruvzg/ts_bit_fields
Use BitField hint for the TextServer enums.
2022-07-15 09:25:51 +02:00
bruvzg
cbe3a2dcb7
Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API. 2022-07-15 08:49:50 +03:00
Rémi Verschelde
e5a1640cf0
Merge pull request #63002 from Calinou/vulkan-sdk-macos-install-tmp
Download Vulkan SDK disk image to a temporary folder in the script
2022-07-14 20:40:35 +02:00
Hugo Locurcio
2582981719
Download Vulkan SDK disk image to a temporary folder in the script
This prevents a `vulkan-sdk.dmg` file from lingering in the current
working directory after installing the Vulkan SDK.
2022-07-14 18:35:51 +02:00
Rémi Verschelde
2c11e6d9ef
Merge pull request #62980 from garychia/scene_tree_editor_improvement 2022-07-14 17:45:48 +02:00
Rémi Verschelde
74ab3dce4f
Merge pull request #62835 from besh81/master 2022-07-14 17:45:18 +02:00
Rémi Verschelde
8bfb634eac
Merge pull request #62997 from KoBeWi/drag_void 2022-07-14 16:31:43 +02:00
kobewi
87fb95f1ff Clear drag_selection when drag ends 2022-07-14 14:51:47 +02:00
Rémi Verschelde
748609feac
Merge pull request #62993 from KoBeWi/drash
Fix drag_selection crash on scene close
2022-07-14 14:35:00 +02:00
besh81
153086152e Fixed bug in grid_container with hidden children
Fix a bug that occour when there are hidden children in grid_container.
The visualization isn't correct due to a wrong calculation of max_col and max_row that mistakenly includes hidden children.
2022-07-14 08:42:39 +02:00
Chia-Hsiang Cheng
83d478ffcd Disable the OK button when no node is selected. 2022-07-14 12:03:27 +08:00
Hayden Leete
fded50fced prevent crash on NaN offset in path_follower 2d and 3d 2022-07-14 14:15:02 +12:00