Rémi Verschelde
9cf6e5113b
Merge pull request #57716 from Chaosus/vs_vector_3d
...
Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D` in visual shaders
2022-02-06 21:24:47 +01:00
Yuri Roubinsky
db18faf660
Rename `PORT_TYPE_VECTOR` to `PORT_TYPE_VECTOR_3D`
2022-02-06 20:15:28 +03:00
Rémi Verschelde
95719930a8
Merge pull request #57672 from fire-forge/fix-image-drop-nodes
2022-02-06 18:11:12 +01:00
Fabio Alessandrelli
6583797305
[Debugger] Move servers-related behaviours to ServersDebugger.
...
Forcing draw during debug break is now handled by ServersDebugger, and
only happens when the proper message is sent from the EditorDebugger
("servers:draw").
In a similar way, briging the window in foreground is now also handled
by ServersDebugger upon receiving "servers:foreground" which is sent by
the EditorDebugger when resuming from a break ("continue").
2022-02-06 17:36:48 +01:00
Fabio Alessandrelli
87f4bbd668
[Debugger] Move most profilers to ServersDebugger.
...
Also splits bandwidth/rpc profiler (RPCProfiler is now in
SceneDebugger).
2022-02-06 17:36:48 +01:00
Rémi Verschelde
79a4d782a5
Merge pull request #57709 from jmb462/missing-sname-optimization
2022-02-06 17:03:11 +01:00
Rémi Verschelde
fb6cf1e3b7
Merge pull request #57689 from NeilKleistGao/master
2022-02-06 16:39:42 +01:00
jmb462
1ce81dc5f2
Add missing SNAME macro optimization in some function calls
2022-02-06 15:54:04 +01:00
NeilKleistGao
729c1f056b
Edit font properties on multiple objects at once
2022-02-06 18:32:55 +08:00
FireForge
871b9fc352
Fix node types in image drag-and-drop and add node icons
2022-02-05 21:01:29 -06:00
Rémi Verschelde
bd32dd4a48
Merge pull request #56943 from V-Sekai/override-import
...
Make add_importer and add_post_importer_plugin override existing importers.
2022-02-05 19:50:37 +01:00
Rémi Verschelde
aecff478b7
Merge pull request #48006 from KoBeWi/incognito_layer
...
Add visibility to CanvasLayer
2022-02-05 16:05:53 +01:00
kobewi
189dab2d76
Add visibility to CanvasLayer
2022-02-05 14:02:21 +01:00
Ger Hean
8acc8838c4
Add shortcut_cell double click functionality
2022-02-05 19:06:54 +08:00
Stijn Hinlopen
31824420e4
Center when scrolling to tree item.
2022-02-05 10:59:33 +01:00
Rémi Verschelde
df1724470d
Merge pull request #49775 from fire/faster-cvtt
...
Faster CVTT by lowering default quality
2022-02-05 10:28:07 +01:00
Rémi Verschelde
2e44778cd2
Merge pull request #57635 from jmb462/fix-template-optionbutton
...
Fix OptionButton in create script dialog doesn't select the correct template
2022-02-05 10:18:21 +01:00
Jean-Michel Bernard
f86ab4031a
Fix template OptionButton in create script dialog doesn't select the correct template
2022-02-05 07:06:53 +01:00
kobewi
e714f5e56e
Rework TextureButton stretch
2022-02-05 02:11:32 +01:00
K. S. Ernest (iFire) Lee
419b342a9a
Faster CVTT by reducing quality.
...
Make BC6 and BC7 CVTT faster while still having better quality than DXT5.
2022-02-04 15:15:26 -08:00
Rémi Verschelde
3db1d689ce
Merge pull request #57631 from groud/terrain_fix_with_empty_cells
2022-02-04 19:03:44 +01:00
Rémi Verschelde
2885befbe6
Merge pull request #55950 from Faless/mp/4.x_replication_nodes
2022-02-04 19:03:10 +01:00
Gilles Roudière
64e53cdc55
Fixes terrain painting on TileMaps when using empty terrain bits
2022-02-04 18:10:12 +01:00
Hugo Locurcio
21b9f1ecfe
Rename 3D editor debug draw modes to be more explicit
...
- Rename "Directional Shadow" to "Directional Shadow Map"
to distinguish it from the "Directional Shadow Splits" option.
- Rename "Disable LOD" to "Disable Mesh LOD" as it only affects
automatic mesh LOD, not visibility ranges.
- Rename "GI Buffer" to "VoxelGI/SDFGI Buffer" as it doesn't cover
LightmapGI or SSIL.
- Rename the cluster options to match the respective node names.
2022-02-04 16:37:43 +01:00
Rémi Verschelde
e223bad86d
Core: Move Vector2i to its own `vector2i.h` header
...
Also reduce interdependencies and clean up a bit.
2022-02-04 16:32:21 +01:00
Fabio Alessandrelli
c971316d88
[Editor] Replication plugin to configure MultiplayerSynchronizers.
...
Allows configuring the MultiplayerSynchornizer in a way similar to
AnimationPlayer.
Properties are added manually, edither as plain properties, or via the
NodePath format for child nodes' properties "path/to/node:property"
relative to the MultiplayerSynchronizer root path.
Nice things to add would be:
- Moving properties up/down in the list.
- Some form of keying, autmatic filling of the replication properity
line edit.
2022-02-04 14:56:30 +01:00
Rémi Verschelde
2e320dcf87
Merge pull request #57617 from bruvzg/char_cleanup
2022-02-04 13:06:38 +01:00
Rémi Verschelde
29c4644890
Merge pull request #57086 from YeldhamDev/scene_tabs_fix
2022-02-04 11:01:41 +01:00
bruvzg
244db37508
Cleanup and move char functions to the `char_utils.h` header.
2022-02-04 11:35:01 +02:00
Rémi Verschelde
f8f19b313d
Merge pull request #57562 from AnilBK/string-add-contains
...
String: Add contains().
2022-02-03 22:21:24 +01:00
Rémi Verschelde
025e778020
Merge pull request #57175 from fire-forge/add-type-icons
...
Add type icons to Project Settings, Array, and Dictionary editors
2022-02-03 22:17:25 +01:00
Anilforextra
adbe948bda
String: Add contains().
2022-02-04 01:28:02 +05:45
fire540
d5d05386a6
Add type icons to Project Settings, Array, and Dictionary editors
2022-02-03 13:02:18 -06:00
Rémi Verschelde
ffc828ac50
Merge pull request #57582 from akien-mga/editorproperty-range-fix-step
2022-02-03 17:51:16 +01:00
Rémi Verschelde
3004415bfc
Merge pull request #57565 from jmb462/split_offset
2022-02-03 17:04:49 +01:00
Rémi Verschelde
ebe9495b7d
EditorProperty: Fix range hint parsing with optional step
...
This could lead to have a step of 0 when parsing e.g. "1,10,is_greater".
2022-02-03 12:57:59 +01:00
Gilles Roudière
73e784de1e
Remove get_focus_owner() from Control, replaced by get_viewport()->gui_get_focus_owner()
2022-02-03 11:59:32 +01:00
Rémi Verschelde
6de5bafd2f
Merge pull request #57547 from akien-mga/editorhelp-tooltip-set-fit_content_height
2022-02-02 23:19:30 +01:00
jmb462
71fb89390f
Save script editor's function list split offset with the editor layout
2022-02-02 22:50:49 +01:00
Rémi Verschelde
9f0a693b50
EditorHelpBit: Fix content height fit and RTL theme propagation
...
This reverts #51619 and fixes the issue properly, as well as enabling
`fit_content_height` which is necessary following #57304 .
Fixes #57174 .
Also adds a placeholder for property and signal tooltips with no description,
factoring the code while at it.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-02-02 22:16:46 +01:00
Rémi Verschelde
7be7623d69
Merge pull request #57494 from Geometror/project-and-editor-settings-fixes
2022-02-02 21:55:08 +01:00
Yuri Roubinsky
59af063636
Add support for 2D vector type to visual shaders
2022-02-02 19:59:34 +03:00
Rémi Verschelde
bf12719cca
Merge pull request #57524 from Sauermann/fix-display-grid-fadeout
2022-02-02 11:51:07 +01:00
Anilforextra
fc27636999
Vectors: Use clear() and has().
...
Use clear() instead of resize(0).
Use has() instead of "find(p_val) != -1".
2022-02-02 00:11:09 +05:45
Markus Sauermann
51b5b51653
Fix TileMap Display Grid fadeout
2022-02-01 18:58:27 +01:00
Michael Alexsander
45a32f21ee
Fix buggy behavior of the "Add tab" button in the scene tabs
2022-02-01 11:44:58 -03:00
Rémi Verschelde
d4e21b7d62
Merge pull request #57358 from akien-mga/signal-bindings-object
2022-02-01 14:24:47 +01:00
Rémi Verschelde
f1bff648f2
Merge pull request #57355 from akien-mga/method-bindings-clearer-types
2022-02-01 14:24:35 +01:00
Hendrik Brucker
2f1e7c28a4
Minor fixes/refactoring of project and editor setting dialogs
2022-02-01 00:19:01 +01:00
Rémi Verschelde
45553fd586
Merge pull request #56970 from YeldhamDev/rise_tabbar_rise
2022-01-31 21:46:07 +01:00
Rémi Verschelde
cc7d8817eb
Merge pull request #57413 from fazil47/master
2022-01-31 19:58:49 +01:00
Michael Alexsander
64c4a5b283
Bring `TabBar` to full parity with the `TabContainer` implementation.
2022-01-31 15:35:54 -03:00
Rémi Verschelde
7d97f04da8
Merge pull request #57454 from rcorre/undo_skel
2022-01-31 18:13:32 +01:00
Rémi Verschelde
d7822cbf21
Merge pull request #57367 from Chaosus/vs_derivative
2022-01-31 16:51:30 +01:00
Paulb23
1cd1df5dc3
Move placeholder color to theme item
2022-01-30 17:56:23 +00:00
Ryan Roden-Corrent
c9cce53983
Merge create_physical_skeleton undo entries.
...
Pressing `ctrl+z` after clicking "Create Physical Skeleton" will now
undo the creation of all physical bones by that operation.
Previously undo would remove one bone at a time.
Fixes https://github.com/godotengine/godot/issues/55351 .
2022-01-30 12:28:44 -05:00
Yuri Roubinsky
6e2c9f398c
Fix theming of doc background
2022-01-30 09:49:24 +03:00
Fazil Babu
65b6b140b6
Inspector retains content when detached and when docked
2022-01-30 12:11:27 +05:30
Nathan Franke
8a0a3accee
simplify formatting scripts, add a clang-tidy script, and run clang-tidy
2022-01-29 04:41:03 -06:00
Rémi Verschelde
252ec22ff9
Merge pull request #57296 from emcguirk/bug-57253-fix-hint-label
2022-01-29 00:36:42 +01:00
Rémi Verschelde
e84c552b08
Merge pull request #52557 from jmb462/rename_layers
2022-01-29 00:36:03 +01:00
Rémi Verschelde
e22a162003
Merge pull request #57365 from pycbouh/editor-icons-uniformity
2022-01-28 23:53:23 +01:00
jmb462
b619a47416
Renaming layers from the inspector via a popup menu.
2022-01-28 23:52:11 +01:00
Rémi Verschelde
2279edeaf0
Merge pull request #57368 from TokageItLab/fix-delta-for-animation-tree
2022-01-28 23:16:29 +01:00
Rémi Verschelde
27e4c84edd
Merge pull request #57326 from Josephblt/material-preview-sphere-icon-has-wrong-inactive-modulation
2022-01-28 23:06:59 +01:00
Yuri Sizov
876345191f
Fix theme application in various curve editors
2022-01-29 01:03:43 +03:00
Yuri Sizov
36ff66c62f
Fix the breakpoint icon in CodeEdit
2022-01-29 01:03:43 +03:00
Yuri Sizov
49eddd22e0
Update icons and color conversion rules to simplify the palette
2022-01-29 01:03:39 +03:00
Silc 'Tokage' Renew
0650846248
Make AnimationTree delta argument force double in core
2022-01-29 05:07:30 +09:00
Yuri Roubinsky
88b2afa28f
[VisualShader] Merge scalar and vector derivative functions into one
2022-01-28 22:19:10 +03:00
Rémi Verschelde
b9a2569be6
Merge pull request #57347 from Chaosus/vs_refactor_addop
2022-01-28 17:45:54 +01:00
Rémi Verschelde
02d48f88ef
Merge pull request #56933 from Chaosus/fix_shader_editor_theming
2022-01-28 17:45:28 +01:00
Rémi Verschelde
7c3003fcbe
Improve some signal bindings to use specific `Object` subtypes
2022-01-28 15:35:40 +01:00
Rémi Verschelde
7072b359b4
Improve some method bindings to use specific `Object` subtypes
...
This was made possible by changes to `VariantCaster` which now make
it possible to pass any `Object`-derived type as pointer.
2022-01-28 15:07:22 +01:00
Rémi Verschelde
b8b33df178
TileSetAtlasSource: Make `get_tile_data` return `TileData *`
...
This is now possible thanks to `Variant` changes.
Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-28 14:27:12 +01:00
Yuri Sizov
af045e568d
Remove unnecessary transformations from editor icons
2022-01-28 16:16:28 +03:00
Yuri Roubinsky
fd8c0f4a6a
Refactor AddOption in visual shader editor
2022-01-28 15:28:37 +03:00
Rémi Verschelde
9686d680b7
Merge pull request #57116 from bruvzg/win_net_share
2022-01-28 11:03:23 +01:00
Eric McGuirk
9f01c887b1
Fixes Hint label in 2D editor appearing at wrong position and pushes zoom controls
2022-01-27 21:49:33 -05:00
Rémi Verschelde
e6caaf4c80
Merge pull request #57205 from TechnoPorg/variant-template-cast
...
Allow method binds to take Object subclasses as arguments
2022-01-27 23:46:37 +01:00
Wagner Scholl Lemos
a2d176a53d
Fix to prevent icons from disappearing.
2022-01-27 19:29:42 -03:00
Rémi Verschelde
aa94d5d61a
Merge pull request #57290 from IgorKordiukiewicz/fix-tile-map-editor-not-disappearing
2022-01-27 11:44:13 +01:00
Rémi Verschelde
899cd34426
Merge pull request #57281 from Rubonnek/rename-subsequence
2022-01-27 11:03:13 +01:00
Rémi Verschelde
a4f999b7dc
Merge pull request #57295 from TokageItLab/fix-blendspace2d-discrete
2022-01-27 10:17:04 +01:00
Silc 'Tokage' Renew
1c0b163df5
More time parameters change type float to double
2022-01-27 12:42:46 +09:00
kobewi
2cd0c3f8be
Improve 2D editor's right-click menu
2022-01-27 03:02:45 +01:00
Igor Kordiukiewicz
a6b20c1816
Fixes TileMap editor not disappearing
2022-01-27 02:49:29 +01:00
Wilson E. Alvarez
3eb5e0ac50
Rename String::is_subsequence_ofi to String::is_subsequence_ofn
2022-01-26 18:03:56 -05:00
Hugo Locurcio
68580ecedd
Rename VoxelGI editor bake actions from "GI Probe" to "VoxelGI"
2022-01-26 23:12:26 +01:00
Rémi Verschelde
9df9dc77a3
Merge pull request #54822 from KoBeWi/sortuces
2022-01-26 15:46:48 +01:00
kobewi
e793331cd7
Allow sorting tileset sources
2022-01-26 13:58:32 +01:00
Hugo Locurcio
78c946f554
Fix lightmap size hint option not displaying for 3D scenes
...
This also renames the Static Lightmaps option hint to be more explicit
about which GI techniques are supported (as VoxelGI/SDFGI can still
be used with Static Lightmaps).
2022-01-26 00:33:47 +01:00
kleonc
93a95ae84a
SpriteFramesEditor Incorrect texture type fix
2022-01-25 18:39:26 +01:00
TechnoPorg
051ef479c9
Allow method binds to take Object subclasses as arguments
...
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25 09:03:36 -07:00
Haoyu Qiu
5ea4a8b421
Fix crash after renaming an animation node
2022-01-25 20:18:40 +08:00
Yuri Roubinsky
050f746e19
Fix theming update of shader editor
2022-01-25 12:10:07 +03:00
kobewi
342a31e326
Fix 2D Pan Tool
2022-01-24 22:21:19 +01:00
bruvzg
9456454109
Fix translation with multiple sources for the same language.
...
Remove unnecessary locale length checks.
Add "C" -> "en" locale remap.
2022-01-24 18:58:16 +02:00
bruvzg
cba8280515
[Windows] Add support for handling network share paths.
2022-01-24 16:22:59 +02:00
bruvzg
f13db28a5c
[Editor] Do not update editor help theme, if calculated margin hasn't changed.
2022-01-24 09:51:35 +02:00