Commit Graph

39702 Commits

Author SHA1 Message Date
49403cbfa0 Replace String comparisons with "", String() to is_empty()
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
31ded7e126 Fixup last commit, change misleading CodeEditor for consistency 2021-12-09 11:40:46 +01:00
3752e8f52e Fix mid-air conflict between #55299 and #55692 2021-12-09 11:17:16 +01:00
41e5f9227c Merge pull request #55594 from Fro-Z/fix-html-file-drop
Fix files_dropped in HTML5 export mono builds.
2021-12-09 10:41:43 +01:00
4129c1d140 Merge pull request #55299 from nathanfranke/renames 2021-12-09 10:22:24 +01:00
dcca8aba4f Merge pull request #55748 from cptchuckles/fix-sprite-validate-property 2021-12-09 10:18:14 +01:00
1a8741aaca Merge pull request #49473 from cptchuckles/fix-auto-reload-scripts 2021-12-09 10:06:22 +01:00
eac3885283 Merge pull request #55692 from Chaosus/material_editor_canvas_item_mode 2021-12-09 09:41:49 +01:00
8ae4960cfd Merge pull request #55745 from KoBeWi/commit_farming 2021-12-09 10:55:13 +03:00
41a20171eb align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
3f4728fe54 Fix some containers disabling wrong scrollbars 2021-12-09 00:25:17 +01:00
0c14b930ef Fix _validate_property on AnimatedSprite 2D and 3D 2021-12-08 16:59:11 -06:00
f1e3c87244 Merge pull request #55709 from raulsntos/expose_script_edit 2021-12-08 17:15:18 +01:00
9535831866 Expose ScriptEditor::edit to scripting
Exposes a method in `EditorInterface` to open scripts on a specified
line and column. This method handles if the internal or the external
editor should be used.
2021-12-08 15:25:05 +01:00
e53e357a2b Merge pull request #55725 from KoBeWi/id(x)
Improve PopupMenu doc about id and index
2021-12-08 14:08:55 +01:00
04fac59f3f Merge pull request #51381 from Chaosus/shader_compile_enchancement 2021-12-08 15:15:07 +03:00
347e50f73b Improve PopupMenu doc about id and index 2021-12-08 13:02:42 +01:00
6ab7657464 Merge pull request #55672 from raulsntos/csharp-docs
Various fixes to C# documentation
2021-12-08 11:25:26 +01:00
76f6c0849c Make compile shader function to use struct instead long parameter list 2021-12-08 11:34:40 +03:00
5cf178f3bf Merge pull request #55694 from KoBeWi/scrollbar_modding_tools
ScrollContainer's scrollbar visibility is now enum
2021-12-08 09:16:57 +01:00
f48b9367bc Merge pull request #55677 from Calinou/rename-gpu-particles-3d-attractor-collision-nodes
Rename GPUParticles attractor and collision nodes to have a 3D suffix
2021-12-08 09:15:14 +01:00
cf936ae0dd Rename GPUParticles attractor and collision nodes to have a 3D suffix
GPUParticles attractors and collision are currently only available in 3D.
Their 2D counterparts haven't been implemented yet, but they will use
separate nodes.
2021-12-08 00:21:05 +01:00
ff118d7a88 Merge pull request #55706 from jmb462/fix-bad-control-wrap_mouse-offset
Fix bad mouse offset with Control::wrap_mouse()
2021-12-07 22:38:26 +01:00
083ff9a133 Fix bad mouse offset with Control::wrap_mouse() 2021-12-07 20:55:12 +01:00
841a9ef820 ScrollContainer's scrollbar visibility is now enum 2021-12-07 18:27:12 +01:00
a651610c43 Add CanvasItem mode support to the MaterialEditor 2021-12-07 17:16:41 +03:00
46d384060e Merge pull request #35901 from nathanfranke/pool-byte-array-subarray-exclusive 2021-12-07 14:00:59 +01:00
a33b85c122 Merge pull request #55689 from Chaosus/fix_shader_window_bug 2021-12-07 13:18:47 +01:00
2deabd553f Various fixes to C# documentation 2021-12-07 12:54:24 +01:00
37302b5c24 Merge pull request #55675 from raulsntos/csharp-basis-quaternion
Rename C# `Quaternion()` -> `GetQuaternion()`
2021-12-07 12:48:55 +01:00
c34e806426 Fix error emitting when called new shader dialog from resource dialog 2021-12-07 14:18:54 +03:00
3ed2bd13ad Merge pull request #55670 from akien-mga/rename-videoplayer 2021-12-07 09:24:35 +01:00
ca2b0f6e77 Merge pull request #55685 from aaronfranke/item-count
Rename `items_count` property to `item_count`
2021-12-07 07:36:15 +01:00
6eb7179f1c Rename "items_count" property to "item_count" 2021-12-06 22:02:27 -06:00
c1ed695f32 Merge pull request #55659 from timothyqiu/boom
Fix crash when `update()` is called inside `_draw()`
2021-12-06 22:39:02 +01:00
838f80ed91 Rename C# Quaternion() -> GetQuaternion()
To keep consistency with GDScript, the method `Quaternion()` is renamed
`GetQuaternion()`, and made `internal` so it's not exposed to scripting.
The documentation references are also fixed.

Also, the methods `GetQuaternion()` and `GetRotationQuaternion()` are
moved below `GetEuler()` to follow alphabetic order.
2021-12-06 20:18:40 +01:00
2f41af7d2d Merge pull request #55655 from raulsntos/csharp-items-count
Replace deprecated `GetItemCount()` with `ItemsCount`
2021-12-06 19:54:40 +01:00
7ac9ea75cc Rename VideoPlayer to VideoStreamPlayer for consistency
It's a player for `VideoStream` resources, just like `AudioStreamPlayer` is a
player for `AudioStream` resources.

Closes https://github.com/godotengine/godot-proposals/issues/3624.
2021-12-06 19:01:28 +01:00
75ac048e4b Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size 2021-12-06 18:28:46 +01:00
586c199789 Merge pull request #55671 from KoBeWi/hotfix_straight_from_a_🌋 2021-12-06 18:26:45 +01:00
e11baf90d1 Merge pull request #55666 from KoBeWi/reduce_ProximityGroup3D_to_atoms 2021-12-06 18:14:17 +01:00
be975e5d18 Merge pull request #55624 from Razoric480/raz/cs-lsp-signal 2021-12-06 17:46:25 +01:00
b7d83689e4 Fix error when adding RESET key for new track 2021-12-06 17:36:25 +01:00
e1e3ea5978 Merge pull request #55667 from Calinou/doc-physics-ticks-per-rendered-frame 2021-12-06 17:03:55 +01:00
30e1478d0f Remove ProximityGroup3D node 2021-12-06 17:01:51 +01:00
4bce5e302e Merge pull request #55602 from nekomatata/improve-rigidbody-contacts 2021-12-06 16:49:42 +01:00
9e6b1b16c6 Document physics simulation being limited to 8 ticks per rendered frame 2021-12-06 16:39:33 +01:00
3ae8eda1ed Merge pull request #55603 from Calinou/add-os-crash-method
Add an `OS.crash()` method for testing system crash handler
2021-12-06 16:34:15 +01:00
e8082003f1 Merge pull request #52280 from jmb462/fix-bad-popup-offset-with-single-window-off 2021-12-06 16:05:10 +01:00
78fd56a596 Merge pull request #55500 from KoBeWi/just_doc_things
Misc improvements to various docs
2021-12-06 15:34:21 +01:00