PouleyKetchoupp
cc39dca9f7
Rename Godot Physics classes from *SW to Godot*
...
Also moved MT physics server wrappers to the main servers folder, since
they don't have to be implementation specific.
2021-10-18 17:01:10 -07:00
ConteZero
838c9d37b4
Added primary clipboard for Linux
2021-10-18 14:01:06 +02:00
Haoyu Qiu
0a381137bc
Fix crash when executing CodeEdit._main_gutter_draw_callback
2021-10-18 19:26:47 +08:00
Yuri Roubinsky
26a26d6657
Fix errors on quitting from an empty project
2021-10-18 14:24:03 +03:00
Rémi Verschelde
015e0c9fd8
Merge pull request #52773 from Calinou/audiostreamplayer3d-tweak-max-distance
2021-10-18 10:49:01 +02:00
Rémi Verschelde
523e0d80a8
Merge pull request #53925 from Anutrix/fix-unused-imports
...
Remove unused imports default_theme SCsub
2021-10-18 07:56:36 +02:00
Rémi Verschelde
b6ee9ed8c5
Merge pull request #53889 from Klowner/surfacetool-generate-lod-assert-crash
...
Add check to SurfaceTool.generate_lod(); ensure target index count >=…
2021-10-18 07:51:43 +02:00
Anutrix
a4b736658e
Remove unused imports in .py, SCsub and SConstruct files
2021-10-18 01:50:34 +05:30
Yuri Roubinsky
468b987aa3
Merge pull request #53881 from Ev1lbl0w/fix_textedit_null_crash
2021-10-17 15:33:38 +03:00
Bastiaan Olij
5d1ea92daf
Rework XR positional trackers
2021-10-17 12:12:20 +11:00
Mark Riedesel
5d96124af6
Add check to SurfaceTool.generate_lod(); ensure target index count between 0 and source index count. Fixes #53876
2021-10-16 20:31:20 -04:00
Rémi Verschelde
c2a616f3ec
Merge pull request #53821 from TwistedTwigleg/Godot_Master_SkeletonModificationIK_FixPoseChange
...
Fix for SkeletonModification3Ds to work with the new bone pose changes.
2021-10-16 23:54:37 +02:00
TwistedTwigleg
0cedc04769
Fix for SkeletonModification3Ds to work with the new bone pose changes, fixed global_pose_to_local_pose function
2021-10-16 16:34:31 -04:00
Ricardo Subtil
88985cbf3a
Fix null crash with TextEdit
2021-10-16 18:24:46 +01:00
Rémi Verschelde
a4e1a07d83
Merge pull request #53865 from reduz/implement-blend-shape-tracks
2021-10-16 16:48:10 +02:00
reduz
ae1c016547
Implement Animation Blend Shape Tracks
...
* New track type BLEND_SHAPE
* Blend shapes are imported via this new track type
* Processing is more optimized (no longer relies on variants)
* Modified the Blend Shape API in MeshInstance3D to use indices rather than StringNames (more optimizes)
* Promo: Fixed a small bug in gizmo updating in Node3D that affected performance
Dedicated BlendShape tracks are required for both optimization and eventually implementing them in animation compression.
2021-10-16 08:36:05 -03:00
mennomax
b4eeeb315a
Swap args of Plane(point, normal) constructor
...
Now (normal, point)
2021-10-15 20:49:42 -05:00
Rémi Verschelde
b5ece7c363
Merge pull request #53764 from Chaosus/vs_curve_input_port_default
2021-10-15 19:31:05 +02:00
Rémi Verschelde
1efe7093be
Merge pull request #53833 from akien-mga/remove-webm-support
2021-10-15 17:33:06 +02:00
reduz
b3bf90b3ce
Add scene Post-Import Plugin support.
...
* New plugin system to control the whole import workflow
* Can add options and run code at every import step (general, per node, mesh, animation, material etc.)
This constitutes a first version of these plugins. The ability to interact with the import preview dialog will likely be added later on.
2021-10-15 09:12:04 -03:00
Rémi Verschelde
ae74e78909
Remove WebM support (and deps libvpx and opus)
...
We've had many issues with WebM support and specifically the libvpx library
over the years, mostly due to its poor integration in Godot's buildsystem,
but without anyone really interested in improving this state.
With the new GDExtensions in Godot 4.0, we intend to move video decoding to
first-party extensions, and this would likely be done using something like
libvlc to expose more codecs.
Removing the `webm` module means we can remove libsimplewebm, libvpx and
opus, which we were only used for that purpose. Both libvpx and opus were
fairly complex pieces of the buildsystem, so this is a nice cleanup.
This also removes the compile-time dependency on `yasm`.
Fixes lots of compilation or non-working WebM issues which will be linked
in the PR.
2021-10-15 12:09:11 +02:00
Camille Mohr-Daurat
342c1bf1e2
Merge pull request #53054 from MaxLap/doc_shape_signals
...
Improve area/body_shape_entered/exited signals parameter names and doc
2021-10-14 14:31:58 -07:00
Maxime Lapointe
b66fdb8dd2
Improve area/body_shape_entered/exited signals parameter names and doc
...
Fix some typoed names from the doc
Add _index to "index" parameters of *_shape_* signals, this is both in doc and in the template. This makes the code, signature and doc easier to understand
Add method to get Node from the _index params of those signals. This was not as easy to find as one would expect. Putting this information where it is needed will help.
2021-10-14 15:41:26 -04:00
Rémi Verschelde
f90047f158
Merge pull request #53786 from TokageItLab/fix-skeleton-editor-methods
2021-10-14 20:53:15 +02:00
Rémi Verschelde
668ceda9cb
Merge pull request #53810 from groud/fix_crash
...
Fixes crash in TileSetAtlasSource::get_tiles_to_be_removed_on_change
2021-10-14 20:26:40 +02:00
Rémi Verschelde
5747895002
Merge pull request #53795 from briansemrau/fix-height-fog
...
Fix the height fog effect
2021-10-14 20:24:53 +02:00
Silc 'Tokage' Renew
8e9897b6de
get rid set_bone_pose and fix some function in SkeletonEditor
2021-10-15 02:41:17 +09:00
Gilles Roudière
3948f9cc83
Fixes crash in TileSetAtlasSource::get_tiles_to_be_removed_on_change
2021-10-14 16:49:59 +02:00
Brian Semrau
a62e240260
Fix the height fog effect
2021-10-14 04:08:39 -04:00
Rémi Verschelde
569ea313ab
Merge pull request #53792 from floppyhammer/fix-bilinear-texture-progress-bar
2021-10-14 09:39:38 +02:00
floppyhammer
a238816f0b
Fix bilinear TextureProgressBar with nine patch enabled
2021-10-14 11:19:32 +08:00
reduz
2dc823273e
Remove REST transform influence in skeleton bones
...
* Animations and Skeletons are now pose-only.
* Rest transform is kept as reference (when it exists) and for IK
* Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products).
2021-10-13 14:51:29 -03:00
Rémi Verschelde
004b44e915
Merge pull request #53767 from groud/improve_tile_set_change_performances
2021-10-13 16:03:31 +02:00
Rémi Verschelde
6eff4c1fee
Merge pull request #53703 from groud/prevent_tiles_outside_texture
2021-10-13 15:02:35 +02:00
Gilles Roudière
0de2fce3e1
Greatly improve editor performances by deferring tiles related updates
...
Solve few update problems
2021-10-13 14:49:47 +02:00
Yuri Roubinsky
e270644b20
Add a default input parameter field to CurveTexture (in visual shaders)
2021-10-13 15:25:12 +03:00
Rémi Verschelde
8240a11ba0
Merge pull request #53761 from groud/fix_tilemap_memory_leak
2021-10-13 14:04:11 +02:00
Gilles Roudière
b9151860f3
Prevent tiles outside atlas texture
2021-10-13 13:44:02 +02:00
Rémi Verschelde
3be18d3d37
Merge pull request #53578 from RedHeadphone/patch-1
2021-10-13 12:44:54 +02:00
Rémi Verschelde
a564dd7c6d
Merge pull request #53747 from manueldun/trailSectionSubdivCrash
2021-10-13 12:43:48 +02:00
Rémi Verschelde
3e86ca5586
Merge pull request #53689 from reduz/remove-animation-transform3d-track
2021-10-13 12:40:33 +02:00
Gilles Roudière
48fb43035c
Fix TileMap memory leak
2021-10-13 12:12:25 +02:00
Rémi Verschelde
d742dcd3ce
Merge pull request #53745 from KoBeWi/layerzzzzz
2021-10-13 10:16:44 +02:00
Rémi Verschelde
74a87fe98b
Merge pull request #53683 from Chaosus/vs_previews
2021-10-13 10:03:44 +02:00
Manuel Dun
3905b4e67a
fix so the error macro uses the incomming parameter p_subdivision instead of the class member
2021-10-12 20:22:33 -04:00
kobewi
bf3eaa767b
Use z_index for TileMap layer darkening
2021-10-13 01:34:34 +02:00
reduz
ec19ed3723
Remove animation 3D transform track, replace by loc/rot/scale tracks.
...
* `Animation.TYPE_TRANSFORM3D` track is gone.
* Added POSITION_3D, ROTATION_3D, SCALE_3D tracks.
* GLTF2, Collada, FBX importers will only import the track types found.
* Skeleton3D bone poses are now Pos/Rot/Scale, pose matrix removed.
* AnimationPlayer and AnimationTree animate these tracks separately, only when found.
* Removed BakeReset code, is useless with these changes.
This is the first in a series of commits designed to make the animation system in Godot more useful, which includes:
* Better compatibility with Autodesk products
* Better reusability of animations across models (including retargeting).
* Proper animation compression.
* etc.
*Note* GLTF2 animation saving went broken with this PR, needs to be fixed in a subsequent one.
2021-10-12 20:08:42 -03:00
Rémi Verschelde
d9667d9262
Merge pull request #53636 from KoBeWi/colorayer
...
Add modulate property to TileMap layers
2021-10-12 22:32:38 +02:00
Rémi Verschelde
b372f79dd5
Merge pull request #53676 from Klowner/camera-get-pyramid-rid-shape-crash
...
Fix Camera3D::get_pyramid_shape_rid() crash when not in scene
2021-10-12 22:32:16 +02:00
Rémi Verschelde
88463c3eee
Merge pull request #53712 from CakHuri/nullptr
...
Replace NULL with nullptr
2021-10-12 22:30:43 +02:00
Hendrik Brucker
cd37af4e4c
Add GradientTexture2D
...
Co-authored-by: Mariano Javier Suligoy <marianognu.easyrpg@gmail.com>
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
2021-10-12 16:22:30 +02:00
M. Huri
033dc4dbef
Replaced NULL with nullptr
2021-10-12 20:20:19 +07:00
Aaron Franke
7e51e4cb84
Fix some LGTM errors of "Multiplication result converted to larger type"
2021-10-12 00:17:27 -05:00
Juan Linietsky
610de0974d
Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation"
2021-10-11 19:27:50 -03:00
Rémi Verschelde
9ed4f8367b
Merge pull request #48332 from TokageItLab/implement-ping-pong
2021-10-11 22:55:01 +02:00
Yuri Roubinsky
c299c54023
Make port previews in visual shader visible in other shader modes
2021-10-11 22:19:08 +03:00
Mark Riedesel
49a4d2bc49
add failure condition for get_pyramid_shape_rid() when camera3d is not in tree. fixes #53564
2021-10-11 10:16:48 -04:00
Gilles Roudière
89a6c6cd84
Fixes set_source_id not updating the next automatic source id
2021-10-11 14:58:42 +02:00
Rémi Verschelde
56078cca90
Merge pull request #53630 from timothyqiu/viewport-recursion
2021-10-11 10:02:22 +02:00
Rémi Verschelde
b47580a7a4
Merge pull request #53641 from DeeJayLSP/audio_pitch_fix
2021-10-11 09:22:49 +02:00
bruvzg
19a0982d60
Fix inline IME input not working in the empty LineEdit with the placeholder.
2021-10-11 08:21:34 +03:00
Douglas Leão
39a90751dc
Allow AudioStreamPlayer(2D) to provide pitch_scale
on playback
2021-10-10 18:52:29 -03:00
kobewi
ec0d72a828
Add modulate property to TileMap layers
2021-10-10 20:28:57 +02:00
Haoyu Qiu
7ecb133b22
Fix Viewport::handle_input_locally related infinite recursion
2021-10-10 18:10:28 +08:00
mashumafi
80dc1cc412
Executing AcceptDialog.push_input no longer crashes
2021-10-09 20:33:29 +00:00
Joan Fons
8ab7ca4b32
Fix auto LOD generation for blendshapes.
2021-10-09 20:31:28 +02:00
kobewi
81c0fe836c
Fix Range property dependencies
2021-10-09 17:36:38 +02:00
Tokage
372ba76663
implement ping-pong loop in animation
...
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-09 18:08:43 +09:00
Hugo Locurcio
42d13e29e2
Add a warning for Timer nodes with very low wait times
...
Very low wait times behave in unpredictable ways depending on the
rendered frame rate. This is because the timeout signal is only emitted
once per rendered frame (or physics frame, depending on the timer's
process mode).
2021-10-09 08:57:48 +02:00
Rémi Verschelde
5ae569560d
Fix missing argument names in bindings
...
While at it, tweak some boolean setters to use `p_enabled` for the bool.
Also renames `draw_minimap()` to `set_draw_minimap()`.
2021-10-09 00:20:10 +02:00
Duroxxigar
54d305eebe
Improved readability for failing error conditions
2021-10-08 17:29:25 -04:00
Red Headphone
fff70a6427
no limit of negative value for engine_force (VehicleBody class)
2021-10-08 22:25:50 +05:30
Hugo Locurcio
73c6e19acc
Allow any floating-point value as a 3D rendering scale option
...
This allows for finer control over 3D rendering resolution.
Supersampling can also be performed by setting a 3D rendering
resolution above 1.0, which is useful for offline rendering or
for very high-end GPUs.
2021-10-08 18:22:10 +02:00
kleonc
23dac24789
Delete objects enqueued for deletion during SceneTree destruction
2021-10-08 16:45:55 +02:00
Fabio Alessandrelli
7c93931751
[Net] Add call_local argument to Node.rpc_config.
2021-10-08 12:49:20 +02:00
Michael Alexsander
3c5103ac1d
Fix invisible tabs not being ignored in Tabs
2021-10-07 22:40:11 -03:00
Rémi Verschelde
3d05b94212
Merge pull request #53522 from groud/read_only_tile_layout
2021-10-07 22:51:46 +02:00
Rémi Verschelde
a6c4de49e1
Merge pull request #53523 from Calinou/remove-occlusion-color
2021-10-07 22:26:10 +02:00
Rémi Verschelde
21b6aabb60
Merge pull request #53538 from Calinou/environment-ssr-fade-no-negative-values
2021-10-07 22:05:46 +02:00
Rémi Verschelde
82072c4010
Merge pull request #53539 from Calinou/sky-material-color-no-alpha
2021-10-07 22:05:31 +02:00
Rémi Verschelde
9bbed1fe86
Merge pull request #53543 from vnen/joint-waring-release
...
Joint2D: Use boolean instead of warning string for validity test
2021-10-07 21:06:06 +02:00
George Marques
70e1a50cd1
Joint2D: Use boolean instead of warning string for validity test
...
Those strings are stripped at release there's a false positive that the
bodies are valid, causing a crash.
2021-10-07 14:18:44 -03:00
Hugo Locurcio
01d1e9f576
Don't allow translucent colors in built-in sky material properties
...
The colors' alpha channel is ignored, so there's no point in
exposing it in the editor.
2021-10-07 18:12:16 +02:00
Hugo Locurcio
0269d8e871
Clamp Environment's SSR fade-in and fade-out to positive values
...
Negative values result in rendering glitches.
2021-10-07 17:59:55 +02:00
Hugo Locurcio
265bae824f
Remove unimplemented Environment.ambient_light_occlusion_color
property
...
This property was intended to provide a way to have SSAO or VoxelGI
ambient occlusion with a color other than black. However, it was
dropped during the Vulkan renderer development due to the performance
overhead it caused when the feature wasn't used.
2021-10-07 17:47:52 +02:00
Rémi Verschelde
f323d25dd3
Merge pull request #53525 from Calinou/comments-replace-visual-server
...
Replace references to VisualServer in code comments with RenderingServer
2021-10-07 17:06:27 +02:00
Hugo Locurcio
bcf4a56c74
Replace references to VisualServer in code comments with RenderingServer
...
VisualServer no longer exists in the `master` branch.
2021-10-07 15:49:41 +02:00
Hugo Locurcio
9b5785f064
Remove debugging print from the VoxelGI baker
2021-10-07 15:45:54 +02:00
Gilles Roudière
9c1b1e9a7e
Set TileSet layout and half-offset as read-only when using square shape
2021-10-07 15:29:48 +02:00
Haoyu Qiu
6072f38bb1
Use loop instead of recursion when clearing proximity groups
2021-10-07 16:31:47 +08:00
Camille Mohr-Daurat
69f80b6631
Merge pull request #53482 from timothyqiu/soft-body-ready
...
Re-prepare RenderingServer if SoftDynamicBody mesh changed
2021-10-06 14:57:53 -07:00
Rémi Verschelde
164dc11e04
Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmo
...
Implement Skeleton Editor Gizmo
2021-10-06 21:11:20 +02:00
Silc Renew
f2e9867e9f
Implemented SkeletonEditorGizmo
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2021-10-07 01:07:46 +09:00
Haoyu Qiu
d000ce9130
Re-prepare RenderingServer if SoftDynamicBody mesh changed
2021-10-06 23:25:11 +08:00
Rémi Verschelde
010e17b44f
Merge pull request #53476 from Paulb23/breakpoint-move-up-fix
2021-10-06 16:25:17 +02:00
Paulb23
0caab00d66
Fix breakpointed_lines out of sync when removing lines above
2021-10-06 14:23:37 +01:00
Rémi Verschelde
36de097577
Merge pull request #53460 from timothyqiu/tooltip-request-func
2021-10-06 10:11:46 +02:00
Haoyu Qiu
45e943f4fe
Fix crash when tooltip_request_func object is freed
2021-10-06 15:00:31 +08:00
Rémi Verschelde
aa02e0b151
Merge pull request #53450 from nekomatata/fix-editable-children-error
2021-10-06 08:27:15 +02:00
Rémi Verschelde
9962c59dc5
Merge pull request #53446 from nekomatata/container-pre-sort-children
2021-10-06 08:25:06 +02:00
PouleyKetchoupp
2f6cf3b8a8
Fix editable children errors when packing scene tree at runtime
...
When packing a scene node which is not the root, errors where caused
by internal checks in is_editable_instance method.
This check can be safely made outside instead.
2021-10-05 14:49:50 -07:00
PouleyKetchoupp
1c0ebc85dd
Add pre-sort signal and notification in Container
...
Allows processing before children are sorted, useful for custom
containers inherited from existing ones like BoxContainer.
2021-10-05 13:09:01 -07:00
Rémi Verschelde
869a618e54
Merge pull request #53438 from godotengine/fix-code-comple-end-key
2021-10-05 20:41:28 +02:00
Rémi Verschelde
a5d7b49342
Merge pull request #53428 from akien-mga/4.x/27790-viewport-error-fix
...
Fix ViewportTexture error when viewport is used from a child scene
2021-10-05 18:51:29 +02:00
Eric M
ced7d51e23
Fix the "END" key behaving like "PAGE_DOWN" in code completion.
...
Before: behaved like page down.
After: goes to last item.
2021-10-06 01:28:29 +10:00
Rémi Verschelde
198b49d8b5
Merge pull request #53237 from metinc/fix-animated-sprite-precision-error-master
2021-10-05 16:26:36 +02:00
jitspoe
2ceba818c3
Fix ViewportTexture error when viewport is used from a child scene
...
Fix invalid errors when a separate child scene file contains a viewport and
that viewport is used for a texture in the current scene.
Fixes #27790 .
2021-10-05 12:21:06 +02:00
Rémi Verschelde
c773c709c0
Merge pull request #53051 from kleonc/animated-sprites-centered-rendering
2021-10-05 11:22:17 +02:00
Rémi Verschelde
6637207c70
Merge pull request #53420 from nekomatata/fix-tilemap-moving-platform
2021-10-05 10:50:56 +02:00
kobewi
cdac60759e
Add support for unbinding in connection dialog
2021-10-04 21:41:21 +02:00
PouleyKetchoupp
4f8d761be6
Fix physics glitch with TileMap moving platforms
...
Added a parameter in test_body_motion to exclude attached objects from
collision, used to avoid collision with all TileMap tiles with moving
platform motion instead of just the one tile the character touches.
Same changes made in 3D for consistency, and handling potential similar
cases.
2021-10-04 12:27:42 -07:00
Yuri Sizov
0855e5f8f7
Correctly bind optional arguments when emitting Theme changes
2021-10-04 22:22:41 +03:00
Rémi Verschelde
5b270278c8
Merge pull request #53280 from nekomatata/test-body-motion-parameters
2021-10-04 21:05:38 +02:00
Rémi Verschelde
19d090c324
Merge pull request #53394 from TwistedTwigleg/Godot4_SkeletonIK_RegressionFix
2021-10-04 20:26:55 +02:00
PouleyKetchoupp
3ae5687d48
Script interface improvements for test body motion
...
-Physics servers test body motion use a class to hold parameters instead
of multiple arguments to make it more readable and flexible since there
are many options
-Improved documentation for test body motion and kinematic collision
-Removed read-only properties for body motion results (not handled in
scripts, so they should be get_ methods only instead)
2021-10-04 10:49:10 -07:00
Rémi Verschelde
d1c77d6b62
Merge pull request #53378 from clayjohn/hide_render_priority
...
Hide render_priority except when using SpatialMaterials
2021-10-04 19:17:32 +02:00
Rémi Verschelde
adc9500e54
Merge pull request #53330 from jmb462/fix-bad-caret-position-after-ctrl-x
...
Fix caret position and viewport centering after deleting line (Ctrl-X)
2021-10-04 18:18:32 +02:00
clayjohn
8c949016ff
Hide render_priority except when using SpatialMaterials
2021-10-04 08:48:58 -07:00
Rémi Verschelde
073db83569
Merge pull request #53396 from pycbouh/theme-improve-change-propagation
...
Make `Theme` report property list changes less often
2021-10-04 17:35:53 +02:00
Rémi Verschelde
7722048ed0
Merge pull request #53354 from reduz/remove-clipped-camera
2021-10-04 17:19:15 +02:00
Rémi Verschelde
bb201c5887
Merge pull request #53303 from akien-mga/53295-gdscript-completion-quote-style
2021-10-04 17:17:27 +02:00
jmb462
fcb102a826
Fix caret position and viewport centering after deleting line (Ctrl-X)
2021-10-04 17:11:20 +02:00
Rémi Verschelde
11c7bac1ed
Merge pull request #53392 from YeldhamDev/tabs_offset_fix
2021-10-04 17:07:35 +02:00
Yuri Sizov
4e12f770cf
Make Theme report property list changes less often
2021-10-04 17:27:00 +03:00
TwistedTwigleg
92a79ace5b
Fixed SkeletonIK not rotating correctly when solving
2021-10-04 10:22:51 -04:00
Rémi Verschelde
b85dfd990e
GDScript completion: Handle quote style ad-hoc to remove editor dependency
...
`core` and `scene` shouldn't depend on `editor`, so they can't query this style
setting in `get_argument_options`. But we can handle it after the fact in
GDScript's completion code.
Also cleans up a couple extra unused invalid includes in `core`.
2021-10-04 16:16:05 +02:00
Rémi Verschelde
865b62b1cd
Merge pull request #53341 from pycbouh/gui-editor-scale-encapsulation
2021-10-04 16:12:52 +02:00
Rémi Verschelde
2a09e11986
Merge pull request #52802 from V-Sekai/gltf-extensions
2021-10-04 15:52:24 +02:00
reduz
b11bb595d1
Remove ClippedCamera3D
...
* Usage was always confusing for users
* The ability to generate a pyramid shape was moved to Camera3D
* SpringArm3D now casts using the camera pyramid shape if no shape is supplied.
2021-10-04 10:46:49 -03:00
Michael Alexsander
0dd65fff3b
Fix Tabs
offset overreaching when scrolling fast
2021-10-04 10:37:53 -03:00
Yuri Sizov
bdbb7b3999
Remove EDSCALE dependency from /scene/gui
2021-10-04 15:25:08 +03:00
Yuri Sizov
4a42a66cd9
Add the base scale factor to the Theme resource
2021-10-04 15:25:07 +03:00
K. S. Ernest (iFire) Lee
1463fc889b
GLTF for game templates.
...
Convert GLTF Document to use ImporterMeshInstance3D.
Add a GLTFDocument extension list and an extension for converting the importer mesh instance 3d to mesh instance 3d.
Use GLTF module when the editor tools are disabled.
Modified the render server to be less restrictive on matching blend arrays and have more logging.
Misc bugs with multimesh.
Always index the meshes.
2021-10-03 12:37:52 -07:00
kleonc
b266b59e56
Fix rendering centered odd-size texture in AnimatedSprite2D/AnimatedSprite3D
2021-10-03 14:30:51 +02:00
Rémi Verschelde
75d3a10a23
Merge pull request #44964 from Dragoncraft89/animation_tree_bug
2021-10-03 12:43:03 +02:00
Yuri Sizov
8aa78bc050
Reorganize Theme resource code for better maintainability
2021-10-02 19:26:20 +03:00
Rémi Verschelde
ce0268a0c1
Merge pull request #53284 from jmb462/fix-backspace-selection
...
Fix deleting selection at the first line do not work with backspace
2021-10-01 22:48:04 +02:00
PouleyKetchoupp
39f6ca96a3
Rename Joint2D and Joint3D files for consistency
...
Now matches the class names to be consistent between 2D and 3D and with
other node types.
2021-10-01 12:00:32 -07:00
Jean-Michel Bernard
9c375170e4
Fix deleting selection at the first line do not work with backspace
2021-10-01 20:23:52 +02:00
Camille Mohr-Daurat
fdd25d7c84
Merge pull request #53311 from nekomatata/soft-body-remove-mesh-reference
...
Remove scene code in physics servers
2021-10-01 09:56:49 -07:00
Camille Mohr-Daurat
c7ee029acd
Merge pull request #53302 from nekomatata/physics-bone-remove-editor-code
...
Remove editor code in PhysicalBone3D
2021-10-01 08:45:20 -07:00
PouleyKetchoupp
b8eeb34b4e
Remove scene code in physics servers
...
Replaced Mesh with mesh RID in Godot Physics 3D and Bullet.
2021-10-01 08:42:47 -07:00
PouleyKetchoupp
ca30b70943
Remove editor code in PhysicalBone3D
...
_set_gizmo_move_joint is only used in PhysicalBone3DEditor, so the
editor plugin call can be done directly there.
2021-10-01 08:02:38 -07:00
bruvzg
daa613333e
[Text Server] Add support for user defined punctuation list, used for word breaking.
2021-10-01 16:45:16 +03:00
bruvzg
0c0b5c84b0
Implement TextServer GDExtension interface, remove TextServer GDNative interface.
2021-10-01 15:13:29 +03:00
Rémi Verschelde
769691ab53
Merge pull request #51273 from EricEzaM/multiple-events-per-shortcut-take2
2021-10-01 11:42:41 +02:00
Rémi Verschelde
6ed3e9c182
Merge pull request #53208 from timothyqiu/headless-crash
2021-10-01 11:29:19 +02:00
Eric M
4baddc1126
Allow non-control Nodes to handle drag forwarding (e.g. Windows)
2021-10-01 18:03:51 +10:00
Yuri Roubinsky
1ade29147b
Add texture_changed
signal to Sprite3D
2021-10-01 10:14:05 +03:00
bruvzg
2e035272a8
[FontData] Fixes saving copy of the font source data, if it was created from built-in font.
2021-10-01 09:25:26 +03:00
Rémi Verschelde
a28f44fa53
Merge pull request #53277 from YeldhamDev/tabs_renaming
2021-10-01 07:52:29 +02:00
Rémi Verschelde
d1c20130e8
Merge pull request #53279 from nekomatata/fix-tilemap-angular-velocity
2021-10-01 07:36:16 +02:00
Camille Mohr-Daurat
95432893e2
Merge pull request #53272 from fabriceci/bug-platform-ceiling
...
Fix #53255 when a body gets stuck when it hits a descending platform in 2D/3D
2021-09-30 18:05:52 -07:00
PouleyKetchoupp
d46ac42389
Fix angular velocity default value in TileSet
...
Value was uninitialized, which lead to undefined behavior.
2021-09-30 18:04:54 -07:00
Michael Alexsander
663e480f24
Rename some elements of Tabs
2021-09-30 20:18:23 -03:00
fabriceci
3fa76dfe58
Fix body stuck on descending platform
2021-09-30 23:55:50 +02:00
Lightning_A
c63b18507d
Use range iterators for Map
2021-09-30 15:09:12 -06:00
Lightning_A
e4dfa69bcf
Fix non-const iterators in const methods
2021-09-30 15:07:30 -06:00
PouleyKetchoupp
d0ec46be68
Remove shape metadata from 2D physics server
...
Shape metadata was only used to get tile information when colliding with
tilemaps. It's not needed anymore since there's an API in tilemap using
body ids instead.
2021-09-30 10:45:36 -07:00
Camille Mohr-Daurat
767bde8c28
Merge pull request #53197 from nekomatata/fix-motion-direction-in-slope
...
Fix motion direction in slope for CharacterBody3D
2021-09-30 09:43:24 -07:00
Camille Mohr-Daurat
43c7448741
Merge pull request #53149 from fabriceci/port-move-and-slide-3D-new-changes
...
Add latest API changes added in the 3D version of move_and_slide to the 2D version
2021-09-30 09:43:07 -07:00
Rémi Verschelde
a201f30c7f
Merge pull request #53259 from boruok/fix-atlas-texture-get_data-crash
2021-09-30 18:31:15 +02:00
Rémi Verschelde
5b7ec95de7
Merge pull request #53254 from Calinou/node-rename-filename
...
Rename Node's `filename` property to `scene_file_path` for clarity
2021-09-30 17:59:56 +02:00
Hugo Locurcio
570cdc128f
Rename Node's filename
property to scene_file_path
for clarity
2021-09-30 16:50:25 +02:00
fabriceci
bd411ae187
Add latest changes added in the 3D version
2021-09-30 16:50:07 +02:00
PouleyKetchoupp
eec3f3ec12
Fix motion direction in slope for CharacterBody3D
...
- More accurate sliding in slopes to keep input direction correct
- More accurate constant speed calculation
- Renamed linear_velocity to motion_velocity for clarity
- General code cleaning and simplifications
2021-09-30 07:47:07 -07:00
boruok
213612b44a
Fix AtlasTexture get_data() crash
2021-09-30 22:30:05 +09:00
Rémi Verschelde
5d6a98f04e
Merge pull request #53239 from nekomatata/fix-animatable-body-initial-state
2021-09-30 15:15:00 +02:00
Rémi Verschelde
a662ca66aa
Merge pull request #53112 from EricEzaM/better-breakpoint-gutter
2021-09-30 14:57:23 +02:00
Eric M
e0f8410d16
Improved breakpoint gutter for CodeEdit.
...
Added preview of breakpoint placement on hover. Added override of icon for the Editor to use an SVG so it is no longer blurry.
2021-09-30 22:15:47 +10:00
PouleyKetchoupp
6e6f292f15
Fix AnimatableBody moving and colliding during the first frame
...
_update_kinematic_motion() shouldn't be called in the constructor
It's too early and causes a first call to set the body position to 0.
Then the second call to set the actual position triggers kinematic
motion, colliding with objects on the path to the initial position.
Side effect of sync to physics now enabled by default.
2021-09-29 18:30:57 -07:00
Rémi Verschelde
92d88fde2c
Merge pull request #53223 from Paulb23/fix-autocomplete-trigger
2021-09-29 23:15:06 +02:00
Rémi Verschelde
1ab8f3f559
Merge pull request #52724 from groud/improve_tilemap_physics
2021-09-29 23:01:16 +02:00
Metin Celik
a238dc8bbe
Add half frame to floor()
2021-09-29 20:32:37 +02:00
Paulb23
7926d75d02
Fix TextOp setting to none when typing
2021-09-29 17:34:44 +01:00
Gilles Roudière
f2caab4691
Improve TileMap physics for moving platforms and conveyor belts like movements
2021-09-29 17:56:30 +02:00
Haoyu Qiu
9dd0d3f550
Don't memcpy to nullptr even if length is zero
2021-09-29 20:58:14 +08:00
Haoyu Qiu
82f7f2c46c
Fix crash in headless mode
2021-09-29 17:24:53 +08:00
Rémi Verschelde
6c0f44ca7e
Merge pull request #53000 from Chaosus/lineedit_expose_selection_methods
2021-09-29 10:31:37 +02:00
Rémi Verschelde
ad635567b1
Merge pull request #53189 from AnilBK/use-class-specific-funcs
2021-09-29 07:40:52 +02:00
Rémi Verschelde
50c0cee44e
Merge pull request #53186 from groud/tiles_fixes
2021-09-29 07:05:19 +02:00
Anilforextra
fc9767abb1
Use functions defined in the their classes.
2021-09-29 09:36:34 +05:45
Camille Mohr-Daurat
341b532d5e
Merge pull request #52754 from nekomatata/dynamic-body-modes
...
Clarify RigidDynamicBody modes
2021-09-28 17:11:17 -07:00
fabriceci
dd5f01e83e
Set stop on slope on by default on CharacterBody.
2021-09-28 22:31:46 +02:00
Camille Mohr-Daurat
c38ef94951
Merge pull request #53174 from fabriceci/apply-delta-move-and-collide
...
Physic API change: apply the delta in move and collide like move and slide
2021-09-28 11:32:09 -07:00
Gilles Roudière
27b9b3ef3c
Various tiles-related fixes
2021-09-28 19:25:49 +02:00
Rémi Verschelde
9556c3a30a
Merge pull request #53180 from boruok/4.0-fix-atlas-texture-return-null
2021-09-28 18:52:53 +02:00
Rémi Verschelde
0a3aa85a7b
Merge pull request #53177 from fabriceci/sync-to-physics-true-animatable-body
2021-09-28 18:15:56 +02:00
boruok
2cc2adedaa
4.0 fix atlas texture return null
2021-09-28 23:54:47 +09:00
Rémi Verschelde
483b8a598e
Merge pull request #53173 from jmb462/fix-tree-column-title-min-size
2021-09-28 16:21:45 +02:00
fabriceci
32bf7c419c
Sync to physics true by default for AnimatableBody
2021-09-28 16:11:17 +02:00
jmb462
7fabbe2760
Fix tree title column size minimum width
2021-09-28 14:54:48 +02:00
fabriceci
60fee25c44
Apply delta in move and collide
2021-09-28 14:53:24 +02:00
Rémi Verschelde
5aa099aaed
Merge pull request #53154 from drcd1/fix-sphere-normals
2021-09-28 14:51:25 +02:00
Rémi Verschelde
60988a06c2
Merge pull request #52953 from nekomatata/fix-collision-recovery-depth
2021-09-28 12:11:38 +02:00
Rémi Verschelde
c89c2878ef
Merge pull request #53001 from floppyhammer/fix-tree-item-width
2021-09-28 10:53:56 +02:00
Rémi Verschelde
4735a0359c
Merge pull request #53153 from Duroxxigar/fix-bone-attachment-typo
2021-09-28 07:41:36 +02:00
Duarte David
7d53755ca7
Fixes the normals of SphereMesh when the radius is different from 1
2021-09-28 00:09:39 +01:00
Duroxxigar
3bcf03c40f
Fixed typo in bone attachment warning
2021-09-27 18:53:56 -04:00
PouleyKetchoupp
bf523a2b2a
Improved logic for CharacterBody collision recovery depth
...
Allows 2D character controller to work without applying gravity when
touching the ground (also more safely in 3D), and collision detection
is more flexible with different safe margin values.
Character body motion changes in 2D and 3D:
-Recovery only for depth > min contact depth to help with collision
detection consistency (rest info could be lost if recovery was too much)
-Adaptive min contact depth (based on margin) instead of space parameter
Extra CharacterBody changes:
-2D: apply changes made in 3D for stop on slope and floor snap that help
fixing some jittering cases
-3D: fix minor inconsistencies in stop on slope and floor snap logic
2021-09-27 15:31:41 -07:00
Brian Semrau
62f8b0eb91
QuadMesh remove format ARRAY_FORMAT_INDEX
2021-09-27 13:10:34 -04:00
Haoyu Qiu
ab280de765
Validate before passing indices to meshoptimizer
2021-09-27 20:35:56 +08:00
Gilles Roudière
a98453670c
Merge pull request #53100 from KoBeWi/fix_them_tiles_2-layer_count_of_oblivion
...
Fix TileMap layer loading
2021-09-27 14:05:39 +02:00
kobewi
140b54fd35
Fix TileMap layer loading
2021-09-27 13:13:48 +02:00
Rémi Verschelde
8138280d20
Merge pull request #53091 from AnilBK/merge-duplicates
2021-09-27 00:09:32 +02:00
jmb462
3f0fe0b8a3
Fix LineEdit and TextEdit double-click and triple-click selection
2021-09-26 19:56:48 +02:00
Rémi Verschelde
73668c59aa
Merge pull request #52824 from e8newallm/52680
...
Updated Tabs to not update excessively
2021-09-26 19:35:58 +02:00
Matthew Newall
082f924566
Updated Tabs to not update excessively
2021-09-26 17:05:44 +00:00
Anilforextra
41e43e0959
Merge duplicate branch conditions to one.
...
Use SWAP template for swapping values.
2021-09-26 21:18:15 +05:45
floppyhammer
53efc55409
Fix minimum size of TreeItem
2021-09-26 17:02:54 +08:00
LATRio
1b55d72c68
fix out of bounds crash in GPUParticle3D::_skinning_changed()
2021-09-25 23:06:32 +09:00
Rémi Verschelde
9293c76636
Merge pull request #53049 from AnilBK/dont-construct-2
2021-09-25 12:26:08 +02:00
Hugo Locurcio
b383181851
Tweak AudioStreamPlayer3D property hints for usability
...
This also improves the documentation for the `max_distance` property.
2021-09-25 12:24:30 +02:00
Anilforextra
cdd912c48e
Construct values only when necessary.
2021-09-25 14:46:45 +05:45
Yuri Sizov
873443756d
Correctly calculate position of the folding arrow in Tree
2021-09-25 02:01:14 +03:00
Rémi Verschelde
994c1201c1
Merge pull request #52996 from YeldhamDev/im_the_invisible_tab
2021-09-25 00:11:51 +02:00
Rémi Verschelde
46cc0af5c5
Merge pull request #53009 from Chaosus/fix_completion_results
2021-09-24 21:42:38 +02:00
Rémi Verschelde
01d505e507
Merge pull request #52993 from YeldhamDev/tabs_rename_fix
2021-09-24 21:40:23 +02:00
Michael Alexsander
edf3d225ce
Fix tab renaming not updating its size in Tabs
2021-09-24 10:44:04 -03:00
Yuri Roubinsky
e70a0d950a
Fix incorrect offsets of tooltip content in CodeEdit
...
Fix incorrect offsets of tooltip content in `CodeEdit`
2021-09-24 16:33:39 +03:00
kobewi
11e7963a14
Refactor and move easing equations
2021-09-24 13:47:13 +02:00
Rémi Verschelde
32ab77ef8f
Merge pull request #52430 from AnilBK/vector2-replacements
2021-09-24 13:04:42 +02:00
Rémi Verschelde
b8a6eb6d9b
Merge pull request #38414 from theoway/Fix-GraphNode_offset_update
2021-09-24 13:01:20 +02:00
Yuri Roubinsky
4e0552a4ff
Add selection getter methods to LineEdit
2021-09-24 11:30:58 +03:00
Anilforextra
d8d055f8ca
Node2D member renames.
2021-09-24 12:24:30 +05:45
Michael Alexsander
7ce02b642e
Expose TabContainer
's tab hidding for scripts
2021-09-24 01:26:59 -03:00
Anilforextra
cc51b045da
Construct values only when necessary.
2021-09-23 22:26:07 +05:45
Gilles Roudière
f9e6329496
Implement animated tiles
2021-09-23 17:24:37 +02:00
Rémi Verschelde
88b347dc27
Merge pull request #51920 from jmb462/missing-sname-macro-optimization-in-some-functions
2021-09-23 13:14:20 +02:00
Rémi Verschelde
011866edcd
Merge pull request #52956 from laws65/skeleton3d-bone-fix
2021-09-23 12:10:09 +02:00
Rémi Verschelde
2815594ba0
Merge pull request #52954 from nekomatata/fix-kinematic-collision-reference
2021-09-23 10:26:08 +02:00
Umang Kalra
9aa0b3c46e
Fixes sync issue between position_offset and rect_position in GraphNode
...
Bleh
2021-09-23 10:53:45 +05:30
laws65
59ff3fda7f
Prevent being able to set bone's parent as itself
2021-09-23 11:30:45 +09:30
PouleyKetchoupp
9269952053
Don't override KinematicCollision reference when still in use in script
...
In case the reference is stored in script, create a new instance to
avoid overriding the previous values.
Otherwise, re-use the reference as before to avoid extra allocations.
2021-09-22 18:08:04 -07:00
bruvzg
9a36d8f26f
Fill variation coordinates dictionary with default values when FontData is set/added.
2021-09-22 11:10:40 +03:00
fabriceci
fd9e573ba6
Port 2D improvement to move and slide 3D
...
Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>
2021-09-22 00:14:04 +02:00
Rémi Verschelde
bfcc29635f
Merge pull request #52913 from Paulb23/text-edit-search-theme
2021-09-21 21:55:41 +02:00
Rémi Verschelde
ba57252bd8
Merge pull request #52878 from AnilBK/add-get-center
2021-09-21 21:30:30 +02:00
Paulb23
6c2fd03959
Added search colors to TextEdit and CodeEdit theme
2021-09-21 20:24:39 +01:00
Anilforextra
90908cd67d
Add Get Center Method for Rect2/Rect2i and AABB.
2021-09-21 21:14:17 +05:45
Eric M
baba971c81
Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered'
2021-09-21 23:24:33 +10:00
Rémi Verschelde
dc2b062609
Merge pull request #52775 from gyroninja/fix-instantiated-root-node-crash
...
Fail at instantiating a packed scene if the root node is instantiated
2021-09-21 14:23:54 +02:00
Rémi Verschelde
91960b7b81
Merge pull request #52466 from tcoxon/fix_43733_4.0
...
Prevent shaders from generating code before the constructor finishes.
2021-09-21 13:52:57 +02:00
Tom Coxon
dbe757102c
Prevent shaders from generating code before the constructor finishes.
...
Fixes #43733 : "creating SpatialMaterial in a separate thread creates invalid
shaders (temporarily)."
The bug occurred because various setters called in materials' constructors add
materials to queues that are processed on the main thread. This means that
when the materials are created in another thread, they can be processed on the
main thread before the constructor has finished.
The fix adds a flag to affected materials that prevents them from being added
to the queue until their constructors have finished initialising all the
members.
2021-09-21 11:51:39 +01:00
bruvzg
c931906af7
Add flag to connected grapheme. Apply RTL displacement FX only to the whole connected grapheme. Pass more glyph info to the custom RTL FX.
2021-09-21 13:51:38 +03:00
Rémi Verschelde
be63fdff80
Merge pull request #52605 from TokageItLab/fixed-vtype-in-node-oneshot
...
Fixed value type and applied small change in `AnimationNodeOneShot`
2021-09-21 10:49:10 +02:00
Rémi Verschelde
e3ebe8b976
Merge pull request #52886 from bruvzg/rtl_fixes
...
Fix RTL layout Label text, VBox child, 3D node editor controls, and popup menu alignment.
2021-09-21 10:16:56 +02:00
bruvzg
99dc2ec9e1
Fix RTL layout Label text, VBox child, 3D node editor controls, and popup menu alignment.
2021-09-21 10:35:23 +03:00
Eric M
caac2e1a87
Fix focus shortcuts triggering incorrectly
2021-09-21 12:24:07 +10:00
Rémi Verschelde
132ad85670
Merge pull request #52555 from TokageItLab/fixed-discrete-animation-seek
...
Fixed seeking behavior of property track with discrete interpolation
2021-09-20 14:42:34 +02:00
Rémi Verschelde
d54635d9b0
Merge pull request #52543 from TokageItLab/fixed-transition-when-xfade-time-is-zero
...
Fixed `AnimationNodeTransition`'s behavior when xfade time is zero
2021-09-20 13:19:29 +02:00
Rémi Verschelde
91294b4a21
Merge pull request #52519 from e8newallm/52497-Remove_Unused_Variable
...
Removed unused Ref<Font> font variables
2021-09-20 12:35:25 +02:00
Rémi Verschelde
9d43d49bfd
Merge pull request #52151 from CaptainProton42/fix-y-billboard-shear
...
Fix y billboard shear when rotating camera
2021-09-20 12:19:42 +02:00
Rémi Verschelde
1e93e3fc49
Merge pull request #52848 from Paulb23/code-edit-tests
2021-09-20 11:43:21 +02:00
Rémi Verschelde
56b02a0776
Merge pull request #52862 from bruvzg/cache_index_chk
...
Add FontData cache index check, remove excessive loop.
2021-09-20 11:22:49 +02:00
Paulb23
35264d5782
Change completion prefixes to single char and unnecessary ui_cancel accept_event
2021-09-20 09:42:39 +01:00
bruvzg
1383b37f1a
Add FontData cache index check, remove excessive loop.
2021-09-20 11:03:59 +03:00
bruvzg
9d0e3cff09
Fix Label
and RichTextLabel
visible_characters
and percent_visible
methods.
2021-09-20 09:35:24 +03:00
gyroninja
f400c9239e
Fail at instantiating if the root node is instantiated
2021-09-18 17:38:36 -07:00
Rémi Verschelde
43cc6dd479
Merge pull request #52774 from Calinou/audiostreamplayer3d-remove-out-of-range
2021-09-17 21:56:59 +02:00
Hugo Locurcio
973f52b784
Remove unused out_of_range_mode
property from AudioStreamPlayer3D
...
The `out_of_range_mode` property is no longer used since audio mixing
was moved out of the various AudioStreamPlayer nodes.
2021-09-17 20:18:38 +02:00
Rémi Verschelde
583eaa9869
Merge pull request #49819 from nekomatata/fix-process-mode-inherit
2021-09-17 19:16:19 +02:00
Rémi Verschelde
b334560f05
Merge pull request #49376 from menip/OptionButtonFix
2021-09-17 16:00:42 +02:00
Rémi Verschelde
5ebc5a7714
Merge pull request #52751 from Rubonnek/rename-listener-nodes
2021-09-17 12:23:41 +02:00
PouleyKetchoupp
ed1ba5093f
Clarify RigidDynamicBody modes
...
RigidDynamicBody modes are replaced with several properties to make their
usage clearer:
-lock_rotation: disable body's rotation (instead of MODE_LOCKED)
-freeze: no gravity or forces (instead of MODE_STATIC and MODE_KINEMATIC)
-freeze_mode: Static (can be only teleported) or Kinematic (can be animated)
Also renamed MODE_DYNAMIC_LOCKED to MODE_DYNAMIC_LINEAR in the physics
servers.
2021-09-16 16:03:48 -07:00
Wilson E. Alvarez
f3a564f9a5
Rename Listener2D/Listener3D to AudioListener2D/AudioListener3D
2021-09-16 17:51:51 -04:00
HaSa1002
053b3b946c
Remove bbcode_text from RichTextLabel
...
Also renames:
- append_bbcode -> append_text
- get_bbcode -> get_text
- set_bbcode -> set_text
- get_text -> get_parsed_text
Property text is:
set_text
get_text
2021-09-16 22:27:08 +02:00
Camille Mohr-Daurat
3581b893ed
Merge pull request #52681 from nekomatata/rename-rigid-body
...
Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBody
2021-09-16 11:20:21 -07:00
PouleyKetchoupp
85819b199a
Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBody
2021-09-16 09:55:20 -07:00
Rémi Verschelde
ab8d63a56f
Merge pull request #52741 from fabriceci/platform-layer-from-physics-server
...
Retrieve platform layer from PhysicsServer2D
2021-09-16 13:59:32 +02:00
fabriceci
04a53f86d0
Retrieve platform layer from PhysicsServer2D
2021-09-16 12:31:55 +02:00
Rémi Verschelde
3a41a91b7a
Merge pull request #49284 from Calinou/add-listener3d-gizmo-icon
...
Display a editor gizmo icon for Listener3D
2021-09-16 12:08:02 +02:00
Hugo Locurcio
05697ee848
Display a editor gizmo icon for Listener3D
...
The icon was present in `editor/icons/`, but it was never implemented
in the editor gizmos code.
This also removes some unused gizmo drawing code (overridden methods
that are no longer called anywhere).
2021-09-16 10:56:45 +02:00
kobewi
266955d15f
Improvements to Tweens' Variant types
2021-09-16 02:08:26 +02:00
Camille Mohr-Daurat
1852afb6b0
Merge pull request #52679 from nekomatata/world-boundary-shape
...
Rename WorldMarginShape to WorldBoundaryShape
2021-09-15 16:02:40 -07:00
Rémi Verschelde
ed9fd36276
Merge pull request #52672 from KoBeWi/GraphError
...
Fix error when moving graph node
2021-09-15 13:22:54 +02:00
Rémi Verschelde
0a8e137c61
Merge pull request #52313 from groud/cache_tree_item_size
2021-09-15 13:21:56 +02:00
Rémi Verschelde
eb1262f6ea
Merge pull request #52308 from rxlecky/parallax-layer-position-reset-fix-issue-51914
...
Fix ParallaxLayer's transform resetting in editor
2021-09-15 13:16:56 +02:00
Espeute Clement
aa72af4f46
Fixed Animation Playback Track not seeking properly
...
Fixes #38093 .
2021-09-15 10:02:11 +02:00
Gilles Roudière
173c0f8737
Merge pull request #52622 from rileylyman/tilemap-crash
...
Break TileMap _clear_internals out from _recreate_internals
2021-09-15 09:39:36 +02:00
Riley Lyman
dfcf4491d6
Break TileMap _clear_internals out from _recreate_internals
2021-09-14 20:45:10 -07:00
PouleyKetchoupp
2ca94e51e4
Clean convex hull decomposition code
...
Remove unnecessary conversion between triangle data and vertex data
whenever possible.
2021-09-14 17:14:06 -07:00
Rémi Verschelde
39e35ab6ee
Merge pull request #52353 from williamd67/documentation-view-scroll-to-end
...
Documentation view scroll to end
2021-09-14 22:25:58 +02:00
Rémi Verschelde
72c813630f
Merge pull request #52583 from e8newallm/52360
...
Removed updates that caused unnecessary window updates
2021-09-14 20:54:05 +02:00
PouleyKetchoupp
bb75aec8bc
Rename WorldMarginShape to WorldBoundaryShape
2021-09-14 11:16:31 -07:00
kobewi
645dc40cba
Fix error when moving graph node
2021-09-14 16:09:33 +02:00
Rémi Verschelde
e13d8eda1b
Merge pull request #52266 from AndreaCatania/coll
2021-09-14 14:34:22 +02:00
Rémi Verschelde
0c66c990e7
Merge pull request #52657 from timothyqiu/ik-target
...
Make sure IK target is inside tree before using its transform
2021-09-14 13:41:14 +02:00
Gilles Roudière
8c8b634d23
Merge pull request #52658 from groud/some_tilemap_fixes
...
Fix transform of TileMap nodes and tilemap selection
2021-09-14 13:02:45 +02:00
Gilles Roudière
73cc6f94bf
Fix transform of TileMap nodes and tilemap selection
2021-09-14 12:18:36 +02:00
Rémi Verschelde
d039f4af14
Merge pull request #52185 from Paulb23/nested-complex-ops
...
Allow nested complex ops in TextEdit
2021-09-14 11:57:42 +02:00
Haoyu Qiu
88e3ba83f0
Make sure IK target is inside tree before using its transform
2021-09-14 17:46:39 +08:00
Rémi Verschelde
195ea41a7a
Merge pull request #51237 from KoBeWi/tween_fix()
...
Various fixes to Tween code
2021-09-14 10:29:50 +02:00
Haoyu Qiu
8cba772afc
Remove unused ImageTexture functions
...
* `_resource_path_changed()` does nothing
* `_reload_hook()` has been unused since the beginning of GLES3 renderer
2021-09-14 10:04:26 +08:00
Matthew Newall
09ea88572f
Removed updates that caused unnecessary window updates
2021-09-13 22:08:14 +00:00
Rémi Verschelde
0b60b9f75c
Merge pull request #52443 from Paulb23/code-edit-indext-fixes
...
Fix brace placement with space auto indent
2021-09-13 21:52:38 +02:00
Rémi Verschelde
655dec581c
Merge pull request #52346 from Paulb23/string-tracking-fixes
...
Fix getting deliminator start over empty lines and blank start keys
2021-09-13 21:52:28 +02:00
Rémi Verschelde
2a1807b12d
Merge pull request #52517 from Paulb23/block-comment-folding
...
Fix block deliminator not-folding at end of file
2021-09-13 21:51:41 +02:00
Rémi Verschelde
70ba366743
Merge pull request #50375 from Paulb23/code_edit_unit_tests
2021-09-13 21:51:20 +02:00
Tomasz Chabora
e1cc70309c
Fix error when click edge of the tree icon
2021-09-13 18:03:03 +02:00
Rémi Verschelde
8ecc571158
Merge pull request #49063 from Calinou/remove-16x-msaa
...
Remove 16× MSAA support due to driver bugs and low performance
2021-09-13 17:34:04 +02:00
Hugo Locurcio
f85426e8ad
Merge pull request #51805 from skysphr/scrollbar-icons-pressed
...
Added increment_pressed and decrement_pressed icons to scrollbars
2021-09-13 14:57:21 +02:00
Rémi Verschelde
c7455d9d42
Merge pull request #52012 from bruvzg/fix_label_outline
2021-09-13 14:23:52 +02:00
Rémi Verschelde
dde48ebed6
Merge pull request #52298 from DeleteSystem32/meshlib-transform
...
implement individual mesh transform for meshlibrary items
2021-09-13 12:19:30 +02:00
kobewi
6b68445e4d
Fix multiple definitions of Listener2D
2021-09-12 21:19:37 +02:00
Silc 'Tokage' Renew
662da453a4
Fixed value type and applied small change in AnimationNodeOneShot
2021-09-13 02:31:57 +09:00
Juan Linietsky
8aedcfced7
Merge pull request #52504 from V-Sekai/gltf_8_uv
...
8 uvs for glTF2, URI decode and Vertex Custom api
2021-09-11 16:42:35 -03:00
Silc 'Tokage' Renew
6613d9cf67
Fixed seeking behavior of property track with discrete interpolation
2021-09-11 06:10:23 +09:00
Silc 'Tokage' Renew
02d8166427
fixed AnimationNodeTransition when xfade time is zero
2021-09-11 02:26:40 +09:00
Lyuma
aca4b737f1
8 uvs for glTF2, URI decode and Vertex Custom api.
...
Add glTF2 uri decode for paths.
Add vertex custom apis.
Add scene importer api.
Change Color to float; add support for float-based custom channels in SurfaceTool and EditorSceneImporterMesh
Co-authored-by: darth negative hunter
<thenegativehunter2@users.noreply.github.com>
2021-09-10 09:16:48 -07:00
Max Hilbrunner
06e2a02253
Clean up Viewport, remove dead code.
2021-09-10 16:58:33 +02:00
Max Hilbrunner
68563b5760
Merge pull request #52431 from dozingpip/patch-1
...
Remove dead code from Viewport::_gui_input_event
2021-09-10 16:34:28 +02:00
Max Hilbrunner
8f8744a563
Merge pull request #52433 from groud/document_tiles
...
Tiles renames and documentation
2021-09-10 16:32:19 +02:00
Juan Linietsky
729461b2a4
Merge pull request #51158 from YeldhamDev/potgen_enhancements
...
Make some enhancements to the POT generation
2021-09-09 20:21:29 -03:00
Juan Linietsky
d0a7eeaaff
Merge pull request #44844 from KoBeWi/hey_listen!_but_2d
...
Add Listener2D
2021-09-09 19:19:10 -03:00
Juan Linietsky
5e585eafe6
Merge pull request #50383 from Calinou/standardmaterial3d-improve-simple-parallax
...
Improve the appearance of simple parallax in StandardMaterial3D
2021-09-09 17:24:07 -03:00
Juan Linietsky
be5c75b007
Merge pull request #52284 from Calinou/tscn-groups-write-single-line
...
Write node groups on a single line when saving a `.tscn` file
2021-09-09 17:17:02 -03:00
Matthew Newall
02cbf94022
Removed unused Ref<Font> font variables
2021-09-09 19:47:16 +00:00
Paulb23
d647ba3540
Fix block deliminator not-folding at end of file
2021-09-09 19:04:08 +01:00
Vincent
70108fd850
implement individual mesh transform for meshlibrary items
2021-09-09 16:40:16 +02:00
Gilles Roudière
0c85f3acc1
Tiles renames/bugfixing and documentation
2021-09-08 15:52:43 +02:00
Juan Linietsky
25291a5b03
Merge pull request #52462 from TokageItLab/fixed-regression-of-skinning
...
Fixed regression of skinning with skeleton
2021-09-08 10:07:46 -03:00
Fabio Alessandrelli
fd0a2b6cde
Merge pull request #52480 from mhilbrunner/network-rename
...
Multiplayer networking renames/simplification
2021-09-08 14:20:58 +02:00
Gilles Roudière
321ee7bda1
Merge pull request #52106 from Paulb23/text-edit-optimisation
...
Optimise TextEdit get line height and width
2021-09-08 14:04:41 +02:00
Max Hilbrunner
5b25457794
Multiplayer networking renames/simplification
...
Removes _networking_ prefix from some methods and members, now that multiplayer has been largely moved out of Node and SceneTree and is seperated into its own set of classes.
2021-09-08 12:05:54 +02:00
AndreaCatania
e3a06c3a9e
Improve collision generation usability in the new 3D scene import workflow.
...
With this PR it's possible to add a collision during the Mesh import, directly in editor.
To generate the shape is possible to chose between the following options:
- Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library).
- Simple Convex: Is generated a convex shape that enclose the entire mesh.
- Trimesh: Generate a trimesh shape using the Mesh faces.
- Box: Add a primitive box shape, where you can tweak the `size`, `position`, `rotation`.
- Sphere: Add a primitive sphere shape, where you can tweak the `radius`, `position`, `rotation`.
- Cylinder: Add a primitive cylinder shape, where you can tweak the `height`, `radius`, `position`, `rotation`.
- Capsule: Add a primitive capsule shape, where you can tweak the `height`, `radius`, `position`, `rotation`.
It's also possible to chose the generated body, so you can create:
- Rigid Body
- Static Body
- Area
2021-09-08 08:12:51 +02:00
Juan Linietsky
ca11f8ad30
Merge pull request #52237 from ellenhp/polyphony
...
Add optional polyphonic playback to built-in audio player nodes
2021-09-07 17:38:51 -03:00
Max Hilbrunner
43c896ac6a
Merge pull request #52082 from williamd67/fix-custom-effects-dropdown-menu
...
RichTextLabel returns member (Array) for custom effects for Editor
2021-09-07 21:52:05 +02:00
Max Hilbrunner
3f6a01e848
Merge pull request #52145 from LeaoLuciano/linkbutton-translation-4.0
...
LinkButton's text now is automatically translated
2021-09-07 21:43:43 +02:00
Max Hilbrunner
99ffbbfc44
Merge pull request #52339 from jmb462/fix-fold-function-with-comment-fail
...
Fix wrong folding behaviour of last block if containing comment
2021-09-07 20:40:33 +02:00
Max Hilbrunner
da31873e2c
Merge pull request #52359 from williamd67/fix-autocomplete-merge
...
Fix incorrectly removing two characters by auto brace
2021-09-07 20:37:39 +02:00
Max Hilbrunner
06b4a48444
Merge pull request #52436 from daniel-mcclintock/fix-out-of-bounds-completion-crash
...
Fix crash during completion lookback
2021-09-07 19:25:40 +02:00
Ellen Poe
0e3cab41eb
Add polyphony to Audio Stream Player nodes
2021-09-07 09:44:39 -07:00
Max Hilbrunner
acc776f7b6
Merge pull request #52442 from Faless/mp/4.x_rpc_manager
...
[Net] Move multiplayer classes to own subfolder. Split RPC from MultiplayerAPI.
2021-09-07 18:44:39 +02:00
Max Hilbrunner
b284cb908a
Merge pull request #52392 from Shatur/fix-ready
...
Remove extra get_script_instance check
2021-09-07 18:43:06 +02:00
Juan Linietsky
93aa158b5e
Merge pull request #52277 from groud/implement_array_property_hint
...
Implement properties arrays in the Inspector.
2021-09-07 11:59:46 -03:00
Silc 'Tokage' Renew
48aa2d5494
Fixed regression of skinning with skeleton
2021-09-07 23:59:29 +09:00
Fabio Alessandrelli
bf9aae09ba
[Net] Move multiplayer to core subdir, split RPCManager.
...
Move multiplayer classes to "core/multiplayer" subdir.
Move the RPCConfig and enums (TransferMode, RPCMode) to a separate
file (multiplayer.h), and bind them to the global namespace.
Move the RPC handling code to its own class (RPCManager).
Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-07 11:14:30 +02:00
Gilles Roudière
88c3e3180a
Merge pull request #52050 from nobuyukinyuu/bind-get-tab-idx-at-point-40
...
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-09-07 11:09:35 +02:00
Gilles Roudière
4bd7700e89
Implement properties arrays in the Inspector.
2021-09-07 09:51:28 +02:00
Anilforextra
a1f616dcfc
Use builtin Vector2 functions for calculation of angles.
...
.
2021-09-07 08:30:26 +05:45
PouleyKetchoupp
226d6337e5
Fix process mode update when mode owner is set to Inherit
...
Prevent the root node to be set to PROCESS_MODE_INHERIT, since it causes
undefined behavior.
Fix a case where the process owner node is wrongly set to the direct
parent instead of the proper node.
Add errors for all unhandled cases.
2021-09-06 17:14:12 -07:00
PouleyKetchoupp
82ea2a7045
Proper support for custom mass properties in 2D/3D physics bodies
...
Changes:
-Added support for custom inertia and center of mass in 3D
-Added support for custom center of mass in 2D
-Calculated center of mass from shapes in 2D (same as in 3D)
-Fixed mass properties calculation with disabled shapes in 2D/3D
-Removed first_integration which is not used in 2D and doesn't seem to
make a lot of sense (prevents omit_force_integration to work during the
first frame)
-Support for custom inertia on different axes for RigidBody3D
2021-09-06 10:20:16 -07:00
Camille Mohr-Daurat
a93fb2655a
Merge pull request #52286 from nekomatata/restore-kinematic-body
...
Add AnimatableBody inherited from StaticBody for moving platforms
2021-09-06 09:32:46 -07:00
Paulb23
9785167b39
Fix brace placement with space auto indent
2021-09-06 17:10:39 +01:00
Gilles Roudière
1f97d57384
Merge pull request #35859 from Calinou/minimap-add-hover-pressed-feedback
...
Add visual feedback when hovering or dragging the code minimap grabber
2021-09-06 16:22:36 +02:00
daniel-mcclintock
8a8c172b93
Fix crash during completion lookback
2021-09-06 23:10:06 +10:00
Gilles Roudière
b0b30aaf41
Merge pull request #52435 from groud/fix_crash_in_tilemap_physics
...
Fix crash in TileMap physics
2021-09-06 15:09:28 +02:00
Gilles Roudière
a4cd553f42
Fix crash in TileMap physics
2021-09-06 13:11:41 +02:00
Pip
d7a6f8990a
Remove dead code from Viewport::_gui_input_event
2021-09-06 03:11:02 -04:00
Awkor
3aa2a7fc18
Prevent editing properties managed by parent container
2021-09-05 23:23:53 +02:00
jmb462
752e2bcee0
Fix comment causes content of folded methods to not hide
2021-09-05 12:30:27 +02:00
Silc 'Tokage' Renew
facf8f1883
Apply set_read_only() to child classes of EditorProperty elements
2021-09-05 18:22:17 +09:00
Hennadii Chernyshchyk
2b78353e79
Remove extra get_script_instance check
...
Otherwise, `_ready()` will not be called on classes
that define this function and doesn't have a script attached.
2021-09-04 12:14:54 +03:00
Hugo Locurcio
c8949f21e7
Add visual feedback when hovering or dragging the code minimap grabber
...
This makes it more obvious that the minimap grabber can be dragged
to scroll.
2021-09-04 02:25:22 +02:00
Hugo Locurcio
879c37d658
Rename Node's NOTIFICATION_PATH_CHANGED
to NOTIFICATION_PATH_RENAMED
...
The new name is less misleading, as the notification is only emitted
when the node name (or one of its parents' names) is changed.
2021-09-04 00:15:15 +02:00
William Deurwaarder
b92347c220
Fix incorrectly removing two characters by auto brace
...
In some situations when there were no braces auto brace still removed two
characters. This has been fixed by adding a test that a brace is found.
2021-09-03 00:33:50 +02:00
JestemStefan
177173578a
Changed Window current_screen parameter from string to int
2021-09-02 23:34:15 +02:00
William Deurwaarder
b54b0bc580
Fix documentation viewer to scroll to end
...
Extra `line separation` height was not taken into account when the offset for
the different paragraphs (lines) was calculated.
2021-09-02 22:11:14 +02:00
Paulb23
dd0988f027
Fix getting deliminator start over empty lines and blank start keys
2021-09-02 18:22:49 +01:00
Michael Alexsander
ee4b0108e0
Make some enhancements to the POT generation
2021-09-02 11:12:54 -03:00
Paulb23
ce064348fa
Add CodeEdit breakpoint unit tests
2021-09-01 16:46:04 +01:00
Paulb23
cd6b11222c
Prevent crash on startup if no audio server
2021-09-01 16:46:04 +01:00
Gilles Roudière
ace19bd4c6
Cache TreeItem minimum size for performance.
2021-09-01 16:26:41 +02:00
Gilles Roudière
c97afc033f
Merge pull request #38722 from KoBeWi/proposition
...
Add offset for TextureProgress progress texture
2021-09-01 16:20:05 +02:00
SeleckyErik
7741afb55a
Fix ParallaxLayer's transform resetting in editor
...
Disable resetting of ParallaxLayer's position and scale in editor to
allow setting the initial values.
2021-09-01 14:57:14 +02:00
kobewi
e78ee616f7
Add offset for TextureProgress progress texture
2021-09-01 14:39:08 +02:00
kleonc
3311a5b593
TabContainer Fix drawing current tab when it's disabled
2021-09-01 03:59:45 +02:00
PouleyKetchoupp
83baecdff0
Add AnimatableBody inherited from StaticBody for moving platforms
...
Instead of having a physics node named Static that can be either Static
or Kinematic, AnimatableBody is added again as a separate node:
-Inherited from StaticBody to make its usage clearer
-Still separated from CharacterBody to make its usage more focused
Properly implemented constant velocity for kinematic bodies in godot
physics servers (induced velocity without actually moving).
Also updated description for the different physics nodes to make their
usage clearer.
2021-08-31 18:14:32 -07:00
Juan Linietsky
7946066577
Merge pull request #49471 from nekomatata/body-state-sync-callback
...
Clean physics direct body state usage in 2D and 3D physics
2021-08-31 14:30:17 -03:00
Camille Mohr-Daurat
0ee1179c1c
Merge pull request #52279 from fabriceci/delta-double
...
Change delta type to double in Physics_body_2/3D
2021-08-31 08:25:36 -07:00
Hugo Locurcio
d33a7367b6
Write node groups one a single line when saving a .tscn
file
...
This makes `.tscn` files more readable by ensuring sections are always
written on a single line.
2021-08-31 17:06:18 +02:00
kobewi
f2cb0a8d4b
Add Listener2D
2021-08-31 16:53:14 +02:00
Camille Mohr-Daurat
a9fcbb1001
Merge pull request #51364 from bengtsts/master
...
Expose soft body pin methods to GDScript
2021-08-31 07:41:34 -07:00
fabriceci
f9d548627d
delta time as double
2021-08-31 14:32:56 +02:00
fabriceci
1a481c8191
Change platform detection by allowing select layers by type (wall or floor)
2021-08-31 09:59:04 +02:00
Juan Linietsky
bcd73fc00a
Merge pull request #52240 from Rubonnek/rename-rel-path
...
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-30 20:45:45 -03:00
Bengt Söderström
08a80962cf
Expose soft body pin methods to GDScript
2021-08-30 20:07:14 +02:00
menip
4f4c9a5f57
Make Color Picker, Menu Button, Option Button consider camera position scale for popup position.
2021-08-30 08:42:33 -07:00
Juan Linietsky
6dab6e4136
Revert " Improve collision generation usability in the new 3D scene import workflow."
2021-08-30 11:30:36 -03:00
Camille Mohr-Daurat
b60a51f023
Merge pull request #51985 from AndreaCatania/coll
...
Improve collision generation usability in the new 3D scene import workflow.
2021-08-30 07:25:51 -07:00
Wilson E. Alvarez
d11c1afc04
Rename String::is_rel_path to String::is_relative_path
2021-08-29 20:41:29 -04:00
Fabio Alessandrelli
64b9f30b92
[Net] Rename RPC "puppet" to "auth" (authority). Drop "master".
...
This commit completely removes the RPC_MODE_MASTER ("master" keyword),
and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword).
This commit also renames the "Node.[get|set]_network_master" methods to
"Node.[get|set]_network_authority".
This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY.
RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by
any puppet peer on the master, while RPC_MODE_PUPPET meant that it would
be callable by the master on any puppet.
Beside proving to be very confusing to the user (referring to where it
could be called instead of who can call it) the RPC_MODE_MASTER is quite
useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with
the exception that the network master cannot. While this could be useful
to check in some case, in such a function you would anyway need to check
in code who is the caller via get_rpc_sender_id(), so adding the check
there for those rare cases does not warrants a dedicated mode.
2021-08-30 00:54:38 +02:00
Juan Linietsky
72bf79186e
Merge pull request #30391 from KoBeWi/hiding_children
...
Add support for internal nodes
2021-08-29 19:36:30 -03:00
Juan Linietsky
07707a3627
Revert "Display a matrix for Node2D and don't display a duplicate origin"
2021-08-29 17:01:07 -03:00
Aaron Franke
ee7bb9bbb9
Display a matrix for Node2D and don't display a duplicate origin
2021-08-29 10:34:50 -05:00
nobuyuki_nyuu
65d83cc99b
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-08-29 09:10:44 -05:00
Max Hilbrunner
00e66e26cc
Merge pull request #49664 from nekomatata/fix-editable-duplicated
...
Fix loading packed scene with editable children at runtime
2021-08-28 22:14:35 +02:00
Max Hilbrunner
e0355d5db6
Merge pull request #43573 from lewiji/master
...
sprite_3d.cpp: return _is_playing() from public is_playing() function
2021-08-28 19:55:54 +02:00
Michael Alexsander
565ba91d28
Merge pull request #51906 from requizm/fix/49077
...
Fix tooltips don't appear for PopupMenus
2021-08-28 15:43:02 +00:00
Paulb23
c5d7ae7920
Allow nested complex ops in TextEdit
2021-08-28 12:49:55 +01:00
Paulb23
de009cb5ae
Optimise TextEdit get height and width
2021-08-28 11:27:23 +01:00
AndreaCatania
2d2d24a538
Improve collision generation usability in the new 3D scene import workflow.
...
With this PR it's possible to add a collision during the Mesh import, directly in editor.
To generate the shape is possible to chose between the following options:
- Decompose Convex: The Mesh is decomposed in one or many Convex Shapes (Using the VHACD library).
- Simple Convex: Is generated a convex shape that enclose the entire mesh.
- Trimesh: Generate a trimesh shape using the Mesh faces.
- Box: Add a primitive box shape, where you can tweak the `size`, `position`, `rotation`.
- Sphere: Add a primitive sphere shape, where you can tweak the `radius`, `position`, `rotation`.
- Cylinder: Add a primitive cylinder shape, where you can tweak the `height`, `radius`, `position`, `rotation`.
- Capsule: Add a primitive capsule shape, where you can tweak the `height`, `radius`, `position`, `rotation`.
It's also possible to chose the generated body, so you can create:
- Rigid Body.
- Static Body.
- Area.
2021-08-28 08:34:15 +02:00
kobewi
a913ae8d56
Add support for internal nodes
2021-08-28 02:07:23 +02:00
LeaoLuciano
c50c5b9bef
LinkButton's text now is automatically translated
2021-08-27 20:11:58 -03:00
PouleyKetchoupp
fab88a810c
Fix loading packed scene with editable children at runtime
...
At runtime, packed scenes with nodes marked as editable instance where
saved with node type tags, which prevented the scene to be then loaded
as an instance, causing duplicated nodes in the tree.
This change ensures nodes marked as editable instances and their owned
children are properly set as instances.
That doesn't make a difference in the editor, since such nodes where
already set as instances based on their instance state, but it helps
at runtime where instance states are disabled.
Co-authored-by: latorril <latorril@gmail.com>
2021-08-27 14:49:47 -07:00
Max Hilbrunner
701195937d
Merge pull request #52096 from kleonc/tree-item-drag-drop-drawing
...
Tree Fix line rendering when drag and dropping TreeItem
2021-08-27 20:55:37 +02:00
Juan Linietsky
54caaa21ce
Merge pull request #51296 from ellenhp/mix_in_audio_server
...
Move mixing out of the AudioStreamPlayback* nodes
2021-08-27 15:38:20 -03:00
Camille Mohr-Daurat
87f575efdd
Merge pull request #52135 from fabriceci/fix-transmission-velocity-on-wall-4
...
Remove velocity transmission on_wall when collider is CharacterBody.
2021-08-27 10:56:42 -07:00
Ellen Poe
3598d300cb
Do all audio mixing in the AudioServer
2021-08-27 10:41:57 -07:00
Ellen Poe
53843ba872
Require AudioStream::mix to return the number of frames successfully mixed
2021-08-27 10:27:58 -07:00
K. S. Ernest (iFire) Lee
90a35dac48
Merge pull request #51908 from bruvzg/msdf_fonts2
...
Make FontData importable resource. Add multi-channel SDF font rendering.
2021-08-27 08:51:37 -07:00
Camille Mohr-Daurat
ca4f20529c
Merge pull request #51896 from nekomatata/restore-ray-shape
...
Refactor RayShape and rename to SeparationRayShape
2021-08-27 08:49:49 -07:00
bruvzg
4c3f7d1290
Makes FontData importable resource.
...
Adds multi-channel SDF font texture generation and rendering support.
Adds per-font oversampling support.
Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading.
Adds BMFont binary format and outline support.
2021-08-27 15:43:18 +03:00
John Wigg
d3850a0954
Fix y billboard shear when rotating camera
...
Fixes shear effect with `BILLBOARD_FIXED_Y` when the camera is rotated around the z-axis by rotating the mesh correctly into view space.
Also removes shearing effects that occur when rotating the mesh by excluding the model rotation and scale from the billboard matrix.
2021-08-27 12:30:29 +01:00
fabriceci
4da0cfe459
Remove velocity transmission on_wall when collider is CharacterBody.
2021-08-26 23:02:30 +02:00
Camille Mohr-Daurat
adafc509f3
Merge pull request #52132 from nekomatata/fix-physics-process-delta
...
Fix delta passed in _physics_process
2021-08-26 11:27:38 -07:00
PouleyKetchoupp
cbce1550ff
Fix delta passed in _physics_process
...
Regression due to typo in recent GDVIRTUAL_CALL change.
2021-08-26 10:49:12 -07:00
K. S. Ernest (iFire) Lee
98d55ba66f
Merge pull request #52131 from nekomatata/fix-blend-tree-reset
...
Fix AnimationBlendTree reset on resource loading
2021-08-26 10:06:09 -07:00
Juan Linietsky
d19b12dbd2
Merge pull request #52107 from timothyqiu/overriden
...
Fix misspelled "overriden"
2021-08-26 13:07:52 -03:00
PouleyKetchoupp
aae50da074
Fix AnimationBlendTree reset on resource loading
...
When reset_state was called on an existing AnimationBlendTree, the
output node would disappear, causing some errors in the editor and
preventing animations to play properly.
This change ensures the output node is always present in the node tree.
2021-08-26 09:07:13 -07:00
Bastiaan Olij
64626cc435
Optionally scale 3D render content
2021-08-26 20:48:40 +10:00
Haoyu Qiu
eba7265a1c
Fix misspelled "overriden"
...
In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
2021-08-26 01:44:01 +08:00
PouleyKetchoupp
6a9ed72185
Clean physics direct body state usage in 2D and 3D physics
...
Use a C++ callback instead of Callable for synchronizing physics nodes' state with physics servers.
Remove usage of PhysicsDirectBodyState in physics nodes when not
necessary.
Store PhysicsDirectBodyState for bodies individually instead of a
singleton to avoid issues when accessing direct body state for multiple
bodies.
PhysicsDirectBodyState is initialized only when needed, so it doesn't
have to be created when using the physics server directly.
Move PhysicsDirectBodyState2D and PhysicsDirectBodyState3D to separate
cpp files.
2021-08-25 08:57:42 -07:00
JFonS
353bb45e21
Merge pull request #51995 from drcd1/sphere-mesh-normals-fix
...
Fixes the normals of SphereMesh when the sphere/hemisphere is oblong
2021-08-25 16:22:20 +02:00
kleonc
d35ef5fab0
Tree Fix line rendering when drag and dropping TreeItem
2021-08-25 13:29:54 +02:00
JFonS
c334989e00
Merge pull request #51821 from Calinou/builtin-shaders-add-comments
...
Add comments at the top of each built-in shader to ease debugging
2021-08-25 11:37:57 +02:00
Hugo Locurcio
bb0122c933
Merge pull request #48374 from Calinou/gradienttexture-add-hdr-property
...
Add an `use_hdr` property to GradientTexture to allow storing HDR colors
2021-08-25 08:03:34 +02:00
Hugo Locurcio
7192852da3
Remove 16× MSAA support due to driver bugs and low performance
...
In the `master` branch, 16× MSAA caused the entire system to freeze
on NVIDIA GPUs. This is likely caused by graphics drivers not actually
implementing 16× MSAA, but combining 8× MSAA with 2× SSAA instead.
On top of that, modern shader complexity makes 16× MSAA very difficult
to use while keeping a good framerate. 8× MSAA is hard enough to use
as it is.
2021-08-25 07:56:27 +02:00
K. S. Ernest (iFire) Lee
24f562bd1e
Merge pull request #52024 from V-Sekai/anim-length
...
Calculate proper animation length.
2021-08-24 19:29:02 -07:00
K. S. Ernest (iFire) Lee
ffe54af0db
Calculate proper animation length.
2021-08-24 18:50:22 -07:00
PouleyKetchoupp
3d5dc80348
Rename RayShape to SeparationRayShape
...
Makes it clearer that it's used for special cases when picking a
collision shape.
2021-08-24 17:34:55 -07:00
PouleyKetchoupp
aa4791735d
Rename slips_on_slope to slide_on_slope
...
Also added some precision to the documentation.
2021-08-24 17:34:55 -07:00
PouleyKetchoupp
d9720d4395
Fix CharacterBody motion with RayShape
...
Make separation ray shapes work properly in move_and_slide, wihtout the
specific code in CharacterBody like before.
Now most of the logic is handled inside the physics server. The only
thing that's needed is to use ray shapes only for recovery and ignore
them when performing the motion itself (unless we're snapping or slips
on slope is on).
2021-08-24 17:34:55 -07:00
PouleyKetchoupp
45c7af9862
Restore RayShape as a regular shape type
...
Partial revert from previously removing ray shapes completely, added
back as a shape type but without the specific character controller code.
2021-08-24 16:03:05 -07:00
Camille Mohr-Daurat
c89a5fb8be
Merge pull request #51904 from nekomatata/move-and-slide-fixes-3d
...
Port recent move_and_slide fixes to 3D
2021-08-24 16:01:12 -07:00
William Deurwaarder
d875706e01
RichTextLabel returns member (Array) for custom effects for Editor
...
As RichTextLabel returned a copy of the member (Vector) the editor was notified
that the value had changed which caused the dropdown menu to be immediately
closed after opening.
The fix is to return the member (Array) in stead of a copy which is the same
instance and thereby does not notify the editor that the value has changed.
2021-08-24 22:02:24 +02:00
PouleyKetchoupp
bae06008c8
Port recent move_and_slide fixes to 3D
...
Improves stop on slopes, sliding on walls and gravity handling by
porting existing changes from CharacterBody2D to CharacterBody3D.
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-08-24 11:30:01 -07:00
Haoyu Qiu
d12cceadd2
Make RichTextLabel honour default cursor shape property
2021-08-24 22:07:42 +08:00
Juan Linietsky
6609ce1944
Merge pull request #52000 from lyuma/set_editable_instance
...
Make Node editable_instance methods available to GDScript
2021-08-24 08:31:34 -03:00
Lyuma
7eb6ae2798
Make Node editable_instance methods available to GDScript
2021-08-23 21:45:18 -07:00
Camille Mohr-Daurat
770a1d00a3
Merge pull request #51751 from jeffrey-cochran/windforce
...
Created an area-specific wind force that interacts with soft bodies
2021-08-23 16:48:19 -07:00
reduz
44d62a9f4b
Implement NativeExtension pointer arguments
...
* Allows calling into native extensions directly with a pointer
* Makes it easier to implement some APIs more efficiently
* Appears with a "*" in the documentation for the argument.
* Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint.
* AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams.
2021-08-23 19:58:40 -03:00
Jeffrey Cochran
e806397196
Enabled area-specific wind forces
2021-08-23 17:00:50 -04:00
Hugo Locurcio
0af213a4e0
Merge pull request #51259 from nekomatata/fix-tilemap-one-way-collision
...
Fix one-way collision in Tilemap
2021-08-23 18:54:01 +02:00
kobewi
7939ad5b8c
Restore syntax highlighting
2021-08-23 18:08:17 +02:00
Michael Alexsander
88db541705
Merge pull request #51947 from AnilBK/redundant-assignments
...
[cppcheck] Remove some redundant assignments.
2021-08-23 13:23:45 +00:00
bruvzg
54345f11fb
Fix label outline overlaps.
2021-08-23 14:13:13 +03:00
reduz
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
K. S. Ernest (iFire) Lee
bb1c930a41
Merge pull request #51991 from requizm/fix/51990
...
Fix 3d animations doesn't play
2021-08-22 17:12:08 -07:00
Duarte David
f4ac08a182
Fixes the normals of SphereMesh when the sphere/hemisphere is oblong
2021-08-22 21:45:39 +01:00
requizm
e4b29cb6be
Fix 3d animations doesn't play
...
Add comment
Fix
ff
2021-08-22 23:19:26 +03:00
Jummit
856d0b52e5
Fix GraphEdit connection colors
2021-08-22 21:09:16 +02:00
K. S. Ernest (iFire) Lee
fb176d5f6e
Merge pull request #50434 from QbieShay/particle-minmax
...
Particle params are expressed as min-max rather than value+range AND separate axes scaling
2021-08-22 10:07:08 -07:00
Michael Alexsander
2f8a58ad46
Merge pull request #51886 from Geometror/fix-layout-editor-file-dialog
...
Fix ItemList layout (+EditorFileDialog)
2021-08-22 16:47:11 +00:00
QbieShay
d6672096fc
moved particle parameters to minmax and split scale axis
...
This commit adds quite a chunk of modifications to particles
- particle (value + randomness) now use min and max instead
- passing a curveXYZtexture is now possible and will scale particles per-axis
- CPUParticle3D have an optional parameter to split the scale curve per-axis
2021-08-22 18:42:17 +02:00
K. S. Ernest (iFire) Lee
7cbf5a547f
Merge pull request #51700 from Geometror/fix-color-picker
...
Reimplement ColorPicker presets
2021-08-22 08:23:09 -07:00
K. S. Ernest (iFire) Lee
f303c2dfb5
Merge pull request #51945 from yjh0502/fix-bazier-error
...
Curve2D/Curve3D: exact linear interpolation
2021-08-22 07:55:21 -07:00
K. S. Ernest (iFire) Lee
51ec46e10f
Merge pull request #51975 from Jummit/consistent-graphedit-connections
...
Make GraphEdit connections consistent on zoom
2021-08-22 07:37:26 -07:00
reduz
3682978aee
Replace BIND_VMETHOD by new GDVIRTUAL syntax
...
* New syntax is type safe.
* New syntax allows for type safe virtuals in native extensions.
* New syntax permits extremely fast calling.
Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`.
These will require API rework on a separate PR as they work different than the rest of the functions.
Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-22 08:23:58 -03:00
Juan Linietsky
1990721d1b
Revert "Add Node processing and physics processing cumulative (as opposed to delta) time"
2021-08-22 08:21:34 -03:00
Jummit
7c1181116f
Make GraphEdit connections consistent on zoom
2021-08-22 11:08:37 +02:00
K. S. Ernest (iFire) Lee
51800eebc6
Merge pull request #51965 from theoway/fix_node_arranger_origin_bug
...
Fixes position offset of node groups set by arrange_nodes() in GraphEdit
2021-08-22 01:52:30 -07:00
K. S. Ernest (iFire) Lee
8cae1294b8
Merge pull request #51952 from Jummit/refactor-graphedit-connections
...
Refactor GraphEdit connections
2021-08-22 01:33:58 -07:00
Hugo Locurcio
fb94b2e656
Merge pull request #41850 from MohammadKhashashneh/cumulative-time_issue_6999
...
Add Node processing and physics processing cumulative (as opposed to delta) time
2021-08-22 10:33:20 +02:00
Umang Kalra
aee3de7b79
Fixes position offset of node groups set by arrange_nodes() in GraphEdit
2021-08-22 03:57:58 +05:30
Hugo Locurcio
b43a1691ee
Merge pull request #51958 from requizm/fix/37772
...
Fix camera override not working
2021-08-21 22:22:10 +02:00
Jummit
e9ef6f9815
Refactor GraphEdit connections
...
Remove duplicate bezier code and use Curve instead.
Add an overridable method for retrieving the points of a connection line, which
makes it posible to create custom connections lines.
2021-08-21 22:15:26 +02:00
requizm
3d3f64f949
Fix camera override not working
2021-08-21 21:24:09 +03:00
Anilforextra
c86db8b710
Remove redundant assignments.
...
Use used_in_transfer instead of used_in_compute twice.
2021-08-21 19:20:07 +05:45
Jihyun Yu
8a6fc54ccd
Curve2D/Curve3D: exact linear interpolation
...
While calculating interpolated points, intervals between two baked
points has been assummed to be `baked_interval`. The assumption could
cause significant error in some extreme cases (for example #7088 ).
To improve accuracy, `baked_dist_cache` is introduced, which stores
distance from starting point for each baked points. `interpolate_baked`
now returns exact linear-interpolated position along baked points.
2021-08-21 16:57:59 +09:00
Hendrik Brucker
72e49eadec
Fix ItemList layout (+EditorFileDialog)
2021-08-21 00:22:09 +02:00
Menderes
31face36e7
Fix line_separation working incorrectly in find_click of RichTextLabel
...
Apply suggestions from code review
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-21 00:59:44 +03:00
Hugo Locurcio
2daef0400a
Merge pull request #51866 from requizm/fix/49455
...
Fix `line_separation` working incorrectly in `RichTextLabel`
2021-08-20 23:24:42 +02:00
requizm
6f3d8fa228
Fix tooltip message working incorrectly in PopupMenu
...
fix
2021-08-20 23:06:00 +03:00
requizm
39b90802d0
Fix line_separation constant working incorrectly in RichTextLabel
2021-08-20 23:03:13 +03:00
fabriceci
68f0cf97bc
add motion mode to handle TPS
2021-08-20 17:32:33 +02:00
jmb462
54de7114c5
Add missing SNAME macro optimization for StringName in some functions
2021-08-20 14:50:24 +02:00
Rémi Verschelde
4f640762f7
Merge pull request #51881 from KoBeWi/zz__iinnddeexx
...
Fix z_index applied twice for TileMap layers
2021-08-19 21:30:10 +02:00
PouleyKetchoupp
645bc94bfc
Fix capsule height/radius setters with linked properties
...
Capsule height and radius setters can modify each other, rather than
using clamping, to avoid cases where values are not set correctly when
loading a scene (depending on the order of properties).
Inspector undo/redo:
Added the possibility to link properties together in the editor, so
they can be undone together, for cases where a property can modify
another one.
Gizmo undo/redo:
Capsule handles pass both radius and height values so they can be undone
together.
2021-08-19 10:31:19 -07:00
Rémi Verschelde
93dac1c7db
Merge pull request #51804 from ThreeRhinosInAnElephantCostume/fixundoredo
2021-08-19 17:49:01 +02:00
JFonS
276d1e4844
Merge pull request #51335 from JFonS/fix-omni-shadow-bias
...
Improvements to SpotLight3D and OmniLight3D's shadows
2021-08-19 16:33:24 +02:00
ThreeRhinosInAnElephantCostume
0aa13ecd30
fixed popup_menu buttons getting triggered by lmb press instead of release.
2021-08-19 15:56:33 +02:00
ThreeRhinosInAnElephantCostume
78e2d35a7e
fixed camera2d's "current" property getting reset when switching scenes
2021-08-19 15:19:19 +02:00
jfons
55e7832d7b
Improvements to SpotLight3D and OmniLight3D's shadows
...
OmniLight3D:
* Fixed lack of precision in cube map mode by scaling the projection's
znear.
* Fixed aliasing issues by making the paraboloids use two square regions instead of two half
squares.
* Fixed shadowmap atlas bleeding by adding padding.
* Fixed sihadow blur's inconsistent radius and unclamped sampling.
SpotLight3D:
* Fixed lack of precision by scaling the projection's znear.
* Fixed normal biasing.
Both:
* Tweaked biasing to make sure it works out of the box in most situations.
2021-08-19 13:46:51 +02:00
kobewi
a7ace9fec1
Fix z_index applied twice for TileMap layers
2021-08-19 12:40:09 +02:00
Rémi Verschelde
5ccf797c9c
Merge pull request #51703 from YeldhamDev/compal_tweaks
...
Minor tweaks/fixes for the Command Palette
2021-08-19 07:12:38 +02:00
Paulb23
c13c738c88
Hide TextFile from the API
2021-08-18 17:56:23 +01:00
Michael Alexsander
9819be7562
Minor tweaks/fixes for the Command Palette
2021-08-18 13:12:14 -03:00
Yuri Sizov
b88a41a161
Adjust the material key bit size for ParticlesMaterial
2021-08-18 17:53:46 +03:00
Fabio Alessandrelli
d4dd859991
[Net] MultiplayerReplicator with initial state.
...
Move the former "spawnables" functions to a dedicated
MultiplayerReplicator class.
Support custom overrides in replicator.
Spawn/despawn messages can now contain a state.
The state can be automatically encoded/decoded by passing the desired
object properties to `spawnable_config`.
You can use script properties to optimize the state representation.
2 Callables can be also specified to completely override the default
implementation for sending and receiving the spawn/despawn event.
(9 bytes overhead, and there's room for improvement here).
When using a custom implementation `spawn` and `despawn` can be called
with any Object, `send_spawn`/`send_despawn` can receive any Variant as
a state, and the path is not required.
Two new functions, `spawn` and `despawn`, convey the implementation
independent method for requesting a spawn/despawn of an Object, while
`send_spawn` and `send_despawn` represent the more low-level send event
for a Variant to be used by the custom implementations.
2021-08-18 10:21:29 +01:00
Rémi Verschelde
a031579286
Merge pull request #50752 from Phischermen/indeterminate_checkmark_api
...
Added icons and API for indeterminate checkmarks for the Tree class.
2021-08-18 10:31:06 +02:00
Hugo Locurcio
a139e58f8c
Add comments at the top of each built-in shader to ease debugging
...
When a shader error is printed about a built-in shader, the origin
of the shader will now be recognizable immediately by looking at
the top of the printed shader code.
2021-08-18 03:09:22 +02:00
TwistedTwigleg
2562a7d1df
Fixed magnet vector not working correctly in SkeletonModification2DFABRIK
2021-08-17 20:56:07 -04:00
Hendrik Brucker
ff9901f51e
Reimplement ColorPicker presets
2021-08-18 02:09:48 +02:00
Rémi Verschelde
b463ac747a
Merge pull request #51798 from nekomatata/fix-skeleton-child-bones
2021-08-18 00:56:06 +02:00
skysphr
e27ab2708f
Added increment_pressed and decrement_pressed icons to scrollbars
2021-08-17 22:09:29 +03:00
Mohammad Khashashneh
0c027ef0f1
Add Node processing and physics processing cumulative (as opposed to delta) time.
2021-08-17 21:34:50 +03:00
Rémi Verschelde
273d1ca932
Merge pull request #51775 from timothyqiu/disable-undo-redo
...
Improve Undo/Redo menu items
2021-08-17 19:09:56 +02:00
PouleyKetchoupp
91fdf7c15b
Fix Skeleton3D regression when bones are not sorted from root to leaves
...
Tentative fix for missing bones when bones are not sorted as expected.
For example, if the root comes last, all child bones are removed and
the skeleton ends up with just the root.
2021-08-17 08:31:38 -07:00
PouleyKetchoupp
2084bb5eb9
Fix 3D character snap on moving platforms
...
Applying the platform velocity when leaving the platform floor should be
done after snapping to keep things consistent, like it's done in 2D.
2021-08-17 07:18:22 -07:00
Haoyu Qiu
16c2d4ef22
Improve Undo/Redo menu items
...
* Make Undo/Redo menu items disabled when clicking it does nothing.
* Context menu of `TextEdit`
* Context menu of `LineEdit`
* Editor's Scene menu
* Script editor's Edit menu and context menu (for Script and Text)
* Make editor undo/redo log messages translatable.
* Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`.
* Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
2021-08-17 21:11:10 +08:00
Rémi Verschelde
45344c6a02
Merge pull request #51651 from pycbouh/editor-merge-custom-theme
...
Add support for partial custom editor themes
2021-08-17 13:13:08 +02:00
Rémi Verschelde
e60a1559c9
Merge pull request #51742 from fabriceci/jitter-fix-and-cleaning
...
Correct jitter in move and slide 2D
2021-08-17 11:36:31 +02:00
Rémi Verschelde
c4e03672e8
Merge pull request #51760 from requizm/fix/deleteallselection
...
Deletion occurs when all text is selected
2021-08-17 09:58:57 +02:00
Jihyun Yu
d40b7e2cfb
fix bug on window notification propagation
2021-08-17 14:07:53 +09:00
requizm
37ad82a7f7
We can delete all text on TextEdit
...
While all text of TextEdit was selected, deletion with backspace did not occur. It can now be deleted.
2021-08-17 02:30:14 +03:00
Kevin Fischer
75866c81e7
Added icons and API for indeterminate checkmarks for the Tree class.
2021-08-16 10:13:06 -07:00
Rémi Verschelde
cfdac0973c
Merge pull request #51698 from Paulb23/text-editor-settings
...
Reorganise text editor settings
2021-08-16 18:48:58 +02:00
Paulb23
bcfc591f86
Reorganise text editor settings
2021-08-16 17:18:49 +01:00
fabriceci
0cfb7de052
Correct jitter and clean code
2021-08-16 17:17:24 +02:00
Rémi Verschelde
43440228db
Merge pull request #51645 from fabriceci/improve-physics-api
...
API improvement on the physics (CharacterBody and related classes)
2021-08-16 17:05:08 +02:00
Rémi Verschelde
5d5e7418f9
Merge pull request #51731 from timothyqiu/menu-button-signal
...
Fix `MenuButton` not emitting `about_to_popup` signal
2021-08-16 15:38:27 +02:00
Rémi Verschelde
fff9a451a1
Merge pull request #51368 from TwistedTwigleg/GSOC_2020_Working_Branch_IK_SQUASHED
...
New and improved IK system for Skeleton3D - Squashed!
2021-08-16 15:37:17 +02:00
Haoyu Qiu
6ca476b406
Fix MenuButton not emitting about_to_popup signal
2021-08-16 20:53:10 +08:00
Rémi Verschelde
1ee61a501f
Merge pull request #51673 from Vignesh1-art/master
...
Fixed crash executing TextEdit.new().set_draw_control_chars(true)
2021-08-16 14:27:47 +02:00
Yuri Roubinsky
1e60fcc53c
Fix incorrect inheritance of VisualShaderNodeParticleAccelerator
2021-08-16 14:17:31 +03:00
Rémi Verschelde
3ce53e458e
Merge pull request #50159 from Calinou/standardmaterial3d-add-shader-comment
...
Add a comment at the top of generated shaders
2021-08-16 13:00:55 +02:00
Rémi Verschelde
55d26af588
Merge pull request #51608 from clayjohn/Vulkan-Panorama-sky-hint
...
Use hint_albedo in SkyMaterials
2021-08-16 12:41:12 +02:00
Vignesh1-art
eb5b0d013f
Fixed crash executing TextEdit.new().set_draw_control_chars(true)
...
Fixes #51613 .
2021-08-16 12:36:14 +02:00
Rémi Verschelde
832b045296
Merge pull request #51701 from theoway/updates_node_arranger_icon
...
Changes the icon of node arranger in GraphEdit & editor
2021-08-16 12:31:16 +02:00
Rémi Verschelde
2edc47caea
Merge pull request #51249 from kleonc/tab_container-fix-disconnecting-errors
...
TabContainer: Fix error on removing top-level Control child, Remove _get_tab method
2021-08-16 10:35:20 +02:00
Umang Kalra
c2f8c94b15
Changes the icon of node arranger in GraphEdit/VisualScript/VisualShader
2021-08-16 12:30:15 +05:30
Hugo Locurcio
c9a491b671
Add a comment at the top of generated shaders
...
This comment is useful to determine the origin of ShaderMaterials
converted from built-in material types (such as CanvasItemMaterial
or StandardMaterial3D).
The Godot version is also included in case the shader needs to be
regenerated with a newer engine version.
2021-08-16 05:19:39 +02:00
Yuri Roubinsky
e537a1f10e
Added missed limiters for Visual Shader node enums
2021-08-15 19:10:51 +03:00
Rémi Verschelde
966559c3bd
Merge pull request #51512 from Bhu1-V/PR/cmd-fix
...
command palette improvements
2021-08-15 16:01:49 +02:00
fabriceci
d776b6c154
API improvement on physics, mainly CharacterBody
...
Changes:
- Rename few methods/property and group them in the editor when it's possible
- Make MotionResult API consistency with KinematicCollision
- Return a boolean in move_and_slide if there was a collision
- New methods:
- get_floor_angle on CharacterBody to get the floor angle.
- get_angle on KinematicCollision to get the collision angle.
- get_last_slide_collision to quickly get the latest collision of move_and_slide.
2021-08-15 12:53:29 +02:00
Bhuvan Vemula
a0205e4f34
command palette improvements
2021-08-15 11:40:44 +05:30
TwistedTwigleg
5ffed49907
New and improved IK system for Skeleton3D
...
This PR and commit adds a new IK system for 3D with the Skeleton3D node
that adds several new IK solvers, as well as additional changes and functionality
for making bone manipulation in Godot easier.
This work was sponsored by GSoC 2020 and TwistedTwigleg
Full list of changes:
* Adds a SkeletonModification3D resource
* This resource is the base where all IK code is written and executed
* Adds a SkeletonModificationStack3D resource
* This node oversees the execution of the modifications and acts as a bridge of sorts for the modifications to the Skeleton3D node
* Adds SkeletonModification3D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK
* Each modification is in it's own file
* Several changes to Skeletons, listed below:
* Added local_pose_override, which acts just like global_pose_override but keeps bone-child relationships intract
* So if you move a bone using local_pose_override, all of the bones that are children will also be moved. This is different than global_pose_override, which only affects the individual bone
* Internally bones keep track of their children. This removes the need of a processing list, makes it possible to update just a few select bones at a time, and makes it easier to traverse down the bone chain
* Additional functions added for converting from world transform to global poses, global poses to local poses, and all the same changes but backwards (local to global, global to world). This makes it much easier to work with bone transforms without needing to think too much about how to convert them.
* New signal added, bone_pose_changed, that can be used to tell if a specific bone changed its transform. Needed for BoneAttachment3D
* Added functions for getting the forward position of a bone
* BoneAttachment3D node refactored heavily
* BoneAttachment3D node is now completely standalone in its functionality.
* This makes the code easier and less interconnected, as well as allowing them to function properly without being direct children of Skeleton3D nodes
* BoneAttachment3D now can be set either using the index or the bone name.
* BoneAttachment3D nodes can now set the bone transform instead of just following it. This is disabled by default for compatibility
* BoneAttachment3D now shows a warning when not configured correctly
* Added rotate_to_align function in Basis
* Added class reference documentation for all changes
2021-08-14 15:57:00 -04:00
Rémi Verschelde
b9b6102b91
Merge pull request #51660 from AnilBK/use-short-functions
...
Use get_global_* functions instead of using transforms.
2021-08-14 12:17:53 +02:00
Rémi Verschelde
a96c96ca72
Merge pull request #50147 from aaronfranke/disable-node3d
...
Disable Node3D when compiling without 3D and fix disable_3d option
2021-08-14 11:59:06 +02:00
Anilforextra
c390f0515d
Use get_global_* functions instead of using transforms.
2021-08-14 14:01:57 +05:45
Rémi Verschelde
59879447a3
Merge pull request #51636 from Calinou/rename-lineshape2d
...
Rename LineShape2D to WorldMarginShape2D
2021-08-14 09:36:16 +02:00
Hugo Locurcio
8e3f71d750
Rename LineShape2D to WorldMarginShape2D
...
The new name makes it more obvious that it acts as an infinite plane,
and is consistent with its 3D counterpart (WorldMarginShape3D).
2021-08-14 03:12:13 +02:00
Yuri Sizov
855cfe1559
Add support for partial custom editor themes
2021-08-14 02:03:07 +03:00
Hugo Locurcio
1d257d02db
Add an use_hdr
property to GradientTexture to allow storing HDR colors
...
This is disabled by default to save some memory and preserve the existing
behavior of clamping colors.
2021-08-13 23:16:24 +02:00
Rémi Verschelde
14a2e59875
Merge pull request #51642 from akien-mga/cleanup-use_single_quotes
2021-08-13 21:49:06 +02:00
Rémi Verschelde
761eb7e06a
Merge pull request #51585 from Paulb23/theme-update-optimisation
2021-08-13 21:33:36 +02:00
Rémi Verschelde
84461a5c91
Merge pull request #50609 from bruvzg/te_block_caret
...
[TextEdit] Improve block/insert caret drawing.
2021-08-13 21:33:02 +02:00
Rémi Verschelde
81512a3732
Style: Cleanup code using text_editor/completion/use_single_quotes
2021-08-13 21:27:57 +02:00
Yuri Roubinsky
7ab604b677
Merge pull request #51630 from Chaosus/fix_completion_popup_size
2021-08-13 20:38:16 +03:00
Paulb23
273374957b
Only update TextEdit text cache when dirty
2021-08-13 17:47:53 +01:00
Paulb23
b6f5912174
Move CodeEdit theme overrides into EditorTheme
2021-08-13 17:47:53 +01:00
Yuri Roubinsky
6e87ff28ed
Fix incorrect completion popup size of CodeEdit
2021-08-13 19:34:18 +03:00
bruvzg
00381db2e7
[TextEdit] Improve block/insert caret drawing.
2021-08-13 19:28:47 +03:00
Paulb23
b73983340d
Add bulk theme overrides to Control
2021-08-13 16:41:36 +01:00
Rémi Verschelde
e499758a77
Merge pull request #51025 from reduz/fix-directional-shadow-bias
...
Fix directional shadow bias
2021-08-13 16:45:49 +02:00
Aaron Franke
7094ccfbe9
Disable Node3D when compiling without 3D and fix disable_3d option
2021-08-13 08:59:48 -05:00
Rémi Verschelde
24ec20414a
Merge pull request #50114 from Chaosus/vs_constants
...
Few improvements for constants in visual shader
2021-08-13 14:45:13 +02:00
Rémi Verschelde
f0e420e981
Merge pull request #51519 from Chaosus/vs_transform_operator
...
Changed `TransformMult` node to `TransformOp` in visual shaders
2021-08-13 14:44:14 +02:00
Rémi Verschelde
85e315d6e8
Merge pull request #51607 from aaronfranke/includes
...
Fix some unnecessary includes
2021-08-13 14:38:56 +02:00
Rémi Verschelde
1833c8b233
Merge pull request #51587 from Calinou/use-unicode-multiplication-symbol
...
Use the Unicode multiplication symbol where relevant
2021-08-13 14:27:48 +02:00
bruvzg
8f70232a15
Add placeholder textures to ensure CameraTexture / CameraFeed always have valid RIDs.
2021-08-13 12:32:01 +03:00
clayjohn
5fce0b3cb5
Use hint_albedo in SkyMaterials
2021-08-12 23:00:50 -07:00
Aaron Franke
eb4902a455
Fix some unnecessary includes
2021-08-13 00:27:38 -05:00
Hugo Locurcio
7612cff432
Use the Unicode multiplication symbol where relevant
2021-08-12 21:45:33 +02:00
Rémi Verschelde
56ac302dc4
Merge pull request #51580 from aaronfranke/particles-real-double
...
Use real_t and double where appropriate in Particles
2021-08-12 20:51:21 +02:00
Rémi Verschelde
1a9c8aaba9
Merge pull request #51558 from fabriceci/fix-move-and-slide-regression-multiple-collision-4
...
Fix move and slide regression by allowing multiple collision direction
2021-08-12 20:37:30 +02:00
Rémi Verschelde
5e0838c58e
Merge pull request #50372 from Paulb23/code_edit_breakpoint_fixes
...
Fix breakpoint toggle signal not firing when expected
2021-08-12 20:33:56 +02:00
Yuri Roubinsky
b2b33ce4f6
Merge pull request #51572 from Chaosus/vs_fix_transform_instance
...
Fix printing error about unsupported modifier on `TransformUniform`
2021-08-12 21:23:18 +03:00
Yuri Roubinsky
c43b7c113f
Fix printing error about unsupported modifier on TransformUniform
2021-08-12 19:40:45 +03:00
Aaron Franke
03e2544d50
Use real_t and double where appropriate in Particles
2021-08-12 11:35:31 -05:00
Rémi Verschelde
c89ad92c96
Merge pull request #51532 from nekomatata/layer-mask-accessors
...
Uniformize layer names, script methods and documentation
2021-08-12 17:55:11 +02:00
PouleyKetchoupp
989acbbe81
Uniformize layer names, script methods and documentation
...
- Back to 1-based layer names to make it clearer in editor UI
- Layer bit accessors are renamed to layer value and 1-based too
- Uniform errors and documentation in render and physics
- Fix a few remaining collision_layer used in place of collision_mask
2021-08-12 08:06:42 -07:00
Rémi Verschelde
78c8b7ffec
Merge pull request #51568 from AnilBK/remove-swap
...
Remove unused swap template.
2021-08-12 15:52:05 +02:00
Paulb23
a736fb8ce9
Fix breakpoint toggle signal not firing when expected
2021-08-12 14:47:10 +01:00
Rémi Verschelde
fdddfa02fd
Merge pull request #51567 from mortarroad/master-fix-cpu-particles-spread
...
Fix CPU Particles spread
2021-08-12 15:44:55 +02:00
Rémi Verschelde
f54c5707b5
Merge pull request #50363 from JestemStefan/node2D_zero_scale_det_error
...
Limit scale of `Node2D` to EPSILON (0.00001) to prevent `det==0` error
2021-08-12 15:40:11 +02:00
Rémi Verschelde
a695a6764e
Merge pull request #50371 from Paulb23/text_edit_cleanup
2021-08-12 15:30:12 +02:00
Morris Tabor
d7e059ff84
Fix CPU Particles spread
...
Same as https://github.com/godotengine/godot/pull/51565 but ported to master.
2021-08-12 14:36:30 +02:00
Anilforextra
e3872a244d
Remove unused swap template.
2021-08-12 16:58:03 +05:45
Paulb23
a4606c2806
Cleanup and complete TextEdit inspector and docs
2021-08-12 11:43:35 +01:00
Paulb23
ae4dcb8918
Cleanup and bind remaing methods in TextEdit
2021-08-12 11:43:35 +01:00
fabriceci
ce52d3e7b5
Fix move and slide regression by allowing multiple collision direction
2021-08-12 12:42:17 +02:00
Morris Tabor
0e4468cbec
Fix regressions caused by recent particle spread refactor
...
Caused by https://github.com/godotengine/godot/pull/47228
Same as https://github.com/godotengine/godot/pull/51553 but for master.
2021-08-12 12:08:37 +02:00
Yuri Roubinsky
810c30dc09
Merge pull request #51517 from Chaosus/precise_graphedit_port_handling
...
Better port handling connection for `GraphEdit`
2021-08-12 11:40:52 +03:00
Paulb23
0a32a6907b
Cleanup and expose viewport / scrolling methods
2021-08-12 09:29:58 +01:00
Paulb23
7dbb0f3233
Rename readonly to editable
2021-08-12 09:29:58 +01:00
Paulb23
b799e5583a
Rename insert mode to overtype mode
2021-08-12 09:29:58 +01:00
Paulb23
b700011314
Protect internal CodeEdit --> TextEdit API
2021-08-12 09:29:58 +01:00
Paulb23
9ec3e7f3d7
Cleanup TextEdit selection methods
2021-08-12 09:29:56 +01:00
Paulb23
7e70f9e0b9
Expose and cleanup TextEdit line wrap API
2021-08-12 09:29:16 +01:00
Paulb23
d5dcaee4c5
Cleanup and rename caret operations
2021-08-12 09:29:13 +01:00
Paulb23
e60900a353
Make TextEdit cut, copy and paste overridable
2021-08-12 09:27:10 +01:00
Paulb23
abbf14e7f5
Remove dead code from TextEdit
2021-08-12 09:27:10 +01:00
Rémi Verschelde
fba0c8e2e2
Merge pull request #51502 from codecat/fix-caret-selection
...
Move cursor to edge of selection when moving caret left/right
2021-08-12 10:07:12 +02:00
Yuri Roubinsky
61904d56ea
Better port handling connection for GraphEdit
2021-08-12 09:09:24 +03:00
PouleyKetchoupp
f9176a39ce
Make radius & height in CapsuleShape3D independent
...
Also changed CapsuleMesh to make settings consistent between render and
physics.
2021-08-11 14:54:53 -07:00
Rémi Verschelde
7188cb6012
Merge pull request #51498 from codecat/fix-triple-click
...
Triple click in text editor now uses last mouse position for validity
2021-08-11 23:44:55 +02:00
Melissa Geels
408401a642
Triple click in text editor now uses last mouse position for validity
...
Previously, you would be able to double click a word, followed by
single-clicking another word on the same line, which would select the
entire line. Now, it will only select the whole line if the mouse
position has remained the same after the double click. This mimicks the
behavior in most third party text editors.
Fixes #51312 .
2021-08-11 21:49:26 +02:00
kobewi
b35a2516a0
Improve CapsuleShape2D size clamping
2021-08-11 21:39:18 +02:00
Yuri Roubinsky
9cf158019d
Changed TransformMult
node to TransformOp
in visual shaders
2021-08-11 22:05:04 +03:00
Rémi Verschelde
e30be92ce8
Merge pull request #41634 from KoBeWi/the_independence
2021-08-11 18:16:24 +02:00
Tomasz Chabora
f12f5b36b5
Make radius & height in CapsuleShape2D independent
2021-08-11 17:34:27 +02:00
Rémi Verschelde
a57d420224
Merge pull request #51500 from timothyqiu/navmesh-doc
2021-08-11 14:12:56 +02:00
Melissa Geels
ed4c3eb7b3
Move cursor to edge of selection when moving caret left/right
...
This is to mimic the behavior of many third party text editors. The
reason it's not doing it when moving by word is due to that behavior
being mostly the same on other editors.
2021-08-11 13:27:12 +02:00
Haoyu Qiu
60298328ca
Improve NavigationMesh typing, parameter validation and documentation
2021-08-11 18:18:10 +08:00
Yuri Roubinsky
0eb97c11cf
Few improvements for constants in visual shader
2021-08-11 13:14:16 +03:00
Rémi Verschelde
c00303ff55
Merge pull request #47378 from aaronfranke/use-input-enums
...
Use key enum instead of plain integers for input code
2021-08-11 11:20:45 +02:00
Rémi Verschelde
80dec1948a
Merge pull request #41956 from Calinou/rename-engine-iterations-per-second
...
Rename `iterations_per_second` to `physics_ticks_per_second`
2021-08-11 08:05:33 +02:00
Rémi Verschelde
7d43da928f
Merge pull request #51490 from nekomatata/clean-character-body
...
Remove infinite inertia and ray shapes from CharacterBody
2021-08-11 08:04:09 +02:00
Rémi Verschelde
2c88e1c15d
Merge pull request #51178 from Geometror/layout-options-textline-textparagraph
...
Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
2021-08-11 07:51:57 +02:00
Rémi Verschelde
588883eb4a
Merge pull request #51442 from Geometror/styleboxflat-fake-aa-float
...
StyleBox fake AA improvements (make anti aliasing size a float property)
2021-08-11 07:35:53 +02:00
Hugo Locurcio
937c1a716c
Rename iterations_per_second
to physics_ticks_per_second
...
This makes it clearer that this property is only about physics FPS,
not rendering FPS.
The `physics_fps` project setting was also renamed to
`physics_ticks_per_second` for consistency.
2021-08-11 02:37:02 +02:00
Hendrik Brucker
403f4902d0
Various text layout improvements (TextLine, TextParagraph, Label, TextServer)
2021-08-11 00:09:48 +02:00
Hendrik Brucker
db2460f43c
StyleBox fake AA improvements (aa_size float property)
2021-08-10 23:37:06 +02:00
Aaron Franke
fa3a32a2d6
Use Key enum instead of plain integers
2021-08-10 16:26:55 -05:00
K. S. Ernest (iFire) Lee
18bd0fee5a
Merge pull request #49343 from theoway/node_auto_arrangement_graph_edit
...
Node Auto Arrangement in GraphEdit/VisualScript/VisualShader
2021-08-10 15:42:04 -04:00
Umang Kalra
12fc3f1eef
Automatic arrangement of nodes in VisualScript/VisualShaders editors
...
This PR and commit adds the functionality to arrange nodes in VisualScript/VisualShader editor. The layout generated by this
feature is compact, with minimum crossings between connections
& uniform horizontal & vertical gaps between the nodes.
This work has been sponsored by GSoC '21.
Full list of additions/changes:
• Added arrange_nodes() method in GraphEdit module.
• This method computes new positions for all the selected
nodes by forming blocks and compressing them.
The nodes are moved to these new positions.
• Adding this method to GraphEdit makes it available for
use in VisualScript/VisualShaders editors and its other
subclasses.
• Button with an icon has been added to call arrange_nodes() in GraphEdit.
• This button is inherited by VisualScript/VisualShaders editors
to invoke the method.
• Undo/redo is functional with this method.
• By using signals in arrange_nodes(), position changes are registered
in undo/redo stack of the subclass that is using the method.
• Metadata of the method has been updated in ClassDB
• Method description has been added to class reference of GraphEdit
2021-08-11 00:44:28 +05:30
PouleyKetchoupp
4da3a87f7d
Remove infinite inertia and ray shapes from CharacterBody
...
Infinite inertia:
Not needed anymore, since it's now possible to set one-directional
collision layers in order for characters to ignore rigid bodies, while
rigid bodies still collide with characters.
Ray shapes:
They were introduced as a work around to allow constant speed on slopes,
which is now possible with the new property in CharacterBody instead.
2021-08-10 12:10:26 -07:00
Rémi Verschelde
ac1dab5062
Merge pull request #51027 from fabriceci/improve-move-and-slide
...
Add properties to CharacterBody for more move_and_slide options
2021-08-10 18:55:58 +02:00
Rémi Verschelde
dce488d8f7
Merge pull request #49417 from Bhu1-V/gsoc-cmd-plt
...
Command Palette For Godot
2021-08-10 18:55:22 +02:00
Aaron Franke
339687e04f
Organize methods in Viewport and explicitly name 3D methods with 3D
2021-08-10 09:10:34 -05:00
fabriceci
c6666cc051
Add properties to CharacterBody for more move_and_slide options
2021-08-10 15:57:33 +02:00
Rémi Verschelde
50d5569ad4
Merge pull request #51457 from nekomatata/moving-platforms-3d
...
Fix 3D moving platform logic
2021-08-10 14:12:01 +02:00
Rémi Verschelde
16d73fefdb
Merge pull request #50682 from aaronfranke/basis-looking-at
...
Move code for looking_at to Basis
2021-08-10 11:28:12 +02:00
Rémi Verschelde
483bbd6ecc
Merge pull request #51464 from hpnrep6/mesh-disable-deprecated
...
Enclose deprecated components with `DISABLE_DEPRECATED` in Mesh
2021-08-10 09:56:27 +02:00
Rémi Verschelde
d56da233c4
Merge pull request #51463 from SaracenOne/assign_path_fix
...
Assign embedded text resource path earlier to prevent error on embedded scripts
2021-08-10 08:13:14 +02:00
Rémi Verschelde
536950f9f3
Merge pull request #21922 from aaronfranke/double
...
Some work on double-precision support
2021-08-10 07:41:46 +02:00
hpnrep6
0eca908e86
Enclose unused components in DISABLE_DEPRECATED
2021-08-10 00:54:24 -04:00
SaracenOne
d00c151db1
Assign embedded text resource path earlier to prevent error on embedded scripts.
2021-08-10 05:42:35 +01:00
PouleyKetchoupp
ec9fed69f4
Fix 3D moving platform logic
...
Same thing that was already done in 2D, applies moving platform motion
by using a call to move_and_collide that excludes the platform itself,
instead of making it part of the body motion.
Helps with handling walls and slopes correctly when the character walks
on the moving platform.
Also made some minor adjustments to the 2D version and documentation.
Co-authored-by: fabriceci <fabricecipolla@gmail.com>
2021-08-09 20:21:04 -07:00
Nathan Franke
b57b8453b1
Follow-Up Add SNames to get theme icon
2021-08-09 17:50:26 -05:00
Aaron Franke
430ad75963
Some work on double support
2021-08-09 17:43:48 -05:00
Rémi Verschelde
2de5d2361a
Merge pull request #51446 from nekomatata/fix-moving-platform-rotation
...
Fix applied rotation from moving platforms in move_and_slide
2021-08-09 23:20:44 +02:00
PouleyKetchoupp
5650c83e4b
Fix applied rotation from moving platforms in move_and_slide
...
When synchronizing CharacterBody motion with moving the platform using
direct body state, only the linear velocity was taken into account.
This change exposes velocity at local point in direct body state and
uses it in move_and_slide to get the proper velocity that includes
rotations.
2021-08-09 12:30:17 -07:00
Aaron Franke
84f720966c
Use doubles for time in many other places
2021-08-09 14:05:42 -05:00
Aaron Franke
78d33a6e24
Use doubles for time in animation code
2021-08-09 14:04:25 -05:00
Rémi Verschelde
dc20830348
Merge pull request #45568 from aaronfranke/node3d-real_t
...
Use real_t in 3D nodes
2021-08-09 21:01:29 +02:00
Fabio Alessandrelli
511f961973
Merge pull request #51097 from Faless/mp/4.x_spawnable
...
[Net] MultiplayerAPI remote scene spawning/despawning.
2021-08-09 19:45:31 +02:00
Rémi Verschelde
0a38d5c8f7
Merge pull request #43158 from nathanfranke/fix-gradient-and-draw-tile
...
Fix Gradient and Color Picker checkerboard, Fix tile parameter for CanvasItem.draw_texture_rect
2021-08-09 16:47:58 +02:00
Fabio Alessandrelli
9fcf3b5a9c
[Net] Basic extensible MultiplayerAPI spawn/despawn.
...
`PackedScene`s can be configured to be spawnable via a new
`MultiplayerAPI.spawnable_config` method.
They can be configured either to be spawned automatically when coming
from the server or to always require verification.
Another method, `MultiplayerAPI.send_spawn` lets you request a spawn on
the remote peers.
When a peer receive a spawn request:
- If it comes from the server and the scene is configured as
`SPAWN_MODE_SERVER`:
- Spawn the scene (instantiate it, add it to tree).
- Emit signal `network_spawn`.
- Else:
- Emit signal `network_spawn_request`.
In a similar way, `despawn`s are handled automatically in
`SPAWN_MODE_SERVER`.
In `SPAWN_MODE_SERVER`, when a new client connects it will also receive,
from the server all the spawned (and not yet despawned) instances.
2021-08-09 16:34:40 +02:00
Hugo Locurcio
e47d0e021a
Improve the appearance of simple parallax in StandardMaterial3D
...
This uses offset limiting to avoid distortion in the distance,
and makes simple (non-deep) parallax more usable overall.
2021-08-09 15:10:39 +02:00
Bhuvan Vemula
a0a019a998
Added EditorCommandPalette
2021-08-09 17:41:50 +05:30
Rémi Verschelde
85399a9170
Merge pull request #51155 from Chaosus/shader_fix_specular_mode
...
Fix a default shader specular render mode to `SCHLICK_GGX`
2021-08-09 08:13:47 +02:00
bruvzg
7c3c5603d0
[Text Server] Improve object (image/table) inline alignment.
2021-08-08 22:35:47 +03:00
Nathan Franke
051234e84e
Fix Gradient, Color Picker BG, Fix CanvasItem::draw_texture_rect p_tile
2021-08-07 16:40:50 -05:00
Michael Alexsander
4bef900399
Invert how global_rate_scale
value works, and rename it to playback_speed_scale
2021-08-07 12:32:42 -03:00
Rémi Verschelde
3177da1d05
Merge pull request #51360 from Paulb23/item-list-bg-colour-update
2021-08-07 14:14:08 +02:00
Paulb23
738b0fdae5
Redraw on item list custom bg/fg colour change
2021-08-07 12:08:46 +01:00
Raul Santos
18f7acf611
Fix Path3D initial forward calculation
2021-08-07 12:39:34 +02:00
Yuri Roubinsky
47a6bb2f28
Fix a default shader specular render mode to (SCHLICK_GGX
/BLINN
)
2021-08-06 16:01:58 +03:00
kobewi
e092a132fe
Various fixes to Tween code
2021-08-06 13:07:34 +02:00
Aaron Franke
136dd887ad
Preserve original name in shader params cache
2021-08-05 18:31:08 -05:00
PouleyKetchoupp
b9e68c8155
Fix one-way collision in Tilemap
...
In a given quadrant there can be one or more bodies used, and the
process iterated over cells to add the shapes, so the shape index
doesn't necessarily correspond to the polygon shape index.
Instead body shape indices need to be tracked separately.
2021-08-05 12:10:35 -07:00
kobewi
665dc7805b
Fix get_used_rect() calculation
2021-08-05 20:40:21 +02:00
Rémi Verschelde
de2c2be19b
Shortcut: Rename shortcut
property to event
...
Having a property which has the same name as its class leads to confusing
situations (e.g. `BaseButton` has a `shortcut` property of type `Shortcut`
which has a `shortcut` property of type `InputEvent`).
Also renames `is_event` to `matches_event`, and `is_valid` to `has_valid_event`
to better reflect what the methods check.
2021-08-05 13:48:43 +02:00
kleonc
fd483c729f
TabContainer: Fix error on removing top-level Control child, Remove _get_tab method
2021-08-04 21:13:10 +02:00
Anilforextra
0c06ed98fb
Fixed awkwardly named AnimatedSprite Setters.
2021-08-04 15:31:40 +05:45
PouleyKetchoupp
7d0a28f875
Fix inverted condition in CharacterBody2D/3D set_max_slides
2021-08-03 19:24:46 -07:00
Aaron Franke
7cec3c2b95
Use real_t in 3D nodes
2021-08-03 11:16:51 -05:00
Rémi Verschelde
57a5186b08
Merge pull request #51006 from foxydevloper/drag-drop-naming
...
Name nodes added when drag & dropping an image by `name_casing`
2021-08-03 09:38:03 +02:00
Rémi Verschelde
e0b560fb6f
Merge pull request #51177 from kleonc/tab_container-drop-tab-index-fix
...
TabContainer Fix moving dropped tab to incorrect child index
2021-08-03 09:34:51 +02:00
Rémi Verschelde
0f8cba285b
Merge pull request #50986 from raulsntos/fix-path-3d-end
2021-08-03 09:31:22 +02:00
Yuri Roubinsky
a34a91a30b
Added more input/output built-ins to visual shaders
2021-08-03 09:32:40 +03:00
Rémi Verschelde
26481cff95
Merge pull request #51198 from Calinou/codeedit-improve-callhint-highlight
...
Improve CodeEdit's callhint highlight visibility
2021-08-03 08:02:20 +02:00
K. S. Ernest (iFire) Lee
04703c6f66
Merge pull request #51042 from nikitalita/fix_binary_res_load_save
...
Fix binary resource loading and saving
2021-08-02 18:41:05 -07:00
Hugo Locurcio
3ea3addc79
Improve CodeEdit's callhint highlight visibility
...
This makes the currently edited parameter more visible in the
script editor's code completion hint.
2021-08-02 23:16:16 +02:00
Rémi Verschelde
c17a541650
Merge pull request #51039 from nekomatata/layer-grid-32
...
Refactor layer property editor grid
2021-08-02 21:14:16 +02:00
Yuri Roubinsky
bd6b7c4b0f
Merge pull request #51144 from Chaosus/vs_version
...
Makes dictionary instead of string for visual shader version
2021-08-02 21:55:50 +03:00
Rémi Verschelde
c620ede327
Merge pull request #50122 from Paulb23/code_edit_auto_brace_completion
2021-08-02 20:44:39 +02:00
Yuri Roubinsky
94c6817b51
Makes dictionary instead of string for visual shader version
...
Update doc/classes/VisualShader.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-08-02 21:34:19 +03:00
Rémi Verschelde
737d3d31a6
Merge pull request #51192 from timothyqiu/sdfgi-enum-range
...
Validates set_sdfgi_cascades argument range
2021-08-02 18:20:58 +02:00
Rémi Verschelde
51fac9e3c7
Merge pull request #51187 from timothyqiu/vertex-index-3
...
Fix crash when number of indices to optimize is not a multiple of 3
2021-08-02 18:19:06 +02:00
Haoyu Qiu
b6638cb80d
Validates set_sdfgi_cascades argument range
2021-08-02 23:50:59 +08:00
Rémi Verschelde
2db45b62c0
Merge pull request #51185 from timothyqiu/tile-data-enum-range
...
Validate TileData enum range before using it as index
2021-08-02 17:20:44 +02:00
Rémi Verschelde
5360c2012c
Merge pull request #51004 from groud/tilemap_layers
...
Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead
2021-08-02 17:20:32 +02:00
Haoyu Qiu
0c879ab288
Fix crash when number of indices to optimize is not a multiple of 3
2021-08-02 23:07:18 +08:00
Haoyu Qiu
091d802692
Validate TileData enum range before using it as index
2021-08-02 22:49:23 +08:00
kleonc
a5a4532378
TabContainer Fix moving dropped tab at incorrect child index
2021-08-02 14:15:51 +02:00
kobewi
053f20be76
Add null check to Tween.bind_node()
2021-08-02 14:15:40 +02:00
Gilles Roudière
ad8b5cd5a4
Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead
2021-08-02 13:54:39 +02:00
Aaron Franke
9f3ae0adcd
Move code for looking_at to Basis
2021-08-01 12:49:02 -05:00
Paulb23
809a32c045
Clean up and complete CodeEdit inspector and docs
2021-08-01 12:24:19 +01:00
Paulb23
dd5a37f556
Move symbol lookup into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
8f900ac178
Move line length guidelines into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
d1a1ad127e
Move brace matching into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
12f0053555
Move auto brace completion to CodeEdit
2021-08-01 12:06:33 +01:00
Yuri Sizov
7137ebdaf6
Make theme item overrides more obvious in the Inspector
2021-07-31 23:46:24 +03:00
Rémi Verschelde
f2efa6f4f3
Merge pull request #51083 from akien-mga/variantparser-fix-crash-42115
...
VariantParser: Fix uninitialized ResourceParser funcs
2021-07-31 00:02:23 +02:00
Rémi Verschelde
63be3c1f00
Merge pull request #50935 from Vitika9/50807
2021-07-30 23:37:07 +02:00
Rémi Verschelde
f3aaa713d9
VariantParser: Fix uninitialized ResourceParser funcs
...
They could cause a segfault when parsing values with ID "Resource"
as apparently we never set a valid `func` for it.
Fixes crash part of #42115 .
2021-07-30 23:23:31 +02:00
PouleyKetchoupp
7a0c210f9b
Refactor layer property editor grid
...
- Now able to display up to 32 layers in physics (still 20 for render)
- Adjustable grid size to fit available space in dock
- Expansion icon to display more layers vertically
- Layer numbers in cells to help with selection
2021-07-30 11:19:50 -07:00
Michael Alexsander
b70b9c4ede
Fix "Custom *" theme sections being inside "Auto Translate"
2021-07-30 13:55:07 -03:00
Rémi Verschelde
6d5c1086c3
Merge pull request #50982 from Calinou/editor-use-bullet-points
...
Use bullet points in the editor instead of dashes where relevant
2021-07-30 13:42:20 +02:00
nikitalita
bc58bf5477
Use constant for reserved field count
2021-07-29 22:24:29 -07:00
nikitalita
160601cc78
Fix binary resource loading and saving
2021-07-29 18:17:49 -07:00
Michael Alexsander
94a64d557e
Add auto_translate
toggle for automatic translation
2021-07-29 18:30:34 -03:00
reduz
55d357b1eb
Fix directional shadow bias
...
* Simplified code a lot, bias based on normalized cascade size.
* Lets scale cascades, max distance, etc. without creating acne.
* Fixed normal biasing in directional shadows.
I removed normal biasing in both omni and spot shadows, since the technique can't be easily implemented there.
Will need to be replaced by something else.
2021-07-29 13:51:32 -03:00
Yuri Sizov
0ab661de63
Fix a crash when trying to load a WebP StreamTexture2D
2021-07-29 16:05:03 +03:00
foxydevloper
07a8f0fe38
Name nodes added from drag & drop by name_casing
2021-07-29 00:29:24 -04:00
Raul Santos
e23f6a5bba
Fix forward calculation in PathFollow3D for the position at the end of the curve
2021-07-28 22:10:36 +02:00
Hugo Locurcio
07dbe2045a
Use bullet points in the editor instead of dashes where relevant
2021-07-28 19:40:45 +02:00
Hugo Locurcio
48fc5b2480
Add node configuration warning for GeometryInstance3D distance
2021-07-28 19:33:14 +02:00
Rémi Verschelde
60eb508fbb
Merge pull request #50961 from YeldhamDev/embed_windows_fixes
...
Multiple cosmetic fixes for embedded windows
2021-07-28 18:24:07 +02:00
Michael Alexsander
79fc188fc4
Multiple cosmetic fixes for embedded windows
2021-07-27 23:55:06 -03:00
Rémi Verschelde
78f0d2d1d6
Merge pull request #50905 from fabriceci/fix-multiple-direction-collision
...
Allow multiple collision direction at the same time
2021-07-27 19:10:47 +02:00
vitika9
22eaec6895
Fixed Camera2D's reset_smoothing() does not work as described
2021-07-27 16:29:30 +05:30
K. S. Ernest (iFire) Lee
2fa4b59f99
Merge pull request #50355 from Calinou/immediategeometry3d-remove-remains
...
Remove the remains of ImmediateGeometry3D
2021-07-27 00:54:23 -07:00
Haoyu Qiu
448295cd51
Add check to internal methods to prevent crash
2021-07-27 12:26:13 +08:00
Rémi Verschelde
caf7cbd871
Merge pull request #50904 from YeldhamDev/switch_hover_embedded
...
Make `switch_on_hover` work on embedded windows
2021-07-26 21:00:13 +02:00
Michael Alexsander
478b6d6a13
Make switch_on_hover
work on embedded windows
2021-07-26 14:45:26 -03:00
Rémi Verschelde
fab3412139
Merge pull request #50899 from akien-mga/refref
...
Use Ref<T> references as iterators where relevant
2021-07-26 19:45:04 +02:00
Rémi Verschelde
92299989bd
Use Ref<T> references as iterators where relevant
...
And const when possible.
2021-07-26 19:27:11 +02:00
fabriceci
f45af43784
Allow to have multiple collision direction at the same time
2021-07-26 19:14:41 +02:00
Aaron Franke
4ecb6fba80
Use doubles for time everywhere in Timer/SceneTree
2021-07-26 02:00:48 -04:00
Rémi Verschelde
738205d923
Merge pull request #50835 from bruvzg/optimize_is_rtl
...
Optimise `is_layout_rtl`.
2021-07-25 12:55:46 +02:00
Rémi Verschelde
ff0b5f8fa1
Merge pull request #50809 from akien-mga/iterators-const-references
2021-07-25 12:52:58 +02:00
Rémi Verschelde
ac3322b0af
Use const references where possible for List range iterators
2021-07-25 12:22:25 +02:00
luz paz
3564c16cb8
Fix various typos with codespell
...
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25 11:21:51 +02:00