Hugo Locurcio
d4bd107fd5
Allow selecting multiple files in the editor translation/remap dialogs
...
This makes it faster to add several translations.
The undo/redo messages were also tweaked to give better context.
2020-12-29 11:48:30 +01:00
Rémi Verschelde
edccc0bbdf
Merge pull request #44759 from Huberion/master
...
Fix Scrollbar range calculation error
2020-12-29 11:05:44 +01:00
Rémi Verschelde
859873c908
Merge pull request #44782 from Calinou/editor-add-3d-selection-box-setting
...
Add an editor setting for the 3D selection box color
2020-12-29 10:40:13 +01:00
Rémi Verschelde
09212fba1e
Fix missed renamings from empty() to is_empty()
...
Those were missed in #44401 or added by later PRs.
2020-12-29 09:55:07 +01:00
Hugo Locurcio
8221037be0
Add an editor setting for the 3D selection box color
...
A restart is required to apply the setting change.
2020-12-29 07:35:59 +01:00
Rémi Verschelde
6cebb8c117
Merge pull request #44586 from madmiraal/rename-stepify
...
Rename Math::stepify to snapped
2020-12-28 21:46:43 +01:00
Rémi Verschelde
44357ddc28
Editor: Fix invalid use of Node::get_viewport() after rename of EditorNode::get_viewport()
...
Fixes #44761 , was a regression from #44524 .
The PR passed CI because EditorNode::get_viewport() used to shadow Node::get_viewport()
(which was a bug in itself, fixed by #44524 ), so once it was renamed the existing code
relying on it fell back to the now available Node::get_viewport().
This might bite some thirdparty modules too.
2020-12-28 19:51:39 +01:00
Rémi Verschelde
4ca98c7a35
Merge pull request #44183 from madmiraal/box_shape-size
...
Use a size Vector for adjusting the size of Rectangles and Boxes
2020-12-28 16:06:50 +01:00
Rémi Verschelde
058f3fe069
Merge pull request #44149 from madmiraal/rename-tangent-orthogonal
...
Rename Vector2.tangent() to Vector2.orthogonal()
2020-12-28 16:00:12 +01:00
BiBi
849a8b5f58
Fix Scrollbar range calculation error
...
When zoomed in, the right and bottom edges of the resource image will be outside the viewing area.
2020-12-28 22:49:18 +08:00
Rémi Verschelde
8f4c4bb610
Merge pull request #44434 from madmiraal/rename-camera3d-near-and-far
...
Rename Camera3D near and far getters and setters
2020-12-28 14:57:31 +01:00
Rémi Verschelde
76d4fab3f3
Merge pull request #44524 from madmiraal/rename-editor-viewport
...
Rename EditorInterface get_editor_viewport to get_editor_main_control
2020-12-28 14:54:50 +01:00
Rémi Verschelde
feb4e5ed2c
Merge pull request #44569 from madmiraal/rename-unselect-deselect
...
Rename unselect to deselect
2020-12-28 14:53:43 +01:00
Marcel Admiraal
b743a2ef3c
Rename Math::stepify to snapped
2020-12-28 13:01:30 +00:00
Marcel Admiraal
5b937d493f
Rename empty() to is_empty()
2020-12-28 10:39:56 +00:00
Rémi Verschelde
783ec77dbf
Merge pull request #44500 from Calinou/editor-gizmo-hover-brightness-variable
...
Move the brightness factor for highlighted 3D gizmos to a variable
2020-12-27 23:16:47 +01:00
Hugo Locurcio
507e9b12a4
Move the brightness factor for highlighted 3D gizmos to a variable
...
See
8522ac7711 (r45230326)
.
2020-12-27 22:20:36 +01:00
Rémi Verschelde
2f7980c0fe
Merge pull request #44700 from VedatGunel/fix-title
...
Fix incorrect title in Inherit dialog
2020-12-27 21:47:44 +01:00
kobewi
e0e55a8358
Fix Layout menu not working
2020-12-27 20:11:36 +01:00
Hugo Locurcio
b188913384
Color 3D editor frame time labels depending on the performance level
...
This provides easier visual grepping for each value
(CPU time, GPU time, FPS).
2020-12-26 22:59:46 +01:00
Vedat Günel
13da314a64
Fix incorrect title and button text in Inherit dialog
2020-12-26 20:22:20 +03:00
Yuri Roubinsky
8c2363922e
Makes strings translatable on right-click menu in visual shader
2020-12-25 16:43:39 +03:00
Lyuma
d976003b16
Fix blendshapes and calculation of bone_aabbs
...
Blendshapes without a skeleton already worked.
However, due to a faulty ERR_FAIL_COND, it was impossible to create a mesh with both bones and blendshapes.
This also fixes an assumption that all surfaces reference the same number of bones as surface 0.
2020-12-24 00:01:07 -08:00
Rémi Verschelde
c4c211c3b7
Merge pull request #44605 from madmiraal/rename-control-margin
...
Rename Control margin to offset
2020-12-23 18:24:00 +01:00
Marcel Admiraal
4b8b803931
Rename Control margin to offset
2020-12-23 06:25:56 +00:00
K. S. Ernest (iFire) Lee
4b4efd2674
Add exporting glTF2.
...
* Support KHR_texture_transform.
* Support exporting glTF2
* Support exporting instanced scenes
* Extract into a gltf state and gltf document
* Add a tools menu for exporting gltf2
2020-12-22 16:56:28 -08:00
Rémi Verschelde
8ad0ff8ae5
Merge pull request #44487 from bruvzg/ctl_fixes_2
...
[CTL] Fix RTL scrolling and tabs selection.
2020-12-23 01:15:29 +01:00
Michael Alexsander
ed488b72a6
Fix filename disambiguation on scripts in certain occasions
2020-12-22 17:27:06 -03:00
Rémi Verschelde
6e43c68e40
Merge pull request #44182 from clayjohn/ASSAO
...
Replace SAO with ASSAO as Godot's new SSAO
2020-12-22 11:27:25 +01:00
clayjohn
44f8922305
Port ASSAO to Godot to replace SAO
2020-12-21 23:08:59 -08:00
Marcel Admiraal
7b293eddfb
Rename unselect to deselect
2020-12-21 10:26:41 +00:00
bruvzg
1adea98d07
Use integer text position in scroll container, TextEdit and canvas editor, to ensure sharp text rendering.
...
Use integer font align/advance with any font scaling, to ensure sharp text rendering.
2020-12-21 07:49:27 +02:00
Hugo Locurcio
114c1a78d9
Tweak the editor CheckButton "presed" appearance to be more recognizable
...
The blue accent color is now used, which matches the default editor
accent color.
It doesn't change to match the currently configured accent color
automatically, but doing so would require modifying the CheckButton
class a lot for little benefit.
2020-12-20 22:32:37 +01:00
Michael Alexsander
221738fb81
Disable "Commit" button in VCS plugin if there's no commit message
2020-12-20 14:52:26 -03:00
Marcel Admiraal
ecf8ae5bcf
Rename Camera3D near and far getters and setters
...
Renames:
- get_znear() -> get_near()
- set_znear() -> set_near()
- get_zfar() -> get_far()
- set_zfar() -> set_far()
2020-12-20 13:46:57 +00:00
Pedro J. Estébanez
b7367ac426
Add animation reset track feature
...
As a bonus, to have consistency between use Beziers and create insert tracks, use Beziers also gets a default via editor settings that is used when the confirmation dialog is disabled, instead of just falling back to creating non-Bezier tracks.
2020-12-20 12:45:08 +01:00
Rémi Verschelde
e9d12f9e4e
Merge pull request #44521 from madmiraal/rename-rect2-clip
...
Rename Rect2 and Rect2i clip() to intersection()
2020-12-19 21:32:14 +01:00
Rémi Verschelde
93acaca8ca
Merge pull request #44528 from Janglee123/no-commit-msg-pre-fill
...
Removed default commit message
2020-12-19 21:29:29 +01:00
janglee
718227df6b
Removed default commit message
2020-12-20 00:09:18 +05:30
Marcel Admiraal
e1128431de
Rename EditorInterface get_editor_viewport to get_editor_main_control
2020-12-19 14:17:42 +00:00
Hugo Locurcio
7ae487d2bb
Increase the default Camera Zfar to 4000
...
This makes it possible to view far away objects without
having to tweak any settings. This results in a more usable
editor when working on large-scale levels.
This change should have no impact on performance, but note that
Z-fighting will be visible at a distance. This can be made less
visible by increasing the Znear value (however, doing so will cause
nearby surfaces to disappear).
This change was also applied to the editor, but it will only
apply to newly created scenes.
This also changes the default camera settings in the glTF importer
to match the Camera node's defaults.
2020-12-19 14:52:44 +01:00
Marcel Admiraal
2df9a8ccad
Rename Rect2 and Rect2i clip() to intersection()
2020-12-19 12:59:08 +00:00
Rémi Verschelde
bb53e35ab8
Merge pull request #44326 from AndreaCatania/AndreaCatania-patch-5
...
Fixed EditorPropertyText change signal emission.
2020-12-19 13:10:05 +01:00
reduz
7bf90c7888
Improved shadow rendering efficiency
...
-Do not bind attributes that are not needed
-Improve a bit more how meshoptimizer interacts with Godot
2020-12-18 19:47:32 -03:00
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
Yuri Roubinsky
89ed0323b9
Show constructor arguments in Search Help panel (for basic types)
2020-12-18 12:21:41 +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
Rémi Verschelde
e2c0082b6a
Merge pull request #44301 from pycbouh/show-count-find-in-files
...
Display the number of results for global search
2020-12-17 10:04:50 +01:00
Rémi Verschelde
fb2465b3c8
Merge pull request #44410 from KoBeWi/project--tools--thisPR
...
Make tool menu plugins use Callables for callback
2020-12-16 22:04:39 +01:00
kobewi
889f5e44ef
Make tool menu plugins use Callables for callback
2020-12-16 20:23:51 +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
c514cc5822
Merge pull request #44429 from mbrlabs/rot-gizmo-handle
...
Changed the rotation gizmo handle to use the active axis color
2020-12-16 15:48:55 +01:00
Marcus Brummer
ec97962261
Changed the rotation gizmo handle to use the active axis color
2020-12-16 14:32:02 +01:00
Rémi Verschelde
999b38cecd
Merge pull request #44366 from gongpha/fix-texture3d-texturearray-icon-rasterizing
...
Improve Texture3D and TextureArray icons
2020-12-16 14:19: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
Rémi Verschelde
f9d922b057
Merge pull request #36530 from KoBeWi/text_with_backdrop
...
Add outline to ruler tool
2020-12-15 13:00:15 +01:00
Rémi Verschelde
a8df739d7e
Merge pull request #44384 from Calinou/increase-manipulator-gizmo-opacity
...
Increase the default 3D manipulator gizmo opacity for better visibility
2020-12-15 12:57:52 +01:00
Hugo Locurcio
8522ac7711
Increase the default 3D manipulator gizmo opacity for better visibility
...
- Brighten gizmos when highlighted to make the difference between a
non-highlighted and a highlighted gizmo more visible.
- Tweak the manipulator gizmo size property hint.
2020-12-14 23:44:51 +01:00
Tomasz Chabora
f2751f47b0
Add outline to ruler tool
2020-12-14 23:29:22 +01: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
gongpha
fd4939111e
Improve Texture3D and TextureArray icons
2020-12-14 20:00:42 +07: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
c1d261fdb0
[Complex Text Layouts] Add variable fonts support.
2020-12-13 18:43:39 +02:00
フラカノ
d0edc83135
Texture import 'streamed' property should be bool
2020-12-12 20:32:39 +01:00
Andrea Catania
ed1f208ec4
Fixed EditorPropertyText change signal emission.
2020-12-12 19:22:47 +01:00
Yuri Sizov
7c0d682951
Display the number of results for global search
2020-12-11 19:13:33 +03:00
bruvzg
6b6f101983
[Complex Text Layouts] Refactor RichTextLabel.
2020-12-11 09:48:49 +02:00
jeffuntildeath
4f171afecc
Snap To Floor improperly offsets node
...
fix for issue #44282
AABB for collision geometry was being calculated based on parent nodes transform without consideration for collision geometries translation.
Also hopefully clarified logic for selecting starting point for ray cast
2020-12-10 20:36:51 -06:00
Rémi Verschelde
9263f8eb4b
Image: Rename PVRTC{2,4} to PVRTC1_{2,4}, drop COMPRESS_PVRTC2
...
We haven't had a proper implementation for COMPRESS_PVRTC2 (which is PVRTC1 2-bpp) in years,
so let's drop it instead of keeping a compress type which doesn't work.
The other enum values were renamed to clarify that our PVRTC2 and PVRTC4 are respectively
PVRTC1 2-bpp and PVRTC1 4-bpp. PVRTC2 2-bpp and 4-bpp are not implemented yet.
2020-12-10 23:14:04 +01:00
Rémi Verschelde
1a31274855
PVRTC: Move compress func to modules/pvr
, drop obsolete PVRTexTool code
...
The code we had for PVRTexTool doesn't work as it's not compatible with current
PVRTexTool CLI options, and likely hasn't been for years.
Instead, we have our own vendored pvrtccompressor thirdparty library which all
users have thus de-facto been using. This commit moves the compress code to
`modules/pvr` where it belongs.
There's no proper compress function for PVRTC 2-bit format, that's a bug that
will need to be fixed (currently it's compressed as 4-bit format even if you
use Image::FORMAT_PVRTC2).
Fixes #28669 .
2020-12-10 22:08:01 +01:00
Rémi Verschelde
d26cbc41a6
i18n: Sync translations with Weblate
...
(cherry picked from commit 3e20a98503
)
2020-12-10 14:50:29 +01:00
Rémi Verschelde
7dc41ff310
FileSystemDock: List conflicting files on move
...
Fixes #24167 .
2020-12-10 12:53:56 +01:00
Rémi Verschelde
d4d05783d6
Merge pull request #44248 from Nickswoboda/fix-dragging-0-items
...
Fix scene being modified when arrows are pressed with no node selected
2020-12-10 11:15:34 +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
Rémi Verschelde
47538ef9a4
Merge pull request #44234 from jeffuntildeath/master
...
fix for snap to floor editor crash bug
2020-12-10 10:52:24 +01:00
Nick Swoboda
66827337fd
Fix scene being modified when arrows are pressed with no node selected
2020-12-09 16:52:12 -08:00
jeffuntildeath
52f6e0b5ad
fix for snap to floor editor crash bug
...
fix for issue #44231 : snap_selected_nodes_to_floor() results in an editor
crash when a child collisionshape has invalid shape object
2020-12-09 12:09:41 -06:00
Rémi Verschelde
bc30df831c
Merge pull request #44229 from YeldhamDev/audiostreammp3_icon
...
Add icon for 'AudioStreamMP3' resource
2020-12-09 17:39:33 +01:00
Michael Alexsander
49ae1cba0c
Add icon for 'AudioStreamMP3' resource
2020-12-09 13:19:33 -03:00
Marcus Brummer
0e4f2ca860
Asset Library: Scroll up the ScrollContainer after page load
2020-12-09 15:24:26 +01:00
Rémi Verschelde
c567a97178
Merge pull request #44218 from aaronfranke/grid-inst-err
...
Fix trying to set grid visibility on an invalid instance
2020-12-09 13:02:38 +01:00
Rémi Verschelde
114f97ff11
Merge pull request #44128 from KoBeWi/ 🧹
...
Cleanup unused engine code
2020-12-09 13:01:50 +01:00
Aaron Franke
8c1d94ebae
Fix trying to set grid visibility on an invalid instance
2020-12-09 06:33:20 -05: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
bruvzg
644f739660
Static analyzer fixes:
...
Removes unused code in OS.
Fixes return types.
Fixes few typos.
2020-12-09 10:17:53 +02:00
Rémi Verschelde
90bdba576a
Merge pull request #43742 from qarmin/editor_modules_default_values
...
Initialize class/struct variables with default values in platform/ and editor/
2020-12-08 15:53:42 +01: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
Marcel Admiraal
a24c38d1a8
Rename Vector2.tangent() to Vector2.orthogonal()
2020-12-06 18:16:06 +00:00
Aaron Franke
1b348b3c17
Remove connect *_compat methods
2020-12-05 17:56:47 -05:00
Nick Swoboda
70c946f82d
Change minimum snap step of Tile Set to 1
2020-12-05 08:18:16 -08: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
Aaron Franke
5ef62e546f
Rename EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name"
2020-12-04 19:34:50 -05:00
Aaron Franke
40b81339d0
Rebind Mesh/ArrayMesh enums
2020-12-04 19:34:50 -05:00
Michael Alexsander
383e8919e0
Add "font_color_separator" theme property to 'PopupMenu'
2020-12-03 11:36:03 -03:00
Rémi Verschelde
a84ad91280
Merge pull request #43896 from RandomShaper/fix_rel_probe_vis
...
Put misc. 3D tool visible instances on their own layer
2020-12-03 13:29:16 +01:00
Rémi Verschelde
df53bf6397
Merge pull request #43660 from EricEzaM/PR/INP1-inputevent_as_text_and_to_string
...
InputEvent as_text now returns readable string. Added to_string for debug strings
2020-12-03 13:28:29 +01:00
Eric M
ef5c720b73
Made keyboard shortcuts for FileSystemDock visible in popup
2020-12-03 18:10:35 +10:00
Rémi Verschelde
a5fa9199ef
Merge pull request #44051 from EricEzaM/PR/rename-files-with-F2-key
...
Added F2 shortcuts for renaming files & folders.
2020-12-03 08:23:25 +01:00
Eric M
5a3952fe64
Added F2 shortcuts for renaming files & folders.
2020-12-03 08:15:33 +10: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
Rafał Mikrut
e1811b689b
Initialize class/struct variables with default values in platform/ and editor/
2020-12-02 16:09:11 +01:00
Rémi Verschelde
d1231be1c8
Merge pull request #41095 from ThakeeNathees/GDScript-Documentation
...
GDScript(2.0) Documentation generation system
2020-12-02 14:15:38 +01:00
Rémi Verschelde
fbbbd9f601
Merge pull request #39743 from aaronfranke/limit-zoom
...
Limit the editor zoom and freelook speed based on camera settings
2020-12-02 13:35:51 +01:00
Yuri Roubinsky
dd32d7b7ee
Fixed some errors when changing port name in visual shader expressions
2020-12-02 13:27:37 +03:00
Aaron Franke
896a297c1f
Limit the zoom and freelook speed based on camera settings
2020-12-01 16:14:24 -05:00
Thakee Nathees
42bfa16996
Refactor DocData into core and editor (DocTools) parts
2020-12-02 00:48:39 +05:30
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
Yuri Roubinsky
a9e5701e2a
Fixed crash in visual shader on changing input when preview is visible
2020-12-01 12:11:44 +03:00
Rémi Verschelde
c653e9c470
Merge pull request #42825 from Chaosus/fix_grid_hotkey
...
Changes 'always show grid' hotkey to prevent conflict with 'pan mode'
2020-11-30 19:09:13 +01:00
Yuri Roubinsky
d936201a05
Reversed Toggle Script Button icon
2020-11-30 17:33:42 +03:00
Yuri Sizov
999ce610a2
Add a minimap to the GraphEdit
2020-11-30 16:48:52 +03:00
Rémi Verschelde
78d9aa99ca
Merge pull request #43970 from EricEzaM/PR/popup-menu-margin-shrink
...
Reduced EditorTheme margin on PopupMenu
2020-11-30 09:25:48 +01:00
Eric M
231231f904
Reduced margin on PopupMenu
2020-11-30 10:18:16 +10:00
Tomasz Chabora
c93a3bdaef
Show editable children in the connect dialog
2020-11-30 00:37:32 +01:00
Thakee Nathees
d0e7d9b62f
Documentation generation for GDScript
...
- ClassDoc added to GDScript and property reflection data were extracted
from parse tree
- GDScript comments are collected from tokenizer for documentation and
applied to the ClassDoc by the GDScript compiler
- private docs were excluded (name with underscore prefix and doesn't
have any doc comments)
- default values (of non exported vars), arguments are extraced from the
parser
- Integrated with GDScript 2.0 and new enums were added.
- merge conflicts fixed
2020-11-29 19:45:36 +05:30
Yuri Roubinsky
82d64ebd19
Fixed several visual shader inputs
...
Fixed several inputs in visual shaders
2020-11-29 16:10:05 +03:00
Yuri Roubinsky
07e752585c
Fixed invalid visual shader outputs (TRANSMISSION, ALPHA_SCISSOR)
2020-11-28 20:42:59 +03: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
Pedro J. Estébanez
4eb3286230
Put misc. 3D tool visible instances on their own layer
...
This makes that visible stuff invisible to ReflectionProbes, whose preview in the editor shouldn't involve them.
2020-11-26 20:11:00 +01:00
Eric M
dfe4c5f8e1
InputEvent as_text now returns readable string. Added to_string for debug strings
...
Made InputEvent as_text() return a readable and presentable string. Added to_string() overrides for each which returns a 'debug-friendly' version which is not as presentable but provides more information and in a more structured fashion. Use as_text() for UI display scenarions and to_string() for debug cases
2020-11-27 00:42:16 +10: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
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
841fbafc78
i18n: Sync translations with Weblate
...
(cherry picked from commit 97e7d637e0
)
2020-11-26 10:40:55 +01:00
Addmix
177e62a7e4
Update skeleton_3d_editor_plugin.cpp
2020-11-25 17:35:27 -07:00
Rémi Verschelde
613b76cfd5
Merge pull request #43861 from JFonS/fix_gizmo_defval
...
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
2020-11-25 19:28:05 +01:00
jfons
e6949dae72
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
...
It was commented for some reason I can't remember.
2020-11-25 18:55:07 +01: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
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
fc806409f4
Removed unhandled_key_input from editor AudioBus and instead connect to gui_input signal on tree for handling of effects shortcuts.
2020-11-23 21:14:26 +10:00
Eric M
9c69281f87
Remove unused unhandled_key_input method in EditorHelp. Search popup and focus is handled by an external MenuButton shortcut.
2020-11-23 21:14:25 +10:00
Eric M
9d7d20a978
Added accept_event() calls for SceneTreeDock and BaseButton
2020-11-23 21:14:25 +10:00
Rémi Verschelde
ba989a1d39
Merge pull request #43627 from aaronfranke/pixelvi
...
Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelv
2020-11-23 10:04:49 +01:00
Rémi Verschelde
663d0d79fa
Merge pull request #43754 from Calinou/primary-grid-steps-default-pot
...
Use a power-of-two value for Primary Grid Steps in the 3D editor
2020-11-23 08:54:05 +01:00
Hugo Locurcio
42685f514f
Bind the editor's Search Help function to F1 by default
...
Now that the F1 key is available, we can bind Search Help to the key
generally used in other applications to open the help menu.
2020-11-22 15:26:17 +01:00
Hugo Locurcio
31cf3e2572
Use a power-of-two value for Primary Grid Steps in the 3D editor
...
This matches the 2D editor default behavior.
Powers of two are usually better for grid divisions as they are often
used in level design.
2020-11-21 21:35:23 +01:00
Aaron Franke
2c53e8b0e9
Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelv
...
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
2020-11-21 02:42:29 -05:00
Rémi Verschelde
504efc5f9b
Export: Reorder options for consistency across platforms
2020-11-20 11:17:50 +01:00
Rémi Verschelde
6a683f8016
Merge pull request #43591 from madmiraal/fix-43520
...
Update joy button and stick names, enums and documentation
2020-11-19 20:43:44 +01:00
Marcel Admiraal
20f2b71e21
Update joy button and stick names, enums and documentation
2020-11-19 15:28:31 +00:00
Rémi Verschelde
c9bd11a479
Merge pull request #43668 from GryphonClaw/master
...
added shortcuts/hotkeys for tileset editor plugin collision buttons, …
2020-11-19 14:17:23 +01:00