Commit graph

8970 commits

Author SHA1 Message Date
Rémi Verschelde 4129c1d140
Merge pull request #55299 from nathanfranke/renames 2021-12-09 10:22:24 +01:00
Nathan Franke 41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
Jonathan Gollnick 0c14b930ef
Fix _validate_property on AnimatedSprite 2D and 3D 2021-12-08 16:59:11 -06:00
kobewi 347e50f73b Improve PopupMenu doc about id and index 2021-12-08 13:02:42 +01:00
Rémi Verschelde 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
Hugo Locurcio 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
jmb462 083ff9a133 Fix bad mouse offset with Control::wrap_mouse() 2021-12-07 20:55:12 +01:00
kobewi 841a9ef820 ScrollContainer's scrollbar visibility is now enum 2021-12-07 18:27:12 +01:00
Rémi Verschelde 3ed2bd13ad
Merge pull request #55670 from akien-mga/rename-videoplayer 2021-12-07 09:24:35 +01:00
Aaron Franke 6eb7179f1c
Rename "items_count" property to "item_count" 2021-12-06 22:02:27 -06:00
Rémi Verschelde c1ed695f32
Merge pull request #55659 from timothyqiu/boom
Fix crash when `update()` is called inside `_draw()`
2021-12-06 22:39:02 +01:00
Rémi Verschelde 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
Rémi Verschelde 75ac048e4b
Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size 2021-12-06 18:28:46 +01:00
Rémi Verschelde e11baf90d1
Merge pull request #55666 from KoBeWi/reduce_ProximityGroup3D_to_atoms 2021-12-06 18:14:17 +01:00
kobewi 30e1478d0f Remove ProximityGroup3D node 2021-12-06 17:01:51 +01:00
jmb462 81efebb3a1
Fix bad popups offset in editor with single window off
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06 14:29:48 +01:00
Rémi Verschelde ede7614fe2
Merge pull request #55544 from V-Sekai/audio_camera_null_mitigation 2021-12-06 14:19:40 +01:00
kobewi ea7cc1dea9 Rename minimum_size_changed() method 2021-12-06 14:02:34 +01:00
Rémi Verschelde a512edcfb9
Merge pull request #55654 from KoBeWi/reset_softcode 2021-12-06 13:27:27 +01:00
kobewi 9cb66cac2d Add a constant StringName for RESET animation 2021-12-06 12:26:42 +01:00
Haoyu Qiu f18de71b56 Fix crash when update() is called inside _draw() 2021-12-06 14:20:26 +08:00
Hugo Locurcio 89ec3d3bc7
Remove or make verbose some debugging prints
The message about SpatialMaterial conversion was turned into a warning,
as it can potentially interfere with porting projects from Godot 3.x
(if there's a bug in the conversion code).
2021-12-05 23:22:23 +01:00
kobewi 7f6ab0006d Bind column_titles_visible as property 2021-12-05 02:55:38 +01:00
Rémi Verschelde 4f298237bf
Merge pull request #55595 from Paulb23/text-edit-underline
Fixed TextEdit underline draw pos
2021-12-04 00:55:48 +01:00
Pedro J. Estébanez 441928c7e3 Fix WorldEnvironment node warning about unset resources 2021-12-03 20:04:50 +01:00
Paulb23 f9b66da748 Fixed TextEdit underline draw pos 2021-12-03 16:56:01 +00:00
Rémi Verschelde bbff64eee3
Merge pull request #55580 from timothyqiu/force-drag 2021-12-03 12:49:26 +01:00
Haoyu Qiu 86a47c6540 Fix mouse cursor and notification for force dragging 2021-12-03 18:19:41 +08:00
Yuri Roubinsky b12fea5b52 Add bitwise operators to VisualShaderNodeIntOp 2021-12-03 12:48:35 +03:00
Rémi Verschelde 543462eb29
Merge pull request #55294 from ConteZero/text_edit_drag_and_drop
Add drag and drop to TextEdit
2021-12-02 23:19:53 +01:00
ConteZero 0699941f07 Add drag and drop to TextEdit 2021-12-02 22:00:07 +01:00
Rémi Verschelde 8f00625824
Merge pull request #54910 from Calinou/basematerial3d-texture-auto-roughness-metallic
Set roughness/metallic to 1 when assigning a texture in BaseMaterial3D
2021-12-02 21:11:32 +01:00
Rémi Verschelde 892a5a72cd
Merge pull request #55474 from akien-mga/copy-operators-no-reference 2021-12-02 17:34:45 +01:00
Rémi Verschelde 11d5b91462
Merge pull request #55548 from pycbouh/editor-scroll-dat-preview 2021-12-02 17:30:11 +01:00
Rémi Verschelde 8c1fc562dc
Merge pull request #55483 from pycbouh/theme-load-and-order 2021-12-02 17:20:04 +01:00
Rémi Verschelde ced07100d7
Merge pull request #53287 from Chaosus/sprite3d_fix 2021-12-02 16:23:33 +01:00
Yuri Sizov c33f407d27 Allow scrolling theme preview when the control picker is active 2021-12-02 17:57:53 +03:00
Rémi Verschelde bb3f0a9d58
Merge pull request #55271 from RPicster/particles-texture-animation-speed 2021-12-02 10:14:26 +01:00
Rémi Verschelde 81b7418013
Merge pull request #55402 from TokageItLab/fixed-immediatemesh-minimum-aabb
Fixed minimum size of `AABB` in `ImmediateMesh` to draw only one vertex
2021-12-02 08:05:56 +01:00
Silc 'Tokage' Renew ca2b7a87a5 Fixed minimum size of aabb in ImmediateMesh to draw only one vertex 2021-12-02 08:33:33 +09:00
Rémi Verschelde 3b9de26fec
Merge pull request #53868 from aaronfranke/curve 2021-12-02 00:17:47 +01:00
lawnjelly 6db29583f2 Faster Path2D drawing with polyline
Changes the Path2D drawing to use POLYLINE instead of thick lines.
2021-12-01 15:23:27 +00:00
Aaron Franke 129911f61a
Improve Curve with const and real_t 2021-11-30 14:24:27 -06:00
Rémi Verschelde e223a9c129
Merge pull request #55486 from nekomatata/physics-contacts-debug 2021-11-30 20:21:54 +01:00
Rémi Verschelde 7e0537bd79
Merge pull request #55301 from Chaosus/vs_fix_meshemitter_crash 2021-11-30 19:41:11 +01:00
PouleyKetchoupp 1ce74c0273 Fix physics 2D/3D contact points rendering
Physics internal process was removed by mistake, it's needed for contact
points to be updated each frame.

Fixed some multimesh parameters to allow 3D contact points to be drawn,
although it's still not working well in 3D as only some of the contact
points are drawn, and some of them keep being drawn when the number
of visible instances drops to 0 instead of hiding them all.
2021-11-30 09:35:12 -07:00
Yuri Sizov d567ce3582 Make default/project theme wait for modules before initializing 2021-11-30 19:09:29 +03:00
Rémi Verschelde 7da392bcc5
Don't return reference on copy assignment operators
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this
can lead to confusing code and subtle bugs.

According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++
allows any arbitrary return type, so this is standard compliant.

This could be re-assessed if/when we have an actual need for a behavior more
akin to that of the C++ STL, for now this PR simply changes a handful of
cases which were inconsistent with the rest of the codebase (`void` return
type was already the most common case prior to this commit).
2021-11-30 16:26:29 +01:00
ator-dev 8c2b7ea537 Prevent hidden tab close buttons from intercepting input [4.0] 2021-11-29 20:25:42 +00:00
Rémi Verschelde 9c116fcf0a
Merge pull request #55377 from RedHeadphone/patch-1 2021-11-29 16:24:14 +01:00