Michael Alexsander
917dac78e7
Replace some bits of code left to work with the new TabContainer
2022-03-04 19:16:33 -03:00
FireForge
6a4d3859cf
Make EditorSpinSlider label color a theme property
2022-03-04 15:27:50 -06:00
Rémi Verschelde
71835906dd
Merge pull request #58758 from timothyqiu/audio-effect-icon
...
Update audio effect icon when theme changes
2022-03-04 21:36:16 +01:00
Yuri Roubinsky
15a87f8e92
Add varying support to visual shaders
2022-03-04 23:30:47 +03:00
Raul Santos
0d7b4663be
Add icon_normal_color to Button in editor theme
2022-03-04 18:59:43 +01:00
Haoyu Qiu
20ed798e59
Update audio effect icon when theme changes
2022-03-05 01:55:48 +08:00
bruvzg
12cb6386f6
Improve app name and system permission message localization.
...
Add localizable string (Dictionary<Lang Code, String>) property editor and property hint.
Add localized "app name" property to the project settings.
Add localized permission and copyright properties to the macOS and iOS export settings.
Remove some duplicated ("app name") and deprecated ("info") macOS and iOS export properties.
2022-03-04 18:11:31 +02:00
Rémi Verschelde
7de48982fe
Merge pull request #58691 from miremrie/absolute-file-path-in-file-browser
2022-03-04 12:25:15 +01:00
Rémi Verschelde
9d5d20ae6d
Merge pull request #58687 from YeldhamDev/the_beast_has_been_slain
2022-03-04 12:18:55 +01:00
Rémi Verschelde
f94233ee53
Merge pull request #58741 from Calinou/editor-visual-profiler-fix-light-font-color
...
Fix font color in the editor visual profiler when using light theme
2022-03-04 11:34:13 +01:00
Rémi Verschelde
9b94a1dc4a
Merge pull request #58670 from KoBeWi/internal_debugger
2022-03-04 10:44:56 +01:00
Rémi Verschelde
39dc25376e
Merge pull request #58731 from Calinou/editor-theme-clamp-base-colors
...
Clamp the editor theme's base colors to avoid various issues
2022-03-04 09:46:10 +01:00
Hugo Locurcio
14e34cb950
Fix font color in the editor visual profiler when using light theme
...
Previously, white text would be drawn on a white background.
2022-03-04 09:41:15 +01:00
Rémi Verschelde
dd98e75e76
Merge pull request #58730 from Calinou/editor-visual-profiler-use-background-color
...
Use the editor background color for the visual profiler graph
2022-03-04 09:23:42 +01:00
Hugo Locurcio
47c23da448
Tweak editor visual profiler frame time label for consistency
...
This is consistent with the general profiler's frame time label.
2022-03-04 08:50:41 +01:00
Hugo Locurcio
6b003384d7
Clamp the editor theme's base colors to avoid various issues
...
This fixes the profiler backgrounds being black when using the
light editor theme (which is a regression from using a negative
contrast setting by default for the Light preset).
2022-03-04 08:28:14 +01:00
Hugo Locurcio
6a9995d24a
Use the editor background color for the visual profiler graph
...
This was already done for the general profiler.
2022-03-04 08:21:58 +01:00
FireForge
1e7108938c
Add node icons to the Sprite2D menu
2022-03-04 01:17:35 -06:00
Michael Alexsander
a811ebf699
Make TabContainer
use TabBar
internally
2022-03-03 21:49:58 -03:00
Yuri Roubinsky
2f8cb76899
Adds few more input/output built-ins to visual shader
2022-03-03 21:28:23 +03:00
Haoyu Qiu
d6df2ffad8
i18n: Make property paths and categories translatable
2022-03-03 18:31:40 +08:00
Haoyu Qiu
b058f6b80c
Use vformat() instead of string concatenation inside TTR()
2022-03-03 17:55:37 +08:00
Igor Kordiukiewicz
ed0da06958
Added property hint to id property in tile set atlas source editor
2022-03-02 20:33:03 +01:00
miremrie
a5e30c0228
Allow absolute file paths in file dialogs
2022-03-02 19:42:39 +01:00
kobewi
98dd04c38c
Fix debugger not opening built-in scripts
2022-03-02 17:57:56 +01:00
Rémi Verschelde
3f9a6011fe
Merge pull request #58632 from IgorKordiukiewicz/camera-preview-toggle-crash
...
Fixes camera preview toggle in additional editor viewports not disappearing corectly causing a crash
2022-03-01 19:59:17 +01:00
JFonS
73f92a6e4d
Merge pull request #58548 from V-Sekai/lod_lightmaps
...
Allow automatic lod when importing 3D scenes with Static Lightmaps
2022-03-01 10:23:25 +01:00
kobewi
f653107764
Fix scripts not saving when closing
2022-03-01 01:23:26 +01:00
Igor Kordiukiewicz
ffa4a02808
Fixes camera preview toggle in additional editor viewports not disappearing corectly causing a crash
2022-02-28 15:47:35 +01:00
Yuri Roubinsky
a4a8de3874
Fix crash on creation of HSV2RGB/RGB2HSV
functions in visual shader
2022-02-27 17:51:31 +03:00
K. S. Ernest (iFire) Lee
ab15267096
Allow automatic lod when importing 3D scenes with Static Lightmaps
...
Avoid the normal merge procedure when uv2s are different and makes generating LODs happen after the lightmap generation
2022-02-25 18:03:09 -08:00
bruvzg
74ff5921d6
Improve popup window handling.
...
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-25 09:33:27 +02:00
kobewi
b727b81468
Fix source picking with sort
2022-02-24 01:20:21 +01:00
Haoyu Qiu
33ad21d2ed
Utilize mouse position when zooming with shortcuts in 2D editor
2022-02-23 20:45:44 +08:00
lawnjelly
bb070af610
Fix GIProbe gizmo out of bounds crash
...
The GIProbe gizmo was writing values in 3 dimensions to Vector2s. This error was previously being masked by the Vector2 accessor, but now results in a crash or ERR_FAIL message.
This PR removes the Vector2s as they were unused.
2022-02-22 19:01:18 +00:00
Haoyu Qiu
4eaddf9b55
Fix viewBox of ViewportSpeed.svg
2022-02-23 01:16:35 +08:00
Rémi Verschelde
256069eaf0
Merge pull request #58399 from Sauermann/fix-bresenham-usage
...
Use bresenham_line() in EditorAtlasPacker::chart_pack
2022-02-21 22:19:53 +01:00
Rémi Verschelde
2f1f7e26f7
Merge pull request #58397 from Calinou/editor-font-preload-fix-typo
...
Fix typos in editor font preload dialog warning messages
2022-02-21 20:24:02 +01:00
Markus Sauermann
b35e9155d0
Use bresenham_line() in EditorAtlasPacker::chart_pack
2022-02-21 19:52:47 +01:00
Hugo Locurcio
06e701ef58
Fix typos in editor font preload dialog warning messages
2022-02-21 19:30:16 +01:00
Rémi Verschelde
adf10902c9
Merge pull request #58315 from KoBeWi/fixibility
2022-02-21 12:33:17 +01:00
Rémi Verschelde
b829615150
Merge pull request #58372 from KoBeWi/orphan_ci
...
Fix 2D instance drop position
2022-02-21 08:39:37 +01:00
kobewi
3a9fb3aff0
Fix 2D instance drop position
2022-02-20 23:09:47 +01:00
Haoyu Qiu
7f30fd10f9
Fix errors when updating script template list
2022-02-20 19:39:48 +08:00
Rémi Verschelde
499eec13a3
Merge pull request #57163 from winterpixelgames/feature/allow-disable-atlas-texture-alpha-trim
...
Allow disabling the alpha trim on texture atlas creation.
2022-02-19 23:54:00 +01:00
kobewi
3a77484f70
Fix CanvasItem visibility propagation
2022-02-19 22:40:53 +01:00
Jason Knight
31d723c4ce
Allow disabling the alpha trim on texture atlas creation.
...
Default to true
2022-02-19 14:00:42 -06:00
Markus Sauermann
ec8e616024
Fix vertical icons in container sizing
2022-02-19 19:29:53 +01:00
Rémi Verschelde
8aed7c1c09
Merge pull request #58308 from timothyqiu/dae-for
...
Fix crash when importing DAE model
2022-02-19 08:28:26 +01:00
Haoyu Qiu
a787e43b13
Fix crash when importing DAE model
2022-02-19 13:43:22 +08:00
Haoyu Qiu
639c4b6f20
Fix crash in Create New Node dialog with certain user-created scripts
2022-02-19 13:14:33 +08:00
Rémi Verschelde
0217d44dfd
Merge pull request #58278 from Ev1lbl0w/fix_decompress_retcode
2022-02-18 15:56:21 +01:00
Ricardo Subtil
61790a03f5
Fix decompression functions not returning errcodes
2022-02-18 13:50:25 +00:00
Eric M
f6edd2d2a0
Fixed issues with shortcut checking in 3d node editor
...
The freelook shortcuts now use the action system by proxy. This allows the actions system to be leveraged for input checking. When the shortcut changes, the respective action is updated.
2022-02-18 23:19:22 +10:00
Rémi Verschelde
5b18a81be9
Merge pull request #58249 from Calinou/editor-online-docs-use-versioned-url
2022-02-17 19:18:55 +01:00
Hugo Locurcio
958912a33f
Use versioned URL for "Online Documentation" buttons in the editor
...
This also avoids a redirect, making the page appear to load faster.
2022-02-17 18:17:02 +01:00
kobewi
f315c9d0c6
Connect text_submitted of built-in script name
2022-02-17 17:03:41 +01:00
diddykonga
78dc608aa8
Change 'find_node' to 'find_nodes' and Add 'type' parameter
...
Changed 'find_node' to 'find_nodes' which now returns an 'TypedArray<Node>', as well as Added a 'type' parameter to match against specific node types, which supports inheritance.
2022-02-17 01:44:13 -06:00
Haoyu Qiu
7d05a066e3
Translate link titles in classref XML
2022-02-17 11:11:23 +08:00
Rémi Verschelde
009254d87c
Merge pull request #58187 from jakobbouchard/notification-switch-chunk-c
...
Convert _notification methods to switch - Chunk C
2022-02-16 20:58:55 +01:00
Jakob Bouchard
6553f5c242
Convert _notification methods to switch - Chunk C
2022-02-16 13:03:05 -05:00
Rémi Verschelde
51a00c2855
Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcode
2022-02-16 16:55:07 +01:00
Rémi Verschelde
33c7f52f36
Merge pull request #58169 from megalobyte/update-notificatin-if-to-switch-batch-B
2022-02-16 16:39:23 +01:00
megalobyte
8824b6c5e9
Update if == NOTIFICATION_* to switch statements to match coding style
2022-02-16 08:44:37 -05:00
Rémi Verschelde
b8b4580448
Style: Cleanup single-line blocks, semicolons, dead code
...
Remove currently unused implementation of TextureBasisU, could be re-added
later on if needed and ported.
2022-02-16 14:06:29 +01:00
jmb462
dcd2a92af3
Port existing _notification code to use switch statements (part 1/3)
2022-02-16 11:38:24 +01:00
Rémi Verschelde
c4c29728a3
i18n: Sync editor translations with Weblate
...
Minor proofreading of new OSX export strings.
(cherry picked from commit 9f09251027
)
2022-02-16 10:08:40 +01:00
kobewi
547786650f
Automatically select source of the picked tile
2022-02-16 00:39:00 +01:00
Rémi Verschelde
11572c6e30
Editor: Cleanup some includes dependencies
...
Removes some unnecessary includes from `editor_node.h`, and instead add
those where they're used.
Removes unnecessary `editor_node.h` includes in various editor classes.
Renames `dynamicfont` to `dynamic_font` in a couple files.
Misc cleanup while jumping through that rabbit hole.
2022-02-15 14:54:15 +01:00
Rémi Verschelde
1d910b1e58
Merge pull request #57863 from Calinou/editor-use-anchors-metadata-no-redundant
2022-02-15 14:41:27 +01:00
Rémi Verschelde
6d708dfd6a
Merge pull request #57329 from Ev01/tileset-editor-minimum-zoom
2022-02-15 14:20:22 +01:00
Rémi Verschelde
760a95e86a
Merge pull request #57877 from bruvzg/subpixel_gl_pos
2022-02-15 13:58:38 +01:00
Rémi Verschelde
78a767edb3
Merge pull request #35679 from Calinou/doc-add-xml-schema
2022-02-15 13:14:58 +01:00
Rémi Verschelde
c4779196b9
Merge pull request #58125 from fire-forge/editor_property_overlap_fix
...
Fix EditorProperty icon overlapping text with checkbox
2022-02-15 08:09:51 +01:00
Hugo Locurcio
b68dd2e189
Add an XML schema for documentation
...
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
Rémi Verschelde
d02db6306e
Merge pull request #58105 from trollodel/nuke_p_editor_editor_plugin
2022-02-14 21:10:38 +01:00
trollodel
cd1d7294d8
Remove the EditorNode parameter from EditorPlugins create methods
...
Remove EditorNode usage from the Navigation editor plugin.
2022-02-14 18:21:42 +01:00
Hugo Locurcio
15244e55bd
Improve completion scroll bar visibility in the script editor
...
This makes the scroll bar bar thicker and more opaque (roughly
matching the editor theme's scroll bar by default).
2022-02-14 16:49:08 +01:00
Rémi Verschelde
f810f76890
Merge pull request #57306 from trollodel/remove_editornode_param
2022-02-14 16:40:40 +01:00
Rémi Verschelde
cd6301ae25
Merge pull request #58008 from Geometror/increase-checkerboard-contrast
2022-02-14 15:22:50 +01:00
Yuri Sizov
7f4b71b682
Add missing CheckButton icons
2022-02-14 16:23:59 +03:00
trollodel
05b56f316d
Remove most EditorNode constructor parameters and fields
2022-02-14 14:16:24 +01:00
JFonS
8317753c24
Merge pull request #57964 from mbrlabs/deselect
...
Deselect nodes in the 3D editor when pressing ESC
2022-02-14 10:42:46 +01:00
JFonS
58199e5ad0
Merge pull request #57990 from jmb462/fix-drag-lines-precision-issue
...
Fix 3D editor axis drag lines precision issue
2022-02-14 10:39:44 +01:00
Haoyu Qiu
9aaab5b693
Make duplicate animation prompt for new name
2022-02-14 14:48:25 +08:00
FireForge
dbc380af59
Fix EditorProperty text and icon overlap bugs
2022-02-13 22:27:06 -06:00
Hugo Locurcio
7ca843b655
Only store _edit_use_anchors_
metadata if value is not the default
...
The default value is assumed to be `false`, so this metadata
only needs to be stored if the value is `true`.
2022-02-14 01:26:57 +01:00
Rémi Verschelde
e9ef64526a
Merge pull request #57892 from TechnicalSoup/ProjManager-Patch
...
Center initial position of project manager window
2022-02-13 10:37:48 +01:00
TechnicalSoup
f3b7419790
Center initial position project manager window
...
Ensure that the project manager window is centered on the screen if any resizing is performed due to DPI scaling.
Resizing and repositioning code has been moved to after the initialisation of the window contents to improve UI response/presentation.
2022-02-13 19:48:53 +11:00
Rémi Verschelde
aa069a4d31
Merge pull request #58033 from jmb462/fix-mouse-wheel-animation-track-zoom
...
Fix AnimationTrack mouse wheel zooming at low zoom level
2022-02-13 08:27:27 +01:00
jmb462
64ca6a0696
Fix AnimationTrack mouse wheel zooming at low zoom level
2022-02-13 00:24:35 +01:00
bruvzg
9739a2038a
Fix Project Manager crash on exit.
...
Fix editor settings loading / saving by Project Manager.
2022-02-12 21:55:11 +02:00
bruvzg
29199579f7
Add sub-pixel glyph positioning support.
2022-02-12 19:55:52 +02:00
Rémi Verschelde
498805282a
Merge pull request #57993 from Calinou/sky-tweak-default-values
2022-02-12 16:46:19 +01:00
Hendrik Brucker
8ebecf5095
Increase checkerboard texture contrast
2022-02-12 14:55:07 +01:00
Hendrik Brucker
77fb65debf
Use EditorFileDialog instead of FileDialog in the project manager
2022-02-12 12:06:51 +01:00
Rémi Verschelde
3f759f03c3
Merge pull request #57997 from Calinou/texture-import-rename-hdr-as-srgb
2022-02-12 10:22:06 +01:00
Jean-Michel Bernard
b452534e60
Fix 3D Editor axis drag lines precision issue
2022-02-12 10:20:31 +01:00
Rémi Verschelde
f5a27ee4fe
Merge pull request #57994 from jmb462/polygon2d-handles
2022-02-12 10:12:06 +01:00
Rémi Verschelde
7a7fabe4f6
Merge pull request #57641 from Geometror/compilation-time-improvements-1
2022-02-12 09:46:02 +01:00
Hendrik Brucker
b396fd4eef
Improve compilation speed (forward declarations/includes cleanup)
2022-02-12 02:46:22 +01:00
Hugo Locurcio
1737b4a946
Rename Hdr as Srgb texture import option to be lowercase
...
Unlike all other import options, Hdr As Srgb was internally spelled
out with uppercase characters.
2022-02-12 02:39:10 +01:00
Hugo Locurcio
b7b18a4940
Tweak default ProceduralSkyMaterial and PhysicalSkyMaterial appearance
...
- Tweak colors to be less saturated and more balanced (in terms of hue).
The cool blue sky is balanced by a warm brown ground,
which makes reflections look closer to how they'd look like when using
an HDRI panorama texture.
- Make the ground color dark on both ProceduralSkyMaterial and
PhysicalSkyMaterial to reduce indoor light leaking, especially
when using GI.
- Tweak the PhysicalSkyMaterial colors to be as close as possible
to ProceduralSkyMaterial (with the default sun orientation).
- Tweak editor environment defaults to be identical to the default
ProceduralSkyMaterial colors. Previously, the default editor sky
color was different from the colors of a newly created
ProceduralSkyMaterial resource.
Both new skies were tested without GI, with SDFGI and with VoxelGI.
They were tuned to look best when using ACES tonemapping with a
whitepoint set to 6, but they still look good with other
tonemapping operators.
2022-02-12 02:22:40 +01:00
Jean-Michel Bernard
b0ebbd8ece
Hide Polygon2D lines and handles when node is not visible in tree.
2022-02-11 23:18:23 +01:00
Rémi Verschelde
a0558b8af8
Merge pull request #57984 from jmb462/collisionshape_handles
2022-02-11 23:03:20 +01:00
Rémi Verschelde
45360ca118
Merge pull request #57982 from trollodel/fix_disabled_visualscript
2022-02-11 22:57:11 +01:00
trollodel
e97e894aa0
Fix editor compile error when VisualScript is disabled
2022-02-11 18:45:41 +01:00
Jean-Michel Bernard
ef995b222e
Hide CollisionShape2D handles when node is not visible in tree.
2022-02-11 18:44:17 +01:00
Yuri Sizov
175088db25
Add an explicit way to remove a theme type
2022-02-11 17:57:52 +03:00
Marcus Brummer
55fda17742
Deselect nodes in the 3D editor when pressing ESC
2022-02-11 11:41:51 +01:00
JFonS
3aa7b7eaf2
Merge pull request #57919 from mbrlabs/region-select-fixes
...
Fixed issues with 3D region-select in the editor
2022-02-11 10:59:18 +01:00
Marcus Brummer
3c4c73b100
Fixed issues with 3D region-select in the editor
2022-02-11 09:43:40 +01:00
Francois Belair
52649d5402
Fix selecting keys in Track Edit
2022-02-10 17:57:08 -05:00
Rémi Verschelde
ba8973d663
Merge pull request #57902 from aaronfranke/canvas-editor-scale
2022-02-10 22:24:22 +01:00
Rémi Verschelde
69ddf2fd05
Merge pull request #55157 from pycbouh/control-inspector-reorg
2022-02-10 22:13:28 +01:00
Yuri Sizov
107b6f299c
Reorganize inspector layout workflow for Control nodes
2022-02-10 20:29:34 +03:00
Rémi Verschelde
519075cf41
Merge pull request #57912 from rcorre/fix-blender
2022-02-10 16:53:01 +01:00
Rémi Verschelde
52a7ecf821
Merge pull request #57886 from KoBeWi/icon.png_drop
2022-02-10 16:12:36 +01:00
kobewi
283ec9e640
Fix texture file dropping in 2D editor
2022-02-10 15:06:13 +01:00
Ryan Roden-Corrent
628219c922
Don't block input after cancelling transform.
...
After starting an instant transform and cancelling it, the mouse was
blocked because cancel_transform did not set _edit.instant back to
false.
This refactors all the cleanup into a separate function that both
cancel_transform and commit_transform can call.
Fixes #57868 .
2022-02-10 08:23:10 -05:00
Rémi Verschelde
1bdb82c64e
Fix typos with codespell
...
Using codespell 2.2-dev from current git.
Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
2022-02-10 12:30:19 +01:00
Anilforextra
bb5d130509
Code quality cleanup for some variable scopes.
2022-02-10 15:56:01 +05:45
Aaron Franke
742205b29a
Fix CanvasItemEditor scale editor not using the editor methods
2022-02-10 03:51:53 -06:00
Rémi Verschelde
f21a62b620
Merge pull request #57866 from fire-forge/better_array_editor
2022-02-10 10:39:36 +01:00
Francois Belair
13a0d9177d
Implement drawing and editing all anim beziers
...
* Move bezier edit from track to button in toolbar
* Draw, edit all bezier curves simultaneously
* Add click on curve to select tracks
* Tie track editor's filter view to bezier editor
* Implement visibility and locking
* Fix editor spacing issues
* Fix track buttons spacing
* Add keyframe focus and (de)select all key handling
2022-02-09 19:48:22 -05:00
Rémi Verschelde
8161e28512
Merge pull request #55899 from groud/fix_rotation_track_wrong_type
...
Fixes rotation 3D track inspector not using the correct type
2022-02-09 22:17:07 +01:00
Rémi Verschelde
d22ac13bc2
Merge pull request #57715 from Faless/debugger/4.x_core_includes_and_servers
...
[Debugger] Move most profilers to ServersDebugger, fix core includes.
2022-02-09 21:57:32 +01:00
Marcus Brummer
c283a0ece7
Improved region-select in the 3D editor viewport
2022-02-09 12:22:03 +01:00
Rémi Verschelde
79077e6c10
Merge pull request #57817 from akien-mga/version-hash-cpp
2022-02-09 09:46:02 +01:00
Rémi Verschelde
d6deada47c
Revert "Show the 3D transform gizmo in the center when otherwise offscreen"
...
This reverts commit 4234a72b25
.
There are some errors which are problematic to have in 4.0 alpha 2.
The PR can be redone with fixes and merged again after the dev release.
Fixes #57839 .
2022-02-09 09:39:28 +01:00
Rémi Verschelde
90162851a7
Core: Move generated VERSION_HASH
to a .cpp
file
...
This lets us have its definition in `core/version.h` and avoid
rebuilding a handful of files every time the commit hash changes.
2022-02-09 09:20:17 +01:00
FireForge
62073d157f
Unify array, dictionary, and inspector array editors
2022-02-09 00:15:47 -06:00
Ellen Poe
41a158af56
Add AudioStreamRandomizer, replacing AudioStreamRandomPitch
...
Add additional randomization options.
2022-02-09 00:05:32 +01:00
Rémi Verschelde
25d4c14fef
Merge pull request #57627 from JFonS/occluder_improvements
2022-02-08 23:23:50 +01:00
Aaron Franke
4234a72b25
Show the 3D transform gizmo in the center when otherwise offscreen
2022-02-08 14:38:31 -06:00
Rémi Verschelde
76ce5c16f3
Merge pull request #55584 from KoBeWi/twoids
2022-02-08 21:14:51 +01:00
jfons
8345aabaf4
Improve rotation in the 3D transform gizmo
...
* Get rid of deadzones.
* Make it easier to select rotation handles at very oblique angles.
* Handle rotation for axes that are perpendicular to the camera.
2022-02-08 20:56:59 +01:00
jfons
e0c82913ff
Fix navigation in 3D viewport
...
The incorrect initialization of EditData::instant to true was preventing the navigation code to run until the transform gizmo was used.
2022-02-08 19:24:50 +01:00
kobewi
4397109aab
Fix uid conflict when duplicating resource
2022-02-08 18:04:19 +01:00
Rémi Verschelde
72de251501
Merge pull request #57807 from KoBeWi/ninja_methods
2022-02-08 17:32:33 +01:00
Rémi Verschelde
6889085813
Merge pull request #57808 from KoBeWi/named_inspector
2022-02-08 17:32:14 +01:00
Rémi Verschelde
96e4de3511
Merge pull request #57626 from Calinou/3d-editor-rename-debug-draw-modes
2022-02-08 16:42:01 +01:00
Rémi Verschelde
cc097cd22b
Merge pull request #56543 from rcorre/blendermotion-4.0
2022-02-08 16:39:19 +01:00
kobewi
0e8147d303
Display built-in script names in the inspector
2022-02-08 16:15:27 +01:00
kobewi
fb1fa2a3f7
Reload built-in scripts when picking methods
2022-02-08 16:06:57 +01:00
bruvzg
8e3245383a
[Editor] Fix font style matching issues.
...
Fix font selection when no style selected.
Fix style matching when fonts have different style sets.
Use SNAME for theme overrides.
2022-02-08 15:20:01 +02:00
Rémi Verschelde
e26598b4a1
Merge pull request #40140 from hinlopen/tree-scroll-center
2022-02-08 13:43:19 +01:00
Rémi Verschelde
561fbe2175
Merge pull request #56923 from fire-forge/fix-create-root-node-scrolling
2022-02-08 13:17:35 +01:00
Rémi Verschelde
f425d403fe
Merge pull request #57066 from KoBeWi/in_the_name_of_the_custom
2022-02-08 11:15:01 +01:00
Rémi Verschelde
a66e55069e
Merge pull request #57796 from akien-mga/revert-sname-theme-setters
2022-02-08 11:13:24 +01:00
Rémi Verschelde
6eeeb9a63c
Re-add missing SNAME
macros in get_theme_*
calls
...
They were removed in the previous commit reverting the addition of `SNAME`
to `add_theme_*` and theme setter methods, which is not wanted.
2022-02-08 10:31:56 +01:00
Rémi Verschelde
fc076ece3d
Revert "Add missing SNAME macro optimization to all theme methods call"
...
This reverts commit a988fad9a0
.
As discussed in #57725 and clarified in #57788 , `SNAME` is not meant to be used
everywhere but only in critical code paths. For theme methods specifically, it
was by design that only getters use `SNAME` and not setters.
2022-02-08 10:17:25 +01:00
Rémi Verschelde
317cd0b19a
Refactor some object type checking code with cast_to
...
Less stringly typed logic, and less String allocations and comparisons.
2022-02-08 10:08:34 +01:00
Rémi Verschelde
0154ce2c8d
Merge pull request #43015 from Xrayez/refactor-auto-instaprop
...
Refactor auto-instantiation of `Object` properties in editor
2022-02-08 08:57:29 +01:00
Jason Knight
81b6da9d3d
Use ScriptServer::get_global_class_base instead of script_class_get_base in script_class_is_parent.
2022-02-07 11:37:48 -06:00
kobewi
a08fc442a0
Fix script editor errors with CustomCallables
2022-02-07 14:34:42 +01:00
Michael Alexsander
59e9a8c275
Fix theming for floating window docks
2022-02-07 09:55:25 -03:00
Rémi Verschelde
88aea70a09
Merge pull request #57749 from timothyqiu/feature-class-props
2022-02-07 13:20:15 +01:00
jfons
dd970482c5
Improvements and fixes to occluders
...
Improvements:
* Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders.
* Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default.
* Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window.
Fixes:
* Fixed saving of occluder files after bake.
* Fixed a small error where occluders didn't correctly update in the rendering server.
Bonus content:
* Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders.
* Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07 13:04:51 +01:00
Rémi Verschelde
bfb75d107c
Merge pull request #57741 from Chaosus/vs_fixes
2022-02-07 12:50:44 +01:00
Haoyu Qiu
d9d12cd352
Don't display empty Class Properties in feature profile
2022-02-07 18:55:17 +08:00
Rémi Verschelde
b024602660
Merge pull request #57725 from jmb462/missing-sname-theme-setters
2022-02-07 11:46:25 +01:00
Rémi Verschelde
ec00283f91
ResourceImporter: Restore default append logic for new importers
...
This was changed in #56943 to allow adding new importers from plugins that
take precedence over built-in ones, but this should be opt-in, not the default
behavior.
Fixes #57730 .
2022-02-07 09:47:16 +01:00
Yuri Roubinsky
a6e280c5de
Add some more fixes to visual shader
2022-02-07 11:28:42 +03:00
Rémi Verschelde
c2a540de51
Merge pull request #57732 from KoBeWi/leftplication
...
Move Replication tab to a fixed position
2022-02-07 08:14:30 +01:00
kobewi
ee3b7bc747
Move Replication tab to a fixed position
2022-02-07 01:06:55 +01:00
kleonc
803ac608a6
SpriteFramesEditor Fix crash when selecting non-Texture2D file for splitting
2022-02-06 23:39:04 +01:00
jmb462
a988fad9a0
Add missing SNAME macro optimization to all theme methods call
2022-02-06 23:06:11 +01:00
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
Ger Hean
472c6cbfdc
Fix shortcut collapse after edit
2022-02-05 18:49:32 +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