Gregory Basile
8ab13f8ace
Documentation search fixes
...
Updates rich_text_label so that the built-in documentation can be searched
Previously, it would only find the first result and would not select other results
Renames "_entered" functions to "_submitted"
2021-06-16 09:43:34 -07:00
Lightning_A
b6af2a29eb
Rename is_valid_integer()
to is_valid_int()
...
Method from `String`
2021-06-16 10:32:22 -06:00
Rémi Verschelde
34e308e044
Merge pull request #47639 from timothyqiu/abbr
...
Don't use the abbrevation "Sep." in UI text
2021-06-16 15:51:21 +02:00
Rémi Verschelde
f862f9a056
EditorSettings: Factor code to compute auto display scale
...
Also fixes typo introduced in https://github.com/godotengine/godot/pull/48597/files#r652636544 .
2021-06-16 14:36:09 +02:00
Rémi Verschelde
37a0f4cefb
i18n: Sync translations with Weblate
...
(cherry picked from commit a812779cc5
)
2021-06-16 13:48:32 +02:00
Haoyu Qiu
5046a7d1b1
Don't use the abbrevation "Sep." in UI text
2021-06-16 19:40:12 +08:00
Riteo Siuga
7cb3476a1c
Remove GridMap's "Lock View" option and a related method.
...
Apparently this feature utilized a completely commented out 7+ years old
method, effectively doing nothing. Since it was designed with a completely
different editor design in mind it is pretty much incompatible and as such
it's best to remove it for now.
2021-06-16 04:14:37 +02:00
Lightning_A
70fb239a25
Add "Suggest a Feature" to the help dialog.
...
Links to Godot Proposals's readme.
2021-06-15 18:37:27 -06:00
Rémi Verschelde
80d057269f
Revert "Fix SceneTreeDock::_selection_changed to handle to single selection from Multiple Selection"
2021-06-16 02:12:01 +02:00
Rémi Verschelde
e312df0972
Fix build after merge of #48598
2021-06-15 18:37:12 +02:00
Rémi Verschelde
3f01b38185
Merge pull request #48597 from Calinou/editor-scale-auto-portrait
...
Handle portrait mode monitors in the automatic editor scale detection
2021-06-15 18:27:48 +02:00
Rémi Verschelde
5bd0692d0c
Merge pull request #48598 from Calinou/animation-track-editor-improve-scrolling
...
Improve scrolling actions in the animation track editor
2021-06-15 18:27:06 +02:00
Rémi Verschelde
9f1f59570c
Merge pull request #48619 from Calinou/editor-autoload-rename-singleton
...
Rename "Singleton" to "Global Variable" in the AutoLoad editor
2021-06-15 18:25:38 +02:00
Rémi Verschelde
fed31b1827
Merge pull request #49616 from BastiaanOlij/more_rename_transform
...
Adding some more missing renames for Transform3D and Quaternion
2021-06-15 16:50:52 +02:00
Rémi Verschelde
acdcd37ad2
Merge pull request #49003 from Calinou/editor-freelook-fix-redrawing-when-not-moving
...
Fix editor constantly redrawing when freelook is active with still camera
2021-06-15 16:27:08 +02:00
Bastiaan Olij
2161fd117b
Adding some more missing renames for Transform3D and Quaternion
2021-06-15 16:01:50 +02:00
Rémi Verschelde
69553166ea
Merge pull request #49083 from foxydevloper/make-easing-line-smooth
...
Make easing properties drawn with anti aliasing
2021-06-15 15:44:39 +02:00
Rémi Verschelde
fbdb1e0bab
Merge pull request #49108 from LightningAA/reload-current-project-4.0
...
Add the ability to reload the current project
2021-06-15 15:40:52 +02:00
Rémi Verschelde
9f8d892e4e
Merge pull request #49310 from foxydevloper/add-drag-threshold-select-mode
...
Prevent accidental drags by adding drag distance threshold
2021-06-15 15:34:28 +02:00
Rémi Verschelde
be787e140e
Merge pull request #49482 from unsignedFoo/49451-fix-selection-changed-multinodeeditor
...
Fix SceneTreeDock::_selection_changed to handle to single selection from Multiple Selection
2021-06-15 15:07:52 +02:00
Rémi Verschelde
3942ea68a8
Merge pull request #49604 from pfertyk/issue-49453-wrong-recent-directory-names
...
Remove trailing slash from recent dir if needed
2021-06-15 14:58:05 +02:00
Rémi Verschelde
db0816e129
Merge pull request #49459 from akien-mga/fixup-editor-paths-settings
2021-06-15 14:35:37 +02:00
Yuri Sizov
d0e86c7afc
Overhaul the theme editor and improve user experience
2021-06-14 21:46:30 +03:00
Rémi Verschelde
1074017f04
Refactor editor paths validation in EditorPaths and EditorSettings
...
- EditorSettings: Ensure that `create()` makes a valid singleton.
Fixes #49179 , fixes #49450 .
- EditorPaths: Cleanup code, properly set `paths_valid`.
- EditorPaths: Move more paths validation (check, mkdir) from
EditorSettings for a better separation of concerns.
- EditorPaths: Move EditorFileSystem creation of `.godot/imported`
next to other paths.
2021-06-14 19:56:20 +02:00
Tomasz Chabora
5e7f963923
Make closing current scene faster
2021-06-14 19:48:15 +02:00
Rémi Verschelde
07b8fffa7c
Merge pull request #49458 from JFonS/fix_unwrap_xform
...
Rename get_parent_spatial() to get_parent_node_3d()
2021-06-14 18:32:33 +02:00
Paweł Fertyk
709e71ae9c
Remove trailing slash from recent dir if needed
2021-06-14 17:51:57 +02:00
jfons
ee702334a1
Rename get_parent_spatial() to get_parent_node3d()
...
Renames get_parent_spatial() to get_parent_node3d() and changes its
implementation. Before it was not returning a correct pointer if the
node wasn't added to a SceneTree. Now it uses the same implementation as
CanvasItem, which will be correct even for nodes outside a SceneTree.
2021-06-14 14:05:13 +02:00
Rémi Verschelde
12e0f10c74
Merge pull request #49227 from pycbouh/editor-theme-freeze-changes
...
Prevent `Theme` resource from emitting changes during bulk operations
2021-06-13 15:44:32 +02:00
Rémi Verschelde
ef7974f3d9
Merge pull request #49526 from Chaosus/fix_textureregion_errors
2021-06-13 14:44:50 +02:00
Haoyu Qiu
1a9e3edd30
Validate parameters when adding plugins
2021-06-13 17:25:39 +08:00
kobewi
3911e71a52
Fix some virtual methods
2021-06-13 02:02:39 +02:00
Rémi Verschelde
6d98f84abb
Merge pull request #48746 from KoBeWi/bane_of_all_virtual_compatibility
...
Consistently prefix bound virtual methods with _
2021-06-12 23:00:40 +02:00
Rémi Verschelde
ac73059b56
Merge pull request #49123 from aaronfranke/it-is-time
...
Add a Time singleton
2021-06-12 22:55:25 +02:00
Hugo Locurcio
d1c5dd5b68
Fix game camera override tooltips being swapped
...
Previously, the wrong tooltip was shown.
This also tweaks the tooltips' texts to be clearer and remove
references to "game" (since Godot is used for more than just games).
2021-06-12 19:39:34 +02:00
Yuri Roubinsky
19afaa0203
Fixed a bunch of connection errors in TextureEditorPlugin
2021-06-12 08:01:02 +03:00
kobewi
7ff135b015
Consistently prefix bound virtual methods with _
2021-06-12 00:55:52 +02:00
Rémi Verschelde
1b943dbea1
Merge pull request #49519 from Xrayez/filesystem-delete-for-everyone
...
Use "Delete" in FileSystemDock on all platforms
2021-06-11 23:35:45 +02:00
Rémi Verschelde
530e069bc3
Merge pull request #49312 from RandomShaper/reference_to_ref_count
...
Rename `Reference` to `RefCounted`
2021-06-11 19:46:25 +02:00
Andrii Doroshenko (Xrayez)
77daadac1d
Use "Delete" in FileSystemDock on all platforms
...
The consensus is that the per-platform strings are not so useful in the
first place, so it's better to revert back to "Delete" for every platform.
2021-06-11 20:35:10 +03:00
Rémi Verschelde
50d1e0ea99
Merge pull request #47835 from mortarroad/master-lossless-webp
...
Implement lossless WebP encoding
2021-06-11 19:34:36 +02:00
Pedro J. Estébanez
04688b92ff
Rename Reference to RefCounted
2021-06-11 18:48:42 +02:00
Morris Tabor
1bc1e94208
Implement lossless WebP encoding
2021-06-11 18:46:04 +02:00
Rémi Verschelde
8d4046929c
Merge pull request #49511 from akien-mga/core-diraccess-fileaccess-io
...
Core: Move DirAccess and FileAccess to `core/io`
2021-06-11 16:51:10 +02:00
Rémi Verschelde
6b0183ec89
Merge pull request #49279 from Calinou/rename-string-is-abs-path-method
...
Rename `String.is_abs_path()` to `String.is_absolute_path()`
2021-06-11 15:58:16 +02:00
Aaron Franke
f64fea1b23
Add Time singleton
2021-06-11 09:32:39 -04:00
Rémi Verschelde
e82a1113ab
Merge pull request #49338 from Chaosus/fix_property_editor_remake
...
Fix property editor to make changes if popup closed (remake)
2021-06-11 14:56:35 +02:00
Rémi Verschelde
9e328bb5b7
Core: Move DirAccess and FileAccess to core/io
...
File handling APIs are typically considered part of I/O, and we did have most
`FileAccess` implementations in `core/io` already.
2021-06-11 14:52:39 +02:00
Aitor Cereceto
1ef9b8645c
[49451] fix: Control _selection_changed from Multiple Selection
2021-06-10 12:04:07 +02:00
Rémi Verschelde
58c1235111
Merge pull request #49265 from KoBeWi/keepfreplace_2_keepers_of_replace
...
Move FindReplaceBar out of CodeTextEditor
2021-06-09 21:07:27 +02:00
Rémi Verschelde
0818a466c0
Merge pull request #49462 from TokageItLab/update-property-selector-icon-list
...
update property selector's icon list
2021-06-09 17:54:59 +02:00
Silc 'Tokage' Renew
67689dac7b
update property selector's icon list and rename Quat.svg to Quaternion.svg
2021-06-09 23:50:29 +09:00
Rémi Verschelde
f178e7abd7
Merge pull request #48834 from daniel-mcclintock/fix-distraction-free-state-loss
...
Fix out of sync ScriptEditor distraction mode when `Separate Distraction Mode` is Enabled
2021-06-09 11:28:19 +02:00
Rémi Verschelde
27cf525713
Merge pull request #42248 from Chaosus/vs_particles_shader
...
Continuation of work on visual particles system
2021-06-09 11:15:41 +02:00
daniel-mcclintock
45fc6c4706
Fix out of sync separate distraction-free mode
2021-06-09 09:27:30 +10:00
kobewi
da6aebeb4c
Move FindReplaceBar out of CodeTextEditor
2021-06-08 23:23:07 +02:00
Rémi Verschelde
090e4c4abd
Merge pull request #49422 from timothyqiu/hani-preview-text
...
Fix font preview text for CJKV ideographs
2021-06-08 23:15:30 +02:00
Paulb23
d4c165d8c7
Fix TextEditor redo shortcut typo
2021-06-08 17:41:35 +01:00
Andrii Doroshenko (Xrayez)
293550f56a
Separate version hash from version number in editor and project manager
...
When copy-pasting the version from About dialog to bug reports at GitHub,
this makes the version hash linkable to commits at GitHub.
2021-06-08 17:30:37 +03:00
Haoyu Qiu
4d5acd76f4
Fix font preview text for CJKV ideographs
2021-06-08 21:39:22 +08:00
Rémi Verschelde
a19439734e
Merge pull request #48742 from pycbouh/editor-subresource-selector
...
Make several actions in the Inspector dock more obvious
2021-06-07 20:44:26 +02:00
Yuri Roubinsky
f632e36ae5
Continuation of work on visual particles system
2021-06-07 20:33:17 +03:00
Rémi Verschelde
d10ace8870
Merge pull request #49128 from Calinou/improve-position-node-axis-visibility
...
Improve axis awareness and visibility for Position2D and Position3D
2021-06-07 17:38:06 +02:00
Rémi Verschelde
f0f16c76a5
Merge pull request #49296 from NoFr1ends/fix-49294
...
EditorSettings: Look for binding while filtering too
2021-06-07 17:37:09 +02:00
kobewi
8e8398209e
Don't remap resources belonging to instance
2021-06-07 12:52:05 +02:00
Rémi Verschelde
c1c76850cb
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
2021-06-07 11:03:08 +02:00
Rémi Verschelde
afbabd12f3
Merge pull request #49337 from Chaosus/vs_texture_func
...
Adds `UVFunc` for panning/scaling on UV's to VisualShader's.
2021-06-07 09:38:37 +02:00
Yuri Roubinsky
b2d2822a39
Adds UVFunc
for panning/scaling on UV's to VisualShader's.
2021-06-07 08:31:48 +03:00
kobewi
a97546d4ea
Don't save built-in script when adding method
2021-06-06 23:58:35 +02:00
Rémi Verschelde
aa251c310a
Merge pull request #49325 from reduz/rename-gi-classes
...
Rename GI Classes
2021-06-06 09:50:06 +02:00
TwistedTwigleg
8aa3c2f091
New and improved IK system for Skeleton2D
...
This PR and commit adds a new IK system for 2D with the Skeleton2D node
that adds several new IK solvers, a way to control bones in a Skeleton2D
node similar to that in Skeleton3D. It also adds additional changes
and functionality.
This work was sponsored by GSoC 2020 and TwistedTwigleg.
Full list of changes:
* Adds a SkeletonModifier2D resource
* This resource is the base where all IK code is written and executed
* Has a function for clamping angles, since it is so commonly used
* Modifiers are unique when duplicated so it works with instancing
* Adds a SkeletonModifierStack2D resource
* This resource manages a series of SkeletonModification2Ds
* This is what the Skeleton2D directly interfaces with to make IK possible
* Adds SkeletonModifier2D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK
* Each modification is in its own file
* There is also a SkeletonModifier2D resource that acts as a stack for using multiple stacks together
* Adds a PhysicalBone2D node
* Works similar to the PhysicalBone3D node, but uses a RigidBody2D node
* Changes to Skeleton2D listed below:
* Skeleton2D now holds a single SkeletonModificationStack2D for IK
* Skeleton2D now has a local_pose_override, which overrides the Bone2D position similar to how the overrides work in Skeleton3D
* Changes to Bone2D listed below:
* The default_length property has been changed to length. Length is the length of the bone to its child bone node
* New bone_angle property, which is the angle the bone has to its first child bone node
* Bone2D caches its transform when not modified by IK for IK interpolation purposes
* Bone2D draws its own editor gizmo, though this is stated to change in the future
* Changes to CanvasItemEditor listed below:
* Bone2D gizmo drawing code removed
* The 2D IK code is removed. Now Bone2D is the only bone system for 2D
* Transform2D now has a looking_at function for rotating to face a position
* Two new node notifications: NOTIFICATION_EDITOR_PRE_SAVE and NOTIFICATION_EDITOR_POST_SAVE
* These notifications only are called in the editor right before and after saving a scene
* Needed for not saving the IK position when executing IK in the editor
* Documentation for all the changes listed above.
2021-06-05 15:19:51 -04:00
Yuri Roubinsky
a090575a21
Fix property editor to make changes if popup closed (remake)
2021-06-05 19:31:54 +03:00
reduz
32625145c8
Rename GI Classes
...
* GIProbe is now VoxelGI
* BakedLightmap is now LightmapGI
As godot adds more ways to provide GI (as an example, SDFGI in 4.0), the different techniques (which have different pros/cons) need to be properly named to avoid confusion.
2021-06-05 09:28:56 -03:00
Rémi Verschelde
7085c0d801
Merge pull request #39202 from Calinou/editor-import-invert-green-channel
...
Replace "Invert" import option with more useful "Normal Map Invert Y"
2021-06-05 13:35:39 +02:00
Rémi Verschelde
6f7d45d210
Merge pull request #45364 from madmiraal/rename-quat
...
Rename Quat to Quaternion
2021-06-05 13:32:08 +02:00
PouleyKetchoupp
ba13d23140
KinematicBody split between new CharacterBody and PhysicsBody
...
PhysicsBody now has methods move_and_collide/test_move and needed
properties for these methods: safe margin, locked axes (3D only).
Moved collision_exceptions from StaticBody to PhysicsBody for 3D
(same as 2D, and conforms to documentation).
RigidBody doesn't have test_motion method anymore, it's now redundant
with PhysicsBody.test_move.
2021-06-04 11:40:36 -07:00
Marcel Admiraal
8acd13a456
Rename Quat to Quaternion
2021-06-04 18:14:32 +01:00
Hugo Locurcio
4ef71d7a01
Replace "Invert" import option with more useful "Normal Map Invert Y"
...
This can be used to invert a normal map's direction.
The "Invert" import option is no longer useful in Godot 4.0 since
it uses height maps instead of depth maps in StandardMaterial3D.
This closes https://github.com/godotengine/godot-proposals/issues/785 .
2021-06-04 18:09:16 +02:00
fox
00a4ee5cf3
Add threshold to dragging nodes with select to prevent accidental drags
2021-06-04 11:39:46 -04:00
Rémi Verschelde
5dc923d386
Merge pull request #49297 from aaronfranke/anim-type-tr3d
...
Rename Animation TYPE_TRANSFORM to TYPE_TRANSFORM3D
2021-06-04 14:11:03 +02:00
Rémi Verschelde
6aa3d8f06a
Merge pull request #48902 from pycbouh/editor-improve-template-downloader
...
Improve the UI/UX of the Export Template Manager dialog
2021-06-04 11:35:17 +02:00
Rémi Verschelde
95ff547da4
Merge pull request #44198 from madmiraal/rename-translation-position
...
Rename Node3D's property translation to position
2021-06-04 11:34:35 +02:00
Rémi Verschelde
875ed4d600
Merge pull request #47336 from Calinou/rename-shader-file-extension
...
Rename the `.shader` file extension to `.gdshader`
2021-06-04 11:26:14 +02:00
Marcel Admiraal
a6e44bd16c
Rename Node3D's property translation to position
2021-06-04 09:54:52 +01:00
Rémi Verschelde
c33d444a54
Merge pull request #47871 from aaronfranke/assetlib-pm
...
Rename tabs in the project manager
2021-06-04 10:43:08 +02:00
Rémi Verschelde
4790d1560e
Merge pull request #49300 from aaronfranke/editor-prop-tr3d
...
Rename EditorPropertyTransform to EditorPropertyTransform3D
2021-06-04 10:41:15 +02:00
Aaron Franke
6f472d154b
Rename EditorPropertyTransform to EditorPropertyTransform3D
2021-06-03 21:58:26 -04:00
Aaron Franke
125d1a7cd3
Rename Animation TYPE_TRANSFORM to TYPE_TRANSFORM3D
2021-06-03 21:11:54 -04:00
Aaron Franke
7813167196
Rename tabs in the project manager
2021-06-03 20:02:02 -04:00
Jonas Bernemann
f0469fddfe
EditorSettings: Look for binding while filtering too
2021-06-04 01:31:55 +02:00
fox
50d14ae975
Fix "Filter Files" shortcut by merging duplicate functions
2021-06-03 19:22:50 -04:00
Yuri Sizov
f6d827b0da
Make several actions in the Inspector dock more obvious
2021-06-04 02:05:27 +03:00
Aaron Franke
fa7874d6ce
Flip 2D icon to match Godot's handedness
2021-06-03 17:36:54 -04:00
Rémi Verschelde
5d9cab3aeb
Merge pull request #38430 from aaronfranke/transform3d
2021-06-03 23:07:21 +02:00
Yuri Sizov
c7bb08fc61
Improve the UI/UX of the Export Template Manager dialog
2021-06-03 22:15:15 +03:00
Yuri Sizov
638cd3b056
Replace get_settings_dir with get_config_dir when fetching configuration paths
2021-06-03 18:24:26 +03:00
Hugo Locurcio
5ea1c75d63
Rename String.is_abs_path()
to String.is_absolute_path()
...
This is more consistent with `NodePath.is_absolute()`.
2021-06-03 16:00:06 +02:00
Aaron Franke
08a85352fb
Rename Variant TRANSFORM to TRANSFORM3D
...
Also _transform to _transform3d
2021-06-03 07:30:01 -04:00
Aaron Franke
de3f6699a5
Rename Transform to Transform3D in core
2021-06-03 07:30:01 -04:00
Rémi Verschelde
64d781eb6e
Merge pull request #49271 from Chaosus/vs_fix_error_label_theme
...
Fix changing theme coloring for error label in VisualShader editor
2021-06-03 10:16:22 +02:00
Yuri Roubinsky
8456682222
Fix changing theme coloring for error label in VisualShader editor
2021-06-03 10:58:55 +03:00
Rémi Verschelde
af3ebc96ed
Merge pull request #44259 from gongpha/new-gradient-icon
...
New icons for Gradient and GradientTexture resources
2021-06-03 09:14:53 +02:00
Rémi Verschelde
16e6b532ed
Merge pull request #49263 from Calinou/add-occluder3d-editor-icons
...
Add editor icons for Occluder3D and OccluderInstance3D
2021-06-03 08:34:33 +02:00
Hugo Locurcio
8a26179b70
Add editor icons for Occluder3D and OccluderInstance3D
2021-06-03 00:54:20 +02:00
Hugo Locurcio
0f4df474c9
Improve radio checkboxes in the default editor theme
2021-06-03 00:44:21 +02:00
Hugo Locurcio
4c1bbebdf3
Improve axis awareness and visibility for Position2D and Position3D
2021-06-02 21:53:50 +02:00
reduz
d95bc3fa67
Use bold fonts in editor
...
* Labels are now bold
* Categories in trees are bold
* Main editor buttons are bold
* Fixed section folding arrows in inspector
2021-06-02 12:47:57 -03:00
Rémi Verschelde
ac47e1d3e5
i18n: Sync translations with Weblate
...
(cherry picked from commit 0446cf487f
)
2021-06-02 11:10:28 +02:00
Paulb23
5c618dd03d
Move code folding into CodeEdit and hide line hiding API
2021-06-01 17:07:01 +01:00
Rémi Verschelde
c5f237eaf8
Merge pull request #45393 from Paulb23/code_edit_autocomplete
2021-06-01 17:58:19 +02:00
Paulb23
c1b9971ad8
Move and expose Code Hint in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
1c16673798
Move and expose AutoComplete in CodeEdit
2021-06-01 15:38:45 +01:00
Paulb23
680dc9e81a
Add comment and string tracking to CodeEdit
2021-06-01 15:38:45 +01:00
kleonc
019c99e538
TextureRegionEditor Fix not updating on editing region with autoslice cached
2021-06-01 12:17:32 +02:00
Rémi Verschelde
4c1d555b9a
Merge pull request #48770 from LightningAA/scrollcontainer-ensure-item-visible-4.0
...
ScrollContainer: Expose `_ensure_focused_visible` to the scripting API and rename it to `ensure_control_visible`
2021-06-01 11:01:40 +02:00
Lightning_A
6d5b5ba89f
ScrollContainer: Expose _ensure_focused_visible
to the API
...
Was renamed to `ensure_control_visible`
2021-05-31 17:14:57 -10:00
Yuri Sizov
00bcfaed85
Improve the layout and texts of the Editor Feature Profiles dialog
2021-05-31 18:08:11 +03:00
Yuri Sizov
9cd96ebe0e
Prevent Theme resource from emitting changes during bulk operations
2021-05-31 17:40:45 +03:00
Rémi Verschelde
afe1d1672f
Merge pull request #49223 from timothyqiu/plugin-config-desc-wrap
...
Wrap description TextEdit of plugin config dialog
2021-05-31 14:52:04 +02:00
Rémi Verschelde
e615060cd6
Merge pull request #49132 from Calinou/editor-syntax-themes-rename-default
...
Rename the bundled text editor themes for consistency with themes
2021-05-31 14:47:49 +02:00
Hugo Locurcio
1704be0a44
Rename the bundled text editor themes for consistency with themes
...
The Adaptive text editor theme is the default, and has therefore
been renamed Default for consistency with the Default theme preset.
It keeps its automatic dark/light switch status.
The Default text editor theme was actually a legacy Godot 2-style theme,
so it has been renamed to Godot 2 to match the theme preset.
Its background color has been changed to be a constant opaque color,
since the new editor theme made the theme look less good on a translucent
background. The previous background color on light theme also lacked
contrast.
2021-05-31 14:02:13 +02:00
Haoyu Qiu
e83c2cd0c3
Wrap description TextEdit of plugin config dialog
2021-05-31 19:02:35 +08:00
Rémi Verschelde
f0aa4e597a
Merge pull request #49178 from YeldhamDev/remove_dim_option
2021-05-31 12:27:01 +02:00
Rémi Verschelde
4e3d5148ff
Merge pull request #49157 from Chaosus/vs_billboard
...
Added Billboard Node to Visual Shaders
2021-05-31 12:23:01 +02:00
Rémi Verschelde
1d35a35d4f
Merge pull request #49175 from nobuyukinyuu/bind-zoom-on-position
...
Bind CanvasItemEditor::_zoom_on_position and CanvasItemEditor::get_st…
2021-05-31 11:45:59 +02:00
Rémi Verschelde
0e678a2bad
Merge pull request #49144 from aemreaydin/editor-features-collapse-reset
2021-05-31 11:24:10 +02:00
Rémi Verschelde
a8c144f72e
Merge pull request #49121 from KoBeWi/dropreload
...
Add preload() to resource path when holding Ctrl
2021-05-31 11:10:37 +02:00
Rémi Verschelde
2f386ac100
Merge pull request #49162 from Paulb23/fix_find_text_change_signal
...
Fix FindReplaceBar text_change signal binding after replace all
2021-05-31 11:10:14 +02:00
Rémi Verschelde
04b85add38
Merge pull request #49130 from Calinou/editor-improve-audio-bus-theming
...
Improve the audio bus editor appearance
2021-05-31 11:04:05 +02:00
Rémi Verschelde
596eb783fe
Merge pull request #49050 from reduz/implement-spirv-cache
...
Implement shader caching
2021-05-31 11:02:19 +02:00
reduz
0d2e02945b
Implement shader caching
...
* Shader compilation is now cached. Subsequent loads take less than a millisecond.
* Improved game, editor and project manager startup time.
* Editor uses .godot/shader_cache to store shaders.
* Game uses user://shader_cache
* Project manager uses $config_dir/shader_cache
* Options to tweak shader caching in project settings.
* Editor path configuration moved from EditorSettings to new class, EditorPaths, so it can be available early on (before shaders are compiled).
* Reworked ShaderCompilerRD to ensure deterministic shader code creation (else shader may change and cache will be invalidated).
* Added shader compression with SMOLV: https://github.com/aras-p/smol-v
2021-05-31 10:13:09 +02:00
Michael Alexsander
38e635bb1d
Remove dim_editor_on_dialog_popup
from editor settings
2021-05-28 21:04:38 -03:00
nobuyuki_nyuu
a715887299
Bind CanvasItemEditor::_zoom_on_position and CanvasItemEditor::get_state to ClassDB
2021-05-28 13:34:30 -05:00
Paulb23
7860710d27
Fix FindReplaceBar text_change signal binding after replace all
2021-05-28 10:12:58 +01:00
Yuri Roubinsky
f06db8b778
Added Billboard Node to Visual Shaders
2021-05-28 09:24:06 +03:00
Emre Aydin
0f9913ce33
Fixed changing enabled classes resetting folding in manage editor features.
2021-05-27 17:19:40 +03:00
kobewi
4bee21bcc4
Add preload() to resource path when holding Ctrl
2021-05-27 12:22:32 +02:00
Hugo Locurcio
c8f2f29d81
Use a negative contrast setting for light editor themes
...
This makes light themes look more natural with regards to UI design
guidelines around "elevation".
2021-05-27 11:35:33 +02:00
Hugo Locurcio
534c990e41
Improve the audio bus editor appearance
...
- Use the editor font color for notch lines and text instead of a more
contrasted color.
- Reuse the editor theme's tooltip styling and apply it on theme change.
- Make the preview label display an explicit `+` sign for positive values.
- Prevent a zero value from displaying as `-0.0 dB` instead of `0.0 dB`.
- Scale notch lines on hiDPI displays.
2021-05-27 10:00:49 +02:00
Yuri Roubinsky
af3f047f49
Fixed console error spam (about invalid edited scene index)
2021-05-26 19:28:38 +03:00
Lightning_A
a6984f8d28
Add the ability to reload the current project
2021-05-26 09:37:37 -06:00
Rémi Verschelde
ca4d2ffec6
Merge pull request #49060 from EricEzaM/fix-rich-text-label-and-editor-log
...
Fixed implementation of RichTextLabel remove_line(), which fixed issues in EditorLog.
2021-05-26 13:25:22 +02:00
Rémi Verschelde
517f1d7e67
Merge pull request #49094 from madmiraal/fix-docs-3977
...
Update EditorResourcePreview queue_*() documentation
2021-05-26 11:01:07 +02:00
Yuri Roubinsky
0b4b1f872c
Merge pull request #49056 from Chaosus/vs_color
2021-05-26 11:07:22 +03:00
Yuri Roubinsky
8f9b91dab1
Implements expandable color ports in visual shaders
2021-05-26 10:45:53 +03:00
Marcel Admiraal
89e4917214
Update EditorResourcePreview queue_*() documentation
2021-05-26 08:39:40 +01:00
Eric M
471f7f1a75
Fixed implementation of RTL remove_line(), which fixed issues in EditorLog.
...
There were some issues in RichTextLabel `remove_line()` method, where items were not correctly removed, and line decremending for items in later lines was not correctly done.
This also fixed several headaches with EditorLog, which relied on the `remove_line()` method for collapsing of duplicate messages. The fix to RTL also fixed the issues with EditorLog.
Fixes #49030
2021-05-26 15:08:13 +10:00
fox
36236843f6
Make easing properties drawn with anti aliasing
2021-05-25 17:12:21 -04:00
Rémi Verschelde
6a64a98039
Merge pull request #48546 from pycbouh/tree-highlight-selected-relationships
2021-05-25 19:42:55 +02:00
Rémi Verschelde
554382d8ad
Merge pull request #49068 from pycbouh/i-broke-inspector
...
Make `EditorFileDialog` only created on demand in `EditorResourcePicker`
2021-05-25 18:07:05 +02:00
Yuri Sizov
9c92e9d849
Add highlight to the relationship lines of selected Tree items
2021-05-25 18:56:06 +03:00
Yuri Sizov
c8551b0eda
Make EditorFileDialog only created on demand in EditorResourcePicker
2021-05-25 18:38:19 +03:00
Marcel Admiraal
da5d7db610
Rename File::get_len() get_length()
2021-05-25 11:54:28 +01:00
Rémi Verschelde
313e1f62bb
Merge pull request #48931 from groud/add_some_tiles_editors_settings
...
Add TileMap grid editor settings.
2021-05-25 12:04:16 +02:00
Gilles Roudière
78ad206d74
Add TileMap grid editor settings.
2021-05-25 10:23:57 +02:00
Hugo Locurcio
cce4ac26a0
Add editor icons for RibbonTrailMesh and TubeTrailMesh
2021-05-24 21:57:03 +02:00
Rémi Verschelde
c321f6ff47
Merge pull request #48644 from Calinou/editor-increase-icon-saturation
...
Increase icon saturation by 30% for all editor icons
2021-05-24 19:20:09 +02:00
Yuri Roubinsky
6772f70ec3
Fixes adding nodes on dragging in visual shaders
2021-05-24 13:50:10 +03:00
Rémi Verschelde
08491ec543
Merge pull request #47791 from Chaosus/fix_doc_theme
...
Fix doc theme not changing when its changed via settings
2021-05-24 12:21:55 +02:00
Rémi Verschelde
7cb23e4306
Merge pull request #48956 from Chaosus/vs_fix_adding_multiple_resources_undo
...
Fixes non-atomary action of dragging resources on visual shader graph
2021-05-24 12:21:35 +02:00
Rémi Verschelde
6580d1798a
Merge pull request #48829 from Chaosus/vs_comment_node_fixes
...
Prevents VisualShaderNodeComment from overlapping its content
2021-05-24 12:21:19 +02:00
kobewi
5605454981
Change frame_coords to Vector2i
2021-05-23 21:38:27 +02:00
Hugo Locurcio
21807f8d88
Fix editor constantly redrawing when freelook is active with still camera
...
The editor only needs to redraw when the camera is moving.
This helps preserver battery life on laptops when using freelook,
especially with the toggle mode (Shift + F).
2021-05-23 19:50:53 +02:00
Rémi Verschelde
809948f977
Merge pull request #40397 from KoBeWi/silent_seeker
...
Allow to move timeline without moving animation
2021-05-23 17:28:21 +02:00
Rémi Verschelde
ad72f3c04e
Merge pull request #48980 from amoriqbal/patch-1
...
Mouse pointer reappears at same spot
2021-05-23 17:24:24 +02:00
kobewi
0ac5be1e67
Reset Shader Editor scroll when changing shader
2021-05-23 13:54:45 +02:00
kleonc
07d346dfa5
SpriteFramesEditor Minor fixes
2021-05-23 10:59:21 +02:00
amor
2c745e0e95
Mouse ptr reappears at drag start position
2021-05-23 10:48:26 +05:30
Hugo Locurcio
80f4e407b2
Add a keyboard shortcut to select the word under cursor in TextEdit
...
This also acts as a general-purpose "deselect" shortcut since pressing
it a second time will deselect text.
This is available both in the script editor and in TextEdit fields
in use, both in the editor and projects.
The Duplicate Line script editor shortcut was moved to Ctrl + Shift + D
since it conflicts with the new shortcut (Ctrl + D). The rationale for
doing so is that Duplicate Line is a less commonly used action, and
its behavior can be replicated by copying and pasting the current line
anyway. (With no selection active, the whole line will be copied.)
2021-05-22 23:47:43 +02:00
Rémi Verschelde
de4c17f716
Merge pull request #48916 from mortarroad/master-convex-hull-ported
...
Replace QuickHull with Bullet's convex hull computer.
2021-05-22 23:22:48 +02:00
Morris Tabor
d1bc88d426
Replace QuickHull with Bullet's convex hull computer.
...
The code is based on the current version of thirdparty/vhacd and modified to use Godot's types and code style.
Additional changes:
- extended PagedAllocator to allow leaked objects
- applied patch from https://github.com/bulletphysics/bullet3/pull/3037
2021-05-22 22:35:42 +02:00
Rémi Verschelde
234a101eb3
Merge pull request #44874 from Chaosus/shader_warnings
...
Basic warning support implementation for the Godot Shading Language.
2021-05-22 19:12:53 +02:00
Yuri Roubinsky
084648bd18
Basic warning support implementation for the Godot Shading Language.
2021-05-22 19:24:31 +03:00
Rémi Verschelde
846b3855b5
Merge pull request #47764 from fire/meshoptimizer-update
...
Meshoptimizer update / LOD Normals fix
2021-05-22 18:16:39 +02:00
Rémi Verschelde
97d433a272
Merge pull request #48970 from EricEzaM/more-editor-log-fixes
...
Fixed editor log collapsing of duplicate messages not working
2021-05-22 18:01:51 +02:00
K. S. Ernest (iFire) Lee
fc8ea1d828
Update with experimental mesh optimizer.
...
Normals being optimized has better quality now.
Test simplify once and then use a slightly less tolerant
error for the target error.
2021-05-22 08:58:50 -07:00
EricEzaM
a6ff00d8be
Fixed editor log collapsing of duplcate messages not working
2021-05-23 00:14:56 +10:00
Paulb23
00e10a842f
Add custom background line colour to TextEdit and remove marked lines
2021-05-22 14:41:55 +01:00
Rémi Verschelde
1cc8cc96cb
Merge pull request #48954 from Calinou/editor-tweak-checked-checkbox-appearance
...
Tweak pressed CheckBox appearance in the editor
2021-05-22 13:42:48 +02:00
Rémi Verschelde
5d2d24202d
Merge pull request #48927 from KoBeWi/I_fixed_your_left
...
Fix usage of String.left()
2021-05-22 13:09:34 +02:00
Yuri Roubinsky
7f5b074b4b
Fixes non-atomary action of dragging resources on visual shader graph
2021-05-22 08:16:56 +03:00
Hugo Locurcio
0d27c4d809
Tweak pressed CheckBox appearance in the editor
...
This uses the accent color to match pressed CheckButtons after they
were updated. Checked checkboxes are now more prominent in the user's
peripheral vision, which can be useful at times. This also matches
how checkboxes look in most operating systems and web browsers.
2021-05-22 03:45:01 +02:00
Rémi Verschelde
3b3a55ca04
Merge pull request #48918 from groud/fix_tilemap_y_sort
...
Fixes TileSet Y-sort not working and TileSet not saving correctly
2021-05-22 00:26:36 +02:00
kobewi
ea9660e1cf
Fix usage of String.left()
2021-05-21 23:01:44 +02:00
Rémi Verschelde
e773bf56ed
Merge pull request #48917 from timothyqiu/metrics-csv
...
Fix editor crash when exporting profiler data
2021-05-21 13:22:03 +02:00
Rémi Verschelde
4eab92104c
Merge pull request #48671 from Calinou/connect-dialog-extra-bind-arguments
...
List "Argument" for each extra bind argument in the connect dialog
2021-05-21 12:36:23 +02:00
Rémi Verschelde
edd88949be
Merge pull request #48747 from Calinou/editor-find-in-files-tweak-highlight-color
...
Tweak highlight color in the editor Find in Files dialog
2021-05-21 12:28:45 +02:00
Rémi Verschelde
d3ba922ba8
Merge pull request #48854 from pycbouh/editor-reuse-resource-picker
...
Use `EditorResourcePicker` in the Inspector
2021-05-21 12:03:27 +02:00
Gilles Roudière
7d80480b72
Fixes TileSet Y-sort not working and TileSet not saving correctly
2021-05-21 10:13:37 +02:00
Haoyu Qiu
be79bdc8ab
Fix editor crash when exporting profiler data
2021-05-21 15:47:23 +08:00
Tomasz Chabora
b1859510ab
Change behavior of String.right
2021-05-20 23:07:57 +02:00
Rémi Verschelde
28c7e28403
Merge pull request #48895 from JFonS/fix_viewport_rotation_control
...
Fix swapped front/rear directions in viewport rotation control.
2021-05-20 20:54:40 +02:00
jfons
e70e33ddcf
Fix swapped front/rear directions in viewport rotation control.
2021-05-20 16:28:38 +02:00
Rémi Verschelde
f2d55f3c0f
Merge pull request #48863 from Ev1lbl0w/bugfix-zip_import
...
Fix zip_root not being defined when importing by drag&drop
2021-05-20 14:34:04 +02:00
Rémi Verschelde
a6a75e2c09
Merge pull request #48812 from groud/tilemap_scenes_painting
...
Implement scenes tiles in TileMaps
2021-05-20 14:32:40 +02:00
Rémi Verschelde
342f3efc7e
Merge pull request #48882 from aaronfranke/approx-use-double
...
Make is_equal_approx have explicit float and double versions
2021-05-20 14:17:58 +02:00
Gilles Roudière
d8bb53cd21
Implement scenes tiles in TileMaps
2021-05-20 13:12:03 +02:00
Rémi Verschelde
4219a4cb6f
Fix typos with codespell
...
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2021-05-20 12:38:56 +02:00
Aaron Franke
b5b6d3a8ec
Make is_equal_approx have explicit float and double versions
2021-05-20 06:18:11 -04:00
Yuri Roubinsky
f100fb9f10
Updates script list colors after theme is changed
2021-05-20 09:02:59 +03:00