Commit Graph

42296 Commits

Author SHA1 Message Date
kobewi bcf13dc175 Expose methods for screen-space transforms 2022-03-13 16:05:08 +01:00
Xavier Loh a0e720efb2 Expose `RenderingServer::canvas_item_add_animation_slice` in GDScript 2022-03-13 22:53:24 +08:00
Rémi Verschelde c8fce1661d
Merge pull request #59102 from rcorre/copy-project-config 2022-03-13 15:38:55 +01:00
Rémi Verschelde dd94c6081a
Merge pull request #59101 from bruvzg/bold_advance 2022-03-13 15:37:12 +01:00
Rémi Verschelde 0c5bc7e111
Merge pull request #59098 from timothyqiu/rtl-shadow-color 2022-03-13 15:28:44 +01:00
Hendrik Brucker fba80dbd63 Reenable window_set_vsync_mode on Windows 2022-03-13 15:04:59 +01:00
Ryan Roden-Corrent d271e2517e
Copy full project setting path from dialog.
The EditorProperty UI elements for project settings are created from
SectionedInspector, which has a prefix added to each property path. Each
EditorProperty needs to be made aware of this path so copy_property_path
copies the full path, and not just the suffix.

Fixes #59020.
2022-03-13 09:23:44 -04:00
bruvzg d9f8cadafb
Improve simulated bold fonts advance. 2022-03-13 15:07:53 +02:00
Haoyu Qiu d62e8bbc74 Fix RichTextLabel shadow color when text has transparency 2022-03-13 19:57:56 +08:00
Pedro J. Estébanez d083fb21c7 Drop mouse focus and over when gui input is globally disabled 2022-03-13 12:45:32 +01:00
Rémi Verschelde 7df288f785
Merge pull request #59090 from KoBeWi/show_never_ever
Improve scene tab close button options
2022-03-13 09:11:07 +01:00
kobewi c53a84fdfd Improve scene tab close button options 2022-03-13 02:14:32 +01:00
Hugo Locurcio 51896c4682
Improve documentation for NodePath and StringName
- Update the NodePath shorthand prefix for `master`.
- Document the StringName construction shorthand (`&"example"`).
- Cross-link between NodePath and StringName, as these are related
  concepts.
