Commit graph

14520 commits

Author SHA1 Message Date
MrPersonDev f63d76427d Increase precision of rigidbody mass 2024-03-13 21:17:25 -07:00
Rémi Verschelde d30aa4bd36
Merge pull request #89432 from clayjohn/proximity-fade-limit
Set a minimum of 0.01 for proximity fade to avoid undefined behavior in shader
2024-03-13 18:41:43 +01:00
clayjohn f4c6c807eb Set a minimum of 0.01 for proximity fade to avoid undefined behavior in shader 2024-03-12 17:10:58 -07:00
bruvzg fee14eb5e8
[Import] Add "skip file" import option to skip (and exclude from export) importable formats, auto set it for the images used by bitmap font. 2024-03-12 21:34:40 +02:00
Rémi Verschelde 20373d026d
Merge pull request #89419 from KoBeWi/losing_control
Fix some AcceptDialog argument types
2024-03-12 16:28:10 +01:00
kobewi a7b6bcb988 Fix some AcceptDialog argument types 2024-03-12 14:33:43 +01:00
Rémi Verschelde 061e0c758d
Merge pull request #89395 from bruvzg/rtl_ts_img_range
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +01:00
bruvzg 433de7f1a8
[RTL] Use "visible characters" property for inline object visibility 2024-03-12 11:28:45 +02:00
Rémi Verschelde 22c20cea6e
Merge pull request #89397 from clayjohn/XR-shader-warning
Improve warning when XR shaders are not enabled
2024-03-11 23:48:25 +01:00
Rémi Verschelde b1b0a526d8
Merge pull request #89393 from Repiteo/retire-subprocess_main
SCons: Remove `run_in_subprocess` & `subprocess_main` dependencies
2024-03-11 23:48:21 +01:00
Rémi Verschelde d5856f864f
Merge pull request #89383 from bruvzg/font_no_bitmaps
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 23:48:17 +01:00
clayjohn d8f2768b90 Improve warning when XR shaders are not enabled 2024-03-11 14:17:37 -07:00
Thaddeus Crews 5a6e3cbcb0
SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
bruvzg 911fa38d3a
[Font] Add option to disable embedded bitmaps loading. 2024-03-11 16:31:10 +02:00
Rémi Verschelde f040a351c2
Merge pull request #89381 from aaronfranke/disable-3d
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 14:02:57 +01:00
Rémi Verschelde 1bbdbbaada
Merge pull request #89242 from RafaelRain18/master
Fix region section not ignoring #region and #endregion when in a string
2024-03-11 14:02:30 +01:00
Rémi Verschelde 9a098458cc
Merge pull request #85325 from TheSofox/text-edit-undo-fix
Fixes for undo in text editor grouping unrelated actions
2024-03-11 14:02:17 +01:00
Aaron Franke 6aac3e4a16 Disable all 3D nodes, physics, and resources when compiling without 3D 2024-03-11 01:00:55 -07:00
Rafael Chuva 8c36282feb Fix region section not ignoring #region and #endregion when in a string
When using the script editor, if the keywords #region and #endregion where
in a string and ate the start of the line, the editor would not ignore them
and count them as the actual keywords, which when folded, would only fold
until the first #endregion in a string, for example.

By checking if these keywords were in a string, this commit now ensures the
editor ignores strings and fold the section correctly.

Fixes #89115.
2024-03-11 00:04:39 +00:00
Rémi Verschelde 810f127022
Merge pull request #89365 from Repiteo/scons/run_in_subprocess-to-env.Run
SCons: Convert remaining `run_in_subprocess` to `env.Run`
2024-03-10 21:13:22 +01:00
Rémi Verschelde 53701a0234
Merge pull request #89361 from Repiteo/scons/with-statement
SCons: Ensure `with` statement where applicable
2024-03-10 21:13:18 +01:00
Rémi Verschelde 54f2916cf1
Merge pull request #89311 from Mickeon/label_3d_is_a_mess
Fix Label3D, TextMesh & Font not following project default theme in editor
2024-03-10 21:13:01 +01:00
Rémi Verschelde ba062e1f46
Merge pull request #89298 from Mickeon/CanvasItem-error-clean-as-hell
Make CanvasItem's "drawing outside of NOTIFICATION_DRAW" error a macro
2024-03-10 21:12:57 +01:00
Rémi Verschelde 1d6403323f
Merge pull request #88426 from Rindbee/fix-inherited-scenes-produce-errors
Fix inherited scenes produce errors in editor when `editable_children` is true
2024-03-10 21:12:54 +01:00
Aaron Franke c1e9842afb Organize 2D audio, camera, and physics in Viewport 2024-03-10 13:10:13 -07:00
Thaddeus Crews 8116d70d4b
SCons: Convert remaining run_in_subprocess to env.Run 2024-03-10 14:01:23 -05:00
Thaddeus Crews fb299d0fb1
SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
风青山 4d57da4d01
Fix inherited scenes produce errors in editor when "editable_children" is true
Since the same argument is used, `SceneState::get_node_deferred_nodepath_properties()`
should use similar logic to `SceneState::get_property_value()`.

