Rémi Verschelde
ebca8b8aea
Merge pull request #67491 from Paulb23/fix-undo-redo-viewport-adjust
...
Fix undo redo not adjusting TextEdit viewport to caret
2022-10-17 17:31:26 +02:00
Paulb23
4bfb1d953c
Fix undo redo not adjusting TextEdit viewport to caret
2022-10-16 19:30:03 +01:00
Markus Sauermann
39e49a8bdd
Expose Viewport::get_screen_transform to GDScript
2022-10-15 23:37:59 +02:00
Rémi Verschelde
dc4b616596
Merge pull request #63332 from KoBeWi/static_images_aka_photos
...
Make some Image methods static
2022-10-15 12:56:57 +02:00
Miguel Gonzalez Sanchez
a97a00bf02
Rename pos -> index on Node
2022-10-14 19:56:34 +01:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +02:00
Rémi Verschelde
39534a7aec
Merge pull request #67385 from Sauermann/fix-viewport-mouse-position-update-on-subwindows
2022-10-14 13:31:11 +02:00
Markus Sauermann
b1d6b34662
Always update Viewport's last_mosue_position
...
When the mouse cursor is over a embedded Window, the Viewport's
last_mouse_position did not get updated.
This patch makes sure that the update happens on every InputEventMouse.
Document canvas layer of embedded Windows.
2022-10-14 12:51:45 +02:00
bruvzg
4b1937c73f
Abort LineEdit shaping if no font is set to avoid unnecessary error messages.
2022-10-14 12:57:42 +03:00
Rémi Verschelde
7502c808fa
Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signals
...
Do not allow editing Scene-inherited signal connections
2022-10-14 10:19:47 +02:00
Rémi Verschelde
5f4aa11c62
Merge pull request #63607 from BastiaanOlij/fix_xr_origin
...
Add current setting to XROrigin3D and fix double positioning HMD
2022-10-14 09:45:00 +02:00
Rémi Verschelde
46a1b92bb7
Merge pull request #66294 from reduz/optimize-convex-collision
2022-10-13 20:34:00 +02:00
Micky
6a77563b25
Do not allow editing Scene-inherited signal connections
...
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-13 20:13:05 +02:00
Juan Linietsky
71d2e38cb5
Optimize Convex Collision
...
Implements the Gauss Mapping optimization to SAT convex collision test.
* Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf ) by Dirk Gregorius.
* Requires adding of face information to edges in MeshData
* Took the chance to convert MeshData to LocalVector for performance.
2022-10-13 19:07:53 +02:00
Rémi Verschelde
f32f5b70d8
Merge pull request #67348 from Mickeon/salvage-a-dear-comment
...
Comment not to remove `data` structs in some Nodes
2022-10-13 18:40:58 +02:00
Micky
de9e08da76
Comment not to remove `data` structs in some Nodes
2022-10-13 15:52:35 +02:00
Rémi Verschelde
9eb8eb5f7d
Merge pull request #67336 from jbcolli2/Normal-of-CylinderMesh
...
Fix bug in CylinderMesh when computing normals
2022-10-13 15:24:55 +02:00
Rémi Verschelde
2ffb609658
Merge pull request #66337 from EricEzaM/sprite-frames
...
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-13 15:24:39 +02:00
Rémi Verschelde
17db8be33c
Merge pull request #66357 from EricEzaM/shortcut-context-on-node
...
Move Shortcut Context to control and fix `shortcut_input` with `shortcut_context`
2022-10-13 15:24:30 +02:00
jbcolli2
491ec622f6
Changed normal of CylinderMesh to account for slanted side.
2022-10-13 08:24:31 -04:00
Eric M
a3ed9e6f2c
Move Shortcut Context to Control and ensure that `shortcut_input` adheres to contexts. Also ensure that controls with no context are only triggered AFTER nodes which do have a context.
2022-10-13 21:07:19 +10:00
MladoniSzabi
3550354fd3
fixed holding alt while zooming zooms in by 2 increments.
2022-10-13 11:38:25 +01:00
Rémi Verschelde
fad0327503
Merge pull request #66953 from Sauermann/fix-top-level-connect-error
...
Fix Control node not disconnecting from signal
2022-10-13 09:04:25 +02:00
Rémi Verschelde
c55c0a2028
Merge pull request #66349 from A-Lamia/Amount_At_Collision
...
PARTICLES: adds amount property to collision sub particles.
2022-10-13 09:03:43 +02:00
Bastiaan Olij
3a4866bba4
Add current setting to XROrigin3D and fix double positioning HMD
2022-10-13 13:48:52 +11:00
Lamia
5af6f4a04b
particles: add amount property to sub property collision.
2022-10-13 04:25:18 +11:00
Rémi Verschelde
ea47e03b36
Merge pull request #65714 from benbot/fix-double-particle-collision-calculation
2022-10-12 17:46:17 +02:00
Rémi Verschelde
15b68f7601
Merge pull request #67232 from bruvzg/popup_edit
...
Improve Popup / Window behavior in the edited scene tree.
2022-10-12 14:45:14 +02:00
Rémi Verschelde
6fc1715cdf
Merge pull request #65779 from Mickeon/rename-camera-follow
...
Rename Camera2D's `smoothing` to `position_smoothing`
2022-10-12 08:53:04 +02:00
Rémi Verschelde
3229194dfc
Merge pull request #67215 from Nidjo123/project-dialog-resize
...
Resize project dialog only when necessary
2022-10-11 23:26:37 +02:00
Paulb23
f3eb543e67
Fix select word under caret using caret col instead of line
2022-10-11 20:32:06 +01:00
Nikola Bunjevac
d7e9b8af9a
Set window size after setting new limits
...
Otherwise this can fail as the size may not fit
into current limits. This is problematic at least
on X11.
2022-10-11 17:16:20 +02:00
Micky
43b9cc96da
Rename Camera2D's `smoothing` to `position_smoothing`
...
For Camera2D:
`smoothing_enabled` -> `position_smoothing_enabled`
`set_enable_follow_smoothing` -> `set_position_smoothing_enabled`
`is_follow_smoothing_enabled` -> `is_position_smoothing_enabled`
`smoothing_speed` -> `position_smoothing_speed`
`set_follow_smoothing` -> `set_position_smoothing_speed`
`get_follow_smoothing` -> `get_position_smoothing_speed`
2022-10-11 16:51:26 +02:00
Rémi Verschelde
042e81f663
Merge pull request #40274 from Juankz/clips_importing_improvement
...
Add animation slices for individual animations
2022-10-11 16:18:22 +02:00
Rémi Verschelde
646d59e713
Merge pull request #63271 from Chaosus/fix_texture_error
...
Fix error emitting when opening some textures in the inspector
2022-10-11 16:17:15 +02:00
Rémi Verschelde
6d534f6e89
Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-es
...
Rename remaining "*_enable" to "*_enabled"
2022-10-11 16:17:02 +02:00
Rémi Verschelde
f21053d189
Merge pull request #67201 from progsource/richtextlabel-icon-spritesheet
...
Add Spritesheet support to RichTextLabel BBCode
2022-10-11 13:58:54 +02:00
Petra Baranski
546e017613
Add Spritesheet support to RichTextLabel BBCode
...
BBCode: [img region=0,0,16,16]res://icon.svg[/img]
2022-10-11 13:04:15 +02:00
Rémi Verschelde
e413d1c9c3
Merge pull request #67104 from Calinou/add-viewport-transparent-project-setting
...
Add a project setting to make the root viewport transparent
2022-10-11 09:28:43 +02:00
Rémi Verschelde
5606551028
Merge pull request #67219 from KoBeWi/adJUSt_NAMe_cAsIng_PRopERLY
...
Fix node name casing issues
2022-10-11 09:27:27 +02:00
Rémi Verschelde
6b8772dbb2
Merge pull request #67192 from RedMser/light-scale-warning
...
Show warning when scaling Light3D nodes
2022-10-11 09:26:56 +02:00
Rémi Verschelde
55815998d4
Merge pull request #67194 from RedMser/dirlight2d-height-suffix
...
Remove incorrect `px` suffixes
2022-10-11 09:26:49 +02:00
bruvzg
2e1fcbe14b
Prevent `Popup`s it the edited scene tree from closing on focus loss. Hide irrelevant `Popup` flags from the editor inspector.
2022-10-11 08:55:00 +03:00
Juan Velandia
6e603f202f
Connect signal animation_removed to its proper method
2022-10-10 18:39:49 -05:00
kobewi
b754df2b99
Fix node name casing issues
...
Co-authored-by: ryburnj <jordanryburn@gmail.com>
2022-10-10 22:31:26 +02:00
RedMser
87aeb59b5b
Show warning when scaling Light3D nodes
2022-10-10 18:24:28 +02:00
RedMser
a8a4e290fb
Remove incorrect px suffixes
2022-10-10 18:18:15 +02:00
Rémi Verschelde
8017827144
SCons: Re-enable treating `#warning` as error with `werror`
...
Replace all TODO uses of `#warning` by proper TODO comments, and will open
matching bug reports to keep track of them.
We don't have a great track record fixing TODOs, but I'd wager we're even
worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10 16:12:26 +02:00
Rémi Verschelde
8c24b35b76
Merge pull request #65942 from SaracenOne/animation_change_callback_fix
...
Fix animation change callbacks
2022-10-10 13:53:53 +02:00
Rémi Verschelde
ddb97a0b35
Merge pull request #67117 from Jummit/tree-button-color
...
Expose TreeItem::set_button_color
2022-10-10 13:52:57 +02:00