Marcel Admiraal
981fbcd3e0
Remove RigidBody weight property
2020-11-27 17:39:20 +00:00
reduz
1bcf3c305b
Implement signed distance fields for 2D shaders
2020-11-26 10:49:50 -03:00
Rémi Verschelde
4e5625ce30
Merge pull request #43884 from Chaosus/vs_warnings
...
Added extra warning to texture nodes in visual shader + fix warning appearing
2020-11-26 13:37:43 +01:00
Yuri Roubinsky
3e1e01b7ab
Added extra warning to VisualShaderNodeTexture + fix warning appearing
2020-11-26 14:53:47 +03:00
Rémi Verschelde
a8c2cc9028
Merge pull request #43807 from Xrayez/aspect-ratio-container
...
Add `AspectRatioContainer` class
2020-11-26 12:20:15 +01:00
Rémi Verschelde
27933784f6
Merge pull request #43865 from madmiraal/fix-43852
...
Check joint nodes and generate configuration warning messages.
2020-11-26 10:21:36 +01:00
Eric M
4d10524f7f
Removed unused property 'pending_resize' from Control
2020-11-26 15:30:13 +10:00
Marcel Admiraal
002cc47fbd
Check joint nodes and generate configuration warning messages.
2020-11-25 20:53:19 +00:00
Andrii Doroshenko (Xrayez)
ba68383706
Add AspectRatioContainer
class
...
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
2020-11-25 15:06:40 +02:00
Rémi Verschelde
8c713fa9bf
Merge pull request #43833 from volzhs/fix-scrollcontainer-bar-max-value
...
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25 13:27:36 +01:00
Tomasz Chabora
836b78f329
Update clear button when clicked
2020-11-25 00:42:07 +01:00
volzhs
67c2f2445f
Fix to update scroll bar has correct max value in ScrollContainer
2020-11-25 05:30:55 +09:00
greenfox
b9c0897713
fixed Camera2D rotation with non-square zoom
2020-11-22 18:09:33 -06:00
Rémi Verschelde
a655de89e3
doc: Warn about using Node internal processing
...
See #43689 .
Also 'fixed' some spelling for behavior in publicly visible strings.
(Sorry en_GB, en_CA, en_AU, and more... Silicon Valley won the tech spelling
war.)
2020-11-20 09:52:37 +01:00
Andrii Doroshenko (Xrayez)
afcb6f38db
Do not start Timer
upon manual switching of internal process
...
Prevents `Timer` to prematurely start and timeout immediately if internal
processing is enabled manually with `Timer.set_process_internal(true)` or
`Timer.set_physics_process_internal(true)`.
Even if the internal processing is enabled manually, the user still has to
actually start the timer with `start()` method explicitly.
2020-11-20 01:28:40 +02:00
Andrii Doroshenko (Xrayez)
0ee88d6705
Describe ImageTexture
, Image
creation and usage
2020-11-17 16:00:41 +02:00
Rémi Verschelde
99d0df2e33
Merge pull request #38812 from aaronfranke/brace-no-empty-line
...
Remove all empty lines from the start of blocks defined with braces
2020-11-17 08:59:50 +01:00
Rémi Verschelde
9de18cc946
Merge pull request #43547 from TokageItLab/lowering-s3d-and-camera-min-unit
...
Lowering the Minimum Unit at Shape3D and Cameras
2020-11-17 07:55:44 +01:00
Aaron Franke
02161aad5a
Remove empty lines around braces with the formatting script
2020-11-16 23:38:11 -05:00
Tokage
4a2aaabf9f
Lowering the Minimum Unit at Shape3D and Cameras
2020-11-17 13:17:37 +09:00
Rémi Verschelde
d105c718fd
Merge pull request #43316 from YeldhamDev/rate_scale_wav_fix
...
Fix WAV resources ignoring the AudioServer's 'global_rate_scale' value
2020-11-16 15:52:48 +01:00
Rémi Verschelde
fc70f986b9
Merge pull request #42008 from Calinou/theme-rename-node-type
...
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-16 13:20:24 +01:00
Rémi Verschelde
6c2db73937
Merge pull request #43566 from Calinou/remove-pause-mode-script-property-groups
...
Remove property groups for Pause Mode and Script
2020-11-16 12:53:31 +01:00
Rémi Verschelde
94875f5f48
Merge pull request #41851 from EricEzaM/PR/popup-menu-hysteresis
...
Added hysteresis for popup sub-menus
2020-11-16 09:34:28 +01:00
Hugo Locurcio
5770e08c2a
Remove property groups for Pause Mode and Script
...
Each of those only grouped 1 property, making them useless.
This closes https://github.com/godotengine/godot-proposals/issues/1840 .
2020-11-15 16:01:10 +01:00
Sergey Minakov
8894c64e54
GUI: send cursor data from TextEdit
2020-11-15 16:03:21 +03:00
Nick Swoboda
bf8f763524
Improve error messages related to failing to open files
2020-11-12 17:30:56 -08:00
Rémi Verschelde
acb7d99fce
Merge pull request #43449 from nekomatata/line_edit_window_pos
...
Expose LineEdit scroll offset to scripts
2020-11-11 13:18:55 +01:00
PouleyKetchoupp
4775db1600
Expose LineEdit scroll offset to scripts
2020-11-11 10:07:31 +01:00
Rémi Verschelde
9d2e8f2f27
Variant: Rename Type::_RID to Type::RID
...
The underscore prefix was used to avoid the conflict between the `RID` class
name and the matching enum value in `Variant::Type`.
This can be fixed differently by prefixing uses of the `RID` class in `Variant`
with the scope resolution operator, as done already for `AABB`.
2020-11-09 16:29:04 +01:00
reduz
221a2a1742
Refactored variant constructor logic
2020-11-09 08:54:43 -03:00
Eric M
c482e8ec85
Added hysteresis for popup sub-menus
...
This adds a small lag effect when opening submenus which allow the user to move directly to an item on the submenu without worrying about avoiding the autohide regions.
2020-11-08 13:28:23 +10:00
reduz
127458ed17
Reorganized core/ directory, it was too fatty already
...
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
2020-11-07 20:17:12 -03:00
Rémi Verschelde
52c1b5fc41
Merge pull request #43283 from Calinou/color-remove-contrasted
...
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-06 10:17:12 +01:00
bruvzg
061f65e410
Fix uninitialised variables in the BaseMaterial3D.
2020-11-06 10:17:11 +02:00
Michael Alexsander
04ebe4e7a4
Fix WAV resources ignoring the AudioServer's 'global_rate_scale' value
2020-11-04 17:03:54 -03:00
Rémi Verschelde
424cd00f8b
doc: Sync classref with current source + fixup some bindings
...
Includes various changes triggered by the refactoring of method bindings.
2020-11-04 15:38:26 +01:00
reduz
f123981a96
Implement DirectionalLight2D
...
Also separated Light2D in PointLight2D and DirectionalLight2D.
Used PointLight2D because its more of a point, and it does not work
the same as OmniLight (as shape depends on texture).
Added a few utility methods to Rect2D I needed.
2020-11-04 10:03:01 -03:00
Rémi Verschelde
afef8e30ea
Merge pull request #39635 from Meriipu/master_nodrop
...
do not drop mouseover on WM_MOUSE_EXIT
2020-11-03 20:28:11 +01:00
Hugo Locurcio
7adb6b91b3
Remove Color.contrasted()
as its behavior is barely useful
...
Returning the most contrasting color isn't a trivial task, as there
are often many possible choices. It's usually best left for the user
to implement using a script.
2020-11-03 04:46:08 -05:00
Rémi Verschelde
c5d8dafec4
Tooltips: Improve code clarity and docs
...
The return type for `_make_custom_tooltip` is clarified as Control, and users
should make sure to return a visible node for proper size calculations.
Moreover in the current master branch, a PopupPanel will be added as parent
to the provided tooltip to make it a sub-window.
Clarifies documentation for `Control._make_custom_tooltip`, and shows how to
use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types
to style tooltips.
Fixes #39677 .
2020-11-03 09:19:03 +01:00
Marios Staikopoulos
e5d7c7d5fc
Alpha Hash and Alpha2Coverage Implementation
2020-11-02 20:11:20 -08:00
Rémi Verschelde
223e361c4e
Merge pull request #42703 from RandomShaper/fix_anim_backwards
...
Fix premature end of animation playing backwards
2020-11-01 15:47:39 +01:00
reduz
0e6664539d
Refactor pixel snapping.
...
-Rename pixel_snap to snap_2d_to_vertices
-Added snap_2d_to_transforms which is more useful
Fixes #41814
Solves proposal https://github.com/godotengine/godot-proposals/issues/1666
Supersedes #35606 , supersedes #41535 , supersedes #41534
2020-10-30 08:57:32 -03:00
volzhs
8a588343db
Fix crash in TabContainer in case of no content at all
2020-10-29 19:52:21 +09:00
Juan Linietsky
a65481dd35
Update scene/resources/dynamic_font.cpp
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-10-28 22:09:37 -03:00
reduz
8ab9b39707
Implement CanvasGroup and CanvasItem clipping
...
-Allows merging several 2D objects into a single draw operation
-Use current node to clip children nodes
-Further fixes to Vulkan barriers
-Changed font texture generation to white, fixes dark eges when blurred
-Other small misc fixes to backbuffer code.
2020-10-28 18:53:32 -03:00
Yuri Roubinsky
c3df61a602
Removed redundant line from TextEdit
...
introduced in https://github.com/godotengine/godot/pull/43026
2020-10-28 12:56:20 +03:00
Rémi Verschelde
6328f7a45c
Merge pull request #43147 from Mallos/fix/sprite2d-rect
...
fix(sprite2d): Rect is not handling pixel snap
2020-10-28 10:16:34 +01:00
Rémi Verschelde
60ad64a101
Merge pull request #42766 from volzhs/tab-container
...
Put unselected tabs back in TabContainer control
2020-10-28 09:51:41 +01:00