Hugo Locurcio
7922c262f6
Display a editor gizmo icon for Listener
...
The icon was present in `editor/icons/`, but it was never implemented
in the editor gizmos code.
This also removes some unused gizmo drawing code (overridden methods
that are no longer called anywhere).
2021-09-16 23:37:12 +02:00
PouleyKetchoupp
ab55c33c20
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-09-16 09:14:22 -07:00
Rémi Verschelde
c33ff6bf6b
Merge pull request #47235 from opl-/fix/25046-3.x
2021-09-16 15:24:09 +02:00
Rémi Verschelde
627577d615
Merge pull request #47346 from nekomatata/heightmap-draw-triangles-3.x
2021-09-16 15:23:06 +02:00
Ed Swartz
c79898a7b8
Use left/right arrow to move cursor when unselecting in LineEdit
...
-- useful for rename dialog (the filename portion is selected by
default, and usually, want to change the end of the name, not the
beginning)
2021-09-14 20:26:10 -05:00
Rémi Verschelde
20f14e0a16
Merge pull request #52586 from JFonS/lm_bake_end
...
Fix editor getting stuck after baking lightmaps from a script
2021-09-14 22:40:48 +02:00
Haoyu Qiu
018f28bead
Make sure IK target is inside tree before using its transform
...
(cherry picked from commit 88e3ba83f0
)
2021-09-14 13:41:30 +02:00
PouleyKetchoupp
389e67aa98
Fix loading packed scene with editable children at runtime
...
At runtime, packed scenes with nodes marked as editable instance where
saved with node type tags, which prevented the scene to be then loaded
as an instance, causing duplicated nodes in the tree.
This change ensures nodes marked as editable instances and their owned
children are properly set as instances.
That doesn't make a difference in the editor, since such nodes where
already set as instances based on their instance state, but it helps
at runtime where instance states are disabled.
Co-authored-by: latorril <latorril@gmail.com>
(cherry picked from commit fab88a810c
)
2021-09-14 13:41:27 +02:00
Yuri Roubinsky
b36b81cbdd
Better port handling connection for GraphEdit
...
(cherry picked from commit 61904d56ea
)
2021-09-14 13:41:27 +02:00
Lewis Pollard
4e68f089e0
Fix is_playing() method in AnimatedSprite3D
...
(cherry picked from commit 2450173495
)
2021-09-14 13:41:26 +02:00
Duarte David
c4d0074aae
Fixes the normals of SphereMesh when the sphere/hemisphere is oblong
...
(cherry picked from commit f4ac08a182
)
2021-09-14 13:41:26 +02:00
Haoyu Qiu
930a1ea746
Make RichTextLabel honour default cursor shape property
...
(cherry picked from commit d12cceadd2
)
2021-09-14 13:41:26 +02:00
Vincent
ea13ff860d
implement individual mesh transform for meshlibrary items
...
(cherry picked from commit 70108fd850
)
2021-09-14 13:41:22 +02:00
Rémi Verschelde
f85ad007c0
Merge pull request #52338 from lawnjelly/portals_fix_portal_import
...
Portals - fix import of portal normal + small bug fixes
2021-09-14 10:21:44 +02:00
JFonS
14eb739418
Fix editor getting stuck after baking lightmaps from a script
2021-09-12 01:01:29 +02:00
opl-
a8a52f576e
Fix DynamicFont breaking mouse grab in inspector spinners
...
This was caused by DynamicFont not specifying which property was edited, resulting in the whole inspector property tree being recreated.
2021-09-11 20:12:44 +02:00
Endri Lauson
077083938e
Add a new high quality tonemapper: ACES Fitted
2021-09-08 19:12:09 -03:00
Max Hilbrunner
76693aa364
Merge pull request #52182 from lawnjelly/portals_pvs_enum
...
Portals - Fix RoomManager PVS enum
2021-09-07 21:23:48 +02:00
Gilles Roudière
cf48297ea2
Merge pull request #52047 from nobuyukinyuu/bind-get-tab-idx-at-point
...
[3.x] Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-09-07 11:10:27 +02:00
Camille Mohr-Daurat
8608ece42f
Merge pull request #50405 from nekomatata/clean-convex-hull-decomposition-3.x
...
[3.x] Clean convex hull decomposition code
2021-09-06 09:34:50 -07:00
Gilles Roudière
ac89f9d7d7
Merge pull request #52361 from Calinou/minimap-add-hover-pressed-feedback-3.x
...
Add visual feedback when hovering or dragging the code minimap grabber (3.x)
2021-09-06 17:02:46 +02:00
Marcus Brummer
d3866d78f2
Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote
2021-09-05 12:20:49 +02:00
Hugo Locurcio
85ebe8e3f6
Add visual feedback when hovering or dragging the code minimap grabber
...
This makes it more obvious that the minimap grabber can be dragged
to scroll.
2021-09-04 02:25:44 +02:00
lawnjelly
116e2ce799
Portals - fix import of portal normal + small bug fixes
...
When converting portal meshes during import, indices were not being taken into account, which could lead to incorrect estimation of the portal direction. This PR now copes with either indexed or non-indexed portal meshes.
Added a bug fix to cope with portals pointing almost directly straight up or down, which could cause problems with the lookat transform.
Added the ability for named portals to link to short room names (in addition to postfix room names).
2021-09-02 10:39:47 +01:00
kleonc
8004678d57
TabContainer Fix drawing current tab when it's disabled
2021-09-01 04:01:07 +02:00
Aaron Franke
ee69b57434
[3.x] Fix KinematicBody axis lock
2021-08-29 20:38:09 -05:00
nobuyuki_nyuu
522af5c614
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-08-29 09:11:41 -05:00
lawnjelly
7ea35da462
Portals - Fix RoomManager PVS enum
...
The PVS mode enum had been declared using scope operator, which does not seem to work correctly from GDScript with the BIND_ENUM_CONSTANT macro.
This PR removes the scope operator in the declaration.
2021-08-28 07:27:50 +01:00
Max Hilbrunner
17e61fa0af
Merge pull request #52095 from kleonc/tree-item-drag-drop-drawing-3x
...
[3.x] Tree Fix line rendering when drag and dropping TreeItem
2021-08-27 20:55:58 +02:00
LeaoLuciano
9cecabb186
LinkButton's text now is automatically translated
2021-08-26 17:56:34 -03:00
Haoyu Qiu
5183c473f7
Backport new methods for KinematicBody and KinematicCollision
...
For both 2D and 3D, three methods are added:
- `get_floor_angle` on `KinematicBody` to get the floor angle.
- `get_angle` on `KinematicCollision` to get the collision angle.
- `get_last_slide_collision` to quickly get the latest collision of `move_and_slide`.
2021-08-26 12:16:40 +08:00
kleonc
92ea0f7dd9
Tree Fix line rendering when drag and dropping TreeItem
2021-08-25 12:03:05 +02:00
Hugo Locurcio
f5e83e7305
Merge pull request #52052 from Calinou/dynamicfont-allow-woff
...
Allow using WOFF fonts in DynamicFont
2021-08-25 10:37:15 +02:00
Hugo Locurcio
1ab3ddf94a
Allow using WOFF fonts in DynamicFont
...
This is already supported by FreeType, but it wasn't exposed.
Adding support for WOFF2 would require linking a Brotli decompression
library in Godot, so only WOFF1 is exposed here.
2021-08-25 08:09:23 +02:00
Camille Mohr-Daurat
5ce734c073
Merge pull request #52056 from jmb462/fix-raycast3D-color-update
...
[3.x] Fix Raycast3D color update when not colliding anymore (Fix #52051 )
2021-08-24 08:11:05 -07:00
Camille Mohr-Daurat
9c893d3c78
Merge pull request #52057 from fabriceci/fix-transmission-velocity-on-wall
...
[3.x] Remove the transmission of the velocity when a body is on_wall Fix #51960
2021-08-24 08:02:29 -07:00
fabriceci
13d5fa2c43
Remove the transmission of velocity when a body is on_wall
2021-08-24 11:29:40 +02:00
jmb462
5de6376a22
Fix Raycast3D color update when not colliding anymore
2021-08-24 11:24:02 +02:00
Max Hilbrunner
8c98320f93
Merge pull request #51967 from Calinou/spatialmaterial-gles2-allow-more-features
...
Allow clearcoat, anisotropy and refraction in SpatialMaterial in GLES2
2021-08-23 16:01:55 +02:00
Hugo Locurcio
43da1790c8
Remove deprecation warning for BaseButton.enabled_focus_mode
...
There were too many instances of false positives that are difficult
to fix. The note in the class reference has been clarified instead.
2021-08-22 21:47:53 +02:00
Anas Saifi
4874270592
Removed unused variable
2021-08-22 15:58:45 +05:30
Anas Saifi
9b06355488
Update scene/gui/rich_text_label.cpp
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-22 15:18:52 +05:30
anazr9
b8bf2ec3cd
fixed crash with RichTextLabel [fill] tag #51968 by using 3.3 as reference
2021-08-22 14:17:01 +05:30
Hugo Locurcio
33d23281cb
Allow clearcoat, anisotropy and refraction in SpatialMaterial in GLES2
...
These SpatialMaterial features work just fine in GLES2,
but they were not exposed in the inspector when GLES2 was used.
2021-08-22 02:18:36 +02:00
Rémi Verschelde
6a058cbf39
Merge pull request #51746 from Calinou/add-shader-comment-3.x
...
Add a comment at the top of generated shaders (3.x)
2021-08-19 00:16:29 +02:00
Rémi Verschelde
a67eaa67b0
Merge pull request #51732 from codecat/fix-caret-selection-3.x
...
Move cursor to edge of selection when moving caret left/right
2021-08-18 20:12:19 +02:00
Yuri Sizov
29f0a0eebf
Adjust the material key bit size for ParticlesMaterial
2021-08-18 17:53:24 +03:00
Melissa Geels
6bf6d18ee1
Move cursor to edge of selection when moving caret left/right
...
This is to mimic the behavior of many third party text editors.
The reasons it's not doing it when moving by word is due to that
behavior being mostly the same on other editors.
This was backported to 3.x from pull request #51502 .
2021-08-18 14:28:57 +02:00
Rémi Verschelde
1de8f31448
CI: Upgrade Emscripten to 2.0.25
...
That's the version used by current containers for Godot 3.4.
Fixes a couple stray warnings that new Emscripten/LLVM catches.
2021-08-18 11:13:34 +02:00
Rémi Verschelde
92a7ae022d
Merge pull request #51769 from The-O-King/oct_split_stream_fix
...
Fix Octahedral/Split Stream Options
2021-08-18 08:01:56 +02:00