Commit graph

7083 commits

Author SHA1 Message Date
Rémi Verschelde
c44a14496a
Merge pull request #44934 from KoBeWi/p-p-push_the_item
Properly edit the instanced node in the inspector
2021-01-05 14:59:00 +01:00
kobewi
f5d51288b8 Properly edit the instanced node in the inspector 2021-01-05 14:14:45 +01:00
Rémi Verschelde
0abd7e7b35
Merge pull request #44892 from KoBeWi/gentle_drag
Commit CanvasItem state only if it changed
2021-01-05 14:12:59 +01:00
Rémi Verschelde
47353fb42e
Merge pull request #44895 from KoBeWi/the_color_DID_NOT_change
Don't emit changed signal on Color Picker close
2021-01-05 13:45:04 +01:00
kobewi
036f6a3fa8 Commit CanvasItem state only if it changed 2021-01-05 13:06:15 +01:00
Rémi Verschelde
8a1c37dc22
Merge pull request #44893 from Chaosus/shader_reference
[4.0] Fix shader editor documentation link
2021-01-05 12:01:20 +01:00
Yuri Roubinsky
88924bbbc6 Fix shader editor documentation link 2021-01-05 13:46:33 +03:00
Rémi Verschelde
f4d8733777
Merge pull request #44890 from KiritoAM/my-bug-fix
Fix for reselecting a TileMap node without first de-selecting it #44824
2021-01-05 10:48:41 +01:00
Danil Alexeev
a8dce9c377 Fix odd newline in EditorLog::add_message() 2021-01-04 15:46:30 +03:00
Rémi Verschelde
c5ff2cb3d9
Merge pull request #44907 from qarmin/fix_leak_gradient
Fix memory leak with Gradient in Node3DEditorViewport
2021-01-04 10:26:47 +01:00
Rafał Mikrut
8e7cbf315e Fix Leak with Gradient in Node3DEditorViewport 2021-01-04 10:06:46 +01:00
Rémi Verschelde
fcb0f0d770
Merge pull request #44330 from Hurakano/fixes
Texture import 'streamed' property should be bool
2021-01-04 09:43:42 +01:00
kobewi
a22b2f86e7 Don't emit changed signal on Color Picker close 2021-01-03 18:12:00 +01:00
andrew-softdev
15cffe060c Fix for reselecting a TileMap node without first de-selecting it 2021-01-03 15:44:36 +00:00
Rémi Verschelde
950dedbb68
Merge pull request #42779 from volzhs/editor-file-dialog
Enhance editor file dialog
2021-01-03 13:37:42 +01:00
volzhs
1f4b1e1488 Enhance editor file dialog
1. show valid directory path when opening editor file dialog
2. keep file name when changing path by entering path
3. add first extension in filter automatically if not given
4. remove directory in recent list if it's not valid anymore
2021-01-02 17:57:28 +09:00
Muller-Castro
31dd07ba30 Typo correction
simple typo correction
2021-01-02 02:27:12 -03:00
Rémi Verschelde
96aff740fe
Merge pull request #44809 from Calinou/physics-render-layers-zero-index
Use zero-indexing for physics and render layer names
2021-01-01 23:37:37 +01:00
Rémi Verschelde
c0846b62b0
Merge pull request #44865 from RandomShaper/fix_reset_anim_crash
Fix crash related to reset animation
2021-01-01 22:50:25 +01:00
Pedro J. Estébanez
69cec347e1 Fix crash related to reset animation 2021-01-01 22:24:26 +01:00
Rémi Verschelde
b5334d14f7
Update copyright statements to 2021
Happy new year to the wonderful Godot community!

2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.

We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)

Here's to a great year 2021 for all Godot users 🎆
2021-01-01 20:19:21 +01:00
Hugo Locurcio
f87d42f4ca
Use zero-indexing for physics and render layer names
The first layer is now Layer 0 instead of Layer 1, and the last
layer is now Layer 19 instead of Layer 20.

This helps reference physics and render layers from scripts since
layers start from 0 there.
2020-12-30 16:03:11 +01:00
Rémi Verschelde
59b30e1d23
Merge pull request #44709 from Calinou/editor-frame-time-color
Color 3D editor frame time labels depending on the performance level
2020-12-29 17:41:40 +01:00
Rémi Verschelde
f62f64193a
i18n: Sync translations with Weblate
(cherry picked from commit caa7c6a930)
2020-12-29 17:16:46 +01:00
Pedro J. Estébanez
d2d29c42f2 Fix instantiation of resource as property value 2020-12-29 13:14:39 +01:00
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