Yuri Sizov
3b1c02a139
Fix RichTextLabel not respecting line separation in several cases
2022-01-18 23:01:01 +03:00
Rémi Verschelde
030638e5b4
Merge pull request #56104 from Geometror/add-flow-layout-container
...
Add FlowContainer
2022-01-18 20:26:29 +01:00
Rémi Verschelde
45cb12955f
Merge pull request #56622 from Pineapple/scenestate-optimizations
2022-01-18 16:35:32 +01:00
Rémi Verschelde
01eefa2c50
Merge pull request #56761 from Calinou/sdfgi-allow-any-number-of-cascades
2022-01-18 16:21:39 +01:00
Rémi Verschelde
ce2b5bdfa8
Merge pull request #52969 from bruvzg/locale_detection
2022-01-18 15:43:04 +01:00
Rémi Verschelde
7c771ea310
Merge pull request #47522 from madmiraal/rename-test_width-test_height
2022-01-18 13:39:57 +01:00
bruvzg
40c56ed410
Improve locale detection.
...
Use separate language, script and country lists.
Add locale selection dialog and property hint.
2022-01-18 14:30:00 +02:00
bruvzg
d62ca0c9c0
Window management improvements.
...
[macOS] Fix transient windows not working in the full-screen mode.
[macOS] Fix moving transient windows to the other screen than parent window.
[macOS] Fix popup menu switch on hover.
[macOS] Use content origin rect for windows position (to ensure `DS.mouse_get_position` is equal to `DS.window_get_position` + mouse position from the input events).
[macOS] Fix incorrect input coordinates, when external display with different scaling in connected/disconnected.
[macOS/Windows] Fix moving fullscreen windows between the screens.
Add auto refocusing of the parent window, when the focused transient window is closed.
Remove redundant `DS.mouse_get_absolute_position` function (returns mouse position in the screen coordinates, same as `DS.mouse_get_position`).
2022-01-18 11:47:03 +02:00
Mario Liebisch
a5a03b3a73
Allow embedded windows to be non-resizable
...
This fixes issue #56869 .
2022-01-17 21:19:45 +01:00
Hugo Locurcio
2dc7b03a82
Allow using between 1 and 8 cascades for SDFGI
...
This provides more flexibility between performance and quality
adjustments, especially when using SDFGI for small-scale levels
(which can be useful for procedurally generated scenes).
2022-01-17 16:49:02 +01:00
Rémi Verschelde
57ad84537d
Merge pull request #56860 from bruvzg/icu_case
2022-01-17 14:28:38 +01:00
Rémi Verschelde
a2d323c67e
Merge pull request #54794 from bruvzg/runtime_bmfont_parser
2022-01-17 13:25:08 +01:00
bruvzg
e02a097280
[TextServer] Implement locale and context sensitive case conversion functions.
2022-01-17 14:23:36 +02:00
Rémi Verschelde
8958e1b352
Merge pull request #56720 from volokh0x/to-fix-#56274
2022-01-16 15:54:42 +01:00
volokh0x
034f31aa5c
Save clear action of TextEdit in history when used from context menu
2022-01-16 15:00:57 +02:00
Rémi Verschelde
887898ba04
Merge pull request #42843 from rburing/optionbutton_focus
2022-01-16 13:05:05 +01:00
Haoyu Qiu
6aecf91e4f
Replicate load-as-placeholder state on node duplication
2022-01-16 15:08:03 +08:00
Rémi Verschelde
1cff9a2e49
Merge pull request #55551 from brennengreen/panorama-sky-filtering
...
Add filtering property to PanoramaSkyMaterial and switch from static shader to shader cache
2022-01-16 01:30:44 +01:00
Ricardo Buring
4562106cbf
OptionButton::pressed(): give focus to selected
2022-01-15 22:52:12 +01:00
Paulb23
fffeecfd68
Improvments for SyntaxHighlighters
...
- Fix immedate Funcion in lamba highlight
- Highlight signals as one colour
- Highlight node paths as one colour
- Highlight escape chars in strings
2022-01-15 15:39:55 +00:00
Brennen Green
0695440124
Add shader cache and filter variable to PanoramaSkyMaterial
2022-01-14 23:30:27 -05:00
kleonc
3f9e50505a
Fix AtlasTexture nesting
2022-01-15 00:14:56 +01:00
Rémi Verschelde
cba3d5f34d
Merge pull request #56457 from gerhean/focus_file_text_after_popup
2022-01-14 21:17:59 +01:00
Rémi Verschelde
66c9002dab
Merge pull request #56787 from bruvzg/fix_guidelines
...
Fix CodeEdit guidelines position.
2022-01-14 19:53:20 +01:00
Rémi Verschelde
6689a9360c
Merge pull request #56756 from KoBeWi/great_unification_theory
2022-01-14 16:13:53 +01:00
bruvzg
85424afee6
Fix CodeEdit guidelines position.
2022-01-14 15:51:07 +02:00
Rémi Verschelde
f60c81af11
Merge pull request #56784 from V-Sekai/expose-add-named-bind
2022-01-14 14:24:16 +01:00
kobewi
fbb5580b3d
Add ViewPanner to more editors
2022-01-14 13:09:39 +01:00
K. S. Ernest (iFire) Lee
c5528af71c
Expose add_named_bind for all essential skin bindings.
2022-01-14 03:20:24 -08:00
Rémi Verschelde
e529803ef9
Merge pull request #56738 from YeldhamDev/improve_tab_consistency
2022-01-14 10:42:30 +01:00
Rémi Verschelde
e0f2902a11
Merge pull request #55665 from KoBeWi/you_touched_my_TouchScreeenButton
2022-01-13 12:23:49 +01:00
Rémi Verschelde
dbab0a9487
Merge pull request #56740 from AnilBK/camera-pre-allocate
2022-01-13 11:13:31 +01:00
Rémi Verschelde
a987ebfde2
Merge pull request #56714 from bruvzg/fix_alignment_break_overrun
2022-01-13 10:20:02 +01:00
Rémi Verschelde
f6792eacf5
Merge pull request #54956 from Calinou/lineedit-textedit-add-caret-width-theme-item
...
Add a theme constant to change LineEdit and TextEdit's caret width
2022-01-13 09:21:01 +01:00
bruvzg
baec983d8a
[TextServer] Improvements for line breaking, "Fill" alignment, overrun, and interaction between these modes.
...
Fix "Fill" alignment processing wrong side of the text if overrun trim was applied.
Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations.
Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character).
Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator.
Port missing overrun/justification code to the Fallback text server.
Fix inferred text direction detection by controls.
Add tests for "Fill" alignment and line breaking glyph flags.
2022-01-13 08:53:28 +02:00
Anilforextra
8a9c9a67ef
CameraMatrix: Pre-allocate Vector in get_projection_planes().
2022-01-13 10:14:59 +05:45
Michael Alexsander
a989dc019b
Improve looks and consistency of tabs
2022-01-12 22:11:43 -03:00
Stijn Hinlopen
fb1cd9e446
Refactor CanvasItem show/hide/set_visible
2022-01-12 23:13:41 +01:00
Rémi Verschelde
929f483ca0
Merge pull request #55446 from Calinou/spritebase3d-remove-opacity
2022-01-12 16:49:57 +01:00
Rémi Verschelde
585231a172
Merge pull request #56492 from akien-mga/remove-author-docstrings
2022-01-12 15:24:17 +01:00
Yuri Roubinsky
422f7b280f
Optimize include files to improve shader_language.h
compilation speed
2022-01-12 14:19:12 +03:00
Rémi Verschelde
f135c950a5
Merge pull request #56709 from YeldhamDev/die_monster_you_dont_belong_in_this_world
2022-01-12 11:37:04 +01:00
Rémi Verschelde
b5495783b2
Merge pull request #53185 from KoBeWi/viewing_pan
2022-01-12 11:36:41 +01:00
Rémi Verschelde
189662e5bd
Merge pull request #56696 from AnilBK/use-init-lists
2022-01-12 10:04:45 +01:00
Anilforextra
6c3a0460a8
Use List Initializations for Vectors.
2022-01-12 10:15:12 +05:45
Michael Alexsander
cb1a648f42
Fix several issues in ´TabBar´
2022-01-12 00:17:36 -03:00
Ger Hean
9dbe314da6
Create function focus_file_text
...
This function focuses the text field when saving a file
It is called when the save file dialogue is opened
2022-01-12 01:34:04 +08:00
Rémi Verschelde
019474f2b8
Merge pull request #56586 from dalexeev/rtl-bracket-escapes
2022-01-11 16:17:16 +01:00
Rémi Verschelde
d40d86b959
Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_types
2022-01-11 14:34:18 +01:00
kobewi
ba7ed05792
Unify panning in sub-editors and make it configurable
2022-01-11 13:57:19 +01:00
Arnav Vijaywargiya
0c46f73b5e
Fixed incorrect property types
2022-01-11 17:17:11 +05:30
Rémi Verschelde
46624388d4
Merge pull request #56322 from madmiraal/fix-42450
2022-01-11 11:33:59 +01:00
Rémi Verschelde
f20ae16e0b
Merge pull request #56323 from Gallilus/Update-default-port_grab_distance_vertical
2022-01-11 11:17:33 +01:00
Haoyu Qiu
df1c64feba
Fix BBCode underline prevents strikethrough from rendering
2022-01-11 12:54:04 +08:00
Rémi Verschelde
b52f90e795
Merge pull request #56637 from KoBeWi/maxxxxxxcroll
...
Set max value of inactive TextEdit scrolls to 0
2022-01-10 22:15:57 +01:00
Rémi Verschelde
7faf02383c
Merge pull request #55225 from bruvzg/fix_ligature_cursor_and_ot_features
2022-01-10 13:32:54 +01:00
Rémi Verschelde
5f7bbf4d33
Merge pull request #55456 from KoBeWi/break_all_the_things
2022-01-10 12:36:21 +01:00
Rémi Verschelde
a095c4bf65
Merge pull request #56648 from KoBeWi/tween_pause()
2022-01-10 12:34:30 +01:00
bruvzg
8c973f21ee
Fix glyph index for bitmap fonts.
...
Fix TextEdit glyph position rounding.
2022-01-10 08:00:27 +02:00
Rémi Verschelde
096b050d1c
Merge pull request #56654 from bruvzg/fix_button_text_align
...
Fix button multiline text alignment.
2022-01-09 23:09:06 +01:00
bruvzg
c89ee71297
Fix button multiline text alignment.
2022-01-09 21:25:28 +02:00
kobewi
205f56f226
Fix Tween pause behavior
2022-01-09 19:38:18 +01:00
bruvzg
c89c515ccf
[TextServer] Improve ligature cursor handling.
...
Fix mid-grapheme hit test.
Fix OpenType features property handling, add default features override option.
Enable mid-grapheme cursor by default.
2022-01-09 19:03:48 +02:00
Anilforextra
b770a4d0ac
Path2D: Check points count before rendering.
2022-01-09 15:17:41 +05:45
kobewi
892d93759c
Set max value of inactive TextEdit scrolls to 0
2022-01-09 01:45:07 +01:00
Rémi Verschelde
5a61822d7c
Merge pull request #56626 from KoBeWi/FilterDialog
...
Improve FileDialog filters
2022-01-09 00:52:29 +01:00
Rémi Verschelde
1f2958861c
Merge pull request #56330 from nikitalita/convert-old-octahedral
...
Convert octahedral compressed normals/tangents on 3.x meshes
2022-01-08 23:38:44 +01:00
Rémi Verschelde
32abe36cce
Merge pull request #56617 from AnilBK/use_fill
...
Use fill() to fill an entire image instead of setting pixels individually.
2022-01-08 23:38:06 +01:00
kobewi
b403954e41
Improve FileDialog filters
2022-01-08 16:27:15 +01:00
Bartłomiej T. Listwon
b6cfc55113
Removed redundant ClassDB::is_class_enabled() and moved second dynamic_cast inside worst case if
2022-01-08 14:09:22 +01:00
nikitalita
92a0cbccd5
convert old octahedral compressed normals/tangents
2022-01-08 04:03:57 -08:00
Anilforextra
c9f5d88f3a
Use fill() to fill an entire image instead of setting pixels individually.
2022-01-08 17:43:15 +05:45
Rémi Verschelde
13d25f9980
Merge pull request #56608 from jmb462/itemlist_item_selectable
...
Expose selectable property of ItemList's Item and set default to true
2022-01-08 11:48:33 +01:00
Rémi Verschelde
cb7daddbeb
Merge pull request #54647 from rafallus/fix/popupmenu_ids
...
Fix `PopupMenu` items id range in inspector
2022-01-08 11:39:09 +01:00
rafallus
38d578e24e
Fix PopupMenu
items id range in inspector
2022-01-07 19:58:09 -06:00
jmb462
cf5cad7126
Expose selectable property of ItemList's Item
2022-01-08 00:32:12 +01:00
Hugo Locurcio
f6443beade
Add a theme constant to change LineEdit and TextEdit's caret width
...
This can be useful to improve caret visibility, especially at
larger font sizes. This can also be used for accessibility purposes.
2022-01-07 20:51:22 +01:00
Rémi Verschelde
c09c4e0154
Merge pull request #56575 from HaSa1002/drag-signal-began
...
Rename GraphEdit `connection_drag_begun` to `connection_drag_started`
2022-01-07 20:41:39 +01:00
kobewi
562fc4cc0d
Rename TextureRect.expand to ignore_texture_size
2022-01-07 20:21:17 +01:00
Pawel Lampe
9bda2d5859
Fix NavigationObstacle errors
...
* `NavigationObstacle2D` premature radius estimation (before entering the tree)
* `NavigationObstacle3D` premature radius estimation (before entering the tree)
2022-01-07 19:55:22 +01:00
Johannes Witt
4c5ceb1a97
Rename GraphEdit connection_drag_begun to connection_drag_started
2022-01-07 18:25:03 +01:00
Rémi Verschelde
07d2dfef7b
Merge pull request #53419 from TechnoPorg/rework-subwindows
2022-01-07 16:15:09 +01:00
Rémi Verschelde
6a27d7361a
Merge pull request #56321 from pycbouh/core-use-gdvirtual-everywhere
2022-01-07 16:14:28 +01:00
Hendrik Brucker
40ee2b8953
Add FlowContainer
2022-01-07 15:51:49 +01:00
Rémi Verschelde
d2772af0d8
Merge pull request #54351 from LeaoLuciano/leak-remove-line-richtextlabel
2022-01-07 15:22:24 +01:00
Rémi Verschelde
fcc2648e18
Fix missing arg name in bindings for GDExtension API
2022-01-07 14:24:06 +01:00
Rémi Verschelde
4dbef3a4f5
i18n: Sync template with current 3.x codebase
...
Weblate will now track the state of `3.x` to prepare for the 3.5 release.
(cherry picked from commit 02d9ac1071
)
2022-01-07 13:35:28 +01:00
Rémi Verschelde
7640dc2c73
Merge pull request #55775 from timothyqiu/slider-drag
2022-01-07 13:02:40 +01:00
Rémi Verschelde
096a13b3bb
Merge pull request #56472 from KoBeWi/now_focus
2022-01-07 10:49:05 +01:00
Danil Alexeev
884f1acff8
Add BBCode escape sequences
2022-01-07 11:40:13 +03:00
Rémi Verschelde
dc7235b71c
Merge pull request #54560 from rafallus/tab_items
2022-01-07 00:46:46 +01:00
Rémi Verschelde
1b10d700de
Merge pull request #56195 from Zylann/anim_key_error_message
2022-01-07 00:46:15 +01:00
Pedro J. Estébanez
7a66af274a
Fix too broad assumption of null property defaults
2022-01-06 21:46:59 +01:00
Rémi Verschelde
ad9bf7a5b9
Merge pull request #56176 from RandomShaper/accept_null_as_default
...
Assume that non registered properties default to null
2022-01-06 20:27:19 +01:00
Rémi Verschelde
f5d281d55f
Merge pull request #50896 from HaSa1002/add-graphedit-drag-signals-4
...
Add `GraphEdit` drag notifications
2022-01-06 19:31:22 +01:00
Pedro J. Estébanez
5f0fe3c6ae
Assume that non registered properties default to null
2022-01-06 18:58:42 +01:00
Rémi Verschelde
06b709ece3
Merge pull request #56435 from V-Sekai/inspector_default_fix
...
Fix incorrect default transform values on foreign 3D nodes
2022-01-06 18:36:01 +01:00
Johannes Witt
0505b08a56
Add GraphEdit
drag notifications
...
This commit adds two signals:
* connection_drag_begun, which is emitted when a connection is started
to be created by the user and
* `connection_drag_ended`, which is emitted when no longer a connection
is created.
Additionally `force_connection_drag_end()` adds the possibility to end
the connection dragging. If called from user code, no other connection
request signals are invoked. This is useful to add `GraphNode`s via
shortcuts while the user is dragging a connection to directly connect
the newly added node.
2022-01-06 17:51:40 +01:00
SaracenOne
901f376671
Move metallic and roughness automated assignment to an inspector UndoRedo
...
callback.
2022-01-06 16:07:26 +00:00
SaracenOne
726fbb821b
Fix incorrect default transform values on foreign 3D nodes
2022-01-06 15:52:22 +00:00
Tomasz Chabora
e72adab511
Update the minimum size of ViewportContainer
2022-01-06 15:43:12 +01:00
Yuri Roubinsky
8e2398207c
Merge pull request #56480 from Chaosus/vs_plugin_gdscript_template
2022-01-06 14:41:41 +03:00
Rémi Verschelde
a2a4ec7cb5
Merge pull request #56376 from pycbouh/theme-tombe-les-theme-properties
2022-01-06 11:33:43 +01:00
Yuri Roubinsky
21cfcaa129
Add a GDScript template for VisualShaderNodeCustom
2022-01-06 12:06:33 +03:00
Rémi Verschelde
b238218363
Merge pull request #55851 from Chaosus/better-completion-options-list_rebased
2022-01-06 09:40:44 +01:00
Marc Gilleron
5e86683df2
Added key name to error message about key not being valid
2022-01-05 19:36:10 +00:00
rafallus
b4abb73ea5
Inspector property array for TabBar
2022-01-05 12:23:11 -06:00
Rémi Verschelde
cbf8757289
Merge pull request #56522 from akien-mga/navigation-restore-safe-get_singleton
2022-01-05 17:10:21 +01:00
Rémi Verschelde
6af77c7b09
Merge pull request #53684 from TokageItLab/orthogonal-mode
2022-01-05 16:05:40 +01:00
Rémi Verschelde
b23552922f
NavigationServer: Restore constness for thread safe get_singleton
...
This was removed by mistake in #47024 , NavigationServer uses internal
mutability for thread safety, and removing `const` breaks the contract.
2022-01-05 15:41:21 +01:00
Pedro J. Estébanez
2db9397fb9
Clear only owners that are no longer in the same tree
2022-01-05 14:00:49 +01:00
Fernando Cosentino
ca79373d13
Added material_overlay property to MeshInstance3D
...
Applying overlay materials into multi-surface meshes currently
requires adding a next pass material to all the surfaces, which
might be cumbersome when the material is to be applied to a range
of different geometries. This also makes it not trivial to use
AnimationPlayer to control the material in case of visual effects.
The material_override property is not an option as it works
replacing the active material for the surfaces, not adding a new pass.
This commit adds the material_overlay property to GeometryInstance3D
(and therefore MeshInstance3D), having the same reach as
material_override (that is, all surfaces) but adding a new material
pass on top of the active materials, instead of replacing them.
2022-01-05 11:47:51 +01:00
Rémi Verschelde
c0b3da78ad
Merge pull request #56255 from PucklaMotzer09/control_unfocus
2022-01-05 10:59:39 +01:00
Rémi Verschelde
8eb1d20346
Merge pull request #56206 from KoBeWi/random_call_deferred_to_the_rescue_once_again
2022-01-05 10:57:53 +01:00
Rémi Verschelde
319c442771
Merge pull request #55791 from kleonc/tree-dont-consume-mouse-if-collapser-not-visible
2022-01-05 10:56:50 +01:00
Rémi Verschelde
e32c685092
Merge pull request #54441 from Geometror/checkbutton-checkbox-font-hover-pressed-color
2022-01-05 10:55:33 +01:00
Rémi Verschelde
d27f06a61b
Merge pull request #56193 from kodiwills/fix-update-mode-not-refreshed-visually-on-undo
2022-01-05 10:53:34 +01:00
Rémi Verschelde
4b6d2fd163
Merge pull request #56212 from laws65/skin-export-crash-fix
2022-01-05 10:48:52 +01:00
Rémi Verschelde
0719deea8a
Merge pull request #56346 from pycbouh/control-treenteger
2022-01-05 10:47:05 +01:00
Rémi Verschelde
91b5c358fc
Merge pull request #55512 from RandomShaper/better_node_delete
2022-01-05 10:25:13 +01:00
Rémi Verschelde
89f070065b
Merge pull request #56408 from eazrael/tree-fix-selectionmode-row
...
Tree: Fix de-select when selection mode set to SELECT_ROW
2022-01-05 09:22:00 +01:00
Rémi Verschelde
026de65e5f
Merge pull request #56491 from hinlopen/n3d-minor-improvement
...
Minor code improvements in Node3D
2022-01-05 08:49:11 +01:00
Stijn
805155e2f6
Minor code improvements in Node3D. Refactor Node3D::show/hide/set_visible to a shared implementation.
2022-01-04 23:22:49 +01:00
Rémi Verschelde
ba2bdc478b
Style: Remove inconsistently used @author
docstrings
...
Each file in Godot has had multiple contributors who co-authored it over the
years, and the information of who was the original person to create that file
is not very relevant, especially when used so inconsistently.
`git blame` is a much better way to know who initially authored or later
modified a given chunk of code, and most IDEs now have good integration to
show this information.
2022-01-04 20:42:50 +01:00
Rémi Verschelde
eab30316ee
Merge pull request #55332 from Calinou/voxelgidata-tweak-default-dynamic-range
...
Decrease the default dynamic range in VoxelGIData to 2.0
2022-01-04 17:18:28 +01:00
Rémi Verschelde
851fb16350
Merge pull request #56305 from Calinou/rename-lod-threshold
2022-01-04 15:28:06 +01:00
Marcel Admiraal
f107139979
Rename Project Window width and height settings to match their function
2022-01-04 13:59:16 +00:00
JFonS
6c25d05f70
Merge pull request #55370 from Calinou/geometryinstance3d-lod-fade-node-configuration-warning
...
Emit node configuration warnings for GeometryInstance3D distance fade
2022-01-04 13:58:32 +01:00
Rémi Verschelde
42312f066b
Merge pull request #53313 from KoBeWi/debinded_konnekt
2022-01-04 12:22:46 +01:00
Rémi Verschelde
23342ac23c
Merge pull request #54987 from KoBeWi/@@Node2D@@69@@420@@@
2022-01-04 10:08:32 +01:00
Rémi Verschelde
7f66c16c03
Merge pull request #51206 from clayjohn/Vulkan-ASSGI
2022-01-04 10:00:17 +01:00
Rémi Verschelde
2536d6ca20
Merge pull request #55331 from Calinou/voxelgidata-fix-dynamic-range-property
2022-01-04 09:59:26 +01:00
kobewi
11111d997e
Fix TextureButton focus texture logic
2022-01-04 01:06:24 +01:00
Rémi Verschelde
8501233401
Merge pull request #56347 from NNesh/fix/graph_editor_out_of_range_alignment
...
Fixed an invalidation of sets and out of range for an alignment
2022-01-04 00:37:43 +01:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Rémi Verschelde
1032c2c434
Merge pull request #55487 from YeldhamDev/scroll_bikeshedding
2022-01-03 14:10:41 +01:00
luz paz
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
Christoph Nelles
185724e5e9
Tree: Fix de-select when selection mode set to SELECT_ROW
...
It no longer de-selects an already selected row if the SELECT_MODE is
set to SELECT_ROW.
Update scene/gui/tree.cpp
Co-authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-01-02 00:36:30 +00:00
NNesh
0af3d6b990
Fixed a invalidation of sets and out of range in the _horizontal_alignment function
...
Fixed start index (to the second half element)
Fixed out of range when size is equal 1
2022-01-02 00:21:36 +05:00
Yuri Sizov
fe283fd07a
Correctly use fallback Theme values as last resort
2021-12-31 18:53:43 +03:00
Yuri Sizov
f1bc5c976a
Fix an incorrect exposed property type in Tree
2021-12-30 20:04:14 +03:00
David Cambré
38ad72af44
Update default port_grab_distance_vertical
2021-12-29 19:14:28 +01:00
Yuri Sizov
7d37f76241
Use GDVIRTUAL* macros when binding virtual methods in exposed classes
2021-12-29 20:27:44 +03:00
Marcel Admiraal
3105d9b1f3
Rename speed to velocity when it's a directional Vector
2021-12-29 15:35:26 +00:00
Hugo Locurcio
df09bc38cb
Rename Lod Threshold to Mesh Lod Threshold
...
This makes it more obvious that the setting only affects mesh LOD,
not manual (H)LOD achieved using visibility ranges.
2021-12-29 00:11:50 +01:00
PucklaMotzer09
be2d59fa0a
Unfocus Control on NOTIFICATION_EXIT_TREE
2021-12-26 17:53:07 +01:00
Silc 'Tokage' Renew
61759da5b3
Fix some gizmo behavior to make more consistent
2021-12-25 03:24:04 +09:00
laws65
c559bef1c7
Prevent crashes on exported project relating to Skin resource
2021-12-24 17:32:51 +10:30
kobewi
a7a41a3431
Fix TabContainer not setting layout immediately
2021-12-23 23:47:27 +01:00
Kodi
51db86d789
add missing emit_changed() to set update mode function
2021-12-23 07:53:36 -05:00
Rémi Verschelde
1906b59675
Merge pull request #55636 from bruvzg/vis_char_modes
...
Add different "visible characters" behavior modes.
2021-12-23 00:43:33 +01:00
Rémi Verschelde
0f6a6ca5be
Merge pull request #56131 from Chaosus/shader_refactor_render_modes
2021-12-22 13:29:03 +01:00
Yuri Roubinsky
e8a457ba89
Refactor render_mode in shaders, forbid declaring duplicates
2021-12-21 22:20:09 +03:00
Rémi Verschelde
489f11ee0c
Merge pull request #56043 from Zylann/mesh_old_conversion_message
2021-12-21 15:23:57 +01:00
Marc Gilleron
830b54a03b
Added resource path to message about old mesh format conversion
2021-12-21 14:39:40 +01:00
kobewi
540ddbc33b
Fix being unable to clear some theme overrides
2021-12-21 10:37:08 +01:00
Rémi Verschelde
78857ec770
Merge pull request #55823 from KoBeWi/optional_button
2021-12-21 09:43:42 +01:00
Rémi Verschelde
011c0279c5
Merge pull request #56102 from jmb462/fix-wrong-gradientedit-colorpicker-shape
2021-12-21 09:43:26 +01:00
kobewi
c68e93ad52
Implement property array for OptionButton
2021-12-21 08:53:09 +01:00
Zae
e957f7aeb0
Fix BaseButton's localization for tooltip with shortcut
2021-12-21 01:08:37 +08:00
jmb462
f491b43edd
Fix wrong ColorPicker shape with GradientEdit
2021-12-20 18:00:11 +01:00
Haoyu Qiu
1078c389f9
Fix crash when executing TileMap.map_pattern
...
Validates the input reference.
2021-12-18 15:53:21 +08:00
Ansraer
c7a03412ac
add 2d scale factor property
2021-12-17 19:19:41 +01:00
Yuri Roubinsky
6435d1be23
Merge pull request #55982 from Chaosus/vs_texture_filtering
2021-12-16 13:53:47 +03:00
Fabio Alessandrelli
75ed3d74e8
Merge pull request #55747 from timothyqiu/editor-proxy
...
Add proxy support for the editor
2021-12-16 10:06:14 +01:00
Yuri Roubinsky
1eb40904ce
Add texture filtering properties to VisualShaderNodeTextureUniform
2021-12-16 11:50:33 +03:00
Yuri Roubinsky
765032ae95
Merge pull request #55969 from Chaosus/shader_anisotropic
2021-12-16 07:06:43 +03:00
Rémi Verschelde
deb30a4108
Merge pull request #52015 from mechPenSketch/expose_hotzones2
...
Expose connection hot zones in `GraphNode`
2021-12-15 20:23:07 +01:00
Yuri Roubinsky
f0a58af12f
Rename shader hint filter_anisotropy
to filter_anisotropic
2021-12-15 22:12:38 +03:00
Yuri Roubinsky
09185d76ac
Rename shader hint filter_aniso
to filter_anisotropy
2021-12-15 13:18:32 +03:00
Hugo Locurcio
b6caa0587a
Add compatibility class handlers for portal and room occlusion culling
...
Portal and room occlusion culling is replaced by raster occlusion
in 4.0, which undergoes an entirely different setup process. Therefore,
we can only convert those nodes to Node3Ds to allow loading `3.x` scenes
while keeping transforms valid.
2021-12-14 18:45:28 +01:00
Hugo Locurcio
e962900f23
Rename and reorder bake mode properties for consistency
...
The order now goes from least to most computationally expensive:
- Disabled
- Static
- Dynamic
2021-12-14 12:01:12 +01:00
vitika9
51501dadcc
Added check for SceneTree being null
2021-12-13 15:41:29 +05:30
Rémi Verschelde
7f9a82b944
Merge pull request #52998 from AnilBK/node2d-renames
...
Node2D member renames.
2021-12-13 09:15:12 +01:00
Rémi Verschelde
ef1d59cf1b
Merge pull request #55816 from RandomShaper/fix_revert_null_defaults
2021-12-12 20:56:57 +01:00
Rémi Verschelde
dd869bd2a7
Merge pull request #55814 from williamd67/GPULightMapper-correct-colors
2021-12-12 20:56:11 +01:00
Rémi Verschelde
e8011be6f5
Merge pull request #55729 from cdemirer/fix-script-editor-unexpected-scroll-upon-resize
2021-12-12 20:54:53 +01:00
Manolis Papadeas
453912d48d
Expose BitMap's convert_to_image
and resize
methods to GDScript
2021-12-12 14:24:04 +02:00
jmb462
d44b33741b
Fix bad mouse offset to show tooltips in Tree
2021-12-12 09:12:26 +01:00
Yuri Roubinsky
526390c048
Fix highlight for completion options match (rebased)
...
Co-authored-by: Gustav Andersson <gvekan@users.noreply.github.com>
2021-12-12 10:39:49 +03:00
mechPenSketch
0449b30bbc
Expose connection hot zones in GraphNode
2021-12-12 15:20:40 +08:00
Pedro J. Estébanez
18663aa305
Stop asuming a default value of NIL means there's no default
2021-12-11 14:03:48 +01:00
William Deurwaarder
742f072c59
GPULightMapper: convert colors of lights to linear
...
To make baked colors of lights equal to dynamic colors of lights they have to be
converted to linear as the colors of dynamic lights are converted to linear by
RendererSceneRenderRD.
2021-12-11 13:01:07 +01:00
cdemirer
a361236526
Fix unexpected scroll on resize + consistent return value
2021-12-11 10:03:24 +08:00
PouleyKetchoupp
940f3fde5c
Improve RigidDynamicBody force and torque API
...
Makes the API for forces and impulses more flexible, easier to
understand and harmonized between 2D and 3D.
Rigid bodies now have 3 sets of methods for forces and impulses:
-apply_impulse() for impulses (one-shot and time independent)
-apply_force() for forces (time dependent) applied for the current step
-add_constant_force() for forces that keeps being applied each step
Also updated the documentation to clarify the different methods and
parameters in rigid body nodes, body direct state and physics servers.
2021-12-10 15:55:40 -07:00
Rémi Verschelde
0ba7103bea
Merge pull request #55702 from nekomatata/physics-solver-settings
2021-12-10 22:10:41 +01:00
Rémi Verschelde
9ef6b5c104
Merge pull request #55797 from KoBeWi/internal_shenanigans
2021-12-10 18:55:20 +01:00
kobewi
1ff9ddeb27
Fix wrong internal children usage in BoxContainer
2021-12-10 18:01:44 +01:00
Hugo Locurcio
92e9cca5be
Rename hint_aniso
to hint_anisotropy
in the shader language
...
The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
2021-12-10 17:41:17 +01:00
Rémi Verschelde
4f9b6d9a3f
Merge pull request #51235 from AnilBK/awkward-funcs
2021-12-10 16:58:11 +01:00
kleonc
67dd4f15ee
Tree Don't consume mouse event by collapse arrow which isn't shown
2021-12-10 16:54:47 +01:00
Steve Szilágyi
0c352407d8
VehicleWheel can now return the surface it's colliding with.
...
Fixed PR issues.
Update vehicle_body_3d.cpp
Apply suggestions from code review
Co-authored-by: Camille Mohr-Daurat <pouleyKetchoup@gmail.com>
2021-12-10 13:22:02 +01:00
Rémi Verschelde
3c448437f6
Merge pull request #55263 from RPicster/ParticleMaterial-random-start-color
2021-12-10 10:06:46 +01:00
Rémi Verschelde
f455660e93
Merge pull request #55572 from aaronfranke/ci-double
2021-12-10 10:02:38 +01:00
Rémi Verschelde
7e32a27879
Merge pull request #55739 from Paulb23/text-edit-base-performance
2021-12-10 09:46:15 +01:00
Rémi Verschelde
bdf8340e59
Merge pull request #43181 from nathanfranke/string-empty
...
Replace String comparisons with "", String() to is_empty()
2021-12-10 08:56:31 +01:00
Haoyu Qiu
753ae7403f
Add drag start/end signals for Slider
2021-12-10 11:19:10 +08:00
FelipeMatoba
29178d3564
Increased time delay on selection when opening a popup
2021-12-09 16:44:56 -03:00
Aaron Franke
e9808e3d9a
Add a double-precision editor build to CI
2021-12-09 09:52:48 -06:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00