Rémi Verschelde
6cc6930ee9
Merge pull request #48823 from timothyqiu/bone-id
...
Fix ragdoll simulation when parent was readded to scene
2021-05-19 19:35:57 +02:00
Marcel Admiraal
7104229a85
Fix InputMap.action_erase_event() failing to erase events correctly.
2021-05-19 11:43:02 +01:00
Rémi Verschelde
d0aaf4a1fd
Merge pull request #48814 from Calinou/viewport-use-nonzero-default-size
...
Use a non-zero default size for SubViewports
2021-05-19 10:12:42 +02:00
Haoyu Qiu
a701927d89
Fix ragdoll simulation when parent was readded to scene
2021-05-19 10:22:15 +08:00
Rémi Verschelde
c340ed6394
Merge pull request #42742 from madmiraal/fix-12215
...
Return RID instead of Object id in area-body_shape_entered-exited signals.
2021-05-18 20:00:48 +02:00
Hugo Locurcio
bbdfb715a6
Use a non-zero default size for SubViewports
...
This makes viewports visible out of the box.
2021-05-18 18:51:39 +02:00
Aaron Franke
ab674a41aa
Area: Uncap the range for gravity and change the slider hints
2021-05-18 07:17:11 -04:00
Rémi Verschelde
b2fb119c53
Merge pull request #36263 from Calinou/increase-default-2d-gravity
2021-05-18 10:54:47 +02:00
Rémi Verschelde
66dac8bda0
Merge pull request #47544 from pycbouh/control-expose-theme-type
2021-05-18 10:52:51 +02:00
Rémi Verschelde
95bb7207f3
Merge pull request #46773 from trollodel/TreeItem+
...
Improve TreeItem API and allow to move nodes
2021-05-18 10:49:45 +02:00
Rémi Verschelde
510030fedc
Merge pull request #48528 from sent44/textedit
...
Expose get_total_visible_rows method to GDScript
2021-05-18 09:06:24 +02:00
trollodel
bca0d36fe6
Improve TreeItem API and allow to move nodes
2021-05-17 22:06:46 +02:00
Rémi Verschelde
92c04fa727
Fix build after mismatch between #48168 and #48599
2021-05-17 17:50:42 +02:00
Rémi Verschelde
8e8cad5bc9
Merge pull request #48549 from kleonc/bitmap_resize_fix
...
BitMask::create Don't request more memory than needed when size is a multiply of 8
2021-05-17 17:39:24 +02:00
Rémi Verschelde
b3e3f0e34c
Merge pull request #48599 from Calinou/textedit-alt-scroll-faster
...
Scroll faster when holding Alt in TextEdit (and script editor)
2021-05-17 17:38:18 +02:00
Rémi Verschelde
6c367f8e0d
Merge pull request #48168 from LightningAA/control-to-ctrl-4.0
2021-05-17 17:38:02 +02:00
Yuri Sizov
9eaa139c1f
Add theme_custom_type property to Control and Window
2021-05-17 17:20:42 +03:00
Rémi Verschelde
b0a51bf9fe
Merge pull request #48768 from akien-mga/file-access-64-bit-4.0
...
Make all file access 64-bit (`uint64_t`)
2021-05-17 16:02:12 +02:00
Rémi Verschelde
107651806f
Merge pull request #39603 from Calinou/default-theme-use-dynamicfont
2021-05-17 15:46:44 +02:00
Hugo Locurcio
d211c05111
Use a DynamicFont for the default project theme
...
This makes font oversampling work out of the box, while also increasing
the supported character set's size. The default font is now larger
as well to better fit today's screen resolutions.
The OpenSans SemiBold font was chosen for two reasons:
- Small file size, yet its character set supports Latin-1 and Cyrillic
text.
- A heavier font weight looks better in most "game" scenarios and is
more readable against mixed-color backgrounds.
This is considered a breaking change as it changes the default font's
metrics, which will likely affect how Control nodes are laid out in
scenes (unless a custom font is in use).
2021-05-17 15:19:13 +02:00
Pedro J. Estébanez
469fa47e06
Make all file access 64-bit (uint64_t)
...
This changes the types of a big number of variables.
General rules:
- Using `uint64_t` in general. We also considered `int64_t` but eventually
settled on keeping it unsigned, which is also closer to what one would expect
with `size_t`/`off_t`.
- We only keep `int64_t` for `seek_end` (takes a negative offset from the end)
and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means
we only need to guard against passing negative values in `core_bind.cpp`.
- Using `uint32_t` integers for concepts not needing such a huge range, like
pages, blocks, etc.
In addition:
- Improve usage of integer types in some related places; namely, `DirAccess`,
core binds.
Note:
- On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with
version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for
big files on 32-bit Windows builds made with that toolchain. We might add a
workaround.
Fixes #44363 .
Fixes godotengine/godot-proposals#400 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-17 15:06:19 +02:00
Rémi Verschelde
9cc17a8439
Merge pull request #48690 from KoBeWi/static_shader_picker
...
Create ColorPicker shaders statically
2021-05-17 14:51:12 +02:00
kobewi
877dbda209
Create ColorPicker shaders statically
2021-05-17 11:39:20 +02:00
Rémi Verschelde
2be9b5dec4
Merge pull request #48775 from CaptainProton42/fix-prism-mesh-normals
...
Fix normals of PrismMesh
2021-05-17 10:37:35 +02:00
Rémi Verschelde
2dadcde361
Merge pull request #48760 from timothyqiu/tree-crash
...
Fix Tree::get_column_at_position crash
2021-05-16 23:05:37 +02:00
John Wigg
c8e402324e
Fix normals of PrismMesh
2021-05-16 23:01:53 +02:00
Rémi Verschelde
d4fc125fbc
Merge pull request #48761 from kleonc/editor-get_tree-crash-fix
...
Fix accessing scene tree without checking: MeshInstance3D::create_debug_tangents, GIProbe::bake
2021-05-16 22:32:04 +02:00
Rémi Verschelde
8e7b17429e
Merge pull request #48650 from AnilBK/graph-node-setters
...
Added GraphNode missing setters.
2021-05-16 17:37:12 +02:00
kleonc
ef589a7cd3
Fix accessing scene tree without checking: MeshInstance3D::create_debug_tangents, GIProbe::bake
2021-05-16 14:01:01 +02:00
Haoyu Qiu
c8efcf81d2
Fix Tree::get_column_at_position crash
2021-05-16 19:42:28 +08:00
Rémi Verschelde
99626d5b57
Merge pull request #48478 from brennengreen/normal-mapping-unpacked-fix
...
Fix refraction offset by manually unpacking normal mappings
2021-05-14 11:33:22 +02:00
Eoin O'Neill
c4f976b38b
Attempt to fix rich text label effects processing even when
...
the node is invisible.
ISSUE:47687
2021-05-13 19:59:08 -07:00
Rémi Verschelde
a3dd18b12e
Merge pull request #39976 from aaronfranke/tilemap-vec2i
...
Update TileMap to use Vector2i
2021-05-13 14:48:16 +02:00
Anilforextra
2c3c3b2829
-Added missing setters to GraphNode.
...
-Improved various GraphNode documentation.
2021-05-13 17:45:07 +05:45
Rémi Verschelde
d0c2ac8a0e
Merge pull request #48688 from Xrayez/rename-hint-usage-control
...
Fix variable names for "usage" flags in `Control::_get_property_list()`
2021-05-13 13:15:52 +02:00
Andrii Doroshenko (Xrayez)
c9a3d13bd9
Fix variable names for "usage" flags in `Control::_get_property_list()`
...
Renamed incorrect "hint" variable names to "usage" in
`_get_property_list()`, as "hint" implies one of the PROPERTY_HINT_*
values, which is not the case here.
2021-05-13 12:51:38 +03:00
Rémi Verschelde
b283447bfd
Merge pull request #47348 from nekomatata/raycast-3d-collide-fix
...
Fix RayCast3D color in game with no collision
2021-05-12 22:13:08 +02:00
reduz
479391ef54
Fixes missng 2D engine bits
...
-Mesh2D now works
-MultiMesh2D now works
-Polygon2D now works
-Added hooks for processing 2D particles
-Skeleton2D now works
2D particles still not working, but stuff needed for it is now implemented.
2021-05-11 11:21:36 -03:00
Hugo Locurcio
1e063595c3
Implement reverting to the old color when clicking it in ColorPicker
2021-05-10 18:13:33 +02:00
Hugo Locurcio
cf1cf6c6eb
Scroll faster when holding Alt in TextEdit (and script editor)
...
This feature is inspired by a similar feature found in
Visual Studio Code.
2021-05-10 01:27:54 +02:00
trollodel
a24c46e7a0
Use the correct method in shape_owner_remove_shape
2021-05-09 18:58:19 +02:00
Rémi Verschelde
aac01456d1
Merge pull request #48175 from trollodel/collisionobject3d-no-mi
...
Create CollisionObject3D debug shapes using RS
2021-05-09 16:41:53 +02:00
Rémi Verschelde
726715b1e1
Merge pull request #48579 from Calinou/tree-fix-bg-focus-section-overlap
...
Fix Tree's background focus outline displaying behind section headings
2021-05-09 14:40:50 +02:00
Rémi Verschelde
73e5f6f673
Merge pull request #48539 from KoBeWi/cant_edit_this
...
Display arrow cursor if text is not editable
2021-05-09 14:18:56 +02:00
Rémi Verschelde
a4e8da8d0b
Merge pull request #41416 from TokageItLab/fix_animation_tree_cache
...
fix unintentional object rotation by anim tree
2021-05-09 13:57:18 +02:00
Hugo Locurcio
63897f16b1
Fix Tree's background focus outline displaying behind section headings
2021-05-09 13:27:20 +02:00
TwistedTwigleg
446460eaf9
Fixes the SkeletonIK twisting issue by using the skeleton global pose without overrides
2021-05-08 16:11:45 -04:00
kleonc
8963be2ef4
BitMask::create Don't request more memory than needed when size is a multiply of 8
2021-05-08 13:04:41 +02:00
kobewi
c3967c80ab
Display arrow cursor if text is not editable
2021-05-07 23:08:00 +02:00
Aaron Franke
75e3f6b732
Update TileMap to use Vector2i instead of two ints
2021-05-07 16:20:02 -04:00
Lightning_A
97fecd1b69
Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods
2021-05-07 14:00:50 -06:00
Rémi Verschelde
c3f7465b7e
Merge pull request #48535 from groud/tiles_squashed
...
TileSet and TileMap rework (squashed)
2021-05-07 20:46:06 +02:00
Gilles Roudière
a3dda2df85
Rework the TileSet resource and TileMap nodes:
...
- Move most properties from TileMap to TileSet,
- Make TileSet more flexible, supporting more feature (several
collision layers, etc...),
- Fusion both the TileMap and TileSet editor,
- Implement TileSetSources, and thus a new way to index tiles in the TileSet,
- Rework the TileSet and TileMap editors completely,
- Implement an editor zoom widget (and use it in several places)
2021-05-07 18:06:17 +02:00
sent44
7bb12b0d6d
Expose get_total_visible_rows as get_visible_line_count
2021-05-07 20:54:05 +07:00
Brennen Green
31f2d946ad
Manually unpacked normal mapping to fix issue with refraction being offset rather than distorted.
2021-05-07 08:38:36 -04:00
besh81
e7e7aa7d12
Fixed bug in tab_container with hidden tabs
...
Fix a bug that occour when there are hidden tabs in tab_container.
The visualization isn't correct due to missing values in tab_widths array.
2021-05-07 13:01:27 +02:00
bowling-allie
bcb1e2b79f
Fixes BlendSpace2D BLEND_MODE_DISCRETE_CARRY.
...
When BlendSpace2D switches animations, it will now correctly
calculate the previous animation position and length and
apply is to the new animation.
2021-05-06 18:25:59 -07:00
Rémi Verschelde
8dc12135e4
Merge pull request #48376 from rafallus/fix_surfacetool_crash_master
...
Check input mesh is valid in SurfaceTool methods (master)
2021-05-07 00:58:20 +02:00
Rémi Verschelde
94f6fb6d24
Merge pull request #34840 from Calinou/colorpicker-display-old-color
...
Display the old color in ColorPicker for easier comparison
2021-05-06 23:55:47 +02:00
Rémi Verschelde
89e6f6ca2e
Merge pull request #48500 from groud/add_buttongroup_pressed_signal
...
Adds a pressed signal to ButtonGroup
2021-05-06 23:20:33 +02:00
Rémi Verschelde
6e621441ca
Merge pull request #45607 from Calinou/improve-editor-theme
...
Improve the editor theme
2021-05-06 16:45:07 +02:00
Gilles Roudière
323f176915
Adds a pressed signal to ButtonGroup
2021-05-06 12:16:27 +02:00
Rémi Verschelde
d81ea631d9
Merge pull request #36676 from Calinou/tweak-material-sampling-property-hint
...
Tweak CanvasItem/material sampling property hint for readability
2021-05-06 08:49:51 +02:00
Rémi Verschelde
605e33cf39
Merge pull request #44831 from gongpha/dont-update-tree-if-selected
...
Blocking updating in SceneTreeEditor when an item was selected
2021-05-06 08:45:41 +02:00
Hugo Locurcio
4a28f7e44f
Increase the default 2D gravity to 980.0
...
This makes 2D RigidBody physics feel less floaty out of the box.
This closes https://github.com/godotengine/godot-proposals/issues/98 .
2021-05-05 22:49:06 -04:00
Hugo Locurcio
9e1bfe2e9e
Display the old color in ColorPicker for easier comparison
...
This only affects ColorPickerButton nodes that spawn a ColorPicker,
not standalone ColorPickers.
This partially addresses #7366 .
2021-05-06 03:08:05 +02:00
Hugo Locurcio
cf1e30a2ed
Tweak CanvasItem/material sampling property hints for readability
...
The "Anisotropic" term is abbreviated as spelling it out would cause
the PopupMenu to overflow the editor window when using the default
inspector width.
2021-05-06 03:05:37 +02:00
Hugo Locurcio
87d107bb11
Increase the default AudioStreamPlayer3D unit size to 10
...
This makes it easier to hear sound while setting up the node.
Since this changes the default value, this may break existing projects
slightly.
This also tweaks the Unit Size editor property hint for better usability.
See discussion in #25468 .
2021-05-06 02:45:46 +02:00
Rémi Verschelde
e144ff0445
Merge pull request #48315 from nekomatata/expose-physics-debug-shape
...
Expose get_debug_mesh in Shape3D to scripting API
2021-05-05 15:17:36 +02:00
trollodel
5b19c7de3f
Create CollisionObject3D debug shapes using RS
2021-05-05 09:12:50 +02:00
Eric M
87ffb213c8
Fixed issues with Editor Log after recent changes
...
Fixed #48446 , Fixed #48443
2021-05-05 00:25:14 +10:00
Rémi Verschelde
4e7ca279fc
Merge pull request #47855 from aaronfranke/doubleclick
...
Rename `doubleclick` to `double_click`
2021-05-04 13:12:17 +02:00
Rémi Verschelde
56316b27ab
Merge pull request #41321 from EricEzaM/output-log-enhancements
2021-05-04 12:59:02 +02:00
Rémi Verschelde
9a8ef54b5a
Merge pull request #48008 from LightningAA/scrollcontainer-hide-scrollbars-4.0
...
Add the ability to hide `ScrollContainer`'s scrollbars
2021-05-04 12:58:12 +02:00
Rémi Verschelde
ab09a62249
Merge pull request #35893 from KoBeWi/a_tree_pr
...
Calculate __focus_rect when TreeItem is focused
2021-05-04 12:57:43 +02:00
Rémi Verschelde
b5e4d63a0b
Merge pull request #48434 from nekomatata/friction-bounce-greater-than-1
...
Allow values > 1 for friction and bounce in PhysicsMaterial
2021-05-04 12:28:58 +02:00
Rémi Verschelde
6b2150c60e
Merge pull request #48394 from kleonc/tilemap-world_to_map-hack-fix
...
TileMap::world_to_map Ensure half offset is added according to the returned value
2021-05-04 12:16:04 +02:00
Aaron Franke
0de9a7d803
Rename `doubleclick` to `double_click`
2021-05-04 04:38:08 -04:00
Rémi Verschelde
3fea170772
Merge pull request #48182 from EricEzaM/PR/fix-viewport-not-updating-mouse-pos-on-click
2021-05-04 09:25:58 +02:00
Eric M
77fd9e4dd3
Improve output log performance.
...
Added method to create a new line in RichTextLabel without adding an ItemNewline to the previous line. Previously, removing a line then adding a newline was adding unnecessary ItemNewline instances to the previous line, significantly the remove_line method.
2021-05-04 16:21:33 +10:00
PouleyKetchoupp
67987be644
Allow values > 1 for friction and bounce in PhysicsMaterial
2021-05-03 17:48:23 -07:00
Rémi Verschelde
a36c084f75
Merge pull request #48198 from KoalasinTraffic/fix-indent-left-line-selection
...
Fix start line selection for indent_selected_lines_left
2021-05-03 20:26:16 +02:00
jfons
6995b0429c
Assorted fixes to UV unwrapping and GPU lightmapper
...
Various fixes to UV2 unwrapping and the GPU lightmapper. Listed here for
context in case of git blame/bisect:
* Fix UV2 unwrapping on import, also cleaned up the unwrap cache code.
* Fix saving of RGBA images in EXR format.
* Fixes to the GPU lightmapper:
- Added padding between atlas elements, avoids bleeding.
- Remove old SDF generation code.
- Fix baked attenuation for Omni/Spot lights.
- Fix baking of material properties onto UV2 (wireframe was
wrongly used before).
- Disable statically baked lights for objects that have a
lightmap texture to avoid applying the same light twice.
- Fix lightmap pairing in RendererSceneCull.
- Fix UV2 array generated from `RenderingServer::mesh_surface_get_arrays()`.
- Port autoexposure fix for OIDN from 3.x.
- Save debug textures as EXR when using floating point format.
2021-05-03 18:10:34 +02:00
Fabio Alessandrelli
8a2a446174
[Net] Fix rpc/rpc_id error message.
...
The check was updated to expect a `StringName` instead of a `String` but
the error message still reported it should be a `String`.
2021-05-03 15:45:36 +02:00
Fabio Alessandrelli
015fc2ad4f
Merge pull request #48205 from Faless/net/4.x_url_parsing
...
[Net] Implement String::parse_url for parsing URLs.
2021-05-03 13:55:57 +02:00
kleonc
f1420c7cbf
TileMap::world_to_map Ensure half offset is added according to the returned value
...
Decide whether half offset should be added based on the value used for calculating the return value of this method.
2021-05-02 23:34:51 +02:00
rafallus
524d27493b
Fix SurfaceTool crash when passing invalid Mesh
2021-05-01 23:02:58 -05:00
Rémi Verschelde
33a0fb6e02
Merge pull request #48345 from madmiraal/fix-48242-docs
...
Fix documentation following implementation of particle trails
2021-05-01 14:51:29 +02:00
Marcel Admiraal
fcf8071ec9
Fix documentation following implementation of particle trails
2021-05-01 13:12:31 +01:00
Rémi Verschelde
f3c1190dc9
Merge pull request #48283 from BastiaanOlij/xr_viewport
...
Move XR flag from subviewport into viewport
2021-05-01 12:54:35 +02:00
Bastiaan Olij
e0bdf40d15
Move XR flag from subviewport into viewport
2021-05-01 19:58:11 +10:00
Rémi Verschelde
4a7679e4dd
Merge pull request #48242 from reduz/particle-trails
...
Implement Particle Trails
2021-04-30 23:52:15 +02:00
reduz
90056460ad
Implement Particle Trails
...
-Enable the trails and set the length in seconds
-Provide a mesh with a skeleton and a skin
-Or, alternatively use one of the built-in TubeTrailMesh/RibbonTrailMesh
-Works deterministically
-Fixed particle collisions (were broken)
-Not working in 2D yet (that will happen next)
2021-04-30 17:38:02 -03:00
Yuri Sizov
980cf73bbc
Fix autocompletion for Control's Theme properties
2021-04-30 20:47:01 +03:00
Rafał Mikrut
efcb097674
Prevent setting too big or too small Collision Mask and Layer
2021-04-30 17:19:04 +02:00
PouleyKetchoupp
7352a4c0d9
Expose get_debug_mesh in Shape3D to scripting API
...
Can be useful for custom drawing of physics shapes without having to add
a collision object node to the tree.
2021-04-29 18:18:39 -07:00
Rémi Verschelde
418fe155f9
Merge pull request #48269 from akien-mga/remove-largetexture
...
Remove obsolete LargeTexture, it's no longer useful since 3.x
2021-04-29 09:45:06 +02:00
Tomasz Chabora
2035992a07
Calculate __focus_rect when TreeItem is focused
2021-04-28 18:09:19 +02:00
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
5346bb043a
Made default tooltips (non-custom ones) disappear on mouse enter.
...
Matches 3.X behaviour, but does not break custom tooltips where mouse interaction is needed.
2021-04-26 00:55:12 +10: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
Hugo Locurcio
b191a7547c
Rename the `.shader` file extension to `.gdshader`
...
This lets third-party software recognize Godot shaders more easily,
without relying on guesswork since the `.shader` extension is generic.
2021-03-24 21:33:44 +01: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
Jason Knight
edcbe88389
Removed the alteration of status.hovering during Focus Enter and Focus Exit events. This is incorrect and not fully implemented, and results in inconsistency in the UI and in the hovering variable.
2021-03-22 18:47:59 -06: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
Aaron Franke
a94cef0ea0
Move SpriteFrames to its own file in the resources folder
2021-03-16 02:00:47 -04:00
Gilles Roudière
ac7073f586
Allow Navigation to be more flexible
2021-03-15 15:58:59 +01:00
Rémi Verschelde
6eef187a81
Merge pull request #46993 from gongpha/check-if-edit-called-via-editor
...
Check if _edit_set_position and _edit_set_rect was used outside an editor
2021-03-15 08:57:45 +01:00
Kongfa Waroros
b80406770f
Check if _edit_set_position and _edit_set_rect was used outside an editor
2021-03-15 14:34:24 +07:00
Yuri Sizov
0c41411fe8
Fix stale tab names in TabContainer
2021-03-14 22:54:46 +03:00
bruvzg
48698ccb9f
Fix RTL BBCode range regression and selection issues.
2021-03-14 19:54:48 +02:00
Marcel Admiraal
3dcdb84660
Rename Sprite.region_enabled getter and setter to match properties
...
Also renames Sprite2D.region_filter_clip property and its setter to
region_filter_clip_enabled and set_region_filter_clip_enabled.
2021-03-14 17:31:49 +00:00
Pop0p
c8538153b0
trims_whitespaces_when_creating_folder_windows
...
When creating a Windows folder via a Godot's dialog, the extra spaces are not removed which causes problems with Windows. We now remove leading and trailing whitespace when creating a dir.
2021-03-13 17:09:25 +01:00
fabriceci
697c594cd8
fix translation not updating in ConfirmationDialog (and Window by inheritance)
2021-03-12 17:51:33 +01:00
Anshul7sp1
91181c2086
Fixes small typos and grammar correction
2021-03-12 19:05:16 +05:30
Rémi Verschelde
a19ffe80da
Merge pull request #40774 from TwistedTwigleg/SkeletonIK_Godot_4_0_Fixes
...
SkeletonIK changes and bug fixes
2021-03-12 11:25:29 +01:00
Rémi Verschelde
08767a16fd
Merge pull request #46913 from Faless/js/4.x_vk
...
[HTML5] Experimental (opt-in) virtual keyboard support.
2021-03-12 09:48:34 +01:00
Rémi Verschelde
02ae0afe63
Merge pull request #46699 from sps1112/fix-control.edit_set_state-crash
...
Add size and dictionary check in Control::_edit_set_state() to fix crash
2021-03-12 09:46:03 +01:00
Fabio Alessandrelli
eda5ae9d75
Add IME support checks in LineEdit/TextEdit.
...
Avoid spamming "IME is unsupported" when the DisplayServer report it as
such.
2021-03-11 23:04:22 +01:00
Rémi Verschelde
27dea9366f
Merge pull request #46510 from hilfazer/nested_scene_duplication_4_0
...
Support for duplication of nested instanced scenes
2021-03-11 21:39:43 +01:00
hilfazer
72134a7f2a
Support for duplication of nested instanced scenes
2021-03-11 19:26:15 +01:00
Gilles Roudière
ba1344408f
Implement Navigation layers
2021-03-10 11:23:06 +01:00
Gilles Roudière
a9dc53d152
Remove Navigation2D/3D nodes, and move the navigation map to the world resource
2021-03-10 11:23:06 +01:00
Rémi Verschelde
83b1acdc60
Merge pull request #45545 from abaire/relaxes_gltf_name_sanitization
...
Relaxes node name sanitization in gltf documents.
2021-03-09 14:54:33 +01:00
Kongfa Waroros
d295d53b4a
Add interpolation bar on each channel in ColorPicker
2021-03-09 14:58:19 +07:00
Leonardo Christino
5d574d980d
Make GraphNode handle children with EXPAND flag
2021-03-08 13:52:19 -04:00
Angad Kambli
bfc533fc4c
use collision mask in vehicle raycast
2021-03-08 20:57:23 +05:30
Rémi Verschelde
d52974ba95
Merge pull request #46776 from jmb462/fix-label-visible_characters_bad_precision
...
fix Label visible_characters bad precision (Fix #46775 )
2021-03-08 10:30:50 +01:00
Rémi Verschelde
9a33c1b6a6
Merge pull request #46782 from bruvzg/fix_def_theme_size
...
Improve bitmap font scaling. Fix default theme font size.
2021-03-08 10:03:12 +01:00
bruvzg
43c7c279d5
Improve bitmap font scaling. Fix default theme font size.
2021-03-08 09:56:40 +02:00
jmb462
3bd44f3cb6
fix Label visible_characters bad precision
2021-03-07 23:18:16 +01:00
Rémi Verschelde
9b853d7a7b
Merge pull request #46572 from jmb462/fix-selection-error-after-commenting-or-indenting
...
Fix selection error after commenting or indenting text (Fix #46477 issue)
2021-03-07 17:03:54 +01:00
Rémi Verschelde
dc2207d8e8
Merge pull request #46627 from jmb462/fix-incorrect-autoindentation-in-multiline-brackets
...
Fix incorrect auto-indentation in multiline brackets (fix #46384 )
2021-03-07 16:55:32 +01:00
Rémi Verschelde
c487f1e854
Merge pull request #46643 from YeldhamDev/hide_all_the_things
...
Hide more options of disabled properties
2021-03-07 15:12:15 +01:00
kobewi
83f6c6b360
Release mouse when SpinBox leaves scene tree
2021-03-06 22:22:24 +01:00
Marcel Admiraal
38f2e32e32
Return RID instead of Object id in area-body_shape_entered-exited signals.
2021-03-06 10:48:17 +00:00
fabriceci
af041adb06
add responsive arrows when the size is very small + fix a regression: missing a translation on the line
2021-03-05 22:14:06 +01:00
sps1112
05f5a43cad
Fix Control._edit_set_state crash
2021-03-05 21:52:34 +05:30
Rémi Verschelde
bc6713ef50
Merge pull request #46516 from HaSa1002/scrollcontainer-embed
...
Fix Window returning `INVALID_WINDOW_ID` when being embedded
2021-03-05 13:46:44 +01:00
QbieShay
f1bb54d5e5
fixed particle rotate y flag
2021-03-05 11:37:00 +01:00
fabriceci
90ca587281
Highlight collision, correct the size and make the arrow a bit less thick for low-res game
2021-03-05 00:32:49 +01:00
Rémi Verschelde
e556ec0c5a
Merge pull request #46529 from jmb462/improvement-raycast3d-debug-shape
...
Adding Raycast3D custom debug shape thickness and color
2021-03-04 20:38:32 +01:00
Rémi Verschelde
a3dece960f
Merge pull request #46668 from nekomatata/fix-errors-polygon-2d
...
Fix errors with invalid CollisionPolygon2D
2021-03-04 20:33:22 +01:00
Rémi Verschelde
6b2577599f
Merge pull request #46665 from nekomatata/fix-crash-convex-shape-2d
...
Fix errors and crash with empty ConvexPolygonShape2D
2021-03-04 20:19:16 +01:00
Crystal Melting Dot
89baf02fb6
Fix TabContainer _get_tab_width
...
Now it translates node name before calculating tab width
2021-03-04 22:10:28 +03:00
PouleyKetchoupp
2217e477b9
Fix errors with invalid CollisionPolygon2D
...
Fixed internal errors when the shape is invalid and made warnings more
descriptive.
2021-03-04 10:44:37 -07:00
PouleyKetchoupp
6fb6090748
Fix errors and crash with empty ConvexPolygonShape2D
2021-03-04 09:46:32 -07:00
Rémi Verschelde
372b1b8f68
Revert "Add size check in Control._edit_set_state to prevent crash"
...
This reverts commit ef1d58f034
.
2021-03-04 12:06:58 +01:00
jmb462
068300c7c9
Adding Raycast3D custom debug shape thickness and color
2021-03-04 11:17:26 +01:00
Rémi Verschelde
dd1881ae19
Merge pull request #46524 from kuruk-mm/lineedit_triple_click
...
LineEdit: Now double click to select a word, and triple click to sele…
2021-03-04 10:18:20 +01:00
Rémi Verschelde
484ad8d362
Merge pull request #46640 from pdfrod/fix-crash-in-image-texture
...
Fix crash trying to destroy an ImageTexture object containing a null texture
2021-03-04 08:15:23 +01:00
Rémi Verschelde
8ff25ffb78
Merge pull request #46620 from sps1112/fix-control.edit_set_state-crash
...
Add size check in Control::_edit_set_state() to fix crash
2021-03-04 07:46:16 +01:00
sps1112
ef1d58f034
Add size check in Control._edit_set_state to prevent crash
2021-03-04 10:55:42 +05:30
Pedro Rodrigues
46218d8c37
Fix crash trying to destroy an ImageTexture object containing a null texture
...
The problem happened when `ImageTexture::create_from_image` was called
with an empty image. In this situation an RID was allocated despite the
texture being null. The destructor would then crash trying to acess this
null texture.
Fixes #46274
2021-03-03 23:54:27 +00:00
Michael Alexsander
4be282a269
Hide more options of disabled properties
2021-03-03 20:51:35 -03:00
kobewi
5cd5722f6a
Deselect column only if belongs to deselected item
2021-03-03 19:39:29 +01:00
jmb462
f05d6f66b0
fix incorrect iauto-indentation in mutliline bracket ( fix #46384 )
2021-03-03 18:59:59 +01:00
Rémi Verschelde
864caf5711
Merge pull request #46617 from sps1112/fix-navigationmesh-crash
...
Add null check in NavigationMesh.new().create_from_mesh(BoxShape.new())
2021-03-03 17:01:35 +01:00
Rémi Verschelde
f3e98c286a
Merge pull request #46616 from sps1112/fix-bakedlightmap-crash
...
Add size check in BakedLightmapData::_set_user_data()
2021-03-03 17:00:38 +01:00
Rémi Verschelde
d0e62518a8
Merge pull request #46578 from nekomatata/fix-joint-remove-body-regression
...
Fix Joint2D/Joint3D node path reset on scene switch
2021-03-03 16:41:37 +01:00
sps1112
cf6bfea93f
Add null check for NavigationMesh.create_from_mesh()
2021-03-03 15:59:30 +05:30
sps1112
18bb6e74be
Add size<=0 check in BakedLighmapData._get_user_data()
2021-03-03 15:31:31 +05:30
jmb462
b3d7adc7d6
fix no tween repeat after stop_all() and start() again
2021-03-03 00:55:17 +01:00
PouleyKetchoupp
2dc5ff0caa
Fix Joint2D/Joint3D node path reset on scene switch
...
When one of the bodies exited the tree, the corresponding node path was
reset instead of just resetting the joint from the physics server. That
was causing the node path to be reset on scene switch when one of the
bodies is under the joint in the scene tree.
2021-03-02 08:24:50 -07:00
Rémi Verschelde
e871b07ed6
Merge pull request #36065 from YeldhamDev/camera2d_helper_editor_only
...
Make Camera2D's editor helper code only be compiled on editor builds
2021-03-02 15:06:54 +01:00
Rémi Verschelde
5895cd4c4f
Merge pull request #36202 from YeldhamDev/sprite_region_hide
...
Hide extra options from various nodes if they're not enabled
2021-03-02 14:15:25 +01:00
Michael Alexsander
70304f8633
Hide extra options from various nodes if they're not enabled
2021-03-02 09:25:09 -03:00
Fabio Alessandrelli
9dd28a2953
Merge pull request #35246 from zaksnet/disconnect-while-downloading
...
Disconnect while downloading
2021-03-02 12:42:52 +01:00
Zak Stam
bc8fe786b2
Update scene/main/http_request.cpp
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-03-02 11:58:09 +01:00
Rémi Verschelde
f49433c91c
Fix Animation tracks disabled by default
...
Was a regression from #45845 .
2021-03-02 09:15:01 +01:00
jmb462
5c58d3731c
fix selection error after commenting or indenting text
2021-03-01 21:57:26 +01:00
Michael Alexsander
f70ccbca52
Make Camera2D's editor helper code only be compiled on editor builds
2021-03-01 14:05:45 -03:00
Rémi Verschelde
09b5d6886f
Merge pull request #46563 from pycbouh/graph-edit-hide-minimap-properly
...
Properly hide GraphEdit's minimap
2021-03-01 17:26:50 +01:00
Yuri Sizov
2ff1c48e0c
Properly hide GraphEdit's minimap
2021-03-01 18:19:48 +03:00
Rémi Verschelde
ec7053259b
Merge pull request #41437 from KoBeWi/put_it_here
...
Allow to create a node at specific position
2021-03-01 15:48:53 +01:00
Mateo Kuruk Miccino
a3db2fd46b
LineEdit: Now double click to select a word, and triple click to select all the content using the new TextServer
...
TextEdit: Update the method to search words with the new TextServer
2021-03-01 08:38:08 -03:00
Rémi Verschelde
1eaa89a008
Merge pull request #46539 from Chaosus/vs_fix_return
...
Removes redundant code from get_input/output_port_type (visual shaders)
2021-03-01 09:44:20 +01:00
Rémi Verschelde
d9c7dd910f
Merge pull request #46536 from likeich/master
...
Refactored cpu_particles_2d.cpp _notification Method
2021-03-01 09:42:08 +01:00
Rémi Verschelde
9269d66bc7
Merge pull request #45937 from revilo/fix-42611
...
Fix for "Save Branch as Scene"
2021-03-01 09:23:06 +01:00
Yuri Roubinsky
6f9bdaf656
Fix incorrect switching port type in VisualShaderNodeStep
2021-03-01 08:45:49 +03:00
Yuri Roubinsky
9aca12a1af
Removes redundant code from get_input/output/_port_type (visual shaders)
2021-03-01 08:34:39 +03:00
Kyle
821591a95b
Refactored cpu_particles_2d.cpp _notification Method
...
Refactors the _notification method in cpu_particles_2d.cpp to use a switch statement for readability and to bring it inline with other classes like node.cpp and timer.cpp.
2021-02-28 21:59:01 -05:00
Johannes
a97db7fad6
Fix Window.get_window_id() returning -1 when embedded
2021-03-01 00:12:20 +01:00
Pedro Rodrigues
82fed7b6da
Fix crash in GIProbe::bake
...
The problem happened when the passed from_node was null and the GIProbe
node had no parent node.
Fixes #45978
2021-02-28 20:09:55 +00:00
Oliver Dick
0559fc58d1
SceneTreeDock: Changed "Save Branch as Scene" to make use of Node::duplicate_from_editor, which is also used by "Duplicate" function of the SceneTreeDock
...
- Removed Node::duplicate_and_reown method as it is not used anymore
2021-02-28 17:19:01 +01:00
Rémi Verschelde
0e77dc6e92
Merge pull request #46475 from RootKiller/fix_joint_collision
...
Fixed bug that caused collision not to be properly reenabled when joi…
2021-02-28 14:27:18 +01:00
Rémi Verschelde
a6ec6521fa
Merge pull request #45201 from EricEzaM/PR/popup-menu-fix
...
Fixed popup not calculating size correctly before adjusting its rect.
2021-02-28 13:34:06 +01:00
Yuri Roubinsky
3326cb02aa
Merge pull request #46441 from Chaosus/fix_graphedit_zoom_connection
...
Fix GraphEdit port connection when graph is zoomed/unzoomed
2021-02-28 08:21:32 +03:00
Fabio Alessandrelli
d61cd469f1
[Net] Better EOF handling in HTTPRequest.
...
This fix request_completed being emitted two times, the first with the
result, the second as a failure when retrieving responses served with
read-until-EOF.
2021-02-27 21:51:07 +01:00
kobewi
5e4ab20296
Warn about changing size only when it's relevant
2021-02-27 19:24:59 +01:00
Yuri Roubinsky
e3131adc1c
Fix GraphEdit connects when graph is zoomed/unzoomed
2021-02-27 20:26:35 +03:00
Eryk Dwornicki
519e314bea
Fixed bug that caused collision not to be properly reenabled when joint between two bodies is destroyed
2021-02-27 17:11:15 +01:00
Rémi Verschelde
7b685a1558
Merge pull request #46452 from hilfazer/click_mesh_instance_crash_40
...
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26 21:00:12 +01:00
hilfazer
1810654369
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26 19:28:09 +01:00
Tomasz Chabora
8df22a03c4
Allow to create a node at specific position
2021-02-26 14:40:28 +01:00
Delf Neumärker
04a4828c5e
Fix crash when loading a scene containing an uncreatable type
2021-02-25 23:58:30 +01:00
Rémi Verschelde
6ef0538f18
Merge pull request #38929 from touilleMan/exit-status-on-godot-error
...
Fix Godot returned status code on unexpected error
2021-02-25 21:16:34 +01:00
Emmanuel Leblond
60d2c1fd47
Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead
2021-02-25 18:34:50 +01:00
Rémi Verschelde
494e1cb148
Merge pull request #38918 from EricEzaM/fix-slider-focus-on-scroll-input
...
Fixed issue with slider focus and scroll input
2021-02-25 18:09:04 +01:00
Emmanuel Leblond
0e4abcb77f
Fix Godot returned status code on unexpected error
2021-02-25 18:01:37 +01:00
Rémi Verschelde
f01e95eb55
Merge pull request #46416 from nekomatata/draw-collision-outline-option
...
Added option in project settings to draw Shape2D outlines
2021-02-25 17:15:22 +01:00
PouleyKetchoupp
c4b116cff7
Added option in project settings to draw Shape2D outlines
...
Disabling collision outlines can be useful for performance when the game
is running and many collision shapes are displayed.
2021-02-25 07:52:50 -07:00
Rémi Verschelde
305683f83b
Merge pull request #46360 from nmrkr/drag-preview-crash-after-free
...
Fix crash during drag if user queue_free'd the drag preview
2021-02-24 22:43:53 +01:00
Delf Neumärker
eaa04c1a22
Fix crash during drag if user freed the drag preview
2021-02-24 20:59:17 +01:00
trollodel
85a776ddcd
Allow CollisionObject3D to show collision shape meshes
...
Add an editor gizmo to CollisionObject3D.
CollisionShape3D no longer shows collision shapes directly.
2021-02-24 18:50:13 +01:00
abaire
61cc1c8624
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-02-24 08:22:27 -08:00
Rémi Verschelde
65305ea001
Merge pull request #46371 from EricEzaM/PR/fix-osx-inputmap-spammed-errors
...
Fixed 'nonexistent action' errors spammed at startup on OSX
2021-02-24 16:52:52 +01:00
Eric M
d91e915d79
Fixed 'nonexistent action' errors spammed at startup on OSX
2021-02-24 23:16:22 +10:00
Christoffer Sundbom
5b2100d85c
Tween: Add null check for target object
...
Fixes #45399 .
2021-02-24 13:37:55 +01:00
Rémi Verschelde
f3864ec89f
Merge pull request #46357 from kleonc/mesh_data_tool_crash_fix
...
MeshDataTool::create_from_surface Fail on invalid index data
2021-02-24 13:23:13 +01:00
Rémi Verschelde
a527c6856b
Merge pull request #46045 from bruvzg/text_server_bmp_create
...
[TextServer] Restores bitmap font dynamic construction functions.
2021-02-24 12:55:36 +01:00
Aaron Franke
548de64742
Use a more specific type for Area2D/3D body signals
2021-02-24 00:05:54 -05:00
kleonc
8e82cf8174
MeshDataTool::create_from_surface Fail on invalid index data
2021-02-23 21:37:32 +01:00
reduz
d6a9cff8b7
Add preview Sun and Environment
...
* Adds both a preview sun and preview environment to the 3D editor.
* They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene.
* If any is added to the scene, the respective preview is disabled.
* Changed WorldEnvironment to better handle multiple node versions.
* Added a function in SceneTree to get the first node in a group.
* Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
2021-02-22 16:56:29 -03:00
Rémi Verschelde
cb29e6c49c
Merge pull request #45994 from Jummit/expose-edit-selected
...
Expose edit_selected in Tree
2021-02-22 16:29:03 +01:00
Jummit
13fb24cb6f
expose edit_selected in Tree
2021-02-22 15:50:21 +01:00
Rémi Verschelde
8c5d4770e9
Merge pull request #46243 from Calinou/improve-get-node-error-message
...
Improve the `get_node()` error message to be more descriptive
2021-02-22 13:02:48 +01:00
Hugo Locurcio
e6abdc943d
Improve the `get_node()` error message to be more descriptive
...
- Mention the origin of the `get_node()` call.
- Mention whether the attempted path is absolute or relative.
See #46214 .
2021-02-22 12:19:23 +01:00
floppyhammer
e927a9fef0
ImproveCompletionPanelPositionInShaderEditor
2021-02-22 11:08:51 +08:00
Rémi Verschelde
14f6f92a72
Merge pull request #46230 from gongpha/keep-hue-value
...
Keep Hue value when Saturation or Value is zero
2021-02-21 23:36:19 +01:00
Rémi Verschelde
ee093a14ef
Merge pull request #46286 from kleonc/label_set_lines_skipped
...
Label::set_lines_skipped Fail if passed a negative value
2021-02-21 15:08:19 +01:00
Rémi Verschelde
5bf741509d
Merge pull request #46284 from kleonc/line2d_set_point_position
...
Line2D::set_point_position Fail if passed index is out of bounds
2021-02-21 14:42:26 +01:00
kleonc
d7bb7cad47
Label::set_lines_skipped Fail if passed a negative value
2021-02-21 14:23:57 +01:00
kleonc
df49fdd189
Line2D::set_point_position Fail if passed index is out of bounds
2021-02-21 13:50:11 +01:00
hilfazer
442e550114
Prevent selecting hidden nodes in 3D and Canvas Item editors
2021-02-21 11:58:31 +01:00
Yuri Roubinsky
fe3051fcce
Added Comment node to Visual Shaders
2021-02-21 12:40:17 +03:00
Rémi Verschelde
f6efa78173
Merge pull request #38565 from nekomatata/export-default-values
...
Fixed export var default value in PackedScene when script is not loaded in editor
2021-02-21 08:53:58 +01:00
Hugo Locurcio
23a1f616fd
Draw an outline for 2D debug collision shapes
...
This makes them easier to distinguish, especially when used
in a TileMap.
The default color's opacity has been slightly decreased to account
for the new outline.
2021-02-20 00:00:03 +01:00
Rémi Verschelde
7447af265b
Merge pull request #42427 from KoBeWi/achtung_size
...
Warn when setting Control size inside ready()
2021-02-19 19:13:09 +01:00
Rémi Verschelde
cfa09bacc9
Merge pull request #45990 from charles-l/master
...
improve error message when travel() is called on an AnimationNodeStateMachine when the state machine is not playing
2021-02-19 19:10:11 +01:00
Tomasz Chabora
84da090a69
Warn when setting Control size inside ready()
2021-02-19 18:32:24 +01:00
Kongfa Waroros
27749711b2
Keep Hue value when Saturation or Value is zero
2021-02-19 23:53:00 +07:00
Aaron Franke
78de8a762b
Update documentation for the new ProcessMode
2021-02-19 10:22:09 -05:00
Rémi Verschelde
4c4931eeae
Merge pull request #46196 from nmrkr/visual-shader-invalid-forced-connect
...
Fix crash when calling connect_nodes_forced with invalid params
2021-02-19 15:49:56 +01:00
Rémi Verschelde
0d1d719178
doc: Sync classref with current source
...
And fix various bogus bindings following previous PRs.
2021-02-19 14:39:14 +01:00
Rémi Verschelde
04cb7e638c
Merge pull request #46191 from reduz/refactor-process-mode
...
Refactor Process Mode
2021-02-19 13:46:50 +01:00
Rémi Verschelde
b84f65f13c
Merge pull request #44737 from KoBeWi/touch_shape_screen_centered_button
...
Fix shape_centered property in TouchScreenButton
2021-02-19 13:45:23 +01:00
Rémi Verschelde
61e26d4431
Merge pull request #44181 from EricEzaM/PR/INP5-new-input-editor
...
New Input Map Editor and Editor Settings Shortcut Editor
2021-02-19 11:25:58 +01:00
Eric M
3db45ff198
New ActionMapEditor to replace InputMapEditor. Used in ProjectSettings.
...
Renamed to ActionMapEditor as it is more generic and can be used for more than just the InputMapEditor if required.
This also includes a new Event Configuration dialog (previously "Press A key...") which can be used to create and edit InputEvents for any use - like the Project Settings input map, or the Editor Settings shortcuts.
2021-02-19 19:36:42 +10:00
Ellen Poe
eb5566f5c5
Don't fade out after pausing unless stream is running
2021-02-18 20:39:08 -08:00
Ellen Poe
b8a13a4968
Initialize fadeout to false in AudioStreamPlayer
2021-02-18 20:38:47 -08:00
reduz
083aa9b95e
Refactor Process Mode
...
Implements https://github.com/godotengine/godot-proposals/issues/1835#issuecomment-727186192
* PauseMode is now ProcessMode, containing the following states:
```
PROCESS_MODE_INHERIT, // same as parent node
PROCESS_MODE_NORMAL, // process only if not paused
PROCESS_MODE_PAUSE_ONLY, // process only if paused
PROCESS_MODE_ALWAYS, // process always
PROCESS_MODE_DISABLED, // never process
```
* NOTIFICATION_PAUSED and NOTIFICATION_UNPAUSED are received effectively when the node is paused and unpaused (not any longer when pause mode is set in SceneTree).
* Renamed some nodes that used ProcessMode/process_mode to specify a callback type to ProcessCallback to avoid clashes.
2021-02-18 20:39:55 -03:00
Rémi Verschelde
a23d7480d2
Merge pull request #41644 from Eoin-ONeill-Yokai/collision_2d_shape_visualization_fix
...
CollisionShape2D 'Disabled' Visualization Correction
2021-02-18 23:42:02 +01:00
Delf Neumärker
4a468171e5
Fix crash when calling connect_nodes_forced with invalid params
2021-02-18 22:57:41 +01:00
Delf Neumärker
735f75a16b
Fix handling of negative indices in SurfaceTool
2021-02-18 22:43:39 +01:00
Rémi Verschelde
310496a89f
Merge pull request #45617 from RandomShaper/modernize_atomics
...
Modernize atomics (and fix `volatile`)
2021-02-18 19:40:31 +01:00
Pedro J. Estébanez
8e128726f0
Modernize atomics
...
- Based on C++11's `atomic`
- Reworked `SafeRefCount` (based on the rewrite by @hpvb)
- Replaced free atomic functions by the new `SafeNumeric<T>`
- Replaced wrong cases of `volatile bool` by the new `SafeFlag`
- Platform-specific implementations no longer needed
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-18 17:12:46 +01:00
Eric M
49714b0963
Removed hardcoded shortcuts from /scene and converted to input actions
...
This removes hardcoded actions from things like LineEdit and TextEdit.
Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-02-18 16:22:51 +01:00
reduz
64140eaf42
Reorganize Project Settings
...
-Advanced Settings toggle also hides advanced properties when disabled
-Simplified Advanced Bar (errors were just plain redundant)
-Reorganized rendering quality settings.
-Reorganized miscelaneous settings for clean up.
2021-02-18 11:23:34 -03:00
Rémi Verschelde
82033bf9b4
Merge pull request #46170 from gongpha/jr-_-avoid-get_tree-when-flying-colorpicker-master
...
Avoid signal methods in ColorPicker to access the tree when it isn't in the tree
2021-02-18 15:03:11 +01:00
Kongfa Waroros
7c6646c8ac
Avoid signal methods in ColorPicker to access the tree when it isn't in the tree
2021-02-18 20:30:22 +07:00
Angad Kambli
6b602d35f3
add null check in MeshInstance::_mesh_changed()
2021-02-18 16:51:39 +05:30
Rémi Verschelde
9d84e3b395
Merge pull request #46151 from ellenhp/fix_spatial_player_play
...
Fix a pop on play() in AudioStreamPlayer2D and 3D
2021-02-18 10:12:13 +01:00
Ellen Poe
5e1442ad55
Fix pops in play() of both spatial audio players
2021-02-17 19:09:42 -08:00
Rémi Verschelde
f91c4c0899
Merge pull request #46124 from angad-k/cpu-particles-3d-fix
...
CPUParticles3D crash fix
2021-02-17 16:15:22 +01:00
Angad Kambli
c97fffdc59
add null check in _update_particle_data_buffer()
...
add check to see if p_order is in range for CPUParticles3D::set_draw_order'
2021-02-17 20:29:14 +05:30
Jitesh
c3be0c2c04
Add animation_finished signal and fix frame_changed signal for AnimatedSprite3D
...
Fixes #40301 .
Fixes #45947 .
2021-02-17 15:13:47 +01:00
Aaron Franke
7d9ad2b845
Use Vector3.UP as a default value for look_at's up vector
2021-02-16 18:33:23 -05:00
andybarcia
f455f873c7
Fixes crash when calling VisualShader::set_mode
2021-02-16 14:57:40 +01:00
Rémi Verschelde
2a03886cbf
Merge pull request #46082 from YeldhamDev/styleboxline_margin_fix
...
Fix StyleBoxLine's incorrect style margin values
2021-02-16 14:00:45 +01:00
Rémi Verschelde
bab06c9d06
Merge pull request #46081 from YeldhamDev/popupmenu_fixes
...
Fix various small issues with PopupMenu
2021-02-16 13:59:30 +01:00
Rémi Verschelde
c7444b033e
Merge pull request #46040 from ellenhp/fix_seek_playback_pos
...
Return setseek position if one exists in get_playback_position.
2021-02-16 12:19:09 +01:00
Rémi Verschelde
ba8b95a2a1
Merge pull request #46088 from groud/fix_line_edit
...
Fix minimum_character_width in LineEdit
2021-02-16 11:11:03 +01:00
Rémi Verschelde
584240b0d7
Merge pull request #45899 from nekomatata/richtextlabel-get-selection
...
Expose RichTextLabel selection to script
2021-02-16 10:56:37 +01:00
Gilles Roudière
737dd5ee8c
Fix minimum_character_width in LineEdit
2021-02-16 10:51:17 +01:00
Michael Alexsander
ddf05a7c3c
Fix StyleBoxLine's incorrect style margin values
2021-02-16 01:36:51 -03:00
Michael Alexsander
96fa719026
Fix various small issues with PopupMenu
2021-02-16 01:12:08 -03:00
nc
0c968d603a
improve error message when travel() is called on an AnimationNodeStateMachine when the state machine is not playing
2021-02-15 19:43:43 -05:00
kobewi
282639d653
Select TreeItem if none is selected
2021-02-16 01:36:16 +01:00
PouleyKetchoupp
4586357dde
Expose RichTextLabel selection to script
...
Expose existing get_selection_text and add methods to get the current
selection index from and index to.
2021-02-15 17:26:58 -07:00
Rémi Verschelde
f14008b600
Merge pull request #46069 from bruvzg/fix_font_crash_empty_data
...
Fix font `draw_*string` crash with empty data.
2021-02-15 22:19:53 +01:00
bruvzg
a354125d7d
Fix `TextLine`/`TextParagraph` crash when `add_string` / `set_dropcap` is called null font reference.
2021-02-15 22:57:42 +02:00
bruvzg
0fcbc1c6e3
Fix font `draw_*string` crash with empty data.
2021-02-15 22:41:16 +02:00
Rémi Verschelde
9d511ff924
Merge pull request #45704 from EricEzaM/PR/popup-menu-beautification
...
Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead
2021-02-15 13:38:47 +01:00
Rémi Verschelde
3f6295a1ed
Merge pull request #45855 from hoontee/fix-45718
...
Implement CollisionPolygon3D margin
2021-02-15 11:23:15 +01:00
bruvzg
bee718f1af
[Text Server] Restores bitmap font dynamic construction functions.
2021-02-15 10:46:49 +02:00
bruvzg
f4d095cdd3
[TextServer] Restore character and space extra spacing support.
2021-02-15 10:46:23 +02:00
Eric M
26c29cc0d7
Improved PopupMenu visuals. Removed x-y margin, made it 'padding' instead.
2021-02-15 15:45:25 +10:00
Ellen Poe
15b8480b2c
Return setseek position if one exists in get_playback_position.
2021-02-14 20:41:59 -08:00
Rémi Verschelde
4302b506d2
Merge pull request #46021 from kleonc/visualshader_index_check
...
VisualShader::_input_type_changed Fix index out of bounds crash.
2021-02-14 17:34:24 +01:00
kleonc
a4afdd4a77
RichTextLabel::add_image Fail if passed image has no area
2021-02-14 16:09:55 +01:00
kleonc
7d451c0040
VisualShader::_input_type_changed Fix index out of bounds crash.
2021-02-14 15:26:33 +01:00
Rémi Verschelde
cdfd3ffe15
Merge pull request #44747 from bruvzg/missing_outlines
...
[CTL] Add missing theme properties for outlines, fix underline scaling, and RTL cell padding.
2021-02-14 13:49:14 +01:00
bruvzg
1f60ac1e08
[CTL] Fix RichTextLabel cell horizontal padding.
2021-02-14 14:11:49 +02:00
bruvzg
d78336c65e
[CTL] Add missing font outline drawing routines and theme constants.
2021-02-14 14:11:44 +02:00
Rémi Verschelde
6fb1ed2bca
Merge pull request #45942 from YeldhamDev/label_height_empty
...
Keep Label's min height when empty
2021-02-14 13:10:54 +01:00
bruvzg
be14f065d1
Fix uninitialized `BaseMaterial3D::features` variable.
2021-02-14 01:12:30 +02:00
Rémi Verschelde
7128f09a5d
Merge pull request #45858 from nekomatata/text-edit-style-content-margins
...
TextEdit respects content margin from StyleBox
2021-02-13 17:41:53 +01:00
Rémi Verschelde
48e7cced9f
Merge pull request #45881 from nekomatata/textedit-wrap-autoscroll
...
Fix TextEdit autoscroll with wrapped lines
2021-02-13 17:41:20 +01:00
Michael Alexsander
85dc55a82c
Keep Label's min height when empty
2021-02-12 21:13:49 -03:00
Rémi Verschelde
e7ab3a4132
Merge pull request #34892 from KoBeWi/copy-pasta_v7
...
Yet another node copy-paste PR
2021-02-12 23:16:31 +01:00
kobewi
36494e8526
Duplicate resources pasted to other scenes
2021-02-12 22:38:38 +01:00
PouleyKetchoupp
121030940c
Fix TextEdit autoscroll with wrapped lines
...
Index to find the last line wrap index was off by one, which prevented the first wrapped line to trigger autoscroll.
2021-02-12 13:44:46 -07:00
PouleyKetchoupp
100fc26f39
TextEdit respects content margin from StyleBox
...
Now TextEdit adjusts x & y offset according to the corresponding
StyleBox when in normal or read-only mode.
In order to handle bottom content margin, wrapped lines that are entirely outside the stylebox content area are not drawn.
2021-02-12 13:22:06 -07:00
reduz
28537d8c84
Fix LineEdit minimum width
...
-Changed theme setting name to make more sense of what it does
-Reduced amount of minimum characters, so minimum size is smaller.
2021-02-12 17:04:38 +01:00
bruvzg
6c9e608a34
Use get_char_size(' ') to calculate space width.
2021-02-12 15:06:50 +02:00
Rémi Verschelde
4912258839
Merge pull request #45903 from reduz/improve-resoucre-load-cache
...
Improve resource load cache
2021-02-12 11:58:19 +01:00
Rémi Verschelde
e9a25b8552
Merge pull request #45859 from Kayomn/master
...
Accomodate blend shape ranges of -1 to +1 for Vulkan
2021-02-12 09:26:14 +01:00
reduz
f8d03b98e7
Improve resource load cache
...
-Added a new method in Resource: reset_state , used for reloading the same resource from disk
-Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type)
-Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
2021-02-11 15:44:28 -03:00
hoontee
fbb1ef759c
Implement CollisionPolygon3D margin
2021-02-11 11:58:37 -06:00
Rémi Verschelde
604188c411
Merge pull request #45870 from gongpha/graphedit-connection-update
...
Update GraphEdit when GraphNode's slot is updated
2021-02-11 13:11:50 +01:00
MarvinFF
4c528e76e7
Fix `Node::rpc_config` return error
...
Fix StringName type checks in other `_rpc*_bind` methods.
2021-02-11 11:52:52 +01:00
reduz
1aa2823fa3
Removed _change_notify
...
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap.
-For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed()
-Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-02-10 19:31:24 -03:00
Rémi Verschelde
e8f73124a7
Merge pull request #45845 from qarmin/cppcheck_scene_2
...
Initialize class variables with default values in scene/ [2/2]
2021-02-10 20:06:12 +01:00
Kongfa Waroros
fe6c8d48e6
Update GraphEdit when GraphNode's slot is updated
2021-02-11 01:07:54 +07:00
reduz
8b19ffd810
Make Servers truly Thread Safe
...
-Rendering server now uses a split RID allocate/initialize internally, this allows generating RIDs immediately but initialization to happen later on the proper thread (as rendering APIs generally requiere to call on the right thread).
-RenderingServerWrapMT is no more, multithreading is done in RenderingServerDefault.
-Some functions like texture or mesh creation, when renderer supports it, can register and return immediately (so no waiting for server API to flush, and saving staging and command buffer memory).
-3D physics server changed to be made multithread friendly.
-Added PhysicsServer3DWrapMT to use 3D physics server from multiple threads.
-Disablet Bullet (too much effort to make multithread friendly, this needs to be fixed eventually).
2021-02-10 13:21:46 -03:00
Juan Linietsky
bad2998fea
Merge pull request #45811 from reduz/sdfgi-improve-feedback
...
Improve SDFGI indirect light feedback loop
2021-02-10 07:32:32 -03:00
Rémi Verschelde
844caafa4b
Merge pull request #45861 from nekomatata/physics-3d-contact-points-debug
...
Fix contact points debug for 3D Physics
2021-02-10 10:32:04 +01:00
PouleyKetchoupp
e5e9be8355
Fix contact points debug for 3D Physics
...
Setting each point's position was missing for 3D. Now enabling collision
render debug will display contact points for 3D physics, the same way it
does for 2D physics.
Note: Multimesh rendering seems not to work in this scenario on master,
but it's working fine on 3.2.
2021-02-09 18:36:38 -07:00
Kayomn
ca945421a0
Accomodate blend shape ranges of -1 to +1
2021-02-09 23:09:54 +00:00
Pedro J. Estébanez
fbb37196fd
Fix animation reset-on-save on inactive scene tabs
2021-02-09 21:41:48 +01:00
Rafał Mikrut
7961a1dea3
Initialize class variables with default values in scene/ [2/2]
2021-02-09 18:24:36 +01:00
Rémi Verschelde
df9c98e107
Merge pull request #45812 from RandomShaper/keep_selected_visible
...
Keep selected node visible after filter change
2021-02-09 10:43:21 +01:00
Rémi Verschelde
59924a09e8
Merge pull request #45806 from KoBeWi/forest_of_deselection
...
Set selected Tree item to null when deselected
2021-02-08 22:22:52 +01:00
Rémi Verschelde
74be478895
Merge pull request #45774 from revilo/fix-45694
...
Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED …
2021-02-08 21:32:49 +01:00
Rémi Verschelde
68b7652098
Merge pull request #45836 from Kanabenki/update-color-picker
...
Update ColorPicker controls when entering tree
2021-02-08 21:31:28 +01:00
Rémi Verschelde
6673c914bb
Merge pull request #45775 from RandomShaper/pause_aware_picking
...
Implement pause-aware picking
2021-02-08 21:25:31 +01:00
Kanabenki
03d4ebf129
Update ColorPicker controls when entering tree
2021-02-08 19:25:50 +01:00
Pedro J. Estébanez
177b804f30
Expose Tree::scroll_to_item()
2021-02-08 02:19:13 +01:00
reduz
3e2281a347
Improve SDFGI indirect light feedback loop
...
-Use occlusion for feedback, further reduces light leaking.
-More control on feedback, now its a slider.
2021-02-07 21:30:12 -03:00
Rafał Mikrut
003bb8e1a8
Initialize class variables with default values in scene/ [1/2]
2021-02-07 22:29:31 +01:00
kobewi
ef8ec59f2f
Set selected Tree item to null when deselected
...
Co-authored-by: Brody Eller <wviper3@gmail.com>
2021-02-07 22:12:52 +01:00
Rafał Mikrut
1b8cbcf946
Fix nan errors when using VehicleBody
2021-02-07 21:08:09 +01:00
Rémi Verschelde
59125d689b
Merge pull request #45784 from revilo/fix-45770
...
Fix unnecessary scrolling in TextEdit
2021-02-07 20:35:03 +01:00
Pedro J. Estébanez
a63996ac95
Implement pause-aware picking
...
This changes the way 2D & 3D physics picking behaves in relation to pause:
- When pause is set, every collision object that is hovered or captured (3D only) is released from that condition, getting the relevant mouse-exit callback., unless its pause mode makes it immune from pause.
- During the pause. picking only considers collision objects immune from pause, sending input events and enter/exit callbacks to them as expected.
- When pause is left, nothing happens. This is a big difference with the classic behavior, which at this point would process all the input events that have been queued against the current state of the 2D/3D world (in other words, checking them against the current position of the objects instead of those at the time of the events).
2021-02-07 00:50:16 +01:00
Oliver Dick
8d598693fc
TextEdit: When left mouse is pressed to place the cursor, do not immediately adjust the viewport when cursor_set_line is called, but afterwards on cursor_set_column (effectively when the cursor reached its final position)
...
Fixes #45770
2021-02-07 00:28:57 +01:00
Oliver Dick
f1432f2788
Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED (fixes invalid transform of collision shape in cases where the node is not supposed to enter the scene tree)
2021-02-06 20:17:01 +01:00
reduz
8faf23b52b
Simplify Volumetric Fog
...
-Always use temporal reproject, it just loos way better than any other filter.
-By always using termporal reproject, the shadowmap reduction can be done away with, massively improving performance.
-Disadvantage of temporal reproject is update latency so..
-Made sure a gaussian filter runs in XY after fog, this allows to keep stability and lower latency.
2021-02-06 15:08:21 -03:00
reduz
7997544af5
Added temporal reprojection to Volumetric Fog
...
-It's an option, just enable it
-Just works, don't have to do anything else.
2021-02-05 10:52:54 -03:00
Rémi Verschelde
2ba66c1457
Merge pull request #45672 from reduz/barrier-optimization
...
Rewrote how barriers work for faster rendering
2021-02-04 17:19:35 +01:00
Rémi Verschelde
69152af45d
doc: Don't bind argument names with p_ prefix
...
This prefix is used in the C++ codebase, not in the scripting API.
2021-02-04 14:45:06 +01:00
George Marques
3f4d60616e
Make SyntaxHighligher::_clear_highlighting_cache virtual
...
Since it's meant to be used as a virtual method.
2021-02-04 09:54:09 -03:00
reduz
f20999f6fe
Rewrote how barriers work for faster rendering
...
-Added more finegrained control in RenderingDevice API
-Optimized barriers (use less ones for thee same)
-General optimizations
-Shadows render all together unbarriered
-GI can render together with shadows.
-SDFGI can render together with depth-preoass.
-General fixes
-Added GPU detection
2021-02-04 09:42:28 -03:00
George Marques
bcf1617755
Removed duplicated binding of two methods
...
They are bound as both regular and virtual methods which makes ClassDB
report the methods twice when querying the API. The non-virtual binding
is removed since both methods only seem to be used as virtual.
2021-02-04 09:30:41 -03:00
muiroc
01bd1b33c7
Use the blend parameter passed to blend_animation during graph processing
2021-02-04 11:25:00 +01:00
Rémi Verschelde
7185a7c3c2
Merge pull request #45496 from Chaosus/fix_particles
...
Fix particles not properly updated by their lifetime
2021-02-03 15:50:52 +01:00
clayjohn
814b41fef1
Add check for sun in PhysicalSky
2021-02-02 23:06:42 -08:00
Rémi Verschelde
b24c24f64b
Merge pull request #45594 from JFonS/improve_3d_grid
...
3D editor grid improvements
2021-02-01 23:18:24 +01:00
jfons
73e62dffb9
3D editor grid improvements
...
This commit adds a view-dependant fade to the 3D viewport grid. It fades out
at steep view angles to hide the solid regions that appear far from the camera.
I also included a fade to hide the grid borders.
I added some improvements to the dynamic grid when the camera is in orthogonal mode.
It properly handles zoom now, and the grid center is now set to the intersection point
between the grid plane and the camera forward ray, keeping the grid
always visible.
2021-02-01 22:19:54 +01:00
Rémi Verschelde
d2e1216504
Merge pull request #37547 from aaronfranke/tau
...
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-02-01 20:55:25 +01:00
Rémi Verschelde
264504d76d
Merge pull request #45110 from fmazan/completion-panel-positioning
...
Fixed completion and hint panel positioning in TextExit
2021-02-01 20:50:17 +01:00
Rémi Verschelde
c4811ab525
Merge pull request #45549 from flyingpimonster/graphnode-icon
...
GraphNode: Add properties for custom icons
2021-02-01 20:49:19 +01:00
Rémi Verschelde
3375647818
Merge pull request #45564 from aaronfranke/physics-nodes-real_t
...
Use real_t in physics nodes
2021-02-01 20:48:16 +01:00
Rémi Verschelde
0db77315fe
Merge pull request #45608 from bruvzg/font_int_coords
...
Use integer coordinates for the font glyphs rendering.
2021-02-01 20:42:52 +01:00
nemerle
022c2952fc
Node::replace_by was not copying node properties - removed the dead code.
...
The code to copy node properties to the new node never worked, so there is no reason to keep the useless bits in there
2021-02-01 16:47:27 +01:00
Rémi Verschelde
d811f86102
Merge pull request #45281 from Chaosus/vs_unify
...
Unified several visual shader nodes
2021-02-01 08:56:03 +01:00
bruvzg
c75923498e
Use integer coordinates for the font glyphs rendering.
2021-01-31 20:10:50 +02:00
Rémi Verschelde
5525cd85c6
Merge pull request #45315 from RandomShaper/modernize_thread
...
Modernize Thread
2021-01-31 15:24:56 +01:00
Aaron Franke
9199a681de
Use real_t in physics nodes
2021-01-29 19:59:58 -05:00
Pedro J. Estébanez
99fe462452
Modernize Thread
...
- Based on C++11's `thread` and `thread_local`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed (except for the few cases of non-portable functions)
- Simpler for `NO_THREADS`
- Thread ids are now the same across platforms (main is 1; others follow)
2021-01-29 12:02:13 +01:00
James Westman
08e1453d7f
GraphNode: Add properties for custom icons
...
Add properties for the slots' icon textures, so they can be set easily
in the editor.
Fixes #45487 .
2021-01-28 21:22:25 -06:00
Rémi Verschelde
fb01d057af
doc: Sync classref with current source
2021-01-28 11:26:37 +01:00
kobewi
4d172f1fca
Cache world in VisibilityNotifier3D to avoid crash
2021-01-27 21:02:33 +01:00
Yuri Roubinsky
aefce8000d
Fix particles not properly modified by their lifetime
2021-01-27 16:28:15 +03:00