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
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