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
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