86c76dca12
Make name of editor file dialog filters translatable
2022-03-05 12:32:38 +08:00
c9d0523302
Merge pull request #58770 from YeldhamDev/some_crumbles_left
...
Replace some bits of code left to work with the new `TabContainer`
2022-03-04 23:39:25 +01:00
27377170d2
Merge pull request #58727 from fire-forge/EditorSpinSlider_label_color
...
Make EditorSpinSlider label color a theme property
2022-03-04 23:38:55 +01:00
917dac78e7
Replace some bits of code left to work with the new TabContainer
2022-03-04 19:16:33 -03:00
6a4d3859cf
Make EditorSpinSlider label color a theme property
2022-03-04 15:27:50 -06:00
9d5d20ae6d
Merge pull request #58687 from YeldhamDev/the_beast_has_been_slain
2022-03-04 12:18:55 +01:00
1e7108938c
Add node icons to the Sprite2D menu
2022-03-04 01:17:35 -06:00
a811ebf699
Make TabContainer use TabBar internally
2022-03-03 21:49:58 -03:00
ed0da06958
Added property hint to id property in tile set atlas source editor
2022-03-02 20:33:03 +01:00
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
f653107764
Fix scripts not saving when closing
2022-03-01 01:23:26 +01:00
ffa4a02808
Fixes camera preview toggle in additional editor viewports not disappearing corectly causing a crash
2022-02-28 15:47:35 +01:00
a4a8de3874
Fix crash on creation of HSV2RGB/RGB2HSV functions in visual shader
2022-02-27 17:51:31 +03:00
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
b727b81468
Fix source picking with sort
2022-02-24 01:20:21 +01:00
33ad21d2ed
Utilize mouse position when zooming with shortcuts in 2D editor
2022-02-23 20:45:44 +08:00
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
adf10902c9
Merge pull request #58315 from KoBeWi/fixibility
2022-02-21 12:33:17 +01:00
3a9fb3aff0
Fix 2D instance drop position
2022-02-20 23:09:47 +01:00
3a77484f70
Fix CanvasItem visibility propagation
2022-02-19 22:40:53 +01:00
ec8e616024
Fix vertical icons in container sizing
2022-02-19 19:29:53 +01:00
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
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
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
6553f5c242
Convert _notification methods to switch - Chunk C
2022-02-16 13:03:05 -05:00
51a00c2855
Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcode
2022-02-16 16:55:07 +01:00
33c7f52f36
Merge pull request #58169 from megalobyte/update-notificatin-if-to-switch-batch-B
2022-02-16 16:39:23 +01:00
8824b6c5e9
Update if == NOTIFICATION_* to switch statements to match coding style
2022-02-16 08:44:37 -05:00
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
547786650f
Automatically select source of the picked tile
2022-02-16 00:39:00 +01:00
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
1d910b1e58
Merge pull request #57863 from Calinou/editor-use-anchors-metadata-no-redundant
2022-02-15 14:41:27 +01:00
6d708dfd6a
Merge pull request #57329 from Ev01/tileset-editor-minimum-zoom
2022-02-15 14:20:22 +01:00
f810f76890
Merge pull request #57306 from trollodel/remove_editornode_param
2022-02-14 16:40:40 +01:00
05b56f316d
Remove most EditorNode constructor parameters and fields
2022-02-14 14:16:24 +01:00
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
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
9aaab5b693
Make duplicate animation prompt for new name
2022-02-14 14:48:25 +08:00
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
498805282a
Merge pull request #57993 from Calinou/sky-tweak-default-values
2022-02-12 16:46:19 +01:00
b452534e60
Fix 3D Editor axis drag lines precision issue
2022-02-12 10:20:31 +01:00
f5a27ee4fe
Merge pull request #57994 from jmb462/polygon2d-handles
2022-02-12 10:12:06 +01:00
7a7fabe4f6
Merge pull request #57641 from Geometror/compilation-time-improvements-1
2022-02-12 09:46:02 +01:00
b396fd4eef
Improve compilation speed (forward declarations/includes cleanup)
2022-02-12 02:46:22 +01:00
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
b0ebbd8ece
Hide Polygon2D lines and handles when node is not visible in tree.
2022-02-11 23:18:23 +01:00
a0558b8af8
Merge pull request #57984 from jmb462/collisionshape_handles
2022-02-11 23:03:20 +01:00
45360ca118
Merge pull request #57982 from trollodel/fix_disabled_visualscript
2022-02-11 22:57:11 +01:00
e97e894aa0
Fix editor compile error when VisualScript is disabled
2022-02-11 18:45:41 +01:00
ef995b222e
Hide CollisionShape2D handles when node is not visible in tree.
2022-02-11 18:44:17 +01:00