Lightning_A
bb6bdcee1a
Add the ability to hide scrollcontainer's scrollbars
2021-04-28 09:28:31 -06:00
Rémi Verschelde
7e0a42a673
Merge pull request #46688 from QbieShay/fix-particle-rotate-y-4
...
Fixed rotate_y property of particle shaders
2021-04-28 17:09:17 +02:00
Rémi Verschelde
0e93a1df79
Remove obsolete LargeTexture, it's no longer useful since 3.x
...
It existed in early Godot releases to allow working around hardware limitations
on max texture sizes (e.g. hardware limits of 1024x1024 pixels).
Nowadays the max texture size supported natively by Godot is 16384x16384, and
even low end mobile hardware should support at least 4096x4096.
The LargeTexture implementation is basically just an array with offsets, sizes
and textures and should be easy to replicate with a custom Texture resource if
needed - solving most of its bugs on the way as the implementation removed here
has various unimplemented or incomplete methods.
2021-04-28 15:51:55 +02:00
Rémi Verschelde
305b2a15bf
Merge pull request #48239 from akien-mga/goodbye-copymem
...
Core: Drop custom `copymem`/`zeromem` defines
2021-04-28 11:04:05 +02:00
EricEzaM
de5387ab82
Fixed issues with LineEdit Delete Word & Backspace Word.
...
Backspace word was deleting all text before the cursor, and delete word was no updating until another action was performed on the LineEdit (in order to update it)
2021-04-28 17:15:28 +10:00
Hugo Locurcio
60b70c77e0
Improve the editor theme
...
The editor theme now makes use of rounded corners and less borders
to follow modern visual trends.
The default theme's colors were also tweaked to make the blue hue
more subtle (similar to the Arc theme, which was removed as a
consequence). The Alien theme was replaced by a Breeze Dark theme,
which should blend in well with the KDE theme.
2021-04-27 22:38:26 +02:00
Rémi Verschelde
0582cefcbb
Merge pull request #48241 from akien-mga/tabs-panel-style-unused
...
Tabs: Remove unused 'panel' stylebox from default theme
2021-04-27 19:33:40 +02:00
Rémi Verschelde
95cfce661b
Merge pull request #48050 from JFonS/occlusion_culling
2021-04-27 19:07:12 +02:00
Rémi Verschelde
cd8d321961
Tabs: Remove unused 'panel' stylebox from default theme
...
Cf. https://github.com/godotengine/godot/issues/37875#issuecomment-625297308 .
2021-04-27 17:36:53 +02:00
Rémi Verschelde
8247667a3e
Core: Drop custom copymem
/zeromem
defines
...
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f6639
.
There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27 16:26:27 +02:00
Rémi Verschelde
3a0cfd3d85
Merge pull request #47960 from smix8/issue_47334_navagent2d_target_reached
2021-04-27 13:34:48 +02:00
smix8
67b4f9f76a
Fix NavigationAgent3D not emitting "target_reached" Signal
...
Fix NavigationAgent3D not emitting "target_reached" Signal when reaching pathfinding target.
2021-04-27 12:31:50 +02:00
smix8
0b87cb5e3d
put distance check to target into function
...
put distance check to target into function
2021-04-27 11:22:37 +02:00
Rémi Verschelde
b95a82d46a
Merge pull request #47826 from Chaosus/vs_fix_default_input_overriding
...
Prevents default values of VSNodeCustom from overriding by a script
2021-04-27 10:42:51 +02:00
Rémi Verschelde
e0c1cc702c
Merge pull request #38349 from asheraryam/convex-decompose-master
...
Create GDScript bindings for creating multiple-convex collision bodies [4.0]
2021-04-27 10:05:12 +02:00
asheraryam
ecfbb0fd28
Expose creating multiple-convex-collision static bodies to GDScript
2021-04-27 06:56:04 +03:00
Fabio Alessandrelli
3bb40669d5
[Net] Implement String::parse_url for parsing URLs.
...
Splits the URL into (scheme, host, port, path).
Supports both literal IPv4 and IPv6.
Strip credentials when present (e.g. http://user:pass@example.com/ ).
Use that function in both HTTPRequest and WebSocketClient.
2021-04-26 09:55:24 +02:00
Koala
2c64008718
Fix indent left line selection
2021-04-25 22:31:29 +01:00
EricEzaM
7c9bd81578
Fix viewport not updating mouse pos on click.
...
Closes #47594 . See further discussion there. Thanks to @Bhu1-V for the investigation which led to this fix.
2021-04-25 22:44:10 +10:00
Stefan Boronczyk
f15cabcfd2
fix triplanar mapping for AO
2021-04-25 03:32:17 +02:00
Rémi Verschelde
759b876b8a
Merge pull request #46593 from pycbouh/theme-editor-better-edit-ui
...
Refactor Edit Theme menu in Theme Editor
2021-04-23 23:12:25 +02:00
jfons
4d9d99bb82
Implement occlusion culling
...
Added an occlusion culling system with support for static occluder meshes.
It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`.
Occluders are defined via the new `Occluder3D` resource and instanced using the new
`OccluderInstance3D` node. The occluders can also be automatically baked from a
scene using the built-in editor plugin.
2021-04-23 21:45:23 +02:00
Rémi Verschelde
1a3d60944f
Merge pull request #47485 from rafallus/fix/rigidbody-crash
...
Fix crash on RigidBody _direct_state_changed
2021-04-23 16:02:26 +02:00
Rémi Verschelde
492b8aa9a5
Merge pull request #43330 from KoBeWi/rngesus
...
Call randomize() automatically
2021-04-23 10:17:11 +02:00
Rémi Verschelde
a3fbc0b4e5
Merge pull request #48028 from smix8/issue_47337_broken_navagent3d_callback
2021-04-23 10:14:04 +02:00
Rémi Verschelde
bd7a92ec23
Merge pull request #48030 from smix8/issue_47337_broken_navagent2d_callback
2021-04-23 10:13:44 +02:00
rafallus
cfa06f0f76
Unexpose _direct_state_changed in PhysicsBody
...
Removed _direct_state_changed bindings
Affects 2D and 3D nodes
Callbacks now use Callable
Tests were changed accordingly
2021-04-22 23:20:58 -05:00
Tomasz Chabora
497c3f97b2
Call randomize() automatically
2021-04-22 21:13:43 +02:00
Rémi Verschelde
b06116d62f
Merge pull request #42770 from madmiraal/fix-26680
...
Move collision layer and mask into CollisionObject.
2021-04-20 21:07:32 +02:00
Rémi Verschelde
c36807994d
Merge pull request #47345 from nekomatata/heightmap-draw-triangles
...
Draw triangles for HeightMapShape debug collision
2021-04-20 17:41:11 +02:00
Rémi Verschelde
fdf041a466
Merge pull request #47347 from nekomatata/heightmap-support
...
Heightmap collision shape support in Godot Physics
2021-04-20 17:40:28 +02:00
Marcel Admiraal
071871b787
Move collision layer and mask into CollisionObject.
2021-04-20 10:38:42 +01:00
Rémi Verschelde
aa677865e3
Merge pull request #47991 from LightningAA/regroup-area-inspector-4.0
...
`Area[X]D`: Put physics override parameters in their own group and document that areas can be used to influence audio
2021-04-20 09:54:07 +02:00
smix8
a491071c24
Fix broken NavigationAgent2D collision avoidance callbacks
...
Fix broken NavigationAgent2D collision avoidance callbacks
2021-04-20 01:56:04 +02:00
smix8
15bf337474
Fix broken NavigationAgent3D collision avoidance callback
...
Fix broken NavigationAgent3D collision avoidance callback
2021-04-19 23:48:28 +02:00
Juan Linietsky
2b730cad90
Use multiple threads to import.
...
- For now everything imports multithreaded by default (should work I guess, let's test).
- Controllable per importer
Early test benchmark. 64 large textures (importing as lossless, _not_ as vram) on a mobile i7, 12 threads:
Importing goes down from 46 to 7 seconds.
For VRAM I will change the logic to use a compressing thread in a subsequent PR, as well as implementing Betsy.
2021-04-19 14:12:22 -03:00
Rémi Verschelde
29775a1714
doc: Sync classref with current source
2021-04-19 12:26:37 +02:00
Rémi Verschelde
8ba06e3161
Merge pull request #47448 from madmiraal/rename-lineedit-cursor
...
Rename LineEdit getters and setters to match property names
2021-04-19 10:40:29 +02:00
Lightning_A
80b1a29c46
Put physics override parameters in their own group and document that areas can be used to influence audio
2021-04-18 21:27:06 -06:00
Rémi Verschelde
6269895ecb
Merge pull request #47980 from reduz/split-particle-shader-entry-points
...
Split particle shader entry points
2021-04-18 23:39:17 +02:00
Yuri Sizov
2524238bb3
Refactor Edit Theme menu in Theme Editor
2021-04-18 17:55:49 +03:00
Yuri Roubinsky
8ae5c6c6ec
Fix sky
visual shader mode after last rename
2021-04-17 20:59:48 +03:00
reduz
906882ee66
Split particle shader entry points
...
* Particle shaders now have start() and process()
* Particle collision happens between them.
* The RESTART property is kept, so porting an old shader is still possible.
This fixes the problem of particle collisions not functioning on the first particle frame.
2021-04-17 12:22:55 -03:00
Marcel Admiraal
86822b187e
Rename LineEdit caret_* properties getters and setters to match property
2021-04-17 12:41:23 +01:00
smix8
cd24a63da2
Fix NavigationAgent2D not emitting "target_reached" Signal reliably
...
Fix NavigationAgent2D not emitting "target_reached" Signal reliably
2021-04-16 22:04:02 +02:00
Rémi Verschelde
916bff471a
Merge pull request #47728 from ray90514/bug#47562
...
Fix LineEdit undo behaves strangely
2021-04-16 10:28:57 +02:00
Rémi Verschelde
8bbdd43b09
Merge pull request #47950 from AndreaCatania/AndreaCatania-patch-4
...
Lowers the navigation edge margin merge
2021-04-16 10:23:55 +02:00
Andrea Catania
fd2e652196
Lowers the navigation edge margin merge
...
Lowers the edge margin merge to avoid merge undesired edges.
2021-04-16 09:56:39 +02:00
Rémi Verschelde
ba66569512
Merge pull request #47923 from smix8/issue_47850_4.x
...
Fix Skeleton3D.clear_bones_global_pose_override() not resetting global_bone_overrides properly
2021-04-16 08:45:10 +02:00
Rémi Verschelde
0c8ec72370
Merge pull request #47933 from TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix2
...
Changed SkeletonIK3D to clear bone overrides when stopping
2021-04-15 23:03:04 +02:00
TwistedTwigleg
9ebdf812df
Changed SkeletonIK3D to clear bone overrides when stopping
2021-04-15 15:46:30 -04:00
smix8
d8b4a61678
fix skeleton (ik) not resetting global_bone_overrides properly
...
fix skeleton (ik) not resetting global_bone_overrides properly
2021-04-15 17:29:36 +02:00
Rémi Verschelde
b8bd648ad9
Merge pull request #47916 from akien-mga/stringnames-mesh_materials-unused
...
Scene: Remove unused `mesh_materials` StringNames
2021-04-15 13:39:53 +02:00
Rémi Verschelde
764eee03a4
Scene: Remove unused mesh_materials
StringNames
...
They were added in 8be2fabbe5
(2.1 era) but
were likely a first attempt that didn't get unused in the end.
2021-04-15 13:02:10 +02:00
Bastiaan Olij
eca20c2038
Fix forgotten rename on surface material override
2021-04-15 20:47:38 +10:00
Rémi Verschelde
c7a4e2196e
Merge pull request #47878 from clayjohn/rename-get_surface_material
...
Rename get_surface_material to get_surface_override_material
2021-04-15 07:57:15 +02:00
clayjohn
92731d292c
Rename get_surface_material to get_surface_override_material
2021-04-14 20:24:03 -07:00
Rémi Verschelde
f95945af5a
Merge pull request #47889 from EricEzaM/PR/fix-autocomplete-accept-on-space
...
Fixed ui_accept (spacebar + return) accepting auto-completion options.
2021-04-14 17:42:22 +02:00
Eric M
92900bd490
Fixed ui_accept (spacebar + return) accepting auto-completion options.
2021-04-15 00:38:28 +10:00
reduz
d3b49c416a
Refactor GLSL shader compilation
...
-Used a more consistent set of keywords for the shader
-Remove all harcoded entry points
-Re-wrote the GLSL shader parser, new system is more flexible. Allows any entry point organization.
-Entry point for sky shaders is now sky().
-Entry point for particle shaders is now process().
2021-04-14 11:37:52 -03:00
Rémi Verschelde
5535cf5c22
Merge pull request #47689 from nekomatata/textedit-fix-cursor-update
...
Fix TextEdit cursor update when adding or deleting text
2021-04-14 08:25:34 +02:00
PouleyKetchoupp
d7353c5d41
Fix crashes with CollisionObject debug shapes
...
MeshInstance added as child nodes for CollisionObject debug shapes can
be invalidated while deleting the collision object (child nodes are
deleted first), which caused accesses to invalid memory in
shape_owner_remove_shape that lead to random crashes.
Also optimized accesses to shapes to avoid copy-on-write on each
iteration.
2021-04-12 20:08:30 -07:00
Yuri Roubinsky
8d3e46098b
Prevents default values of VSNodeCustom from overriding by a script
2021-04-12 14:41:08 +03:00
Nathan Franke
2a8c59c171
Use Array for node configuration warnings
...
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
2021-04-11 23:25:38 -05:00
Rémi Verschelde
8b6e3d6375
Merge pull request #46340 from gongpha/various-color-picker
...
Add Various ColorPicker shapes
2021-04-10 13:29:50 +02:00
Rémi Verschelde
cba3b024b5
Merge pull request #43746 from CaptainProton42/master
...
Vulkan: Implement triplanar mapping in world space
2021-04-08 21:26:08 +02:00
ray90514
7501c7f48a
Fix LineEdit undo behaves strangely
2021-04-08 23:47:54 +08:00
Rémi Verschelde
35066f39ff
Merge pull request #47697 from gongpha/color-picker-bars-fix-raw-mode
...
Fix ColorPicker's RGB bars are show in RAW mode and other
2021-04-08 16:32:38 +02:00
Rémi Verschelde
0283bc8fd5
Merge pull request #44456 from univeous/allow_input_echo_in_ui_focus
...
allow input echo when changing ui focus
2021-04-08 13:28:43 +02:00
Rémi Verschelde
47aef8e8dc
Merge pull request #47441 from TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix2
...
Fix for SkeletonIK not working correctly with 0 interpolation and incorrectly rotating with animation
2021-04-07 16:25:30 +02:00
Kongfa Waroros
ce126d4b79
Fix ColorPicker's RGB bars are show in RAW mode and other
2021-04-07 18:39:37 +07:00
PouleyKetchoupp
9d87bcdcde
Fix TextEdit cursor update when adding or deleting text
...
Updating the viewport while setting the line index before the column is
set could wrongly cause the text to be scrolled down.
2021-04-06 22:17:16 -07:00
Kongfa Waroros
6294507acb
Add Various ColorPicker shapes
2021-04-06 22:48:03 +07:00
Lightning_A
d514949755
Make scrollwheel zoom based on mouse position
2021-04-05 23:00:56 -06:00
Rémi Verschelde
77264e346b
Re-allow playing AnimatedSprite2D without frames
...
Fixes #47578 , partial revert of #47064 .
2021-04-05 14:42:21 +02:00
Rémi Verschelde
d83761ba80
Style: Apply clang-tidy's readability-braces-around-statements
2021-04-05 14:09:59 +02:00
Rémi Verschelde
9bbe51dc27
Style: Apply clang-tidy's modernize-use-nullptr
2021-04-05 14:05:07 +02:00
Rémi Verschelde
0f0c0e5933
Style: Apply clang-tidy's modernize-use-bool-literals
2021-04-05 13:16:35 +02:00
Rafał Mikrut
504bc5cc67
Fix crashes in *_input functions
2021-04-05 08:52:21 +02:00
Yuri Roubinsky
44af52d62c
Prevents TextureUniform in visual shaders from conversion to constant
2021-04-04 17:32:44 +03:00
Rémi Verschelde
cbf5408685
Merge pull request #46273 from Chaosus/vs_comment
...
Added Comment node to Visual Shaders
2021-04-04 16:04:12 +02:00
Rémi Verschelde
ed2f51b15f
Merge pull request #47452 from BastiaanOlij/xr_positional_tracker_ref
...
Change XRPositionalTracker to a reference (master)
2021-04-03 10:13:23 +02:00
TwistedTwigleg
318a81f619
Fix for SkeletonIK not working correctly with 0 interpolation and incorrectly rotating with animation. Now the root bone rotates differently to ensure it always rotates correctly and works with BoneAttachment3D nodes.
2021-04-02 13:47:19 -04:00
Kevin Smith
a7d12920f2
Make ColorPicker button text and tooltips appear in exported projects
2021-04-01 11:06:24 -04:00
Rémi Verschelde
4b6e9f3157
Merge pull request #46991 from madmiraal/rename-invert-reverse
...
Rename Array.invert() to Array.reverse()
2021-04-01 13:32:22 +02:00
Rémi Verschelde
c2b7c69e2b
Merge pull request #42827 from lyuma/rename_bones_blendshapes
...
Allow renaming bones and blendshapes.
2021-04-01 00:20:07 +02:00
Rémi Verschelde
5d0cc7c15f
Merge pull request #47252 from KoBeWi/themecide
...
Add methods to remove theme overrides
2021-03-31 20:52:19 +02:00
Rémi Verschelde
995ce158dd
Merge pull request #46702 from HaSa1002/fix-min-size-resize
...
Fix removal of `rect_min_size` not triggering resize
2021-03-30 20:46:04 +02:00
Rémi Verschelde
69a78c006c
Merge pull request #47491 from groud/improve_tabs
...
Implement Tabs node minimum size
2021-03-30 16:28:45 +02:00
Gilles Roudière
898a2a7cf3
Implement Tabs minimum size
2021-03-30 16:11:35 +02:00
Hugo Locurcio
0724424179
Require editor restart after changing GUI custom theme or font
...
The `restart_if_changed` project setting hint wasn't set correctly.
2021-03-30 15:33:24 +02:00
bruvzg
9f73abfa9f
RichTextLabel: On custom effect change, parse bbcode only if it's enabled and not empty.
2021-03-30 10:20:39 +03:00
Rémi Verschelde
c6ff6707a4
Merge pull request #47457 from bruvzg/rtl_spacing
...
RichTextLabel: fix font extra spacing and style box size usage.
2021-03-29 17:07:38 +02:00
bruvzg
9f4893c70b
Use extra font spacing in the RichTextLabel line height calculation, and stylebox size in the minimum size calculation.
2021-03-29 17:26:53 +03:00
Bastiaan Olij
454c889e61
Change XRPositionalTracker to a reference and better expose it to GDNative
2021-03-29 23:01:47 +11:00
Rémi Verschelde
bc29f4bca1
Merge pull request #47435 from madmiraal/rename-texture-get_data
...
Rename Texture.get_data() to get_image()
2021-03-29 10:41:22 +02:00
Rémi Verschelde
b2eb838781
doc: Sync classref with current source
2021-03-29 09:51:33 +02:00
Rémi Verschelde
b253aca53f
Merge pull request #47351 from volzhs/graphedit-boxselection
...
Fix drawing boxselection on GraphEdit
2021-03-28 20:56:07 +02:00
Marcel Admiraal
fd30c36985
Rename Texture.get_data() to get_image()
2021-03-28 13:00:46 +01:00
PouleyKetchoupp
c8dd3c7d80
Heightmap collision shape support in Godot Physics
2021-03-25 16:52:41 -07:00
Rémi Verschelde
c6b9ceadf2
Merge pull request #47163 from bruvzg/macos_sandbox_file_dialog
...
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-26 00:00:25 +01:00
Morris Tabor
0fc8318f1a
Fix ParticlesMaterial spread
2021-03-25 17:33:44 +01:00
Rémi Verschelde
9343a8a970
Merge pull request #47251 from pycbouh/theme-more-useful-methods
...
Add utility methods to Theme, improve error messages and documentation
2021-03-25 13:09:27 +01:00
volzhs
990c88f24c
Fix typo 'previus_selected'
2021-03-25 20:08:38 +09:00
volzhs
1bdc14acea
Fix drawing boxselection on GraphEdit
2021-03-25 13:21:34 +09:00
PouleyKetchoupp
41994ff8ee
Fix RayCast3D color in game with no collision
...
In game, the ray color was always set as colliding.
2021-03-24 19:41:19 -07:00
PouleyKetchoupp
806a1a6646
Draw triangles for HeightMapShape debug collision
...
Helps with ambiguous cases where it's not possible to tell which diagonal is used for collision in quads.
2021-03-24 17:58:54 -07:00
Johannes
c8868fcaab
Fix removal of rect_min_size
not triggering resize
...
fixes #46672
2021-03-23 23:06:50 +01:00
Rémi Verschelde
036a50e8b9
Merge pull request #37755 from KoBeWi/check_down
...
Add disabled theme icons for CheckBox
2021-03-23 13:06:02 +01:00
Aaron Franke
10d7fccb54
Rename ButtonList enum and members to MouseButton
2021-03-23 07:13:23 -04:00
bruvzg
b202a0dd2a
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-23 08:03:41 +02:00
kobewi
5950482b86
Remove the clearing behavior from add_override
2021-03-23 00:55:02 +01:00
kobewi
ecff5bc42f
Add methods to remove theme overrides
2021-03-23 00:51:16 +01:00
Rémi Verschelde
6fa24729ae
Merge pull request #45571 from aaronfranke/node2d-real_t
...
Use real_t in 2D nodes
2021-03-23 00:10:53 +01:00
Rémi Verschelde
4bacb86f56
Merge pull request #46735 from fabriceci/fix-dialog-translation
...
Fix translations update in window & Dialogs (AcceptDialog/ConfirmationDialog/FileDialog) (Fix 39320, 39258 & 45887)
2021-03-23 00:03:31 +01:00
Rémi Verschelde
e0f19287f7
Merge pull request #47226 from fabriceci/improve-rayshape-2D
...
Bring the Raycast2D improvements to Rayshape2D
2021-03-22 23:56:18 +01:00
Rémi Verschelde
bb8340302c
Merge pull request #47180 from YeldhamDev/popupmenu_width_fix
...
Fix wrong width with PopupMenus on first opening in the editor
2021-03-22 23:51:57 +01:00
Juan Linietsky
97a3a66220
Improved 3D Scene Importer
...
* Added option for importers to show an Advanced settings dialog
* Created advanced settings dialog for Scene Importer
* Cleaned up importers (remove many old/unused options)
* Added the ability to customize every node, material, mesh and animation individually
* Saving to animations and meshes to files is now a manual process, making it more predictable
* Added the ability for materials to be replaced by external files (or to be made external, up to you).
* When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it.
WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
2021-03-22 12:16:40 -03:00
Yuri Sizov
9df05745ba
Add utility methods to Theme, improve error messages and documentation
2021-03-22 14:49:31 +03:00
fabriceci
f810ff35fa
Bring the Raycast2D improvements to Rayshape2D
2021-03-21 14:52:44 +01:00
Marcel Admiraal
755c70b871
Rename Array.invert() to Array.reverse()
...
Does the same internally for List and Vector<>, which includes all
PackedArray types.
2021-03-21 10:20:08 +00:00
Nathan Franke
3c921ba801
Add Root Null Check
2021-03-20 18:48:41 -05:00
Rémi Verschelde
7e86b4c0e4
Merge pull request #46280 from floppyhammer/AdjustCompletionPanelPosition
...
Improve Completion Panel Position in Shader Editor
2021-03-21 00:17:35 +01:00
Rémi Verschelde
fa681d04b7
Merge pull request #46937 from nekomatata/soft-body-support
...
SoftBody support in GodotPhysics 3D
2021-03-20 21:45:20 +01:00
Rémi Verschelde
793000c6a9
Merge pull request #47139 from nekomatata/concave-backface-collision
...
Disable backface collision with ConcavePolygonShape by default
2021-03-20 21:43:57 +01:00
Rémi Verschelde
6608d99291
Merge pull request #47001 from madmiraal/rename-sprite_2d-region_enabled
...
Rename Sprite.region_enabled getter and setter methods to match properties
2021-03-20 18:36:17 +01:00
jmb462
045f55ec00
Prevent resizing minimap bigger than GraphEdit ( Fix #47189 )
...
Minimap size couldn't be resized back after been resized bigger than GraphEdit cause the grabber was out of GraphEdit.
This commit prevents resizing minimap bigger than GraphEdit and fix this issue.
2021-03-20 15:09:50 +01:00
Michael Alexsander
1bece0da7c
Fix wrong width with PopupMenus on first opening in the editor
2021-03-20 00:37:09 -03:00
CaptainProton42
856312ca6d
Implement FLAG_UV*_USE_WORLD_TRIPLANAR
...
Implements triplanar mapping in world space for UV1 and UV2
when the respective flags are enabled.
2021-03-19 20:35:20 +01:00
Aaron Franke
6811a45b59
Use real_t in non-physics 2D nodes
2021-03-19 13:04:45 -04:00
Rémi Verschelde
3b380f4cdc
Merge pull request #47156 from LightningAA/graph-edit-scroll-zoom-4.0
...
Enable zooming in graph_edit with Ctrl + scrollwheel
2021-03-19 09:19:41 +01:00
Rémi Verschelde
67dc067970
Merge pull request #47151 from nekomatata/soft-body-attachment-error
...
Fix spamming errors when SoftBody pinned nodes have no attachment
2021-03-19 08:38:27 +01:00
Lightning_A
d752482e7a
Enable zooming graph_edit with scrollwheel
2021-03-18 18:34:29 -06:00
PouleyKetchoupp
195eda244f
Fix spamming errors when SoftBody pinned nodes have no attachment
...
There was a specific case where the node path wasn't checked for
validity before trying to access the attachment node.
It could cause lots of error log noise in both editor and game.
2021-03-18 16:26:42 -07:00
Rémi Verschelde
217d9d1b30
Merge pull request #47147 from TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix
...
Fix for regression in SkeletonIK code
2021-03-18 23:45:37 +01:00
TwistedTwigleg
c15e23396d
Fix for regression in SkeletonIK code
2021-03-18 17:52:59 -04:00
PouleyKetchoupp
7bbd545432
Disable backface collision with ConcavePolygonShape by default
...
Helps a lot with soft bodies and generally useful to avoid shapes to go
through the ground in certain cases.
Added an option in ConcavePolygonShape to re-enable backface collision
on specific bodies if needed.
2021-03-18 11:30:22 -07:00
Justin Ho
fa6fd3a2d0
Check for null pointer in get_column_width(0)
2021-03-18 10:25:55 -07:00
PouleyKetchoupp
d5ea4acd2d
SoftBody support in GodotPhysics 3D
...
- Fixed SoftBody surface update with new rendering system
- Added GodotPhysics implementation for SoftBody
- Added support to get SoftBody rid to interact with the physics server
- Added support to get SoftBody bounds from the physics server
- Removed support for unused get_vertex_position and get_point_offset
from the physics server
- Removed SoftBody properties that are unused in both Bullet and
GodotPhysics (angular and volume stiffness, pose matching)
- Added RenderingServerHandler interface to PhysicsServer3D so the physics servers don't need to reference the class from SoftBody node directly
2021-03-18 09:04:17 -07:00
Rémi Verschelde
888051889e
Merge pull request #46674 from cmd410/fix-tab-container
...
Fix TabContainer _get_tab_width for localized node names
2021-03-17 21:05:20 +01:00
Rémi Verschelde
e57f6e2cca
Merge pull request #47050 from jmb462/fix-bbcode-tables-overlap-with-bottom-text
...
Fix BBCode tables overlap with bottom text (Fix #47012 )
2021-03-17 17:54:01 +01:00
Rémi Verschelde
0615e55b27
Merge pull request #47064 from jmb462/fix-crash-in-uninitialized-AnimatedSprite2d-play
...
Fix crash on calling play() in a uninitialized AnimatedSprite2D (Fix #46013 )
2021-03-17 15:21:34 +01:00
jmb462
324ab63844
Fix crash on calling play() in a uninitialized AnimatedSprite2D
...
When AnimatedSprite2D::play() was called before SpriteFrames has been initialized, a crach occurred (issue #46013 ).
Modification : An error message on null check test has been added to prevent crash.
Fix #46013 .
2021-03-17 14:57:04 +01:00
Rémi Verschelde
a851b72354
Merge pull request #47091 from gongpha/again-with-err-macro!-animation_tree_node
...
Check AnimationNode to update properties
2021-03-17 13:05:25 +01:00
Kongfa Waroros
981ca8045f
Check AnimationNode to update properties
2021-03-17 18:33:29 +07:00
Rémi Verschelde
8088218e1e
Merge pull request #47081 from nekomatata/collision-debug-shape-game-only
...
Disable debug collision shapes in the editor
2021-03-17 10:37:57 +01:00
Rémi Verschelde
08ca4184f4
Merge pull request #47024 from groud/navigation
...
Allow Navigation to be more flexible
2021-03-17 09:18:54 +01:00
PouleyKetchoupp
9798a52a20
Disable debug collision shapes in the editor
...
If the editor was started with --debug-collisions, 3d shapes were
displayed twice, both with the gizmo and debug shapes. Some shapes could
also persist after being removed due to the usage of queue_free() to
destroy the debug shapes.
2021-03-16 18:02:33 -07:00
Rémi Verschelde
4c56fcd6cd
Merge pull request #39810 from christinoleo/master
...
Make GraphNode handle children with EXPAND flag
2021-03-16 18:10:08 +01:00
jmb462
25af026d9e
Fix BBCode tables overlap with bottom text
...
New row height was added only if all the column was full.
2021-03-16 10:45:16 +01:00