2022-03-13 01:04:51 +01:00
Rémi Verschelde 6721290831
Merge pull request #58018 from Calinou/procedural-sky-add-cover-texture
Add sky cover texture for ProceduralSkyMaterial
2022-03-13 00:56:09 +01:00
Rémi Verschelde 7ed8d52fb2
Merge pull request #58819 from vreon/fix-eyedir-z
Fix flipped EYEDIR.z in sky shaders
2022-03-13 00:55:32 +01:00
Rémi Verschelde d9bccd87d3
Merge pull request #59084 from rburing/particle_collision_gizmo_fix
Fix out of bounds crash in particle collision gizmo
2022-03-13 00:52:56 +01:00
Ricardo Buring ac32535d6e Fix out of bounds crash in particle collision gizmo 2022-03-12 23:57:12 +01:00
Rémi Verschelde 84b358c1d8
Merge pull request #58338 from aaronfranke/bools
Initialize bools in the headers in `editor/`
2022-03-12 22:00:38 +01:00
Rémi Verschelde 5959d38c68
Merge pull request #59075 from aaronfranke/cs-slerp-doc-xml-and-test
Fix Slerp C# docs and add test cases for vectors in the same direction
2022-03-12 21:09:46 +01:00
Rémi Verschelde 2724e57288
Merge pull request #58772 from keptsecret/fix_filedialog_user_data_access
Fix unable to change directory in user access mode
2022-03-12 20:53:43 +01:00
Rémi Verschelde 71da4c4132
Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
Aaron Franke 918b09cabc
Initialize bools in the headers in editor 2022-03-12 13:34:06 -06:00
Aaron Franke 89c4990274
Fix Slerp C# docs and add test cases for vectors in the same direction 2022-03-12 13:20:55 -06:00
Rémi Verschelde d7019de7e3
Merge pull request #59061 from fazil47/graph_edit_offset_fix 2022-03-12 15:03:38 +01:00
Rémi Verschelde 38122b8d85
Merge pull request #59050 from KoBeWi/tsal_eht_morf_ssecca 2022-03-12 14:50:56 +01:00
Rémi Verschelde 51505519c1
Merge pull request #59040 from Sauermann/fix-cursorshape-animationnodestatemachineeditor 2022-03-12 14:49:13 +01:00
Rémi Verschelde f5dc2129a0
Merge pull request #59057 from timothyqiu/smart-guide 2022-03-12 13:12:00 +01:00
Yuri Rubinsky c591ebf012
Merge pull request #58991 from Chaosus/add_script_autoload_option 2022-03-12 14:41:09 +03:00
Yuri Roubinsky 073abe4b9c Add "Add Script" option to project autoload settings 2022-03-12 12:57:05 +03:00
Fazil Babu a3598b487a popup_request signal emits mouse click position 2022-03-12 14:00:04 +05:30
Yuri Roubinsky d009d96a92 Prevent crash due to empty error message on empty extends in GDScript 2022-03-12 09:46:51 +03:00
Haoyu Qiu b255efba7c Hide smart snapping line when guideline dragging ends 2022-03-12 14:37:20 +08:00
kobewi 42078dec9f Allow negative indexes in ItemList and PopupMenu 2022-03-12 01:14:03 +01:00
Rémi Verschelde d5076439e4
Merge pull request #59039 from MythTitans/fix-smoothed-normals-computation
Fix mixed smoothed and non-smoothed face normals computation for CSG shapes
2022-03-11 23:48:24 +01:00
MythTitans ec2984f7c7 Prevent non-smoothed face normals to participate to smoothed face normals 2022-03-11 20:23:13 +01:00
Rémi Verschelde f94ada39b3
Merge pull request #59036 from Calinou/doc-curve-add-point
Clarify the position of points in `Curve{2D,3D}.add_point()`
2022-03-11 19:50:36 +01:00
Rémi Verschelde ef347d03d1
Merge pull request #59035 from timothyqiu/vs-rtr
Use `RTR()` for `VisualScriptNode` captions and texts
2022-03-11 19:26:11 +01:00
Markus Sauermann 0d96dbcb2a Use get_cursor_shape for identifying the cursor shape in AnimationNodeStateMachineEditor
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

Fix minor issue with selection order.
2022-03-11 19:10:45 +01:00
Hugo Locurcio 35c8d332b5
Clarify the position of points in `Curve{2D,3D}.add_point()` 2022-03-11 18:22:55 +01:00
Haoyu Qiu 77f80aa4ee Use `RTR()` for VisualScriptNode captions and texts 2022-03-11 23:36:16 +08:00
Rémi Verschelde 3f3826edb8
Merge pull request #59007 from novaplusplus/code_edit_from_to_error_fix 2022-03-11 16:06:00 +01:00
Rémi Verschelde e56b69269f
Merge pull request #59013 from bruvzg/fake_bold_italics 2022-03-11 14:24:13 +01:00
Rémi Verschelde 6992c6e2fc
Merge pull request #59026 from Sauermann/fix-cursorshape-animationtrackedittypeaudio 2022-03-11 14:23:39 +01:00
Markus Sauermann 24942214d9 Use get_cursor_shape for identifying the cursor shape in AnimationTrackEditTypeAudio
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-03-11 13:17:13 +01:00
bruvzg b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces. 2022-03-11 14:02:30 +02:00
Rémi Verschelde 015fdfc28d
Merge pull request #58986 from akien-mga/diraccessref 2022-03-11 12:51:22 +01:00
Rémi Verschelde 1e099afc8a
Merge pull request #59016 from Sauermann/fix-cursorshape-animationtimelineedit 2022-03-11 11:05:56 +01:00
Rémi Verschelde 952b71a425
Merge pull request #58751 from bruvzg/loc_str_props 2022-03-11 10:45:02 +01:00
Markus Sauermann 4a8a6f892f Use get_cursor_shape for identifying the cursor shape in AnimationTimelineEdit
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-03-11 10:18:27 +01:00
Rémi Verschelde 768f9422bc Convert uses of `DirAccess *` to `DirAccessRef` to prevent memleaks
`DirAccess *` needs to be deleted manually, and this is often forgotten
especially when doing early returns with `ERR_FAIL_COND`.
`DirAccessRef` is deleted automatically when it goes out of scope.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11 09:13:11 +01:00