Commit Graph
8993 Commits
Author SHA1 Message Date
Rémi VerscheldeandGitHub dd869bd2a7 Merge pull request #55814 from williamd67/GPULightMapper-correct-colors 2021-12-12 20:56:11 +01:00
Rémi VerscheldeandGitHub e8011be6f5 Merge pull request #55729 from cdemirer/fix-script-editor-unexpected-scroll-upon-resize 2021-12-12 20:54:53 +01:00
jmb462 d44b33741b Fix bad mouse offset to show tooltips in Tree 2021-12-12 09:12:26 +01:00
William Deurwaarder 742f072c59 GPULightMapper: convert colors of lights to linear
To make baked colors of lights equal to dynamic colors of lights they have to be
converted to linear as the colors of dynamic lights are converted to linear by
RendererSceneRenderRD.
2021-12-11 13:01:07 +01:00
cdemirer a361236526 Fix unexpected scroll on resize + consistent return value 2021-12-11 10:03:24 +08:00
PouleyKetchoupp 940f3fde5c Improve RigidDynamicBody force and torque API
Makes the API for forces and impulses more flexible, easier to
understand and harmonized between 2D and 3D.

Rigid bodies now have 3 sets of methods for forces and impulses:
-apply_impulse() for impulses (one-shot and time independent)
-apply_force() for forces (time dependent) applied for the current step
-add_constant_force() for forces that keeps being applied each step

Also updated the documentation to clarify the different methods and
parameters in rigid body nodes, body direct state and physics servers.
2021-12-10 15:55:40 -07:00
Rémi VerscheldeandGitHub 0ba7103bea Merge pull request #55702 from nekomatata/physics-solver-settings 2021-12-10 22:10:41 +01:00
Rémi VerscheldeandGitHub 9ef6b5c104 Merge pull request #55797 from KoBeWi/internal_shenanigans 2021-12-10 18:55:20 +01:00
kobewi 1ff9ddeb27 Fix wrong internal children usage in BoxContainer 2021-12-10 18:01:44 +01:00
Hugo Locurcio 92e9cca5be Rename hint_aniso to hint_anisotropy in the shader language
The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
2021-12-10 17:41:17 +01:00
Rémi VerscheldeandGitHub 4f9b6d9a3f Merge pull request #51235 from AnilBK/awkward-funcs 2021-12-10 16:58:11 +01:00
Steve SzilágyiandCamille Mohr-Daurat 0c352407d8 VehicleWheel can now return the surface it's colliding with.
Fixed PR issues.

Update vehicle_body_3d.cpp

Apply suggestions from code review

Co-authored-by: Camille Mohr-Daurat <pouleyKetchoup@gmail.com>
2021-12-10 13:22:02 +01:00
Rémi VerscheldeandGitHub 3c448437f6 Merge pull request #55263 from RPicster/ParticleMaterial-random-start-color 2021-12-10 10:06:46 +01:00
Rémi VerscheldeandGitHub f455660e93 Merge pull request #55572 from aaronfranke/ci-double 2021-12-10 10:02:38 +01:00
Rémi VerscheldeandGitHub 7e32a27879 Merge pull request #55739 from Paulb23/text-edit-base-performance 2021-12-10 09:46:15 +01:00
Rémi VerscheldeandGitHub bdf8340e59 Merge pull request #43181 from nathanfranke/string-empty
Replace String comparisons with "", String() to is_empty()
2021-12-10 08:56:31 +01:00
FelipeMatoba 29178d3564 Increased time delay on selection when opening a popup 2021-12-09 16:44:56 -03:00
Aaron Franke e9808e3d9a Add a double-precision editor build to CI 2021-12-09 09:52:48 -06:00
Nathan Franke 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
Rémi VerscheldeandGitHub 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 GollnickandGrendel 0c14b930ef Fix _validate_property on AnimatedSprite 2D and 3D 2021-12-08 16:59:11 -06:00
Paulb23 bfe2cd2f03 Optimise TextEdit base operations 2021-12-08 18:23:07 +00:00
kobewi 347e50f73b Improve PopupMenu doc about id and index 2021-12-08 13:02:42 +01:00
Rémi VerscheldeandGitHub 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
PouleyKetchoupp 8682adcb87 Add physics solver settings to project settings
Helps with discovery and setup of physics solver settings, in a specific
project settings section for both 2D and 3D.

Other changes for cleanup:
-Removed unused space parameters in 3D
SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO
SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS
-Added custom solver bias for Shape3D (same as Shape2D)
-Improved documentation for solver settings
2021-12-07 12:08:04 -07:00
kobewi 841a9ef820 ScrollContainer's scrollbar visibility is now enum 2021-12-07 18:27:12 +01:00
Rémi VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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
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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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
Raffaele Picca ddf82697d7 Random initial color parameter for ParticleMaterial
Works with 2D and 3D GPU Particles
2021-12-03 13:58:17 +01:00
Rémi VerscheldeandGitHub 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