Juan Linietsky
0dd65378e7
Add support for command-line user arguments.
...
Implements the standard Unix double dash (--) commandline argument:
* Arguments after a double dash (--) are ignored by Godot and stored for the user.
* User can access them via `OS.get_cmdline_user_args()`
Example:
`godot.exe scene_to_run.tscn --fullscreen -- --start-level 2`
2022-08-01 00:56:59 +02:00
Rémi Verschelde
6d599ed90b
Merge pull request #63746 from guilhermefelipecgs/fix_state_machine_rename
2022-08-01 00:56:29 +02:00
FireForge
7cfa9ae539
Improve ShapeCast2D editor and debug drawing
...
- Rename RayCast2DEditorPlugin to Cast2DEditorPlugin and make it also support editing ShapeCast2D.
- Apply RayCast2D debug drawing improvements from #46675 to ShapeCast2D.
2022-07-31 17:47:36 -05:00
clayjohn
0c65ed38a6
Treat specular less than 0.02 as occlusion
...
This is a very common hack used in almost all PBR renderers to allow removing specular contribution in dielectric materials
2022-07-31 15:45:21 -07:00
Rémi Verschelde
1418f97c70
File: Re-add support to skip CR (\r
) in File::get_as_text
...
This was removed in #63481 , and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.
For performance this is done directly in `String::parse_utf8`.
Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.
Supersedes #63717 .
2022-08-01 00:40:35 +02:00
Rémi Verschelde
14828c331c
Mono: Fix build after #63737
2022-08-01 00:40:18 +02:00
Rémi Verschelde
f04004b24c
Merge pull request #55450 from Calinou/script-editor-improve-light-theme-syntax-colors
2022-08-01 00:08:25 +02:00
Rémi Verschelde
787bb0f269
Merge pull request #54732 from zedutch/fix-threaded-load-request-cachemode
2022-07-31 23:55:55 +02:00
Rémi Verschelde
790b63b27c
Merge pull request #51128 from HaSa1002/add-graphedit-is-ok-method-4
2022-07-31 23:55:19 +02:00
Rémi Verschelde
6c5330154e
Merge pull request #63429 from RandomShaper/indicate_overridden
2022-07-31 23:54:38 +02:00
Rémi Verschelde
a50d232015
Merge pull request #49045 from foxydevloper/hide-custom-settings-non-advanced
2022-07-31 23:53:58 +02:00
Rémi Verschelde
e8d9191ff0
Merge pull request #56087 from zaevi/return_key_index
2022-07-31 23:53:19 +02:00
Rémi Verschelde
f2791a75b3
Merge pull request #56063 from KoBeWi/dragging_nodes_over_wifi
2022-07-31 23:52:54 +02:00
Rémi Verschelde
8ad80f0547
Merge pull request #63737 from YuriSizov/editorresourceconversionpluginactomy
2022-07-31 23:52:38 +02:00
Rémi Verschelde
e2307dc76a
Merge pull request #63741 from MinusKube/script-editor-members-bug
...
Find a better solution for the script editor member list sometimes not being updated
2022-07-31 23:51:36 +02:00
Guilherme Felipe de C. G. da Silva
0ad580a740
Fix AnimationNodeStateMachine::rename_node
2022-07-31 18:47:19 -03:00
Rémi Verschelde
880d93c71c
Merge pull request #63537 from antonWetzel/csharp-vector4
...
`Vector4`, `Vector4i` and `Projection` for Csharp
2022-07-31 23:45:52 +02:00
Hugo Locurcio
0a24d40836
Improve script editor's light theme syntax colors for better readability
...
New colors were hand-picked to have a better contrast rate,
while still following the general coloring of the previous light theme.
This improves the light theme's accessibility, especially in outdoor
environments with direct sunlight.
2022-07-31 23:40:48 +02:00
Rémi Verschelde
c0946d3c38
Merge pull request #63743 from bruvzg/hb_inc_order_and_ver_check
2022-07-31 23:38:00 +02:00
Fabio Alessandrelli
faff5e10a5
Merge pull request #63599 from nathanfranke/mp-docs
...
Document multiplayer replication classes, small changes to MultiplayerSpawner
2022-07-31 23:14:33 +02:00
Rémi Verschelde
214d0b20b0
Merge pull request #62936 from Xwdit/script_doc_inspector_property
2022-07-31 22:28:05 +02:00
bruvzg
b54c5c2683
[TextServer] Ensure that built-in library headers are always included before system header, add HarfBuzz version checks for optional features.
2022-07-31 22:52:59 +03:00
MinusKube
7d9a5d79e6
Find a better solution for the script editor member list sometimes not being updated
2022-07-31 21:43:11 +02:00
Yuri Sizov
9f55bd971e
Extract EditorResourceConversionPlugin into its own source files and clean up editor includes
2022-07-31 21:14:15 +03:00
antonWetzel
87ebfff46d
create vector4, vector4i and projection for csharp
2022-07-31 19:42:34 +02:00
Rémi Verschelde
7686cfec64
Merge pull request #63290 from derammo/derammo_natvis_1
...
Visual Studio Natvis file works for Variant again
2022-07-31 18:37:33 +02:00
Rémi Verschelde
688226338a
Merge pull request #55646 from Calinou/tweak-voxelgi-defaults
2022-07-31 18:37:14 +02:00
kobewi
64d133747b
Add node path drag from remote tree
2022-07-31 18:24:56 +02:00
Hugo Locurcio
a0795b4347
Tweak VoxelGI defaults for better quality
...
Overall brightness is similar to the previous settings, but lighting
now fades off more naturally and reflections feature indirect lighting.
Performance is identical.
- Enable Use Two Bounces by default.
- Decrease Propagation to 0.5 to compensate for the second bounce.
2022-07-31 18:05:24 +02:00
Zae
2febf0ccdb
Make Animation::track_insert_key
return key index
2022-07-31 17:38:49 +02:00
Rémi Verschelde
602e967ba8
Merge pull request #55943 from jvanmourik/master
...
glTF animation parsing: Changed the 'loop' and 'cycle' animation name keywords to be case-insensitive
2022-07-31 17:28:43 +02:00
foxydevloper
1ff9a09e2c
Improve tooltips for grouping/ungrouping nodes
2022-07-31 10:56:32 -04:00
fox
41cc9f9a43
Hide altering custom properties in basic mode
...
Hides the row for adding and removing custom properties from showing up
when advanced mode is disabled.
2022-07-31 10:38:44 -04:00
Johannes Witt
2fb69afde6
Add GraphEdit.is_node_hover_valid(...) method
...
This is a virtual method that can be used to add additional error
condition checks while the connection is still being dragged. If true is
returned, the connection is valid. If false is returned, the connection
is invalid and thus not possible (ie. it will not snap). The virtual
method is exposed with an underscore to scripts.
2022-07-31 15:35:26 +02:00
Robin Arys
1cfe3c3f8b
Expose load_threaded_request's cachemode to GDScript
2022-07-31 14:04:11 +02:00
derammo
77b31ea365
Visual Studio Natvis file works for Variant again
2022-07-31 07:59:19 -04:00
Rémi Verschelde
89847dc6e3
SCons: Fix creating VS solution with SCons 4.4.0
...
Fixes #63709 .
Co-authored-by: 19PHOBOSS98 <37253663+19PHOBOSS98@users.noreply.github.com>
2022-07-31 13:58:09 +02:00
Rémi Verschelde
475592a3bc
Merge pull request #54102 from skimmedsquare/line-edit-editor-settings-crash-45979
2022-07-31 13:40:31 +02:00
Rémi Verschelde
556cc22dd0
Merge pull request #63656 from raulsntos/fix-signal-bind-csharp
2022-07-31 13:29:31 +02:00
Rémi Verschelde
4aa355b0d1
Merge pull request #63716 from MarcusElg/meter
2022-07-31 13:05:44 +02:00
Sean Kim
f1ba63e092
Fix EditorSettings crashes due to nullptr dereference
...
Fixes #45979
Noted a few places in this file that would have similar errors, so any
access to the EditorSettings singleton has had a check added.
2022-07-31 13:01:38 +02:00
Marcus Elg
f629438a8b
Add meter suffix to ShapeCast3D margin property
2022-07-31 12:36:15 +02:00
Rémi Verschelde
14445c96ab
Merge pull request #63708 from smix8/navigation_fix_debug_always_on_4.x
...
Fix Navigation Debug always enabled
2022-07-31 10:09:03 +02:00
Rémi Verschelde
bd58300718
Merge pull request #63661 from raulsntos/fix-editor-paths-include
...
Add `editor_paths.h` include missing in mono module
2022-07-31 09:57:37 +02:00
smix8
30c6fff214
Fix Navigation Debug always enabled
...
Fixes that Navigation Debug is always enabled in debug builds even while "Visible Navigation" is turned off.
2022-07-31 05:44:39 +02:00
Nathan Franke
b7c5aeca8a
document multiplayer replication classes, small changes to multiplayer spawner
2022-07-30 21:38:19 -05:00
Rindbee
a7eecc61ad
Fix toggling after scrolling resulted in blank space
...
Previously, the data used by `update_scrollbars()` and `_update_dimensions()` in their calculations depended on each other, which caused some problems.
Now, the calculation of `child_max_size` is put into `get_minimum_size()`, as the containers call `update_minimum_size()` before calling `queue_sort()`.
Make the semantics of variable/function names more clear.
Co-authored-by: Aaron Record <aaronjrecord@gmail.com>
2022-07-31 09:32:20 +08:00
Rémi Verschelde
66d1bb84c3
Merge pull request #63697 from YeldhamDev/script_elements_fix
...
Fix elements not being shown on first selected script/doc
2022-07-31 01:14:57 +02:00
Michael Alexsander
c86cceb423
Hide method filter bar when selecting a doc in the Script editor
2022-07-30 20:07:46 -03:00
PrecisionRender
2adb67c3c5
Add operator*
to Plane
2022-07-30 17:48:55 -05:00