Make `SceneState::get_property_value()` to return whether the property is deferred.
2024-03-10 07:37:47 +08:00
Micky e08fb19bd1 Make CanvasItem's "drawing outside of NOTIFICATION_DRAW" error a macro 2024-03-09 22:47:54 +01:00
Rémi Verschelde 0ace0a1292
Merge pull request #89333 from Repiteo/enforce-eol-python
Enforce `\n` eol for Python writes
2024-03-09 22:20:23 +01:00
Thaddeus Crews d9fa40f2df
Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Silc Lizard (Tokage) Renew 9ae3f79ecb Fix wrong line of making flag to discrete in AnimationMixer 2024-03-10 04:33:37 +09:00
Micky ba867042a2 Fix Label3D, TextMesh & Font not following project default theme in editor 2024-03-09 17:35:48 +01:00
Rémi Verschelde 1c8ef9e252
Merge pull request #89251 from KoBeWi/fastpector
Speed up inspector updates for TileMap
2024-03-09 00:52:09 +01:00
Rémi Verschelde d195346b59
Merge pull request #89190 from AThousandShips/vis_cat
Fix some missing categories in visual shader nodes
2024-03-08 13:09:34 +01:00
Rémi Verschelde 6f51f73339
Merge pull request #88221 from Scony/extend-parse_source_geometry_data
Extend `NavigationMeshSourceGeometryData[23]D` to allow data merging
2024-03-08 13:09:17 +01:00
Pawel Lampe ab242769b7 Extend NavigationMeshSourceGeometryData[23]D to allow data merging 2024-03-07 19:57:43 +01:00
kobewi 7319b612f3 Speed up inspector updates for TileMap 2024-03-07 18:01:30 +01:00
Rémi Verschelde bfdac951e3
Merge pull request #89224 from bruvzg/nmenu_warn
[NativeMenu] Add checks to avoid unnecessary warnings.
2024-03-07 00:24:06 +01:00
Rémi Verschelde 6c9a166308
Merge pull request #89219 from devloglogan/xr-profile-changed
Expose `profile_changed` signal to XRController3D
2024-03-07 00:24:03 +01:00
Rémi Verschelde fcb0adf132
Merge pull request #89130 from Malcolmnixon/xr-hand-scaling
Fix XRHandModifier3D scaling
2024-03-07 00:23:56 +01:00
bruvzg da02ca7e75
[NativeMenu] Add checks to avoid unnecessary warnings.
Added by Rémi: Add dummy NativeMenu to DisplayServerHeadless,
fixing crashes when using `--headless`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-03-07 00:23:26 +01:00
Logan Lang 1383401c71 Expose profile_changed signal to XRController3D 2024-03-06 16:48:25 -06:00
Rémi Verschelde 362a088088
Merge pull request #89170 from jsjtxietian/expose-request-update
Expose PrimitiveMesh's `request_update` method
2024-03-06 13:17:05 +01:00
Rémi Verschelde 13954fc33e
Merge pull request #87452 from bruvzg/native_menu
Move `global_menu_*` methods to a separate `NativeMenu` class.
2024-03-06 13:16:52 +01:00
jsjtxietian 1716f12451 Expose PrimitiveMesh's request_update` method 2024-03-06 19:18:01 +08:00
Rémi Verschelde ee3c01068c
Merge pull request #89103 from Malcolmnixon/xr-body-hips-height
Fix XR Body crouching and climbing
2024-03-06 09:50:18 +01:00
Malcolm Nixon 2fdabd97f9 Modify the XRHandModifier3D to scale appropriately with Skeleton3D.motion_scale and XRServer.world_scale 2024-03-05 19:26:15 -05:00
Malcolm Nixon d2db147805 Allow the hips joint to be positioned even if the bone update mode is set to "Rotation Only". Apply appropriate world and skeleton scaling. 2024-03-05 19:25:02 -05:00
Rémi Verschelde c84d3385f7
Merge pull request #88300 from FaycalElOuariachi/add-TreeItem-is_visible_in_tree
Add `is_visible_in_tree` in `TreeItem`
2024-03-05 23:44:29 +01:00