C.Even
2080077c9c
Fix that slow mouse wheel scroll has no zoom effect on 2D editor
...
* scroll_vec in ViewPanner::gui_input is multiplied by float factors,
so it should be a Vector2 rather than Vector2i
* Fixes #57423
2022-04-01 18:34:00 +08:00
Rémi Verschelde
4263f02f28
Merge pull request #59764 from reduz/blender-import-autodetect
2022-04-01 11:42:05 +02:00
reduz
e32215fbad
Add Blender install autodetection and configuration.
...
This PR is a continuation to #54886
* Changed Blender path editor setting from binary to installation.
* Add a class to query whether the format is supported.
* This class allows to create proper editors to configure support.
**NOTE**: This PR only provides autodetection on Linux. Code needs to be added for Windows and MacOS to autodetect the Blender installation.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2022-04-01 11:01:12 +02:00
Rémi Verschelde
f3fe2631da
Merge pull request #59771 from timothyqiu/i18n-theme-props
...
Extract theme property names for localization
2022-04-01 08:44:11 +02:00
Haoyu Qiu
2f20ff0ed6
Extract theme property names for localization
2022-04-01 11:35:22 +08:00
FireForge
60dfe76e1f
Fix group name in FastNoise and Gradient
2022-03-31 21:21:04 -05:00
Rémi Verschelde
1358efde1f
Merge pull request #59709 from Sauermann/fix-dragndrop-subviewport-transform
2022-03-31 22:31:59 +02:00
Rémi Verschelde
af7a4c4672
Merge pull request #59762 from YeldhamDev/tabc_fixes
2022-03-31 22:28:13 +02:00
Rémi Verschelde
8e5d927af5
Merge pull request #59590 from Calinou/rename-print-stray-nodes
2022-03-31 22:21:51 +02:00
Michael Alexsander
b8ce726dd0
Small fixes for TabContainer
2022-03-31 16:43:09 -03:00
Hugo Locurcio
a29f2bfe54
Rename Node.print_stray_nodes()
to Node.print_orphan_nodes()
...
The "orphan" terminology is already used elsewhere.
2022-03-31 18:33:02 +02:00
Markus Sauermann
5521b93750
Fix that collision objects ignore canvas transform
...
This aligns collision areas with visual areas within a viewport
2022-03-31 16:07:05 +02:00
Rémi Verschelde
a647fb3e62
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Fix a couple incorrect uses of gendered pronouns.
2022-03-31 14:07:29 +02:00
Rémi Verschelde
fc4e9d6299
Merge pull request #59702 from Sauermann/fix-subviewport-container-event-transform
...
Fix event transform in SubViewportContainer
2022-03-31 11:07:21 +02:00
Markus Sauermann
529e2279e1
Fix Drag n Drop Transform in main embedding window
2022-03-31 00:43:52 +02:00
Markus Sauermann
0472839509
Fix Control::warp_mouse to respect canvas transform
2022-03-30 23:18:23 +02:00
Markus Sauermann
c8573ea3df
Fix event transform in SubViewportContainer
...
The transform does not take the canvas transform into account.
2022-03-30 20:56:36 +02:00
Rémi Verschelde
03c58954c0
Merge pull request #58436 from piiertho/feature/typed-vararg-method-bind
2022-03-30 13:47:35 +02:00
Rémi Verschelde
60f8df380d
Merge pull request #59478 from reduz/add-portable-compressed-texture
2022-03-30 12:13:32 +02:00
Pierre-Thomas Meisels
63f7f44ccb
Make vararg method bind no return and return
...
Type emit_signal exposed method return type
set UndoRedo add_do_method and add_undo_method exposed return void
Set TreeItem::_call_recursive_bind returns void
Set _rpc_bind and _rpc_id_bind returns void in Node
Set _call_group and _call_group_flags method returns void in SceneTree
Set godot-cpp-test CI flag to false
2022-03-30 11:43:12 +02:00
Rémi Verschelde
398d502cc7
Merge pull request #59308 from Sauermann/fix-viewport-warp-mouse
2022-03-30 11:41:31 +02:00
reduz
45f74ceb85
Add PortableCompressedTexture
...
* Resource that allows saving textures embedded in scenes or standalone.
* Supports only formats that are portable: Lossy, Lossles or BasisUniversal
This is something I wanted to add for a long time. I made it now because @fire
requires it for importing GLTF2 files with embedded textures, but also this
will allow saving Godot scenes as standalone binary files that will run
in all platforms (because textures will load everywhere).
This is ideal when you want to distribute individual standalone assets online
in games that can be built from Godot scenes.
2022-03-30 10:39:41 +02:00
Rémi Verschelde
f6ef63635f
Merge pull request #59659 from fountainment/fix_callable_bind_usage
...
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
2022-03-30 09:00:07 +02:00
Rémi Verschelde
dc4a5b2d5d
Merge pull request #59568 from Sauermann/fix-focus-out-notification
...
Send a focus-out notification when opening a Window Manager Popup
2022-03-30 08:57:50 +02:00
kobewi
e04ae8c8bc
Add get_total_elapsed_time() to Tween
2022-03-29 13:34:05 +02:00
Rémi Verschelde
11a5f612fa
Merge pull request #59663 from bruvzg/subviewport_update
2022-03-29 12:46:24 +02:00
bruvzg
76174cb05a
Update sub-viewport canvas items to ensure oversampling is applied correctly.
2022-03-29 10:44:09 +03:00
Yuri Roubinsky
509598e8c0
Remove SHADOW_ATTENUATION
spatial light shader built-in
2022-03-29 08:43:31 +03:00
C.Even
619d9d143b
Fix Callable::bind usage in connections_dialog.h and packed_scene.cpp
...
* Callable::bind takes an array of pointers to Variant
* Fixes #57057
2022-03-29 12:15:36 +08:00
Rémi Verschelde
5149db8d85
Merge pull request #59644 from akien-mga/template-no-editor-dep
2022-03-28 23:35:51 +02:00
Rémi Verschelde
f3bd700767
Merge pull request #59619 from Chaosus/vs_input_desc
2022-03-28 22:32:11 +02:00
Rémi Verschelde
324215c485
Merge pull request #59525 from fire-forge/fix-group-names
2022-03-28 21:44:35 +02:00
Rémi Verschelde
45ec0e31c3
Remove last editor code dependencies in template build
...
SConstruct change also makes it possible to outright delete the `editor`
folder in a `tools=no` build, which we use in CI to ensure no invalid
cross-dependencies are added.
2022-03-28 21:13:01 +02:00
FireForge
88b09694e7
Fix inspector group name capitalization
2022-03-28 14:02:06 -05:00
Yuri Roubinsky
9edbdc4f36
Add refs to shading language to the desciption of input nodes in vshader
2022-03-28 22:01:10 +03:00
Rémi Verschelde
7119d355eb
String: Remove TTR and DTR defines in non-tools build
...
This ensures we don't use TTR in runtime code, as it's specifically meant
to source translations for the editor.
2022-03-28 20:26:35 +02:00
Rémi Verschelde
2e85105959
Merge pull request #59555 from Sauermann/fix-mouseover-drag
2022-03-28 20:21:28 +02:00
Rémi Verschelde
abbb0dc082
Merge pull request #59548 from akien-mga/obj-remove-unused-categories
2022-03-28 14:17:24 +02:00
Rémi Verschelde
143d13717b
Merge pull request #59553 from reduz/script-extension-support
2022-03-28 13:35:21 +02:00
Markus Sauermann
ffe42171a5
Fix using Viewport::warp_mouse within Viewports
2022-03-28 11:59:40 +02:00
Rémi Verschelde
7e5cd4bb48
Merge pull request #59118 from Sauermann/fix-window-input-event-coordinates
2022-03-28 09:54:59 +02:00
Markus Sauermann
ba208df6e6
Send a focus-out notification when opening a Window Manager Popup
2022-03-28 09:40:36 +02:00
Rémi Verschelde
00e9170812
Merge pull request #59574 from Sauermann/proposal-rename-warp-mouse
...
Rename warp mouse functions to warp_mouse
2022-03-28 08:52:02 +02:00
Fabio Alessandrelli
4a95408dd4
[Net] Change HTTPRequest timeout type to double.
...
For consistency with the Timer class and general time representation
inside the engine.
2022-03-27 18:15:56 +02:00
reduz
360dea5348
Add GDExtension support to Script
...
* Ability to create script languages from GDExtension
* Some additions to gdnative_extension.h to make this happen
* Moved the GDExtension binder to core
This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x.
Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27 16:13:00 +02:00
Markus Sauermann
d8a3d4b9da
Send Mouse Enter/Exit Notifications independently of mouse focus
2022-03-27 14:20:03 +02:00
Markus Sauermann
0494e024d8
Rename warp mouse functions to warp_mouse
2022-03-27 14:12:01 +02:00
Univeous
383dc11965
Fix UI navigation with joysticks
2022-03-27 17:41:29 +08:00
kobewi
d48dea7158
Force final value at the end of Tween
2022-03-27 03:09:12 +02:00
Rémi Verschelde
f0407ad14d
Merge pull request #59336 from YeldhamDev/where_we_dropping_boys
2022-03-26 23:30:07 +01:00
Rémi Verschelde
e3d183f2cf
Merge pull request #59560 from Sauermann/proposal-subviewportcontainer-configuration-warning
...
Add configuration warning for SubViewportContainer
2022-03-26 22:54:45 +01:00
Markus Sauermann
356fac206d
Add configuration warning for SubViewportContainer
2022-03-26 20:33:45 +01:00
Rémi Verschelde
0d772c6e6e
Improve range property hints for various collision shapes
...
Fixes #36419 .
Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
2022-03-26 16:20:30 +01:00
Rémi Verschelde
5371009d8e
Object: Remove unused category boilerplate
...
We might want to re-add something like this if/when we find a good use case
for it and do the effort to categorize all objects in the API properly.
Until then, it's better to remove that boilerplate since it's not needed.
Closes #18711 .
2022-03-26 15:46:01 +01:00
Silc 'Tokage' Renew
013b81b93b
Fixed initialization of TRS Track in blend tree for root motion
2022-03-26 09:24:56 +09:00
FireForge
bb7e6e9951
Rename "ss_reflections_" to "ssr_" in Environment
2022-03-25 14:37:01 -05:00
Rémi Verschelde
283246a9fe
Merge pull request #59452 from reduz/refactor-metadata
2022-03-25 12:30:45 +01:00
bruvzg
78051f93a3
Convert the editor and default theme fonts to WOFF2 format to save space.
2022-03-25 11:45:55 +02:00
reduz
09b951b99b
Refactor Object metadata
...
* API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change.
* Metadata now exposed as individual properties.
* Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace.
* Added the ability to Add/Remove metadata properties to the inspector.
This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
2022-03-24 14:21:52 +01:00
fabriceci
e2812fcb0f
When only a recovery occurs, don't report a collision on move_and_collide
2022-03-23 10:24:35 +01:00
Rémi Verschelde
3586f559d1
Merge pull request #59403 from fire-forge/textureprogressbar-group
...
Fix "Stretch Margin" group in TextureProgressBar
2022-03-22 23:03:39 +01:00
Rémi Verschelde
99139e17e4
Merge pull request #59170 from akien-mga/import-wav-configure-loop-mode
2022-03-22 13:26:31 +01:00
Rémi Verschelde
4c55a6529a
Merge pull request #59354 from Chaosus/astar3d
2022-03-22 13:15:21 +01:00
Michael Alexsander
94b8f38de2
Add visual marker when dragging and dropping tabs
2022-03-21 22:16:29 -03:00
FireForge
e41a890498
Remove unnecessary "Percent" group in ProgressBar
2022-03-21 17:21:56 -05:00
FireForge
ed79931be9
Fix "Stretch Margin" group in TextureProgressBar
2022-03-21 17:18:45 -05:00
fabriceci
528dfbf63e
Fix 2D jitter on slight slope
2022-03-21 09:08:52 +01:00
Jason Knight
640099cce5
Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED
2022-03-20 11:34:01 -06:00
Yuri Roubinsky
7913e04950
Rename AStar
to AStar3D
2022-03-20 17:34:40 +03:00
BARTEK-PC\Bartek
4972f1b864
Expose navigable layers for NavigationAgent2D/3D
2022-03-20 15:04:56 +01:00
Rémi Verschelde
81c2d7a82a
Merge pull request #59322 from YeldhamDev/groups_arent_bools
2022-03-19 18:09:46 +01:00
Michael Alexsander
e289e864d8
Fix tabs_rearrange_group
property being exposed as a bool
instead of a int
2022-03-19 13:15:51 -03:00
kobewi
342dac77d4
Hide text and icon properties in OptionButton
2022-03-19 13:36:10 +01:00
Rémi Verschelde
ef24e95f4a
Merge pull request #59268 from Chaosus/shader_renames2
...
Rename several transform built-ins in shaders
2022-03-18 19:24:38 +01:00
Markus Sauermann
3f7770c453
Fix coordinate system for stretched viewports for subwindows.
2022-03-18 18:10:53 +01:00
Rémi Verschelde
19950076b1
Merge pull request #58394 from bruvzg/rtl_hint
2022-03-18 14:49:13 +01:00
Rémi Verschelde
5c8bd6fd71
Merge pull request #58233 from bruvzg/gde_ts
2022-03-18 14:29:58 +01:00
Yuri Roubinsky
0d9aecd967
Rename several transform built-ins in shaders
2022-03-18 12:10:55 +03:00
Rémi Verschelde
acc9b5b390
Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershape
...
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-18 08:21:59 +01:00
Haoyu Qiu
6a3bf65657
Fix inversed ADD_GROUP parameters in AnimationNodeOneShot
2022-03-18 12:53:34 +08:00
Rémi Verschelde
756178d342
Merge pull request #59087 from clayjohn/sky-mode
...
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
2022-03-18 00:09:35 +01:00
Michael Alexsander
deb1342036
Make TabBar/Container
default their alignments to the left instead of center
2022-03-17 18:12:23 -03:00
Hugo Locurcio
c45d2c242b
Replace DirectionalLight3D's use_in_sky_only
with sky_mode
enum
...
3 options are available:
- Light and Sky (default)
- Light Only (new)
- Sky Only (equivalent to `use_in_sky_only = true`)
Co-authored by: clayjohn <claynjohn@gmail.com>
2022-03-17 14:00:02 -07:00
Rémi Verschelde
bc576af969
Merge pull request #57675 from TokageItLab/fix-blending
2022-03-17 10:49:34 +01:00
Rémi Verschelde
f995f47965
Merge pull request #59062 from BastiaanOlij/storagerd_texture
2022-03-17 10:08:33 +01:00
bruvzg
f19cd44346
Unify TextServer built-in module and GDExtension code.
2022-03-17 08:15:29 +02:00
Haoyu Qiu
a635ecf6d4
Add item tooltip access to OptionButton
2022-03-17 13:50:16 +08:00
Rémi Verschelde
cd500eee8b
Merge pull request #59200 from Sauermann/fix-unused-conditional
...
Simplify always true conditional
2022-03-16 23:49:28 +01:00
Rémi Verschelde
d9bd33d406
Merge pull request #59160 from taigi100/Bugfix-#59003-Controls-not-laid-properly-with-FlowContainer-in-another-container
...
Fix children visibility check
2022-03-16 22:03:45 +01:00
Rémi Verschelde
c9d764e14a
Merge pull request #59140 from reduz/physics-server-extension
2022-03-16 17:11:40 +01:00
Markus Sauermann
7451fa63f2
Simplify always true conditional
...
get_viewport() is always true, because is_inside_tree() is true.
2022-03-16 16:28:11 +01:00
taigi100
280956ddc3
Fix children visibility check
2022-03-16 15:51:27 +02:00
Bastiaan Olij
57e5a33623
Split dummy renderer classes into separate files
...
Split canvas_texture_storage and texture_storage from render_storage class
2022-03-16 17:43:10 +11:00
Silc 'Tokage' Renew
b06d253920
Fix blend animation to solve TRS track bug & blend order inconsistency
2022-03-16 05:11:55 +09:00
reduz
8b547331be
Create GDExtension clases for PhysicsServer3D
...
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support)
* Some changes on native struct binding for PhysicsServer
This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15 18:39:31 +01:00
Rémi Verschelde
b389ce5ccd
ResourceImporterWAV: Allow configuring loop mode on import
...
The new `edit/loop_mode` import options lets user choose to either:
- Detect loop points from the WAV (default, same behavior as before)
- Set the loop mode and loop points manually like in AudioStreamSample
Fixes #46164 .
2022-03-15 16:16:09 +01:00
风青山
f789c17690
Fix text buf does not clear when calling the method set_item_text in PopupMenu
2022-03-15 21:49:00 +08:00
Rémi Verschelde
51bbcbdec2
Merge pull request #45263 from KoBeWi/ 😕
2022-03-15 13:18:27 +01:00
Rémi Verschelde
e4b9406313
Merge pull request #59099 from RandomShaper/mouse_drop_on_disable
2022-03-14 11:18:38 +01:00
Rémi Verschelde
2347c6bce3
Merge pull request #59129 from Sauermann/fix-internal-gui-state
2022-03-14 10:12:10 +01:00
Markus Sauermann
86574b91dd
Cleanup internal GUI state, if event is accepted in _input.
2022-03-14 08:38:48 +01:00
Rémi Verschelde
b7bc8dbebe
Merge pull request #57392 from madmiraal/implement-3888
2022-03-14 08:31:58 +01:00
Rémi Verschelde
4f40a71e03
Merge pull request #57436 from AnilBK/change-scopes
...
Scope Changes for some variables.
2022-03-13 22:10:16 +01:00
kobewi
3c53752b4a
Cleanup embed subwindows getters
2022-03-13 18:20:53 +01:00
Rémi Verschelde
47c35f5b96
Merge pull request #59108 from KoBeWi/somewhere_on_the_screen
2022-03-13 18:10:33 +01:00
bruvzg
aada395354
Fix text clipping on the right side.
2022-03-13 17:26:00 +02:00
kobewi
bcf13dc175
Expose methods for screen-space transforms
2022-03-13 16:05:08 +01:00
Haoyu Qiu
d62e8bbc74
Fix RichTextLabel shadow color when text has transparency
2022-03-13 19:57:56 +08:00
Pedro J. Estébanez
d083fb21c7
Drop mouse focus and over when gui input is globally disabled
2022-03-13 12:45:32 +01:00
Rémi Verschelde
6721290831
Merge pull request #58018 from Calinou/procedural-sky-add-cover-texture
...
Add sky cover texture for ProceduralSkyMaterial
2022-03-13 00:56:09 +01:00
Rémi Verschelde
71da4c4132
Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
...
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
Rémi Verschelde
d7019de7e3
Merge pull request #59061 from fazil47/graph_edit_offset_fix
2022-03-12 15:03:38 +01:00
Fazil Babu
a3598b487a
popup_request signal emits mouse click position
2022-03-12 14:00:04 +05:30
kobewi
42078dec9f
Allow negative indexes in ItemList and PopupMenu
2022-03-12 01:14:03 +01:00
Rémi Verschelde
3f3826edb8
Merge pull request #59007 from novaplusplus/code_edit_from_to_error_fix
2022-03-11 16:06:00 +01:00
Rémi Verschelde
e56b69269f
Merge pull request #59013 from bruvzg/fake_bold_italics
2022-03-11 14:24:13 +01:00
bruvzg
b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces.
2022-03-11 14:02:30 +02:00
Rémi Verschelde
768f9422bc
Convert uses of DirAccess *
to DirAccessRef
to prevent memleaks
...
`DirAccess *` needs to be deleted manually, and this is often forgotten
especially when doing early returns with `ERR_FAIL_COND`.
`DirAccessRef` is deleted automatically when it goes out of scope.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11 09:13:11 +01:00
Rémi Verschelde
af9a60d5b3
Merge pull request #58965 from TechnoPorg/remove-stex-occurrences
...
Remove more occurrences of "stex"
2022-03-11 08:00:52 +01:00
nova++
4b8fa3716f
Fix "p_from_line > p_to_line" errors in text edit
...
Done via making the function more robust to different inputs
2022-03-11 01:13:45 -05:00
TechnoPorg
f4bc9f5821
Remove more occurrences of "stex"
2022-03-10 18:31:48 -07:00
reduz
6f51eca1e3
Discern between virtual and abstract class bindings
...
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.
Most classes that make sense have been converted. Missing:
* Physics servers
* VideoStream
* Script* classes.
which will go in a separate PR due to the complexity involved.
2022-03-10 12:28:11 +01:00
Rémi Verschelde
0f73170180
Merge pull request #58978 from Sauermann/revert-58913
2022-03-10 10:41:00 +01:00
Markus Sauermann
40c08e522f
Revert "Update mouse cursor shape after changes"
...
This reverts commit 0fce98b4b5
.
2022-03-10 09:43:06 +01:00
Rémi Verschelde
3d7f155586
Remove unused Bullet module and thirdparty code
...
It has been disabled in `master` since one year (#45852 ) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.
2022-03-09 21:45:47 +01:00
reduz
21637dfc25
Remove VARIANT_ARG* macros
...
* Very old macros from the time Godot was created.
* Limited arguments to 5 (then later changed to 8) in many places.
* They were replaced by C++11 Variadic Templates.
* Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard.
* Also added a dereference check for Variant*. Helped catch a couple of bugs.
2022-03-09 18:39:13 +01:00
kobewi
39d429e497
Change some math macros to constexpr
...
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-09 16:24:32 +01:00
Rémi Verschelde
bc9dd15f0e
Merge pull request #58926 from fabriceci/avoid-direction-correction-when-motion-is-down
2022-03-09 15:12:08 +01:00
fabriceci
7f47889a5f
Avoid directional correction when the motion is downward
2022-03-09 13:45:42 +01:00
Rémi Verschelde
a2d67c2fff
Merge pull request #58913 from Sauermann/fix-mouse-cursor-change
2022-03-09 09:05:20 +01:00
Markus Sauermann
0fce98b4b5
Update mouse cursor shape after changes
...
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
2022-03-09 07:54:03 +01:00
Michael Alexsander
182e038af5
Replace TabBar
's min_width
with max_tab_width
and expose it
2022-03-09 01:48:18 -03:00
Marcel Admiraal
507f72db8e
Rename Control's Rect properties to exclude rect_ part
2022-03-08 16:30:35 +00:00
Rémi Verschelde
6046d3babb
Merge pull request #57769 from Chaosus/vs_custom
2022-03-08 15:34:08 +01:00
Rémi Verschelde
45fa14e1ae
Merge pull request #58850 from YeldhamDev/more_tab_regressions
2022-03-08 14:28:39 +01:00
Yuri Roubinsky
4d6790e9df
Add _get_func_code/_is_available
virtual functions to custom nodes
2022-03-08 16:23:44 +03:00
Rémi Verschelde
761398556e
Merge pull request #58887 from cesarizu/bbcode_align_left
2022-03-08 12:52:54 +01:00
Rémi Verschelde
8ca4bd2755
Merge pull request #58879 from Calinou/basebutton-shortcut-context-fix-typo
2022-03-08 12:52:28 +01:00
Rémi Verschelde
2023178732
Merge pull request #58894 from akien-mga/CompressedTexture-compat-aliases
2022-03-08 12:50:29 +01:00
Rémi Verschelde
31b3bda36a
Merge pull request #58881 from pfertyk/issue_58790_all_tabs_in_front_crash
2022-03-08 12:17:54 +01:00
Rémi Verschelde
b94cda86ac
Add compat aliases for renamed CompressedTexture*
types
2022-03-08 12:14:31 +01:00
Rémi Verschelde
1561737055
Merge pull request #49447 from Calinou/remove-shadow-color-property
...
Remove unused `shadow_color` property from Light3D
2022-03-08 07:48:05 +01:00
César Izurieta
42f1697857
Add support to align to left to bbcode
2022-03-08 01:36:19 -05:00
Paweł Fertyk
5381a27f79
Fix crash with all_tabs_in_front
...
Fixes #58790 .
2022-03-08 00:19:21 +01:00
Hugo Locurcio
be5116c4a4
Fix typo in BaseButton shortcut context methods
2022-03-07 22:36:12 +01:00
Rémi Verschelde
53cf5eff9a
Merge pull request #58847 from KoBeWi/editor_settings_mess
2022-03-07 08:38:15 +01:00
Rémi Verschelde
eb8ce0ce68
Merge pull request #58750 from Chaosus/vs_varyings
...
Add varying support to visual shaders
2022-03-07 07:41:11 +01:00
Rémi Verschelde
bb5d71f6cc
Merge pull request #58719 from Chaosus/vs_builtins
...
Adds few more input/output built-ins to visual shader
2022-03-07 07:39:51 +01:00
Michael Alexsander
c0381594c3
Fix regressions with nameless and icon-only tabs
2022-03-06 22:17:35 -03:00
kobewi
2057ea2883
Remove duplicate editor settings definitions
2022-03-06 22:05:49 +01:00
Rémi Verschelde
def893b3d4
Merge pull request #58805 from KoBeWi/meh_custom
...
Remove custom_* prefixes compatibility
2022-03-06 10:16:53 +01:00
kobewi
7d44bb8f06
Remove set_as_minsize()
2022-03-06 00:57:42 +01:00
Rémi Verschelde
d37e8586be
Merge pull request #58788 from reduz/rename-streamtexture
...
Rename StreamTexture* to CompressedTexture*
2022-03-06 00:19:55 +01:00
Rémi Verschelde
9b4d4bbaea
Merge pull request #58803 from KoBeWi/a_bit_of_everything
...
Various code and documentation improvements
2022-03-06 00:17:39 +01:00
kobewi
bc3aff9b46
Various code and documentation improvements
2022-03-05 22:00:35 +01:00
kobewi
c003ab43c3
Remove custom_* prefixes compatibility
2022-03-05 21:35:10 +01:00
kobewi
b3864db7e0
Change tabs_rearrange_group to property
2022-03-05 21:03:01 +01:00
reduz
ccd4cdfd8b
Rename StreamTexture* to CompressedTexture*
...
* Its not and will not be used for streaming.
* Streaming will be implemented in 4.1 and it will work different.
* It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-05 16:43:38 +01:00
Rémi Verschelde
c55c825f6a
Merge pull request #58753 from YeldhamDev/tab_name_regression
...
Fix renaming `TabContainer` children not updating tab names when outside the tree
2022-03-04 23:30:32 +01:00
Hugo Locurcio
aea104deb7
Remove unused shadow_color
property from Light3D
...
This shadow color property was no longer effective since the shaders
were optimized to improve occupancy.
2022-03-04 23:12:18 +01:00
Michael Alexsander
ebf630441f
Fix renaming TabContainer
children not updating tab names when outside the tree
2022-03-04 18:26:08 -03:00
Yuri Roubinsky
15a87f8e92
Add varying support to visual shaders
2022-03-04 23:30:47 +03:00
Rémi Verschelde
f356c8ac4b
Merge pull request #58755 from akien-mga/gcc-silence-Wstringop-overflow-false-positive
2022-03-04 18:09:47 +01:00
Rémi Verschelde
9c6b6ffe13
Merge pull request #58717 from CrezyDud/master
2022-03-04 18:04:19 +01:00
Rémi Verschelde
b2e19b2499
Animation: Silence false positive -Wstringop-overflow warning
...
And disable debug code which was wrongly left enabled.
2022-03-04 17:10:22 +01:00
Rémi Verschelde
3078b92dff
Merge pull request #58512 from Calinou/light3d-add-distance-fade
2022-03-04 12:26:29 +01:00
Rémi Verschelde
7de48982fe
Merge pull request #58691 from miremrie/absolute-file-path-in-file-browser
2022-03-04 12:25:15 +01:00
Rémi Verschelde
9d5d20ae6d
Merge pull request #58687 from YeldhamDev/the_beast_has_been_slain
2022-03-04 12:18:55 +01:00
Rémi Verschelde
8845798b44
Merge pull request #58739 from Calinou/control-add-constructors
...
Add optional constructor arguments to more Control nodes
2022-03-04 11:42:53 +01:00
Hugo Locurcio
a06f82ca4d
Add optional constructor arguments to more Control nodes
...
This can be used to make editor code more compact.
However, as of writing, these constructor arguments cannot be used
from the scripting API.
This was already provided for Label and CheckBox, but it was missing
for other Control nodes where it made sense to provide a default value.
2022-03-04 09:48:41 +01:00
Haoyu Qiu
933211cb0c
Remove extra separator when TextEdit is read only and unselectable
2022-03-04 16:25:25 +08:00
Michael Alexsander
a811ebf699
Make TabContainer
use TabBar
internally
2022-03-03 21:49:58 -03:00
MrSwedish
97c5fd17a7
Add linear_velocity and angular_velocity to PhysicalBone3D
2022-03-03 20:34:29 +01:00
Yuri Roubinsky
2f8cb76899
Adds few more input/output built-ins to visual shader
2022-03-03 21:28:23 +03:00
Hugo Locurcio
816d332e51
Fix LineEdit and TextEdit carets disappearing at theme scales below 1.0
...
This fixes carets disappearing in the editor when the Editor Scale
setting is set below 100%.
2022-03-03 00:15:48 +01:00
miremrie
a5e30c0228
Allow absolute file paths in file dialogs
2022-03-02 19:42:39 +01:00
Igor Kordiukiewicz
8f49150b10
Changed TileMap::set_cell alternative_tile default value to 0
2022-03-02 12:13:45 +01:00
Rémi Verschelde
97e5367fe8
Merge pull request #58641 from rburing/joints_fix_signals
2022-03-01 11:00:59 +01:00
JFonS
73f92a6e4d
Merge pull request #58548 from V-Sekai/lod_lightmaps
...
Allow automatic lod when importing 3D scenes with Static Lightmaps
2022-03-01 10:23:25 +01:00
Rémi Verschelde
1b446ebcd4
Merge pull request #58559 from fazil47/scene-tree-icon-focus
...
Double clicking scene tree icon focuses that node
2022-03-01 08:46:14 +01:00
Rémi Verschelde
c8e62555f6
Merge pull request #58477 from AlbertFay/text-under-scrollbar
2022-03-01 01:32:36 +01:00
Ricardo Buring
cb5bc58e81
Joint2D and Joint3D: make set_exclude_nodes_from_collision respect signals
2022-02-28 22:25:45 +01:00
Ricardo Buring
9e100c3e7a
Joint2D and Joint3D: update joint on NOTIFICATION_POST_ENTER_TREE
...
This allows reparenting, etc.
2022-02-28 22:21:32 +01:00
Paulb23
7f5782047e
Fixed caret change signal emission
2022-02-28 19:01:44 +00:00
Rémi Verschelde
54a777b523
Merge pull request #58554 from KoBeWi/MIA
...
Don't abort loading scene on missing dependency
2022-02-28 15:42:09 +01:00
Rémi Verschelde
345b4bb86a
Merge pull request #58282 from keptsecret/filedialog_visibility_unresponsive
...
Fix to prevent AcceptDialog and children class taking over main window
2022-02-28 12:48:59 +01:00
Rémi Verschelde
9b7aeaf88f
Merge pull request #58413 from Sauermann/fix-canvas-item-visibility
...
Fix invisible CanvasItem visibility issue
2022-02-28 11:24:19 +01:00
Rémi Verschelde
f968c11b86
Merge pull request #58596 from rburing/joints_disconnect_connected_signals
...
`Joint2D` and `Joint3D`: disconnect only connected signals
2022-02-28 11:00:14 +01:00
Rémi Verschelde
2e45884252
Merge pull request #58623 from timothyqiu/animated-sprite
...
Fix `AnimatedSprite` infinite loop
2022-02-28 10:48:16 +01:00
Haoyu Qiu
3a439a9c03
Fix AnimatedSprite infinite loop
2022-02-28 16:00:45 +08:00
Igor Kordiukiewicz
b870b40d79
Remove files_dropped signal from SceneTree
2022-02-28 07:51:50 +01:00
Ricardo Buring
184105e753
Joint2D and Joint3D: disconnect only connected signals
2022-02-27 16:55:57 +01:00
Fazil Babu
f2b0bd54b2
Double clicking scene tree icon focuses that node
2022-02-27 17:16:45 +05:30
kobewi
678ec9bcde
Don't abort loading scene on missing dependency
2022-02-26 12:02:05 +01:00
K. S. Ernest (iFire) Lee
ab15267096
Allow automatic lod when importing 3D scenes with Static Lightmaps
...
Avoid the normal merge procedure when uv2s are different and makes generating LODs happen after the lightmap generation
2022-02-25 18:03:09 -08:00
Hugo Locurcio
1d9bc35496
Add a Skew property to StyleBoxFlat
...
This makes it possible to create more aesthetically pleasing
styleboxes for GUI theming, especially in games that have
a futuristic appearance (where skewed buttons and progress bars
are common).
2022-02-26 02:39:36 +01:00
albertfay1121
dba0d52349
Fixed bug with text going under scrollbar
...
added classes reference update
2022-02-25 13:45:38 -08:00
Hugo Locurcio
b1a295b739
Implement distance fade properties in OmniLight3D and SpotLight3D
...
This can be used to fade lights and their shadows in the distance,
similar to Decal nodes. This can bring significant performance
improvements, especially for lights with shadows enabled and when
using higher-than-default shadow quality settings.
While lights can be smoothly faded out over distance, shadows are
currently "all or nothing" since per-light shadow color is no longer
customizable in the Vulkan renderer. This may result in noticeable
pop-in when leaving the shadow cutoff distance, but depending on the
scene, it may not always be that noticeable.
2022-02-25 15:17:35 +01:00
bruvzg
74ff5921d6
Improve popup window handling.
...
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-25 09:33:27 +02:00
Rémi Verschelde
4dc8214831
Merge pull request #58496 from JFonS/fix_lm_crash
2022-02-24 13:29:51 +01:00