reduz
d2302f53d6
Implement automatic LOD (Level of Detail)
...
-Happens on import by default for all models
-Just works (tm)
-Biasing can be later adjusted per node or per viewport (as well as globally)
-Disabled AABB.get_support test because its broken
2020-12-18 15:48:03 +01:00
Rémi Verschelde
36b4e035dc
Merge pull request #44496 from Chaosus/graph_edit_lines
...
Added GraphEdit properties to control lines thickness and antialiasing
2020-12-18 15:03:06 +01:00
Yuri Roubinsky
52e44ed3ef
Added GraphEdit properties to control lines thickness and antialiasing
2020-12-18 16:41:45 +03:00
Rémi Verschelde
771b99b7f4
Merge pull request #44495 from godotengine/font-typo-44494
...
Font: Fix typo in DynamicFontData compat code
2020-12-18 14:08:15 +01:00
Rémi Verschelde
a5c47dab5b
Font: Fix typo in DynamicFontData compat code
...
Fixes #44494 .
2020-12-18 12:59:52 +01:00
Rémi Verschelde
c7b53c03ae
SCons: Add explicit dependencies on thirdparty code in cloned env
...
Since we clone the environments to build thirdparty code, we don't get an
explicit dependency on the build objects produced by that environment.
So when we update thirdparty code, Godot code using it is not necessarily
rebuilt (I think it is for changed headers, but not for changed .c/.cpp files),
which can lead to an invalid compilation output (linking old Godot .o files
with a newer, potentially ABI breaking version of thirdparty code).
This was only seen as really problematic with bullet updates (leading to
crashes when rebuilding Godot after a bullet update without cleaning .o files),
but it's safer to fix it everywhere, even if it's a LOT of hacky boilerplate.
2020-12-18 10:29:34 +01:00
Yuri Sizov
f5bcbd8325
FIx visual issues with GraphEdit minimap
2020-12-17 22:59:04 +03:00
Rémi Verschelde
c83d1b2526
Merge pull request #43416 from pycbouh/graph-minimap
...
Add a minimap to the GraphEdit
2020-12-17 17:34:36 +01:00
Yuri Sizov
8d608cdc40
Remove unused argument in Theme method and expose missing methods
2020-12-17 15:51:08 +03:00
Rémi Verschelde
aa64834f72
Merge pull request #44295 from akien-mga/proximity-group-fix-access-modifiers
...
ProximityGroup: Fix access modifiers, rename private methods for clarity
2020-12-17 10:06:02 +01:00
Rémi Verschelde
933cf114d8
Merge pull request #42872 from dreamsComeTrue/better-camera2d-zoom
...
Fix camera2d zoom when set to zero (affine_invert: Condition ' det == 0 ' is true)
2020-12-17 08:56:37 +01:00
Dominik 'dreamsComeTrue' Jasiński
aba477361d
Fix camera2d zoom when set to zero (causing ERROR: affine_invert: Condition ' det == 0 ' is true.)
...
Fixes : #41873
2020-12-16 23:42:12 +01:00
reduz
bf77016c8a
Reimplement skeletons and blend shapes
...
Uses compute shaders, which only once, on demand, and all in parallel.
2020-12-16 14:32:04 -03:00
Rémi Verschelde
3d7b01723b
Merge pull request #44412 from DanielZTing/rename
...
Rename neighbour in Control to neighbor
2020-12-16 14:16:28 +01:00
Sergey Minakov
efeb9e4d08
GUI: use cursor in TextEdit for non selected text.
2020-12-16 05:41:14 +03:00
Daniel Ting
aea7fde241
Rename neighbour in Control to neighbor
...
This keeps things consistent with the rest of Godot, which uses the
American English spelling of Color.
2020-12-15 16:42:21 -06:00
Rémi Verschelde
0415a2d913
Merge pull request #44391 from madmiraal/fix-42285
...
Remove Generic6DOFJoint precision property
2020-12-15 19:06:25 +01:00
Rémi Verschelde
6ccc6b6e28
Merge pull request #44372 from madmiraal/rename-animation-track_remove_key_at
...
Rename Animation::track_remove_key_at_position to track_remove_key_at_time
2020-12-15 13:42:54 +01:00
Rémi Verschelde
7e3424e3ab
Merge pull request #44377 from Calinou/rename-textureprogressbar
...
Rename the TextureProgress node to TextureProgressBar
2020-12-15 13:34:32 +01:00
Marcel Admiraal
9bc62bf449
Remove Generic6DOFJoint precision property
2020-12-15 10:14:48 +00:00
Hugo Locurcio
57dcc83152
Rename the TextureProgress node to TextureProgressBar
...
Advantages:
- When searching for "progressbar", you'll see both nodes in the
search results.
- More consistent with Button/TextureButton.
2020-12-14 21:35:13 +01:00
Marcel Admiraal
8509c8c8fc
Rename AcceptDialog get_ok() to get_ok_button()
...
Also renames:
- AcceptDialog add_cancel() to add_cancel_button()
- ConfirmationDiaglog get_cancel() to get_cancel_button()
2020-12-14 18:43:52 +00:00
Marcel Admiraal
f5a3cbda19
Rename Animation::track_remove_key_at_position to track_remove_key_at_time
2020-12-14 18:00:11 +00:00
reduz
77a045e902
Rework Mesh handling on scene importing.
...
-Reworked how meshes are treated by importer by using EditorSceneImporterMesh and EditorSceneImporterMeshNode. Instead of Mesh and MeshInstance, this allows more efficient processing of meshes before they are actually registered in the RenderingServer.
-Integrated MeshOptimizer
-Reworked internals of SurfaceTool to use arrays, making it more performant and easy to run optimizatons on.
2020-12-13 21:29:51 -03:00
bruvzg
62927383ed
[Complex Text Layouts] Add drop-caps support to TextParagraph and RTL.
2020-12-13 22:20:02 +02:00
kobewi
a3a31591b5
Allow to override drop data in LineEdit
2020-12-13 20:16:56 +01:00
bruvzg
c1d261fdb0
[Complex Text Layouts] Add variable fonts support.
2020-12-13 18:43:39 +02:00
Rémi Verschelde
bbf7bb3838
Merge pull request #42595 from bruvzg/ctl_rich_text
...
[Complex Text Layouts] Refactor RichTextLabel.
2020-12-13 13:42:00 +01:00
gongpha
0394ff3c99
Refresh TextLine buffer when moving tab
2020-12-13 02:38:53 +07:00
Rémi Verschelde
8c045fc9ff
Merge pull request #44288 from Chaosus/fix_textedit_scrolling
...
Fixed mouse scrolling in TextEdit's
2020-12-12 09:31:33 +01:00
Tomasz Chabora
31cb04fbdd
Move initialization of some classes to headers
2020-12-11 18:20:03 +01:00
Rémi Verschelde
79ba70f7ee
ProximityGroup: Fix access modifiers, rename private methods for clarity
...
See #36285 which mistakenly added documentation for the whole C++ API, while
some of it is meant to be and stay private as it's not exposed to scripts.
The access modifiers and method prefix were not used properly.
Cleanup code, and rename wrong `group_name` parameters to `method`, as it's a
method name which is being broadcast.
This is a very old class from pre-open source days, chances are that it was
just forgotten and not meant to be kept as is and undocumented.
2020-12-11 14:32:05 +01:00
Yuri Roubinsky
2d4ef1c193
Fixed mouse scrolling in TextEdit's
2020-12-11 12:51:10 +03:00
bruvzg
6b6f101983
[Complex Text Layouts] Refactor RichTextLabel.
2020-12-11 09:48:49 +02:00
Tomasz Chabora
cd42e938fc
Fix PathFollow3D updating on unit_offset 0
2020-12-11 01:35:10 +01:00
Michael Alexsander
48027448bf
Fix tooltip position in embedded window
2020-12-10 16:11:57 -03:00
Rémi Verschelde
d62dcb6b01
Merge pull request #44267 from madmiraal/rename-viewport-enums
...
Rename Viewport::ClearMode::CLEAR_MODE_ONLY_NEXT_FRAME to CLEAR_MODE_ONCE
2020-12-10 14:28:37 +01:00
Michael Alexsander
bb39088201
Allow to circle back in 'PopupMenu' even if the first/last item is non-selectable
2020-12-10 09:32:02 -03:00
Marcel Admiraal
284642be01
Rename Viewport::ClearMode::CLEAR_MODE_ONLY_NEXT_FRAME to CLEAR_MODE_ONCE
2020-12-10 12:24:49 +00:00
Rémi Verschelde
d8fdb8796a
Merge pull request #44260 from madmiraal/rename-area3d-audio_bus_name
...
Rename Area3D audio_bus_name getter and setter
2020-12-10 12:15:46 +01:00
Rémi Verschelde
2a325f3888
Merge pull request #44233 from YeldhamDev/popupmenu_circle_back
...
Re-add circle back scrolling to 'PopupMenu'
2020-12-10 11:16:38 +01:00
Rémi Verschelde
67259d07db
Merge pull request #44070 from YeldhamDev/popupmenu_separator_font_color
...
Add "font_color_separator" theme property to 'PopupMenu'
2020-12-10 11:13:07 +01:00
Marcel Admiraal
daa084d004
Rename Area3D audio_bus_name getter and setter
2020-12-10 08:31:14 +00:00
Rémi Verschelde
70c435272a
Merge pull request #44124 from volzhs/tabs-in-front
...
Add option to draw all tabs in front
2020-12-10 07:55:41 +01:00
volzhs
814f9015f8
Add option to draw all tabs in front
2020-12-10 07:47:10 +09:00
Michael Alexsander
e8e0abc331
Re-add circle back scrolling to 'PopupMenu'
2020-12-09 13:25:00 -03:00
Rémi Verschelde
114f97ff11
Merge pull request #44128 from KoBeWi/ 🧹
...
Cleanup unused engine code
2020-12-09 13:01:50 +01:00
Tomasz Chabora
2c048ea164
Cleanup unused engine code
2020-12-09 12:12:36 +01:00
Rémi Verschelde
9a8e123593
Fix connections to CanvasItem and Tabs signals
...
Follow-up to #44188 and #44189 .
2020-12-09 12:04:02 +01:00
Rémi Verschelde
92c001ef09
Merge pull request #43931 from bruvzg/ctl_comp_font
...
[Complex Text Layouts] Add compatibility for legacy Font resources.
2020-12-09 11:28:11 +01:00
Rémi Verschelde
0c5d3b838c
Merge pull request #44199 from bruvzg/pvs_fixes_1
...
PVS-Studio static analyzer fixes
2020-12-09 10:23:21 +01:00
bruvzg
644f739660
Static analyzer fixes:
...
Removes unused code in OS.
Fixes return types.
Fixes few typos.
2020-12-09 10:17:53 +02:00
Hugo Locurcio
88f70b0c05
Increase dithering in the PhysicalSkyMaterial shader to combat banding
...
Banding should now be much less visible when using the default
PhysicalSkyMaterial settings.
2020-12-09 01:40:58 +01:00
Marcel Admiraal
43302837eb
Rename CanvasItem's hide signal to hidden
2020-12-08 12:14:15 +00:00
Marcel Admiraal
43c9106806
Use box size instead of extents for Shape dimensions
2020-12-08 11:58:21 +00:00
Marcel Admiraal
d5d99aaed6
Use rectangle size instead of extents for Shape dimensions
2020-12-08 11:57:46 +00:00
Rémi Verschelde
0f6745b6aa
Merge pull request #44188 from madmiraal/tabs-signal-names
...
Rename Tabs close and hover signals to tab_closed and tab_hovered
2020-12-08 12:30:49 +01:00
Rémi Verschelde
1cf53ca90b
Merge pull request #44184 from madmiraal/xrcontroller-button_released
...
Rename XRController signal button_release to button_released
2020-12-08 12:25:41 +01:00
Marcel Admiraal
a65e609e21
Rename Tabs close and hover signals to tab_closed and tab_hovered
2020-12-08 09:51:06 +00:00
Rémi Verschelde
a32d6d2800
Merge pull request #44166 from madmiraal/remove-chain-tip-copy-constructor
...
Remove ChainTip copy constructor
2020-12-08 09:40:07 +01:00
Marcel Admiraal
58c38d957b
Rename XRController signal button_release to button_released
2020-12-08 08:37:48 +00:00
Marcel Admiraal
3e1c540a6e
Remove ChainTip copy constructor
2020-12-07 12:29:29 +00:00
bruvzg
0ef483e9a9
[Complex Text Layouts] Performance optimizations.
2020-12-07 08:53:02 +02:00
bruvzg
a41f1c67e5
[Complex Text Layouts] Fix missing ItemList item text buffer init in add_icon_item
.
2020-12-06 20:31:00 +02:00
bruvzg
c3cc9d82b4
[Complex Text Layouts] Align glyph offsets and advances to the pixel grid.
2020-12-06 20:31:00 +02:00
bruvzg
a458e90179
[Complex Text Layouts] Adds missing Font::SPACING_* to the Label, LineEdit, TextEdit, TextLine and TextParagraph.
...
Fixes oversized editor control height (default editor spacing is negative) and control size changing when text is set.
2020-12-06 20:30:59 +02:00
Marcel Admiraal
a24c38d1a8
Rename Vector2.tangent() to Vector2.orthogonal()
2020-12-06 18:16:06 +00:00
Rémi Verschelde
286ad95749
Merge pull request #44129 from Calinou/tweak-material-height-hints
...
Tweak BaseMaterial3D heightmap property hints
2020-12-06 09:35:08 +01:00
Aaron Franke
1b348b3c17
Remove connect *_compat methods
2020-12-05 17:56:47 -05:00
Hugo Locurcio
44d0c74768
Tweak BaseMaterial3D heightmap property hints
...
- Allow finer adjustments of the heightmap scale.
- Allow increasing the heightmap level detail (at the cost of performance).
2020-12-05 21:43:32 +01:00
Rémi Verschelde
9ab087942a
Merge pull request #44116 from Scony/add-bake-finished-signal
...
Add missing 'bake_finished' signal
2020-12-05 17:48:17 +01:00
Rémi Verschelde
c574b4d086
Merge pull request #44091 from madmiraal/rename-cubemesh-boxmesh
...
Rename CubeMesh to BoxMesh
2020-12-05 16:48:15 +01:00
Marcel Admiraal
df6b061dbb
Rename CubeMesh BoxMesh
2020-12-05 11:48:26 +00:00
Pawel Lampe
c89a1631b7
Add missing 'bake_finished' signal
2020-12-05 12:20:07 +01:00
Aaron Franke
40b81339d0
Rebind Mesh/ArrayMesh enums
2020-12-04 19:34:50 -05:00
Aaron Franke
47f8ac7864
Rename Particles/ParticlesMaterial "Flags" enum to "ParticleFlags"
...
"Flags" was a bit too ambiguous, and in 3D it hid GeometryInstance.Flags
2020-12-04 19:34:29 -05:00
Aaron Franke
1b499d244a
Rename LightOccluder2D light_mask to occluder_light_mask
2020-12-04 19:34:29 -05:00
Aaron Franke
ce9d87ddfd
Rename PathFollow2D rotate bool
2020-12-04 18:59:02 -05:00
Aaron Franke
888deca827
Rename XR get_type and get_name
...
Now called get_tracker_type and get_tracker_name
2020-12-04 18:59:02 -05:00
Rémi Verschelde
1a001ad964
doc: Sync classref with current source
...
And fixups:
- Add missing bindings in RenderingServer
- Remove duplicate ArrayMesh enum bindings (they're in Mesh already)
- Remove redundant _unhandled_key_input binding in Control (it's in Node
already)
2020-12-04 22:28:08 +01:00
Michael Alexsander
383e8919e0
Add "font_color_separator" theme property to 'PopupMenu'
2020-12-03 11:36:03 -03:00
Rémi Verschelde
c14341a7dc
Merge pull request #43999 from volzhs/update-scrollcontainer-page-value-master
...
Update page value properly of ScrollContainer
2020-12-03 12:57:53 +01:00
bruvzg
3c3590522f
[Complex Text Layouts] Add compatibility for legacy Font resources.
2020-12-03 10:34:03 +02:00
reduz
70f5972905
Refactored Mesh internals and formats.
...
-Changed how mesh data is organized, hoping to make it more efficient on Vulkan and GLES.
-Removed compression, it now always uses the most efficient format.
-Added support for custom arrays (up to 8 custom formats)
-Added support for 8 weights in skeleton data.
-Added a simple optional versioning system for imported assets, to reimport if binary is newer
-Fixes #43979 (I needed to test)
WARNING:
-NOT backwards compatible with previous 4.x-devel, will most likely never be, but it will force reimport scenes due to version change.
-NOT backwards compatible with 3.x scenes, this will be eventually re-added.
-Skeletons not working any longer, will fix in next PR.
2020-12-02 13:07:59 -03:00
Yuri Roubinsky
dd32d7b7ee
Fixed some errors when changing port name in visual shader expressions
2020-12-02 13:27:37 +03:00
Yuri Roubinsky
b74f1abd25
Fix few bugs in visual shader expressions
...
Fixed few bugs in visual shader expressions
2020-12-01 16:55:52 +03:00
volzhs
d89677442b
Update page value properly of ScrollContainer
2020-12-01 11:52:37 +09:00
Yuri Sizov
999ce610a2
Add a minimap to the GraphEdit
2020-11-30 16:48:52 +03:00
Rémi Verschelde
72366c1858
Merge pull request #43971 from volzhs/fix-tab-container
...
Fix TabContainer crashes
2020-11-30 09:41:30 +01:00
FIF15
96fb9eeca4
fix #43695 by revert part of #41576
...
Note that #42109 already reverted the change of MenuButton,
and actually fixed #43695 .
As a result, this commit only reverts the change to LinkButton,
in order to prevent unpredictable consequences.
2020-11-30 12:28:45 +08:00
volzhs
f1eab4afbd
Fix TabContainer crashes
2020-11-30 11:05:59 +09:00
Rémi Verschelde
0167bfa530
Merge pull request #43958 from EricEzaM/PR/basebutton-add-property-and-doco
...
Exposed shortcut_context property to scripting and added documentation.
2020-11-29 16:35:15 +01:00
Eric M
12ded391f5
Exposed shortcut_context property to scripting and added documentation.
...
I didn't expose this as a property or add documentation in the original PR #42109 .
2020-11-30 00:11:40 +10:00
Yuri Roubinsky
82d64ebd19
Fixed several visual shader inputs
...
Fixed several inputs in visual shaders
2020-11-29 16:10:05 +03:00
Rémi Verschelde
ef2d1f6d19
Merge pull request #42761 from fire/color-grading-3d
...
Environment brightness, contrast, saturation restore with 3d LUT.
2020-11-28 23:07:52 +01:00
Yuri Roubinsky
07e752585c
Fixed invalid visual shader outputs (TRANSMISSION, ALPHA_SCISSOR)
2020-11-28 20:42:59 +03:00
clayjohn
076908bed9
Environment brightness, contrast, saturation restore with color correction.
...
Allow gradients and 2d images.
Use shader versions for LUT in tonemap
Co-authored-by: alex-poe <3957610+CptPotato@users.noreply.github.com>
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
2020-11-28 07:37:49 -08:00
Rémi Verschelde
95572211bb
Merge pull request #43925 from madmiraal/fix-16039a
...
Remove RigidBody weight property
2020-11-28 09:37:42 +01:00
Yuri Roubinsky
4a3588a51a
Merge pull request #43828 from Chaosus/restore_line_antialiasing
...
Restored antialiased lines by emulation using triangle strips
2020-11-28 11:32:16 +03:00
Rémi Verschelde
94341ac547
Merge pull request #42987 from clayjohn/VULKAN-sky-only
...
Add sky_only setting to DirectionalLight3Ds
2020-11-28 09:07:09 +01:00
Rémi Verschelde
a09846e015
Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-rework
...
Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
2020-11-28 09:04:25 +01:00
Rémi Verschelde
a6751e6c58
Merge pull request #41100 from bruvzg/ctl_text_server_interface
...
[Complex Text Layouts] Implement TextServer interface.
2020-11-28 09:03:15 +01:00
Yuri Roubinsky
3ec972fc95
Restored antialiased lines by emulation using triangle strips
2020-11-27 20:45:59 +03:00
Marcel Admiraal
981fbcd3e0
Remove RigidBody weight property
2020-11-27 17:39:20 +00:00
Rémi Verschelde
43f60c94e8
Merge pull request #39056 from rileylyman/tscn_newlines
...
Skip extra newline in .tscn when renaming dependency
2020-11-27 15:35:15 +01: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
bruvzg
3be31c4960
[Complex Text Layouts] Refactor TextEdit and CodeEdit controls.
2020-11-26 14:25:50 +02:00
bruvzg
d66eb77c9c
[Complex Text Layouts] Refactor Label and LineEdit controls.
2020-11-26 14:25:49 +02:00
bruvzg
99666de00f
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
...
Implement interface mirroring.
Add TextLine and TextParagraph classes.
Handle UTF-16 input on macOS and Windows.
2020-11-26 14:25:48 +02: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
Eric M
7941235e06
Add is_valid() check for InputEventKey in CanvasItemEditor.
2020-11-23 21:52:15 +10:00
Eric M
efe5c250d5
Implement new shortcuts system.
...
unhandled_key_input changed to unhandled_button_input. Controls can set a 'shortcut_context' which they can then use to determine if their shortcuts should be triggered or not, based on if the viewport's focused GUI control is a child of their 'shortcut context'.
2020-11-23 21:14:26 +10:00
Eric M
9d7d20a978
Added accept_event() calls for SceneTreeDock and BaseButton
2020-11-23 21:14:25 +10: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
Danil Alexeev
01d0addf56
Unified named colors in RichTextLabel
...
Now the BB tag `[color]` uses the color names from the `Color` class.
Also, the use of the `#` symbol in an HTML color code has become optional.
2020-11-17 02:55:36 +03: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
Eric Tuvesson
e892a92ad6
fix(sprite2d): Rect is not handling pixel snap
...
related https://github.com/godotengine/godot/issues/42985
2020-10-27 23:34:19 +01:00
Hugo Locurcio
c3b246e6af
Rename the type
parameter to node_type
in Theme and Control
...
This makes it clearer that it expects a node type as a string
(such as "Label") instead of a type like "TYPE_ARRAY".
This is backwards-compatible since only the name of the parameter
is changed, not its order.
2020-10-27 14:58:52 +01:00
Gilles Roudière
131a7b58c8
Fixes setting top_level not updating the global position
2020-10-27 13:44:35 +01:00
Luke Costello
65eb02b236
Visual Shader Parenthesis fix
...
missing parenthesis were added to prevent conditional statement from interacting with operations
2020-10-27 03:20:29 -04:00
Hugo Locurcio
4dd5a17636
Fix uninitialized Viewport::use_debanding
member variable
2020-10-26 21:37:33 +01:00
Rémi Verschelde
2de498d438
Merge pull request #42969 from Klowner/fixes/42967-popup-position
...
include parent display location in popup location calculation
2020-10-26 09:26:00 +01:00
Rémi Verschelde
8ee44cc60c
Merge pull request #43075 from Xrayez/color-ramp-to-gradient
...
Fixup `ColorRamp` to `Gradient` renames
2020-10-26 08:44:27 +01:00
Devin Curry
b9c35af15d
ScriptEditor: Fix line number gutter drag select
...
Fixes issue #42722
2020-10-25 12:13:54 -07:00
Andrii Doroshenko (Xrayez)
8ce2f401dd
Fixup ColorRamp
to Gradient
renames
2020-10-25 18:32:44 +02:00
reduz
84d734da0e
Refactored 2D shader and lighting system
...
-Removed normal/specular properties from nodes
-Create CanvasTexture, which can contain normal/specular channels
-Refactored, optimized and simplified 2D shaders
-Use atlas for light textures.
-Use a shadow atlas for shadow textures.
-Use both items aboves to make light rendering stateless (faster).
-Reorganized uniform sets for more efficiency.
2020-10-24 15:57:25 -03:00
Aaron Franke
961ee3a1d7
Rename button group property to button_group
2020-10-24 01:30:18 -04:00
Yuri Roubinsky
4c65dc975c
Shows ColorRect in Color constants autocompletion
2020-10-23 19:03:50 +03:00
Rémi Verschelde
f0f8864c9c
Merge pull request #42907 from Xrayez/add-ref-rect-border-width
...
Add `border_width` to `ReferenceRect`
2020-10-22 15:58:12 +02:00
clayjohn
6299575250
Add sky_only setting to DirectionalLight3Ds
2020-10-21 23:28:08 -07:00
Mark Riedesel
5a507df255
include parent display location in popup location calculation
2020-10-21 12:58:39 -04:00
Yuri Roubinsky
f2b98b4106
Remove printing of windowpos/screenpos in MenuButton
2020-10-21 09:58:37 +03:00
Andrii Doroshenko (Xrayez)
aef00021a9
Add border_width
to ReferenceRect
...
Exposes a hidden parameter behind `CanvasItem.draw_rect()`.
2020-10-20 13:58:50 +03:00
Yuri Roubinsky
4f4287243c
Removed underscore from GraphEdit begin/end_node_move signals
2020-10-20 09:22:40 +03:00
Rémi Verschelde
970d0d433b
Merge pull request #42891 from gvaneyck/graph-begin-node-move-timing
...
Fix emit_signal timing for GraphEdit's begin/end node move
2020-10-20 07:48:06 +02:00
Gabriel Van Eyck
fbc095dc78
Fix emit_signal timing for GraphEdit's begin/end node move
2020-10-19 18:25:07 -07:00
Rémi Verschelde
ff48a6a3bc
Merge pull request #42874 from dreamsComeTrue/text-edit-bounds-fix
...
TextEdit - fix valid bounds in 'set_line'.
2020-10-19 22:37:41 +02:00
Rémi Verschelde
17f682226d
Merge pull request #42904 from Xrayez/rects-rename-fixup
...
Fixup `ColorRect` and `TextureRect` renames
2020-10-19 22:34:40 +02:00
Juan Linietsky
85ebf40b6c
Merge pull request #38097 from Calinou/add-viewport-debanding
...
Add a debanding property to Viewport
2020-10-19 14:15:44 -03:00
Andrii Doroshenko (Xrayez)
9c3a33a4e8
Fixup ColorRect
and TextureRect
renames
2020-10-19 19:34:35 +03:00
Rémi Verschelde
6b20859984
Merge pull request #42558 from Chaosus/vs_curve
...
Added visual shader node to easy gather data from a CurveTexture
2020-10-19 14:58:45 +02:00
Juan Linietsky
53d5a252bb
Revert "Replace SAO implementation with MSSAO"
2020-10-18 19:27:51 -03:00
Juan Linietsky
d98261ab8f
Merge pull request #42077 from clayjohn/MSSAO
...
Replace SAO implementation with MSSAO
2020-10-18 18:34:43 -03:00
Juan Linietsky
e799a2ba45
Merge pull request #42201 from clayjohn/Vulkan-new-glow
...
Optimize Glow with local memory
2020-10-18 18:32:36 -03:00
clayjohn
366ee46774
Replace SAO implementation with MSSAO
2020-10-18 13:15:51 -07:00
clayjohn
63a34b93aa
Optimize Glow with local memory
2020-10-18 11:37:12 -07:00
Rémi Verschelde
d9e5c355e5
Merge pull request #41418 from clayjohn/Vulkan-aerial
...
Add aerial perspective to fixed fog
2020-10-18 17:32:19 +02:00
reduz
ee06a70ea6
Refactor MethodBind to use variadic templates
...
Removed make_binders and the old style generated binders.
2020-10-18 12:28:44 +02:00
Yuri Roubinsky
f402e1e675
Added VisualShaderNodeCurve to easy gather data from a CurveTexture
2020-10-18 09:57:15 +03:00
clayjohn
8c21c26fb5
Add aerial perspective to fixed fog
2020-10-17 10:53:07 -07:00
Dominik 'dreamsComeTrue' Jasiński
99c8a07919
TextEdit - fix valid bounds in 'set_line'. Fixes #41967
2020-10-17 17:59:15 +02:00
Rémi Verschelde
14e3d68dd9
Merge pull request #42778 from madmiraal/remove-get_layers
...
Remove old RigidBody get_layers() methods.
2020-10-15 18:40:21 +02:00
Paulb23
0d0a856ad5
Fixed main gutter not drawing on item toggle
2020-10-13 18:01:59 +01:00
Marcel Admiraal
a17fdaef09
Remove old RigidBody layers property and methods.
2020-10-13 16:59:49 +01:00
volzhs
9eaa5ffab5
Put unselected tabs back in TabContainer control
2020-10-13 22:05:26 +09:00
FIF15
0e7e25d488
Remove redundant property "enabled_focus_mode"
...
Fixes #41529 .
2020-10-13 10:04:37 +02:00
volzhs
cac4fedb2a
Respect Tree.set_icon_max_width size for drawing selection box
2020-10-13 10:38:32 +09:00
Rémi Verschelde
d22791c271
doc: Sync classref with current source
2020-10-12 10:58:02 +02:00
Pedro J. Estébanez
826af5b28a
Fix premature end of animation playing backwards
2020-10-10 21:37:28 +02:00
Yuri Roubinsky
f4eef287f9
Adds Metallic to spatial light input of visual shaders
2020-10-10 16:55:36 +03:00
reduz
26f5bd245c
Implement GPU Particle Collisions
...
-Sphere Attractor
-Box Attractor
-Vector Field
-Sphere Collider
-Box Collider
-Baked SDF Collider
-Heightmap Collider
2020-10-09 13:25:47 -03:00
PouleyKetchoupp
4686200f0e
Fix Popup crash in single window mode
...
focus_target->exclusive_child could be invalidated during the call to
focus_target->grab_focus(), now using the same logic with safe accesses
to focus_target.
2020-10-09 11:20:38 +02:00
Duroxxigar
8bfeb9d6ae
Added a more helpful error message when there is no current animation for the animation player
2020-10-06 01:21:23 -04:00
Rémi Verschelde
2e99d0b26f
glTF: Fix parsing image data with mimeType
undefined
...
The glTF 2.0 spec only makes `mimeType` mandatory for `bufferView` image data,
so the previous logic to handle URIs with base64-encoded images could fail if
`mimeType` is undefined.
The logic was documented and refactored to better handle the spec, notably:
- `uri` and `bufferView` are now mutually exclusive, and only the latter fails
if `mimeType` is undefined.
- `uri` with a file path will now respect the `mimeType` if defined, and thus
attempt loading the file with the specified format (even if its extension is
not the one expected for this format). So we can support bad extensions (PNG
data with `.jpg` extension) or custom ones (PNG data in `.img` file for
example).
- `uri` with base64 encoded data will infer MIME type from `data:image/png` or
`data:image/jpeg` if it was not documented in `mimeType` initially.
- `uri` with base64 encoded data, no `mimeType` and `application/octet-stream`
or `application/gltf-buffer` will fall back to trying both PNG and JPEG
loaders.
Fully fixes #33796 (and fixes up #42501 ).
2020-10-05 13:06:50 +02:00
Yuri Roubinsky
2d45f7ac87
Fix typo in VisualShaderNodeSample3D::generate_code
2020-10-04 10:34:58 +03:00
Rémi Verschelde
b5eea37fb0
Merge pull request #42518 from Duroxxigar/update-getter-and-setters
...
Updated getters and setters names for toplevel
2020-10-03 21:53:35 +02:00
Yuri Roubinsky
e3006d4064
Fix def parameter in Texture visual shader nodes for sky/particles modes
2020-10-03 22:20:45 +03:00
Paulb23
ee4a1c99a7
Switch from recursion to iterative for backfilling colour regions
2020-10-03 14:58:55 +01:00
Duroxxigar
4834e14493
Updated getters and setters names for toplevel
2020-10-02 19:09:01 -04:00
Marcel Admiraal
2bb0427662
Remove area or body from map before emitting signals.
2020-10-02 17:03:09 +01:00
Rémi Verschelde
19f72beebb
Merge pull request #42451 from Duroxxigar/rename-toplevel
...
Renamed toplevel to be top_level
2020-10-02 10:57:23 +02:00
Rémi Verschelde
7b18a7143b
Better validate CollisionShape3D config. warning after #38743
...
Relates to #42479 , though I don't think it would crash in the master version.
2020-10-02 09:41:55 +02:00
Yuri Roubinsky
dc713e149f
Fix VisualShaderNode::set_output_port_connected
2020-10-02 09:06:13 +03:00
Rémi Verschelde
f3e557780f
Merge pull request #37194 from lolligerjoj/expose_val_interp
...
Expose Animation::value_track_interpolate to GDscript
2020-10-01 15:27:32 +02:00
lolligerjoj
ff4af94414
Expose Animation::value_track_interpolate to GDscript
2020-10-01 14:27:09 +02:00
Rémi Verschelde
12091b39d2
Merge pull request #38743 from arrowinaknee/node-config-warnings
...
Update all get_configuration_warning() to retrieve warnings from the parent
2020-10-01 14:03:29 +02:00
Duroxxigar
b687ace7f9
Renamed toplevel to be top_level
2020-10-01 03:17:33 -04:00
Duroxxigar
85a8dbb7b6
Made toplevel a property for Node3D and CanvasItem
2020-10-01 02:43:30 -04:00
Danil Alexeev
02c0edac60
Improve appearance of [connection] and [editable] sections in .tscn files
2020-09-29 14:01:01 +03:00
Rémi Verschelde
c217498aa6
Merge pull request #41895 from 11thPenguin/master
...
Fix minor typo, gui_hid -> gui_hide
2020-09-29 10:35:12 +02:00
Rémi Verschelde
bebf424c80
Merge pull request #42078 from Chaosus/vs_rename_type
...
Renames Type to OpType in VisualShaderNodeMultiplyAdd
2020-09-29 10:34:22 +02:00
Meriipu
e8804b9978
Make the currently hovered control get updated on mouse-release
...
Previously, when the mouse was released after dragging a scrollbar,
its highlight was not dropped (if the mouse cursor was still inside
the viewport). This seems to be because the currently hovered control
only gets updated when the mouse is moved.
This commit fixes the dropping of the cosmetic highlight by running
the check for whether the currently hovered control has changed on
mouse-clicks, in addition to to the existing mouse-movements.
2020-09-28 16:04:01 +02:00
Rémi Verschelde
77ca3c20d8
Merge pull request #42092 from DashCell/dropping_file_on_parrent_directory_fix
...
Dropping file on parent directory fixed
2020-09-28 10:36:47 +02:00
Rémi Verschelde
5e9194086d
Merge pull request #35924 from doot24/fix_#35863
...
Fixed Gradient.remove_point not allowing fewer than two points.
2020-09-27 09:51:24 +02:00
Rémi Verschelde
96a51b108c
Merge pull request #42310 from Calinou/add-styleboxflat-shadow-property-hint
...
Add a property hint to StyleBoxFlat `shadow_size` for editor usability
2020-09-25 12:44:43 +02:00
Hugo Locurcio
feb4002017
Add a property hint to StyleBoxFlat shadow_size
for editor usability
...
This adds a visible range to the slider so it can be dragged more easily.
This closes #42309 .
2020-09-24 17:41:40 +02:00
Rémi Verschelde
f87c75f77b
Merge pull request #41934 from timothyqiu/parallax-ignore-zoom
...
Fixes ParallaxLayer offset when camera zoom is ignored
2020-09-24 15:23:24 +02:00
Rémi Verschelde
915ac7360a
Merge pull request #42066 from dalexeev/output_copy
...
Improvement for the Copy button in the Output Log
2020-09-24 15:18:59 +02:00
Rémi Verschelde
0c449aefa2
Merge pull request #42173 from nekomatata/popup-menu-click-delay
...
Fix popup menu item selected when opening the menu
2020-09-23 09:36:00 +02:00
Rémi Verschelde
77945a91d2
Merge pull request #42260 from kotelifelif/42255
...
CPUParticles emission shape values update dynamically
2020-09-23 09:34:48 +02:00
booer
113921b56c
Fixes updating CPUParticles emmision shape values
2020-09-23 14:17:47 +07:00
Rémi Verschelde
cadba267b5
Merge pull request #42203 from rcorre/physicsmat_hint
...
Fix hints on PhysicsMaterial bounce/friction.
2020-09-23 09:06:59 +02:00
Yuri Roubinsky
81a44a4145
Fix expressions nodes in visual shaders
2020-09-22 23:07:55 +03:00
Yuri Roubinsky
07fb960a88
Fix some bugs in visual shader editor
2020-09-21 22:19:20 +03:00
Ryan Roden-Corrent
6c18baee9c
Fix hints on PhysicsMaterial bounce/friction.
...
These values are only meaningful in the range 0 to 1.
Make sure the editor enforces reasonable values.
Fixes #42202 .
2020-09-19 18:44:49 -04:00
PouleyKetchoupp
54eaaf456f
Fix popup menu item selected when opening the menu
...
In order to allow selecting items by either holding left click, or click
to open and click again to select, mouse button release was invalidated
based on the amount of mouse motion.
This was causing issues in some scenarios where an item could be
selected while opening the menu if the mouse moved enough between button
press and release.
This case could happen in the language selection of the project manager,
especially on linux, because of the order and timing of the mouse
events on x11.
This change invalidates mouse release based on a timing condition rather
than moved distance to handle any case from the display server properly.
2020-09-18 20:45:59 +02:00
Rémi Verschelde
3e78963bb9
Fix typos with codespell
...
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2020-09-18 13:44:25 +02:00
Dashcell
1ac936f035
Dropping file on parrent dirrectory fixed
2020-09-16 14:53:22 -03:00
Rémi Verschelde
7f24914b9e
Merge pull request #36374 from kuruk-mm/tilemap_filter_set_and_update
...
TileMap: Set texture_filter and texture_repeat to generated CanvasItems...
2020-09-15 17:15:09 +02:00
Rémi Verschelde
6f0fa8519f
Merge pull request #41776 from EricEzaM/PR/tooltip-bugfixes
...
Tooltip flickering and targeting fixes.
2020-09-15 10:24:17 +02:00
Yuri Roubinsky
f137f14e1c
Renames Type to OpType in VisualShaderNodeMultiplyAdd
...
To prevent possible conflicts with C# and other languages.
2020-09-15 11:06:18 +03:00
Eric M
07cb95bbda
Tooltip flickering and targeting fixes.
2020-09-15 17:34:29 +10:00
Danil Alexeev
fb6eb21afc
Improvement for the Copy button in the Output Log
...
Now if no text is selected, pressing the Copy button copies the entire text.
2020-09-14 21:57:54 +03:00
Mateo Dev .59
bb7db2138b
TileMap: Set texture_filter and texture_repeat to generated CanvasItems and update when it changes
2020-09-12 11:49:38 -03:00
Rémi Verschelde
463879db56
Merge pull request #41995 from Rubonnek/disconnect-item-rect-changed
...
Disconnect item_rect_changed removing a child of GraphEdit
2020-09-12 15:26:46 +02:00
Rémi Verschelde
f29c112492
Merge pull request #41841 from madmiraal/fix-bit-fields
...
Remove bit fields and use fixed width integers instead.
2020-09-12 12:28:59 +02:00
Wilson E. Alvarez
d370ae9e1f
Disconnect item_rect_changed when removing a child of GraphEdit
2020-09-11 17:37:20 -04:00
Yuri Roubinsky
ca9b3e929b
Fix triplanar texture code generation in visual shaders
2020-09-11 18:23:26 +03:00
Yuri Roubinsky
01191178bf
Merge pull request #41955 from Chaosus/vs_performance_fix3
...
Improve performance of Add/Remove/Connect/Change nodes in visual shader
2020-09-11 16:24:11 +03:00
Yuri Roubinsky
8dbf3d7c44
Improve performance of Add/Remove/Connect/Change nodes in visual shader
2020-09-11 15:45:18 +03:00
Rémi Verschelde
a2a78a8066
doc: Sync classref with current source
...
Bind missing enums.
2020-09-11 12:22:10 +02:00
Marcel Admiraal
1bb65b2618
Remove bit fields and use fixed width integers instead.
2020-09-11 11:02:00 +01:00
Rémi Verschelde
9d9ee2d4c2
Merge pull request #41971 from nekomatata/richtextlabel-align-pointer
...
Fix RichTextLabel alignment for clickable regions
2020-09-11 09:39:48 +02:00
PouleyKetchoupp
b783fa1416
Fix RichTextLabel alignment for clickable regions
...
Fixes #41006 (regression from #39164 ).
The original alignment fix was limited to PROCESS_DRAW mode, which
caused some discrepancies with PROCESS_POINTER mode.
Now only PROCESS_CACHE is excluded with a condition a few lines above.
2020-09-11 08:14:26 +02:00
Paulb23
33ab9cd621
Move safe line color into editor
2020-09-10 20:35:28 +01:00
Paulb23
d18a90b8f0
Move ConnectionGutter to editor code_editor
2020-09-10 20:35:28 +01:00
Paulb23
7829fdc1d0
Add folding gutter to code_edit
2020-09-10 20:35:28 +01:00
Paulb23
4d7df24d46
Add main_gutter (breakpoints, bookmarks, execution lines) to code_edit
2020-09-10 20:35:28 +01:00
Paulb23
907f9f2a84
Changed line_edited_from(from) to lines_edit_from(from, to)
2020-09-10 20:35:28 +01:00
Paulb23
1353ed5e44
Added Line numbers to CodeEdit
2020-09-10 20:35:28 +01:00
Paulb23
c13d9eb6e5
Added gutter system to TextEdit
2020-09-10 20:35:28 +01:00
Paulb23
a0b409cb14
Add and convert editor to use CodeEdit
2020-09-10 20:35:27 +01:00
Rémi Verschelde
0819657c3b
Merge pull request #41954 from Calinou/raycast-rename-cast-to
...
Rename RayCast's `cast_to` property to `target_position`
2020-09-10 19:19:59 +02:00
Hugo Locurcio
a706c22db7
Rename RayCast's cast_to
property to target_position
...
`cast_to` is sometimes mistaken as a method rather than a property.
`target_position` makes it more obvious that it's a property.
2020-09-10 19:06:56 +02:00
Yetizone
d12ddf6567
scene_tree.h: Update header guard
2020-09-10 17:20:50 +03:00
Rémi Verschelde
1d70912080
Merge pull request #41890 from YeldhamDev/tabs_previous
...
Add 'get_previous_tab()' to 'Tabs'
2020-09-10 11:20:11 +02:00
Rémi Verschelde
58dcde344c
Merge pull request #41935 from Chaosus/vs_texture3d
...
Added Texture3D to visual shaders
2020-09-10 11:18:37 +02:00
Rémi Verschelde
0942af841c
Merge pull request #41920 from Chaosus/fix_colorpicker
...
Fix ColorPickerButton to apply changes after picker popup closed
2020-09-10 10:02:14 +02:00
Yuri Roubinsky
5ba8246cfb
Added Texture3D to visual shaders
2020-09-10 07:40:06 +03:00
Haoyu Qiu
5e2167631b
Fixes ParallaxLayer offset when ignore camera zoom
2020-09-10 11:08:20 +08:00
Hugo Locurcio
3e0226515e
Rename ShortCut to Shortcut which is more grammatically correct
...
See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980 .
2020-09-09 21:54:54 +02:00
Yuri Roubinsky
993ae871c7
Fix ColorPickerButton to apply changes after picker popup closed
2020-09-09 21:38:29 +03:00
Juan Linietsky
1ce46f2a3f
Merge pull request #41918 from reduz/implement-3d-textures
...
Implement 3D textures as import and resource format.
2020-09-09 14:40:22 -03:00
reduz
a674da4eec
Implement 3D textures as import and resource format.
2020-09-09 13:50:21 -03:00
Yuri Roubinsky
14a24fa19c
Improve performance for Show/Hide port preview in visual shaders
2020-09-09 19:24:55 +03:00
Yuri Roubinsky
ea49d8b9d5
Improve performance of Undo:change node position in visual shader
2020-09-09 11:29:40 +03:00
Jonah Stich
f6b14238c7
Fixed minor typo, gui_hid -> gui_hide.
2020-09-08 18:08:21 -07:00
Michael Alexsander
2b319889cb
Add 'get_previous_tab()' to 'Tabs'
2020-09-08 17:35:49 -03:00
Yetizone
701493ab33
mesh_library.h: Update header guard to reflect file name
2020-09-08 15:12:31 +03:00
Marcel Admiraal
79802b31a9
Check if old mouse column is still available.
2020-09-08 10:24:57 +01:00
Rémi Verschelde
0a8c5845e3
Merge pull request #41870 from nekomatata/fix-line-edit-enter-regression
...
Fix LineEdit not consuming enter events
2020-09-08 11:14:33 +02:00
PouleyKetchoupp
5c63dec36e
Fix LineEdit not consuming enter events
...
LineEdit should not return early when processing KEY_ENTER, so it can
consume the event properly.
Regression introduced by mistake while fixing enter events for Android
(PR #40487 - c0b394572f
)
2020-09-08 10:22:37 +02:00
Yuri Roubinsky
e50b2e58b2
Added active
boolean to particles mode output in visual shaders
2020-09-07 19:21:22 +03:00
Fabio Alessandrelli
2cb6b2ac6f
Merge pull request #38944 from Wavesonics/http-gzip
...
HttpRequest now handles gzipping response bodies
2020-09-07 17:03:19 +02:00
Juan Linietsky
82efb06aaa
Merge pull request #41840 from Chaosus/vs_particles
...
[WIP] Remakes particles in visual shaders
2020-09-07 10:43:03 -03:00
Rémi Verschelde
b4a831b42e
Merge pull request #41844 from madmiraal/fix-bitwise-sign-check
...
Use != 0 instead of > 0 when checking bit mask.
2020-09-07 13:07:02 +02:00
Yuri Roubinsky
dc6685d28f
Remakes particles in visual shaders
2020-09-07 13:33:51 +03:00
Yuri Roubinsky
e2aca7e047
Fix some broken visual shader nodes
2020-09-07 12:39:20 +03:00
Marcel Admiraal
f515e72348
Use != 0 instead of > 0 when checking bit mask.
2020-09-07 10:36:22 +01:00
Rémi Verschelde
753b2bd010
Merge pull request #41767 from lolleko/patch-1
...
Remove ArrayMesh::surface_remove declaration
2020-09-07 08:33:12 +02:00
Meriipu
44657db3e2
If the mouse is held on notification_wm_mouse_exit, do not drop focus
...
This fixes a bug where users of the scrollbar had to be very careful
not to move the mouse outside the viewport, otherwise the scrollbar
would drop its drag-action and stop scrolling until clicked again.
The existing behaviour had the side-effect of also dropping the
cosmetic highlighting of the scrollbar (in addition to the dragging),
for the specific case where the mouse was move outside the window.
The previous behaviour did nothing to remove the highlight if the
mouse was released (but not moved) inside the viewport.
This separate issue with the lingering highlight of the scrollbar
(until a mouse-movement action is performed inside the viewport) is
fixed in an immediate followup to this commit.
Closes bug #39634
2020-09-07 04:11:27 +02:00
reduz
d0bddf53c5
Implement manual particle emission and particle sub emitters.
2020-09-06 10:29:27 -03:00
Rémi Verschelde
c6b044903d
Merge pull request #41801 from EricEzaM/PR/popup-menu-errors-fix
...
Fixed get_usable_parent_rect() errors when initialising popup menus.
2020-09-06 10:05:40 +02:00
Eric M
13fd60572b
Fixed get_usable_parent_rect() errors when initialising popup menus.
2020-09-06 13:59:40 +10:00
Yuri Roubinsky
f188c41ffd
Cleanup constructor code in visual shader nodes
2020-09-05 16:13:38 +03:00
Rémi Verschelde
ff9195a905
Merge pull request #40649 from themvl/master
...
Fix bug where leading and trailing spaces werent taken into account with center and right allignment
2020-09-05 12:38:26 +02:00
Lorenz Junglas
9367310e2b
Remove ArrayMesh::surface_remove declaration
...
Removal was omitted in 449df8f688
2020-09-04 16:27:59 +02:00
Rémi Verschelde
21da779aee
Merge pull request #41689 from nathanfranke/fix-popupmenu-unresponsive
...
Fix PopupMenu unresponsive on right side of menu
2020-09-04 13:53:37 +02:00
Rémi Verschelde
44e89cb88f
Merge pull request #41758 from akien-mga/classref-sync
...
doc: Sync classref with current source
2020-09-04 13:23:20 +02:00
Rémi Verschelde
de284f931d
doc: Sync classref with current source
2020-09-04 10:43:11 +02:00
Marcel Admiraal
ce263c4ff6
Ensure assignment operators return by reference to avoid unnecessary copies.
2020-09-04 09:18:19 +01:00
bruvzg
80b8eff6aa
[Complex Test Layouts] Change String
to use UTF-32 encoding on all platforms.
2020-09-03 19:56:24 +03:00
Rémi Verschelde
0864f12f0d
Merge pull request #41044 from hoontee/master-4
...
Implement CollisionShape3D.make_convex_from_siblings()
2020-09-03 16:29:08 +02:00
Rémi Verschelde
d84954a281
Merge pull request #41459 from Paulb23/nested_color_regions
...
Fix colour region end key seach and start key order
2020-09-03 11:32:04 +02:00
Yuri Roubinsky
58f0aa44d1
Merge pull request #41724 from Chaosus/vs_fix_particles
...
Restore Particles functionality in visual shader
2020-09-03 11:18:09 +03:00
Yuri Roubinsky
c291b1d23c
Restore Particles functionality in visual shader
2020-09-03 10:22:00 +03:00
Rémi Verschelde
1956c7ad33
Merge pull request #41533 from Chaosus/vs_fix_specular
...
Fix specular render_mode for visual shaders
2020-09-03 07:36:58 +02:00
Rémi Verschelde
2a8531cc56
Merge pull request #41456 from nekomatata/x11-fix-popups
...
Popup fixes for X11 display server
2020-09-03 00:09:19 +02:00
Adam Brown
6584db1538
HTTPRequest now accepts gzip
...
Added request_raw to HttpRequest
Added decompress_dynamic to Compression class
Added decompress_dynamic to BytePoolArray
Merge doc fix
revert
2020-09-02 12:59:59 -07:00
Juan Linietsky
f5f27bacdb
Re-Implement GPU particles on master.
...
-No new features yet
-Unlike godot 3.x, sorting happens using GPU
2020-09-02 21:37:11 +02:00
Nathan Franke
034e123c1d
Fix PopupMenu unresponsive on right side of menu
2020-09-02 01:24:10 -05:00
Rémi Verschelde
7844775a76
Revert "Updated LineEdit to address #41278 "
...
This reverts commit 71febfd6e2
.
2020-09-01 14:04:37 +02:00
Rémi Verschelde
877246a78e
Merge pull request #41505 from SekoiaTree/neg-get-child
...
Made get_child support negative indexes
2020-09-01 12:35:55 +02:00
SekoiaTree
bdf614d3d7
Made get_child support negative indexes, with documentation
2020-09-01 11:34:36 +02:00
EricEzaM
73c7fb2118
PopupMenu rework and enhancements
...
Many scrolling behaviour improvements and the ability to limit popup size.
2020-09-01 17:56:38 +10:00
mvl
4318ad94ac
Fix bug where leading and trailing spaces werent taken into account with center and right allignment.
2020-08-31 20:09:28 +02:00
Rémi Verschelde
837a1f8533
Merge pull request #41440 from MrSquigy/master
...
Reorder sprite h_frames & v_frames
2020-08-31 15:09:37 +02:00
Jonathan Vice
28326aec60
Reorder sprite h_frames & v_frames
2020-08-31 14:55:49 +02:00
Rémi Verschelde
a70038293c
Merge pull request #41520 from Tony-Goat/patch-1
...
Added string length checking to LineEdit.set_text()
2020-08-31 13:41:45 +02:00
Rémi Verschelde
74dbcf1e4d
Merge pull request #30148 from zaksnet/fix-texture-editor
...
Adds automatic update for StyleBoxTexture > region_rect
2020-08-31 13:25:28 +02:00
Andrii Doroshenko (Xrayez)
528056a3c5
Make AnimatedTexture.MAX_FRAMES
public
...
The constant is already exposed in GDScript, but not in C++.
This information is useful for implementing animated texture
resource importers via modules.
2020-08-30 23:44:41 +03:00
Zak
7d7727bade
Adds automatic update for region_rect
...
When changing the texture region for a StyleBox, the regions was not updating automatically in the Texture editor.
2020-08-29 19:46:52 +02:00
Yuri Roubinsky
4e2d699745
Fix specular render_mode for visual shaders
2020-08-28 12:50:46 +03:00
Rémi Verschelde
6875c9d684
Merge pull request #40302 from verdog/camera-bounds-fix
...
Fix Camera2D Incorrect Preview Bounds
2020-08-27 09:58:24 +02:00
Tony-Goat
71febfd6e2
Updated LineEdit to address #41278
...
Updated set_max_length() function to actually pull a substring of the current text so it's not all thrown away when the new max length is shorter than the current length.
2020-08-26 11:19:24 -06:00
PouleyKetchoupp
bb306750ce
Fix WINDOW_EVENT_FOCUS_IN for popups on Windows
...
On Windows, WINDOW_EVENT_FOCUS_IN was never sent by the display server
for popups, because WM_ACTIVATE events are received during the call to
_update_window_style, which happened before the callbacks were set.
This was causing some issues with the way Popup is now handling closing on
parent focus.
Now _update_window_style is only called during show_window, after Window
initialized callbacks.
2020-08-26 18:14:36 +02:00
Rémi Verschelde
ba7738a3b2
Merge pull request #41476 from nekomatata/subviewport-node-compatibility
...
Add Viewport/SubViewport node compatibility
2020-08-24 18:02:07 +02:00
PouleyKetchoupp
e869e6eb0c
Add Viewport/SubViewport node compatibility
2020-08-23 20:18:11 +02:00
Marcel Admiraal
91bf9a91dd
Ensure node's area tree signals are disconnected when clearing monitoring,
...
even if nodes are no longer in the tree.
2020-08-23 11:13:02 +01:00
Paulb23
6cdcdbc242
Fix color region end key seach and start key order
2020-08-22 19:55:44 +01:00
PouleyKetchoupp
6d1ef8efac
Fix popup closed when an ancestor window is focused
...
Previously, only the direct parent were taken into account.
Popups like contextual menus could stay open if an ancestor which is
not a direct parent was focused.
Reproduction steps (any platform):
- Select a node in the scene tree
- Left click the node to start renaming
- Right click to open the copy/paste contextual menu
- Left click in the scene tree to deselect the node
Also closing popup when focusing out of the application, without waiting
for the parent to get focus to do so.
2020-08-22 18:42:42 +02:00
PouleyKetchoupp
2b49cb0b73
Re-apply "Fixes for windows in X11 tiling WMs"
...
From PR #38727 which was reverted in #41373 because of regressions in Ubuntu
with Gnome.
Co-authored-by: Lorenzo Cerqua <lorenzocerqua@tutanota.com>
2020-08-22 18:42:42 +02:00
Juan Linietsky
4e52c75a98
Merge pull request #41345 from clayjohn/VULKAN-sky-fog
...
Add fog to sky shaders
2020-08-20 09:50:52 -03:00
clayjohn
9d341acf2d
Add fog to sky shaders
2020-08-19 22:58:14 -07:00
Juan Linietsky
9c5c1635b2
Revert "Fixes for windows in X11 tiling WMs"
2020-08-19 12:37:59 -03:00
Rémi Verschelde
a17fba3f21
Merge pull request #41302 from Jlalond/divide-by-zero
...
Update ResourceLoaderText::load to not update progress if resources a…
2020-08-16 22:37:27 +02:00
jjjlalonde@gmail.com
94b09da9a1
Update ResourceLoaderText::load to not update progress if resources are 0
...
Include check in other progress update statement
Update additional progress update statement
2020-08-16 13:12:21 -07:00
Andrii Doroshenko (Xrayez)
6f426c3360
Port ClassDB tests to use doctest
...
Extracted the most minimal core initialization functionality from
`setup()` and `setup2()` so that `ClassDB` could be tested properly
(input, audio, rendering, physics etc, are excluded).
Display and rendering servers/singletons are not initialized at all.
Due to the fact that most subsystems are disabled, fixed various crashes in the
process (in order):
- `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while
`register_scene_types()`);
- `make_default_theme` which depends on `RenderingServer`;
- `XRServer` singleton access while calling `register_modules_types()`;
- hidden bug in a way joypads are cleaned up (MacOS and Linux only).
Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`.
ClassDB tests:
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-08-16 16:41:02 +03:00
Hugo Locurcio
8891579068
Add a debanding property to Viewport
...
It can be enabled in the Project Settings
(`rendering/quality/screen_filters/use_debanding`). It's disabled
by default as it has a small performance impact and can make
PNG screenshots much larger (due to how dithering works).
It will also slightly brighten the scene's dark areas.
As a result, it should be enabled only when banding is noticeable enough.
This closes #17006 .
2020-08-14 23:12:33 +02:00
Cheeseness
1f159306ed
Skip indentation of empty lines when indenting a selection.
2020-08-14 23:53:34 +10:00
Rémi Verschelde
044b3d0ed3
Merge pull request #37769 from HellonLegs/master
...
solved ctrl + alt + special character Issue #6851
2020-08-14 13:03:07 +02:00
Rémi Verschelde
fac2bb99ac
Merge pull request #38223 from EricEzaM/spinbox-update-lineedit-after-bad-input
...
Fixed bug where spinbox would not update to it's actual value after non-numeric input
2020-08-14 12:16:32 +02:00
Juan Linietsky
6a5ecfdef1
Restored fog (non volumetric).
...
Uses a simpler and more intuitive implementation based on density.
Its less flexible than before, but its easier to get nice results.
2020-08-13 22:09:22 -03:00
Juan Linietsky
079ca220e1
Added volumetric fog effect.
2020-08-13 11:28:45 -03:00
Tomasz Chabora
677796a2c3
Expose NOTIFICATION_POST_ENTER_TREE
2020-08-12 13:31:32 +02:00
Rémi Verschelde
dc90b17691
Merge pull request #41166 from somnathsarkar/gradient-fix
...
Sort points in a Gradient for color and offset updates.
2020-08-12 12:38:46 +02:00
Somnath Sarkar
d5d832417e
Sort points in a Gradient for color and offset updates.
2020-08-12 01:55:41 -04:00
Rémi Verschelde
5ffbc7d678
Merge pull request #40964 from DrRevert/debug-mesh-lines-const
...
Change Shape3D::get_debug_mesh_lines into const methods
2020-08-11 19:02:19 +02:00
Rémi Verschelde
6a181efaf3
Merge pull request #41145 from nekomatata/cpu-particle-emission-mask-velocity
...
Fix 2D Particle velocity with directed emission mask
2020-08-11 17:02:44 +02:00
Umang Kalra
cec21ab82c
Fix RichTextLabel center alignment bug
...
Fixes #40207 .
2020-08-11 12:11:38 +02:00
Rémi Verschelde
bb0c2d4677
Merge pull request #41139 from nekomatata/text-edit-disable-vk
...
Add option to disable virtual keyboard for TextEdit
2020-08-11 11:48:37 +02:00
PouleyKetchoupp
1c231cacb3
Fix 2D Particle velocity with directed emission mask
...
Changed CPU velocity calculation for EMISSION_SHAPE_DIRECTED_POINTS
to follow the same logic as in the GPU version:
mat2 rotm;
rotm[0] = texelFetch(emission_texture_normal, emission_tex_ofs, 0).xy;
rotm[1] = rotm[0].yx * vec2(1.0, -1.0);
VELOCITY.xy = rotm * VELOCITY.xy;
Now both CPUParticles2D & CPUParticles3D (z disabled) show the same results
as their GPU counterparts and take the initial velocity settings into account.
2020-08-09 18:16:53 +02:00
PouleyKetchoupp
095331fae4
Add option to disable virtual keyboard for TextEdit
...
Adding support for disabling virtual keyboard on mobile platforms, in
order to make it consistent with LineEdit.
It allows implementing a custom virtual keyboard.
2020-08-09 11:06:36 +02:00
Paulb23
5cf2cf8646
Fix colour region continuation over blank lines, issue 41120
2020-08-08 15:36:46 +01:00
hoontee
5f86aeffe2
Implement CollisionShape3D.make_convex_from_siblings()
2020-08-05 04:13:33 -05:00
George Marques
b8671b61fc
Fix _input being mistakenly called twice on script
...
Instead it calls both the script and the native method.
2020-08-03 08:40:08 -03:00
Arkadiusz Marcin Kołek
8e1c9ff1c1
Shape3D::get_debug_mesh_lines const methods
2020-08-02 11:10:43 +02:00
opl-
48d55e46d0
Fix window max_size acting as min_size
2020-07-31 17:38:34 +02:00
Yuri Roubinsky
4d52456613
Fix small reconnection bug in visual shader
2020-07-31 10:40:05 +03:00
Paulb23
51dd4792d7
Fix TextEdit line width cache not being updated
2020-07-29 21:42:38 +01:00
Brian Semrau
69d1c48b73
Fixed shader editor comment highlighting
2020-07-28 15:16:24 -04:00
Yuri Roubinsky
cf03f90fa8
Merge pull request #40785 from Chaosus/vs_uniform_ref
...
Added UniformRef visual shader node
2020-07-28 16:17:37 +03:00
Yuri Roubinsky
7ddaff47a3
Added UniformRef visual shader node
2020-07-28 14:44:53 +03:00
Rémi Verschelde
eb0a67c6b8
Merge pull request #40754 from Chaosus/vs_default_uniforms
...
Added default value for uniforms in visual shaders
2020-07-28 13:40:49 +02:00
Rémi Verschelde
a5f6c24734
Merge pull request #40768 from ConorLPBoyle/skeletonik-reload-goal-fix
...
Fixed reload_goal not being called when SkeletonIK3D::start is invoke…
2020-07-28 09:12:45 +02:00
Aaron Franke
56e2c6c704
Make all String float conversion methods be 64-bit
2020-07-27 18:38:53 -04:00
George Marques
5cbd032309
Fix input after removing multilevel calls
2020-07-27 15:23:57 -03:00
ConorLPBoyle
fa4d9c9446
Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true
2020-07-27 20:18:16 +03:00
Yuri Roubinsky
8fefdcf113
Added default value for uniforms in visual shaders
2020-07-27 15:44:22 +03:00
Yuri Roubinsky
167f033782
Optimize code generation for fresnel node in visual shaders
2020-07-27 11:35:53 +03:00
Rémi Verschelde
d7e00a20a6
Merge pull request #40724 from KoBeWi/weird_condition_ 🤔
...
Fix ultra long node names
2020-07-26 21:58:06 +02:00
Rémi Verschelde
b19b896e06
Merge pull request #40487 from nekomatata/virtual-keyboard-enter-fixes
...
Fix Return key events in LineEdit & TextEdit on Android
2020-07-26 20:25:53 +02:00
PouleyKetchoupp
8c05dadcff
Fix Return key events in LineEdit & TextEdit on Android
...
Depending on the device implementation, editor actions could be
received with different action ids or not at all for multi-line.
Added a parameter to virtual keyboards to properly handle single-line
and multi-line cases in all situations.
Single-line:
Input type set to text without multiline to make sure actions are sent.
IME options are set to DONE action to force action id consistency.
Multi-line:
Input type set to text and multiline to make sure enter triggers new lines.
Actions are disabled by the multiline flag, so '\n' characters are
handled in text changed callbacks.
2020-07-26 20:06:07 +02:00
Rémi Verschelde
3842e8c465
Merge pull request #38727 from Riteo/tiling-wm-issues-tests
...
Fixes for windows in X11 tiling WMs
2020-07-26 17:41:28 +02:00
Rémi Verschelde
b2096ba53e
Merge pull request #40670 from vnen/remove-multilevel-call
...
Remove multilevel calls
2020-07-26 17:09:41 +02:00
Tomasz Chabora
d3f2062d86
Fix ultra long node names
2020-07-26 15:29:50 +02:00
Rémi Verschelde
9856c8fda4
Merge pull request #40434 from naithar/feature/ios-moltenVK
...
[iOS] Basic Vulkan/Metal Support
2020-07-26 11:18:01 +02:00
Yuri Roubinsky
44c90e66d0
Merge pull request #40715 from Chaosus/vs_fix_texture_uniform_node
...
Removes redundant code generation in VisualShaderNodeTextureUniform
2020-07-26 09:43:28 +03:00
Yuri Roubinsky
5dfef9d8bc
Removes redundant code generation in VisualShaderNodeTextureUniform
2020-07-26 04:28:07 +03:00
Sergey Minakov
6e550e90bf
GUI ScrollBar: possible fix for scrolling
...
Use of unmodified value returned by 'screen_is_touchscreen' to be used in determening if scroll bar should be scrolled
2020-07-25 21:54:56 +02:00
Rémi Verschelde
6f292f906e
Merge pull request #38900 from bruvzg/docs_ignore_os_spec_def_vals
...
Docs: Ignore OS specific values (constants, project settings, properties)
2020-07-25 18:54:25 +02:00
George Marques
2b9d9bc364
Remove multilevel calls
...
In general they are more confusing to users because they expect
inheritance to fully override parent methods. This behavior can be
enabled by script writers using a simple super() call.
2020-07-24 14:13:58 -03:00
Rémi Verschelde
27d1209282
Merge pull request #38088 from YeldhamDev/name_tooltips_tweaks
...
Small naming and tooltip tweaks
2020-07-24 13:57:13 +02:00
Rémi Verschelde
513b39882a
Merge pull request #40436 from DanielZTing/master
...
Evenly distribute stretched Nodes in BoxContainer
2020-07-24 13:47:18 +02:00
Michael Alexsander
5643d2e3fe
Small naming and tooltip tweaks
2020-07-23 20:17:43 -03:00
Tomasz Chabora
e1a1bb0a6e
Keep transition value when replacing key
2020-07-23 22:59:04 +02:00
Rémi Verschelde
a30bac94cc
Merge pull request #39737 from Cevantime/add_force_caret_displayed_to_line_edit
...
add force caret display to line edit
2020-07-23 18:02:51 +02:00
Lorenzo Cerqua
d670a49612
DisplayServer: separate window showing into another function
...
When creating a window, Godot would first register it to the WM(show it) and then set its flags.
This works fine on a floating WM, but on tiling WMs as soon as a window gets registered
the WM immediately acts on the window by scaling it up and treating it as a generic window,
being registered without any special flags.
This commit separates the showing of the window into another function and calls it after the most important flags are set,
making windows with special flags(eg. all popups) work again on tiling WMs.
Fixes #37930
2020-07-23 07:58:10 +02:00
Rémi Verschelde
1ab0644532
Merge pull request #40217 from theoway/visible_line_count_fix
...
Fixes the get_visible_line_count() of rich text label
2020-07-22 09:50:26 +02:00
Rémi Verschelde
d8c3fba1d4
Merge pull request #40588 from nekomatata/virtual-keyboard-disable
...
Add option to disable virtual keyboard for LineEdit
2020-07-22 09:33:47 +02:00
PouleyKetchoupp
0aa56e3ab8
Add option to disable virtual keyboard for LineEdit
...
Co-authored-by: Alexander Holland <alexander.holland@live.de>
2020-07-22 08:19:05 +02:00
Rémi Verschelde
a5fb445121
Merge pull request #40450 from asmaloney/spelling
...
Fix spelling & grammar in comments, docs, and messages
2020-07-21 22:14:04 +02:00
Andy Maloney
4dda62f591
Fix spelling & grammar in comments, docs, and messages
2020-07-21 15:17:23 -04:00
Rémi Verschelde
01fb1f189f
Merge pull request #40512 from yrk06/ExposeInertiaTensorMaster
...
Add Method get_inverse_inertia_tensor
2020-07-21 16:49:24 +02:00
Yerik
a91103ac89
Add Method get_inverse_inertia_tensor
2020-07-21 11:33:41 -03:00