Commit graph

7100 commits

Author SHA1 Message Date
Rémi Verschelde 2b1f2ac60a
Merge pull request #45042 from KoBeWi/ok_maybe_it_changed
Emit changed signal from Color Picker when changed
2021-01-11 13:49:22 +01:00
Rémi Verschelde d83b9d62da
Merge pull request #45069 from Chaosus/vs_code_preview_window
Pushes visual shader code preview to separate window
2021-01-11 13:46:50 +01:00
Yuri Roubinsky 69033672b7 Pushes visual shader code preview to separate window 2021-01-11 14:23:59 +03:00
Hugo Locurcio 7b84f4fc31
Don't allow adding Objects to the project settings
Godot doesn't support serializing objects.

This closes #33667.
2021-01-10 14:13:20 +01:00
kobewi a00ac12ae9 Emit changed signal from Color Picker when changed 2021-01-09 14:17:33 +01:00
Rémi Verschelde 9349a5507f
Merge pull request #35505 from dalexeev/rtl_colors
Unified named colors in RichTextLabel
2021-01-08 09:03:55 +01:00
Rémi Verschelde 3d359d1311
Merge pull request #44283 from jeffuntildeath/fix-stf-offset
Fixed incorrect offset of snap to floor
2021-01-08 07:53:45 +01:00
Rémi Verschelde c7b45141de
Merge pull request #44980 from RandomShaper/fix_res_lifetime
Fix cases of resources destroyed too early
2021-01-07 14:19:52 +01:00
Rémi Verschelde 6583ac32ce
Revert "Fixed EditorPropertyText change signal emission."
This reverts commit ed1f208ec4.

This caused a regression: #44854.

Another PR will re-apply these changes while handling the regression: #44982.

Fixes #44854.
2021-01-07 10:32:03 +01:00
Pedro J. Estébanez 6fbe0a494b Fix cases of resources destroyed too early 2021-01-06 23:40:50 +01:00
Rémi Verschelde 8158d17edf
Merge pull request #44971 from nekomatata/fix-string-property-update
Update String property field only when text has changed
2021-01-06 19:55:38 +01:00
PouleyKetchoupp c064378f95 Update String property field only when text has changed
Avoids resetting the cursor position when the inspector updates while
editing a string property.

Fixes #42488
2021-01-06 11:35:05 -07:00
Rémi Verschelde a7baf01352
Merge pull request #44950 from reduz/shader-debugger
Added ability to visualize native shaders
2021-01-06 16:28:45 +01:00
reduz cdb216f4e4 Added ability to visualize native shaders 2021-01-06 09:40:09 -03:00
Eric M a54110ba60 Made save dialog open immediately when running unsaved scene.
Previously there was an unneeded confirmation dialog.
2021-01-06 12:29:52 +10:00
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