Haoyu Qiu
8fc73539e9
Allow showing both left and right side panels
2022-01-08 20:31:22 +08:00
Anilforextra
c9f5d88f3a
Use fill() to fill an entire image instead of setting pixels individually.
2022-01-08 17:43:15 +05:45
kobewi
562fc4cc0d
Rename TextureRect.expand to ignore_texture_size
2022-01-07 20:21:17 +01:00
Rémi Verschelde
129418962f
Merge pull request #55352 from YeldhamDev/text_widget_undo
2022-01-07 15:38:22 +01:00
Yuri Roubinsky
ea8d00282d
A small visual shader editor refactoring
2022-01-07 11:27:06 +03:00
Rémi Verschelde
e885de0507
Merge pull request #56367 from Calinou/bakedlightmap-print-time-request-attention
2022-01-07 00:58:36 +01:00
Rémi Verschelde
a01b18a476
Fix typos with codespell
...
Using codespell 2.1.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
ans
ba
curvelinear
dof
doubleclick
fave
findn
gird
inout
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
2022-01-07 00:12:09 +01:00
SaracenOne
901f376671
Move metallic and roughness automated assignment to an inspector UndoRedo
...
callback.
2022-01-06 16:07:26 +00:00
Rémi Verschelde
3fcae531e2
Merge pull request #55293 from LlamaLad7/master
2022-01-05 16:42:17 +01:00
Rémi Verschelde
6af77c7b09
Merge pull request #53684 from TokageItLab/orthogonal-mode
2022-01-05 16:05:40 +01:00
kobewi
77eb25421e
Fix names of scenes dropped onto viewport
2022-01-05 13:11:18 +01:00
Rémi Verschelde
6d4ed65f4c
Merge pull request #56483 from vnen/gdscript-warning-annotation
...
Add annotation to ignore warnings
2022-01-05 09:05:56 +01:00
Rémi Verschelde
ba2bdc478b
Style: Remove inconsistently used @author
docstrings
...
Each file in Godot has had multiple contributors who co-authored it over the
years, and the information of who was the original person to create that file
is not very relevant, especially when used so inconsistently.
`git blame` is a much better way to know who initially authored or later
modified a given chunk of code, and most IDEs now have good integration to
show this information.
2022-01-04 20:42:50 +01:00
Rémi Verschelde
deefce7bb5
Merge pull request #56362 from V-Sekai/preview_node_sanitize
...
Clean preview node of all nodes which are not derived from VisualInstances
2022-01-04 17:20:13 +01:00
Rémi Verschelde
851fb16350
Merge pull request #56305 from Calinou/rename-lod-threshold
2022-01-04 15:28:06 +01:00
Marcel Admiraal
f107139979
Rename Project Window width and height settings to match their function
2022-01-04 13:59:16 +00:00
George Marques
923b7b2748
Remove action to ignore warning in the script editor
...
The way to ignore warnings changed so this isn't valid anymore.
2022-01-04 09:52:13 -03:00
Tomasz Chabora
1a091c498a
Add option to paste animation as duplicate
2022-01-04 13:39:32 +01:00
Rémi Verschelde
6994602e4f
Merge pull request #56429 from PucklaMotzer09/tile_set_editor_hide
2022-01-04 10:22:47 +01:00
Rémi Verschelde
7f66c16c03
Merge pull request #51206 from clayjohn/Vulkan-ASSGI
2022-01-04 10:00:17 +01:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Rémi Verschelde
5cb6f39014
Merge pull request #56444 from Calinou/3d-editor-freelook-sensitivity-scale-with-zoom
2022-01-03 20:44:37 +01:00
Rémi Verschelde
20563b081b
Merge pull request #56327 from pycbouh/editor-theme-goes-brrr-but-then-halts
...
Make the theme editor correctly stop updating after it was hidden
2022-01-03 20:13:28 +01:00
Rémi Verschelde
de066d56a2
Merge pull request #56153 from Chaosus/shader_uniform_limit_warning
...
Add a shader warning when the uniform buffer limit is exceeded
2022-01-03 17:43:05 +01:00
Yuri Roubinsky
fd9c92d4ab
Add a shader warning when the uniform buffer limit is exceeded
2022-01-03 16:24:56 +03:00
Rémi Verschelde
b5807f5f1b
Merge pull request #55312 from YeldhamDev/theme_editor_undo
2022-01-03 14:09:09 +01:00
Hugo Locurcio
fb4261b82f
Scale freelook sensitivity with zoom in the 3D editor
...
When using a FOV scale lower than the default (using Alt + mouse wheel),
the mouse sensitivity is now scaled to make it easier to use freelook
to look at distant objects.
This does not affect orbiting and panning.
2022-01-02 20:07:19 +01:00
PucklaMotzer09
65881a9734
Correctly show and hide tile set editor panel
2022-01-02 15:22:51 +01:00
luz paz
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
Hugo Locurcio
0761605435
Print time taken and request attention when lightmaps are done baking
...
Since lightmap baking can take a very long time, printing the time
spent can be useful for users tweaking the lightmap settings
to optimize bake times.
Completing lightmap baking will also request attention, which is
useful if you're doing something else while waiting for lightmaps
to bake.
2021-12-31 02:40:36 +01:00
SaracenOne
45b8bb745e
Clean preview_node of all none VisualInstances
2021-12-30 14:07:56 +00:00
Michael Alexsander
b80c378ee9
Add undo/redo capabilities to the text control plugin
2021-12-30 01:25:01 -03:00
Michael Alexsander
3764dce409
Add undo/redo capabilities to the theme editor
2021-12-30 00:30:50 -03:00
Yuri Sizov
fad3138af7
Make the theme editor correctly stop updating after it was hidden
2021-12-29 23:40:01 +03:00
Hugo Locurcio
df09bc38cb
Rename Lod Threshold to Mesh Lod Threshold
...
This makes it more obvious that the setting only affects mesh LOD,
not manual (H)LOD achieved using visibility ranges.
2021-12-29 00:11:50 +01:00
PucklaMotzer09
d45cab99ec
Correctly deselect properties of TileDataCollisionEditor
2021-12-26 16:26:58 +01:00
Silc 'Tokage' Renew
61759da5b3
Fix some gizmo behavior to make more consistent
2021-12-25 03:24:04 +09:00
LlamaLad7
b5407f802f
Editor: Resolve being able to move control nodes in containers using arrow keys
...
Fixes #55260
2021-12-21 21:41:05 +00:00
Yuri Roubinsky
e8a457ba89
Refactor render_mode in shaders, forbid declaring duplicates
2021-12-21 22:20:09 +03:00
jmb462
f491b43edd
Fix wrong ColorPicker shape with GradientEdit
2021-12-20 18:00:11 +01:00
Rémi Verschelde
9f5045f70f
Merge pull request #56041 from Zylann/null_checks2
...
Fix crash if font fails loading when generating a preview
2021-12-18 09:31:26 +01:00
Marc Gilleron
ccb701f2f7
Fix crash if font fails loading when generating a preview
...
Historical crash log:
ERROR: No loader found for resource: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf.
at: (core\io\resource_loader.cpp:213)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
at: ResourceLoaderText::_parse_ext_resource (scene\resources\resource_format_text.cpp:170)
ERROR: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres:8 - Parse Error: [ext_resource] referenced non-loaded resource at: res://addons/gdquest.mannequin/assets/theme/fonts/montserrat/Montserrat-Medium.ttf
at: ResourceLoaderText::load (scene\resources\resource_format_text.cpp:649)
ERROR: Failed loading resource: res://addons/gdquest.mannequin/assets/theme/fonts/default_font.tres. Make sure resources have been imported by opening the project in the editor at least once.
at: (core\io\resource_loader.cpp:206)
2021-12-18 03:35:29 +00:00
Haoyu Qiu
1fb59d13c2
Fix font preview text color on light background
2021-12-18 00:34:28 +08:00
Fabio Alessandrelli
75ed3d74e8
Merge pull request #55747 from timothyqiu/editor-proxy
...
Add proxy support for the editor
2021-12-16 10:06:14 +01:00
Yuri Sizov
dc858a8100
Improve user communication in the Add Item Type dialog
2021-12-14 17:00:15 +03:00
Rémi Verschelde
ece3b0dd61
Merge pull request #55836 from jabcross/asset-selectable
2021-12-12 18:34:41 +01:00
Rémi Verschelde
ad6652c08e
Merge pull request #55860 from rcorre/mesh_typo
2021-12-12 15:26:46 +01:00
Ryan Roden-Corrent
353617b202
Fix typo in create_outline error message.
2021-12-12 07:29:46 -05:00
jabcross
814a4ee434
Allow selection in asset description
...
Many assets include links in the description.
This change enables selection for the links,
and other information such as version numbers,
to be copied/pasted.
2021-12-11 16:43:05 -03:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Rémi Verschelde
31ded7e126
Fixup last commit, change misleading CodeEditor for consistency
2021-12-09 11:40:46 +01:00
Rémi Verschelde
3752e8f52e
Fix mid-air conflict between #55299 and #55692
2021-12-09 11:17:16 +01:00
Rémi Verschelde
4129c1d140
Merge pull request #55299 from nathanfranke/renames
2021-12-09 10:22:24 +01:00
Rémi Verschelde
eac3885283
Merge pull request #55692 from Chaosus/material_editor_canvas_item_mode
2021-12-09 09:41:49 +01:00
Nathan Franke
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
Haoyu Qiu
5912dd2964
Add proxy support for the editor
...
* Adds proxy support for `HTTPRequest`.
* Adds `network/http_proxy/{host,port}` editor settings.
* Labeled as "HTTP Proxy" and it will be used for both HTTP and
HTTPS requests. This is the same convention as seen in Android
Studio's proxy settings.
* Makes Asset Library and Export Template Manager use proxy according to
the editor settings.
2021-12-09 11:48:16 +08:00
kobewi
3f4728fe54
Fix some containers disabling wrong scrollbars
2021-12-09 00:25:17 +01:00
Yuri Roubinsky
04fac59f3f
Merge pull request #51381 from Chaosus/shader_compile_enchancement
2021-12-08 15:15:07 +03:00
Yuri Roubinsky
76f6c0849c
Make compile
shader function to use struct instead long parameter list
2021-12-08 11:34:40 +03:00
Rémi Verschelde
5cf178f3bf
Merge pull request #55694 from KoBeWi/scrollbar_modding_tools
...
ScrollContainer's scrollbar visibility is now enum
2021-12-08 09:16:57 +01:00
Hugo Locurcio
cf936ae0dd
Rename GPUParticles attractor and collision nodes to have a 3D suffix
...
GPUParticles attractors and collision are currently only available in 3D.
Their 2D counterparts haven't been implemented yet, but they will use
separate nodes.
2021-12-08 00:21:05 +01:00
kobewi
841a9ef820
ScrollContainer's scrollbar visibility is now enum
2021-12-07 18:27:12 +01:00
Yuri Roubinsky
a651610c43
Add CanvasItem mode support to the MaterialEditor
2021-12-07 17:16:41 +03:00
Rémi Verschelde
75ac048e4b
Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size
2021-12-06 18:28:46 +01:00
jmb462
81efebb3a1
Fix bad popups offset in editor with single window off
...
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06 14:29:48 +01:00
kobewi
ea7cc1dea9
Rename minimum_size_changed() method
2021-12-06 14:02:34 +01:00
Rémi Verschelde
5baf20e638
Merge pull request #34005 from aaronfranke/minmax
2021-12-06 14:01:45 +01:00
Rémi Verschelde
a512edcfb9
Merge pull request #55654 from KoBeWi/reset_softcode
2021-12-06 13:27:27 +01:00
kobewi
9cb66cac2d
Add a constant StringName for RESET animation
2021-12-06 12:26:42 +01:00
Rémi Verschelde
3a7d5a1c64
Merge pull request #55651 from Calinou/remove-more-debug-prints
2021-12-06 10:30:37 +01:00
Hugo Locurcio
89ec3d3bc7
Remove or make verbose some debugging prints
...
The message about SpatialMaterial conversion was turned into a warning,
as it can potentially interfere with porting projects from Godot 3.x
(if there's a bug in the conversion code).
2021-12-05 23:22:23 +01:00
Hugo Locurcio
4a5bb3ac20
Use tooltips instead of labels for VoxelGI and GPUParticlesCollisionSDF
...
This fixes the issue with labels being cut off (or becoming too long
when not clipped).
This also adds a mention of the individual cell size,
which is useful information to have when trying to avoid light leaking
or particle collision tunneling.
2021-12-05 23:14:16 +01:00
Michael Alexsander
3ff78c34e7
Disable base type changing when no type is selected in the theme editor
2021-12-03 15:03:39 -03:00
Yuri Roubinsky
c033ed21b0
Merge pull request #55576 from Chaosus/vs_new_int_ops
...
Add bitwise operators to `VisualShaderNodeIntOp`
2021-12-03 14:46:33 +03:00
Rémi Verschelde
acb6d1b0af
Merge pull request #55578 from madmiraal/fix-55561
2021-12-03 12:12:45 +01:00
Yuri Roubinsky
b12fea5b52
Add bitwise operators to VisualShaderNodeIntOp
2021-12-03 12:48:35 +03:00
Rémi Verschelde
ce63df2610
Merge pull request #54687 from KoBeWi/where_mouse
2021-12-03 10:11:56 +01:00
Marcel Admiraal
6e6d689ed6
Allow any kind of Mesh to be added to an EditorNode3DGizmo
2021-12-03 08:52:07 +00:00
Aaron Franke
24f57886d0
Expose max_axis_index and max_axis_index for Vector2(i)
...
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).
2021-12-02 23:45:41 -06:00
Rémi Verschelde
d3c992429c
Merge pull request #55522 from Calinou/3d-editor-drag-and-drop-auto-root-node
...
Automatically add root node when drag-and-dropping in 3D editor
2021-12-02 22:18:10 +01:00
Rémi Verschelde
11d5b91462
Merge pull request #55548 from pycbouh/editor-scroll-dat-preview
2021-12-02 17:30:11 +01:00
Yuri Sizov
c33f407d27
Allow scrolling theme preview when the control picker is active
2021-12-02 17:57:53 +03:00
Rémi Verschelde
16778151c0
Merge pull request #55392 from TokageItLab/fix-skeleton-3d-editor-exiting-oddly
...
Fixed gizmo bug when `Skeleton3DEditor` is re-generated
2021-12-02 08:47:08 +01:00
Hugo Locurcio
73d596eba9
Automatically add root node when drag-and-dropping in 3D editor
...
This also uses correct capitalization scheme for 3D meshes that are
drag-and-dropped, like in the 2D editor.
2021-12-01 19:36:14 +01:00
Aaron Franke
129911f61a
Improve Curve with const and real_t
2021-11-30 14:24:27 -06:00
kobewi
dc472622cc
Mention that Ctrl+Alt with select tool will scale
2021-11-30 17:36:39 +01:00
Fazil Babu
61c2d397d6
Right-clicking with copied tiles cancels it
2021-11-30 00:23:44 +05:30
Rémi Verschelde
d2ac4bb48e
Merge pull request #55052 from RPicster/master-particles-visibility-rect
2021-11-29 14:30:58 +01:00
Raffaele Picca
37cfa56db3
Visibility rect only shown when a GPUParticle2D is selected to reduce visual clutter in scenes with a lot of Particle nodes.
2021-11-28 19:42:42 +01:00
Wilson E. Alvarez
697d9e3cbf
Fix 'Add Node...' menu entries in AnimationNodeBlendTreeEditor
2021-11-28 09:08:34 -05:00
Silc 'Tokage' Renew
d54919945f
Fixed odd behavior when Skeleton3DEditor is re-generated
2021-11-28 04:03:15 +09:00
Pablo Dobarro
cfacd9c057
Fix offset in Viewport drag movement
...
The initial offset was using the mouse position when the threshold
was reached instead of the initial click position. This was adding
the drag threshold distance as an extra offset to the final
transformation.
Now the offset is calculated from the initial click position.
2021-11-27 01:32:02 +01:00
kobewi
512e260af4
Show scene when showing built-in script file
2021-11-24 13:05:18 +01:00
Lightning_A
e078f970db
Rename remove()
to remove_at()
when removing by index
2021-11-23 18:58:57 -07:00
kobewi
030697e06c
Move container warning to the toaster
2021-11-23 16:17:19 +01:00
Rémi Verschelde
c5ab537617
Merge pull request #42447 from aaronfranke/gitignore-create
2021-11-23 15:21:31 +01:00
Rémi Verschelde
76aa1d0a43
Merge pull request #55151 from Chaosus/control_reset_size
2021-11-22 16:22:57 +01:00
Yuri Roubinsky
eabf8f5edf
Added reset_size
method to Control
and Window
classes
2021-11-22 16:55:21 +03:00
Haoyu Qiu
abd41dedb0
Fix Theme Editor crash when clicking the element picker
2021-11-21 18:39:46 +08:00
Hugo Locurcio
14d8ea767d
Tweak the built-ins color highlighting in the shader editor (take 2)
...
The new color is more distinguishable from other variables and
symbols.
2021-11-15 23:40:57 +01:00