Rémi Verschelde
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
Yuri Roubinsky
526390c048
Fix highlight for completion options match (rebased)
...
Co-authored-by: Gustav Andersson <gvekan@users.noreply.github.com>
2021-12-12 10:39:49 +03:00
mechPenSketch
0449b30bbc
Expose connection hot zones in GraphNode
2021-12-12 15:20:40 +08:00
Pedro J. Estébanez
18663aa305
Stop asuming a default value of NIL means there's no default
2021-12-11 14:03:48 +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 Verschelde
0ba7103bea
Merge pull request #55702 from nekomatata/physics-solver-settings
2021-12-10 22:10:41 +01:00
Rémi Verschelde
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 Verschelde
4f9b6d9a3f
Merge pull request #51235 from AnilBK/awkward-funcs
2021-12-10 16:58:11 +01:00
kleonc
67dd4f15ee
Tree Don't consume mouse event by collapse arrow which isn't shown
2021-12-10 16:54:47 +01:00
Steve Szilágyi
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 Verschelde
3c448437f6
Merge pull request #55263 from RPicster/ParticleMaterial-random-start-color
2021-12-10 10:06:46 +01:00
Rémi Verschelde
f455660e93
Merge pull request #55572 from aaronfranke/ci-double
2021-12-10 10:02:38 +01:00
Rémi Verschelde
7e32a27879
Merge pull request #55739 from Paulb23/text-edit-base-performance
2021-12-10 09:46:15 +01:00
Rémi Verschelde
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
Haoyu Qiu
753ae7403f
Add drag start/end signals for Slider
2021-12-10 11:19:10 +08: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 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
Haoyu Qiu
5912dd2964
Add proxy support for the editor
...
* Adds proxy support for `HTTPRequest`.
* Adds `network/http_proxy/{host,port}` editor settings.
* Labeled as "HTTP Proxy" and it will be used for both HTTP and
HTTPS requests. This is the same convention as seen in Android
Studio's proxy settings.
* Makes Asset Library and Export Template Manager use proxy according to
the editor settings.
2021-12-09 11:48:16 +08:00
Jonathan Gollnick
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 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
c5550108c8
Decrease the default dynamic range in VoxelGIData to 2.0
...
This reduces visible banding in indirect lighting and reflections.
Sharp reflections now match more closely the original scene.
The downside of this change is that clipping may appear in reflections
in extremely bright scenes, but this should not be a concern in most
scenes.
2021-12-08 00:28:17 +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 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
bruvzg
ad4408d413
Add different "visible characters" behavior modes.
2021-12-06 12:14:49 +02: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
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 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
Pedro J. Estébanez
0a0381dd0a
Rationalize Node removals and deletions
...
- Regarding preservation of owner, `free()` and `remove_child()` now behave the same: owner is kept during `tree_exiting` signal and `null` during `tree_exited`.
- `tree_exited` is emitted in the same order as `tree_exiting`.
- Superfluous code to handle cancelation of ownership is removed.
2021-12-01 14:28:59 +01: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
Michael Alexsander
ec4f4c6cda
Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`
2021-11-30 13:46:36 -03: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
TechnoPorg
acb90ed020
Don't obtain a reference to a subwindow
...
Fixes the wrong location being accessed after changing the order of embedded windows.
This commit also removes an unused variable.
2021-11-29 16:52:19 -07: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
Rémi Verschelde
e4a7ee0da9
Merge pull request #55437 from KoBeWi/show_tooltips_only_when_node_is_not_paused_and_when_it's_paused_don't_show_master_edition
2021-11-29 15:40:54 +01:00
Rémi Verschelde
cae5615a22
Merge pull request #55417 from ekumlin/issue-54856
2021-11-29 14:46:01 +01:00
Rémi Verschelde
d2ac4bb48e
Merge pull request #55052 from RPicster/master-particles-visibility-rect
2021-11-29 14:30:58 +01:00
kobewi
dc5f6ac4cf
Don't show tooltips for paused controls
2021-11-29 13:23:28 +01:00
Rémi Verschelde
89a4ab6c11
Merge pull request #48717 from Faless/debugger/4.x_custom_res_fix
2021-11-29 13:13:13 +01:00
Raffaele Picca
37cfa56db3
Visibility rect only shown when a GPUParticle2D is selected to reduce visual clutter in scenes with a lot of Particle nodes.
2021-11-28 19:42:42 +01:00
Red Headphone
8a6c6d5329
progress_offset now added to reference cross draw function
2021-11-28 17:59:00 +05:30
Silc 'Tokage' Renew
0569930280
Fixed PlaybackData in AnimationPlayer
2021-11-27 07:53:48 +09:00
Hugo Locurcio
3135c6f03e
Emit node configuration warnings for GeometryInstance3D distance fade
...
The visibility range begin/end margin properties must be set above 0.0
for the fade transition to be visible.
2021-11-26 21:46:32 +01:00
Yuri Roubinsky
93bb34cfb4
Prevent crash when passing empty array to MeshEmitter
2021-11-26 16:07:09 +03:00
Rémi Verschelde
3a0a935fcc
Merge pull request #54345 from floppyhammer/fix-circular-texture-progress
...
Fix nine patch of circular TextureProgressBar
2021-11-26 08:23:45 +01:00
Raffaele Picca
459e2a4b6f
Fixed texture animation speed when using random lifetime ( Particle2D gpu + cpu) as mentioned here: https://github.com/godotengine/godot/issues/54993
2021-11-26 01:12:23 +01:00
Hugo Locurcio
4e593b3e9a
Fix VoxelGIData dynamic range property being treated as integer
...
Floating-point values are accepted as dynamic range settings.
This also clamps the lowest value to 1.0, as there's no practical
use case for going below 1.0 (it introduces clipping without
improving precision).
2021-11-26 00:47:31 +01:00
Rémi Verschelde
1b89296fad
Merge pull request #55227 from ator-dev/fix-code-folding
2021-11-25 22:21:46 +01:00
Max Hilbrunner
a6a2e0feb9
Merge pull request #52387 from Calinou/node-rename-path-changed-notification
...
Rename Node's `NOTIFICATION_PATH_CHANGED` to `NOTIFICATION_PATH_RENAMED`
2021-11-25 17:47:44 +01:00
ator-dev
bac0a035c9
Fix code folding when end of block is unindented delimiter
2021-11-24 22:43:06 +00:00
Rémi Verschelde
547c270777
Merge pull request #51679 from Je06jm/fsr
...
AMD FidelityFX Super Resolution
2021-11-24 22:34:48 +01:00
Lightning_A
e078f970db
Rename `remove()` to `remove_at()` when removing by index
2021-11-23 18:58:57 -07:00
Je06jm
20deb0917d
Implemented AMD's FSR as a computer shader for upscaling 3D scenes
2021-11-23 14:16:03 -07:00
Camille Mohr-Daurat
c6022ddcf3
Merge pull request #55254 from fabriceci/fix-horizontal-velocity-being-always-reset-on-wall
...
Fix horizontal velocity being always reset when the body hit a wall in 3D
2021-11-23 11:22:17 -07:00
kobewi
4682f22293
Improve various texts
2021-11-23 12:20:57 +01:00
fabriceci
ed9b18be94
Fix horizontal velocity being always reset when the body hit a wall in 3d
2021-11-23 11:29:29 +01:00
Camille Mohr-Daurat
66ba19a435
Merge pull request #55202 from fabriceci/fix-wall-acceleration-in-3d
...
Fix wall acceleration in move and slide (3D)
2021-11-22 08:27:56 -07:00
Rémi Verschelde
76aa1d0a43
Merge pull request #55151 from Chaosus/control_reset_size
2021-11-22 16:22:57 +01:00
Camille Mohr-Daurat
8daf0cc49c
Merge pull request #55216 from fabriceci/fix-body-stuck-complex-scenario-3d
...
Fix CharacterBody3D stuck in some advanced scenario
2021-11-22 08:16:16 -07:00
Yuri Roubinsky
eabf8f5edf
Added `reset_size` method to `Control` and `Window` classes
2021-11-22 16:55:21 +03:00
fabriceci
a86d73ef3b
Fix body stuck in some 3d advanced scenario
2021-11-22 13:36:51 +01:00
Yuri Sizov
e85e6ec7fc
Add methods to get position from column and line in TextEdit
2021-11-22 15:13:13 +03:00
Rémi Verschelde
70d530029a
Merge pull request #55171 from dalexeev/font-data-set-fixed-size
2021-11-22 12:23:41 +01:00
Rémi Verschelde
78dbe4e3e4
Merge pull request #54339 from ConteZero/line_edit_drag_and_drop
2021-11-22 12:20:01 +01:00
Rémi Verschelde
a387094c25
Merge pull request #55174 from clayjohn/Sky-SRGB
2021-11-22 12:19:20 +01:00
Rémi Verschelde
ed3af70b11
Merge pull request #55170 from Razoric480/raz/cast-handle
2021-11-22 11:53:28 +01:00
clayjohn
7ba555dada
Convert PhysicalSkyMaterial colors to SRGB
2021-11-21 12:26:29 -08:00
fabriceci
b738af86da
Fix wall acceleration in move and slide (3D)
2021-11-21 17:09:49 +01:00
Danil Alexeev
753d677343
Expose `FontData::{set,get}_fixed_size` methods
2021-11-20 20:47:01 +03:00
Francois Belair
2e6e3a8ed7
Change cast of int to num to int static cast
2021-11-20 11:58:55 -05:00
Hugo Locurcio
6c0b55acad
Fix ProceduralSkyMaterial colors due to double sRGB -> linear conversion
2021-11-20 17:26:06 +01:00
fabriceci
3a4debfa59
Scales the horizontal velocity according to the wall slope in 2D
2021-11-19 14:09:17 +01:00
Hugo Locurcio
652fd9ffcc
Remove outdated comments related to the 20-layer editor limitation
...
All 32 layers are now exposed in the editor.
2021-11-18 23:02:40 +01:00
Rémi Verschelde
395558c021
Merge pull request #54462 from Paulb23/the-last-hidden-line
2021-11-18 15:56:06 +01:00
Rémi Verschelde
d087e1c413
Merge pull request #55082 from Chaosus/vs_mesh_emitter
2021-11-18 15:16:38 +01:00
Rémi Verschelde
bae15cb90e
Merge pull request #53602 from KoBeWi/mountain_range
2021-11-18 13:02:02 +01:00
Yuri Roubinsky
0270144644
Enchance `VisualShaderNodeMeshEmitter`, add more ports and fix bugs
2021-11-18 14:02:15 +03:00
Eric
7257bb6ad0
Fix condition on 'jump to limits' logic
...
This is a fix for: #54856
2021-11-17 21:12:34 -08:00
Paulb23
2a302f7097
Fix TextEdit mouse interactions when the last line is hidden
2021-11-17 18:29:19 +00:00
Yuri Roubinsky
8be89357ce
Fix `ColorPicker` inverted input on color circle
2021-11-17 20:33:17 +03:00
Rémi Verschelde
0ef092a138
Merge pull request #55056 from RandomShaper/fix_crash_instantiate
2021-11-17 15:54:38 +01:00
Pedro J. Estébanez
78ffc2a987
Fix crash when loading scene instance after node vanished from parent
2021-11-17 14:00:23 +01:00
Rémi Verschelde
08eb8c9fc3
Merge pull request #55018 from kodiwills/add-error-macros-for-`set_modification_count`
...
add negative number validation for set_modification_count
2021-11-17 08:48:19 +01:00
Kodi
bdcd98c6ce
add input validation for set_modification_count
...
update error macros for set_modification_count
2021-11-16 19:09:01 -05:00
Hugo Locurcio
8fb7e622a6
Rename built-in `SGN()` macro to `SIGN()`
...
This matches the name of the GDScript function (except it's uppercase
here).
2021-11-16 20:40:49 +01:00
Nathan Lovato
a5d0a74b65
Make bezier handle type a property of keyframes, update interface
...
- Replaced unused code related to old close icon with a button
- Add bezier handle options to right-click menu
- Remove mirror handle mode, only keep balanced
- Update animation reference
2021-11-16 09:26:35 -05:00
Rémi Verschelde
098e3cf8f7
Fix style issue after #54148
2021-11-16 14:27:44 +01:00
Rémi Verschelde
1edbe4f3c1
Merge pull request #54148 from miraz12/fix-scrollContrainer-notification-crash
2021-11-16 14:13:21 +01:00
Rémi Verschelde
b99792b5d9
Merge pull request #54167 from brunosxs/fix-game-crash-when-sending-a-notification-from-a-camera-class
2021-11-16 14:11:14 +01:00
ConteZero
2b1787b446
Fix drag and drop on LineEdit
2021-11-15 17:10:56 +01:00
Umang Kalra
840225bdb1
Making nodes enclosed within comment move with the comment node
2021-11-15 10:59:07 +05:30
kobewi
58146a74f7
Fix nodes being renamed into garbage upon conflict
2021-11-15 02:05:44 +01:00
Hugo Locurcio
bad74311db
Set roughness/metallic to 1 when assigning a texture in BaseMaterial3D
...
This makes material setup faster and avoids mistakes, especially with
the metallic channel which defaults to 0.
The value is only changed when adding a texture when none was
previously assigned, not when assigning a different texture.
2021-11-13 17:46:22 +01:00
Aaron Franke
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
Camille Mohr-Daurat
74facb6d39
Merge pull request #54803 from goostengine/shape-cast-2d
...
Add `ShapeCast2D` node
2021-11-12 13:28:44 -07:00
Andrii Doroshenko (Xrayez)
6a67350910
Remove `get_closest_*` methods from `ShapeCast2D`
...
The physics API cannot provide needed functionality to ensure the correct behavior, which might lead to confusion (see `rest_info()`).
However `get_closest_collision_safe/unsafe_fraction()` methods are not removed, because they return correct result from `cast_motion()`.
2021-11-12 21:30:35 +02:00
Andrii Doroshenko (Xrayez)
f979d5977a
Add `ShapeCast2D` node
2021-11-12 21:29:30 +02:00
Aaron Franke
2ad3d1bd7a
Make OpenSimplex and VisualScript modules not depend on the editor
2021-11-12 12:03:54 -06:00
Rémi Verschelde
aa1b13a96e
Merge pull request #51048 from aaronfranke/ci-minimal
2021-11-12 17:23:07 +01:00
Yuri Roubinsky
9da86c2fb7
Merge pull request #54920 from Chaosus/vs_fix_crash
2021-11-12 19:21:49 +03:00
Aaron Franke
ae713f8980
Add a minimal template build to CI
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-11-12 09:30:50 -06:00
Yuri Roubinsky
d0fbc467a6
Fix editor crash due incorrect setup of default texture in visual shader
2021-11-12 18:23:45 +03:00