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
Ev1lbl0w
056deefa55
Fix zip_root not being defined when importing by drag&drop
2021-05-19 22:43:54 +01:00
Yuri Sizov
e9206a55ea
Use EditorResourcePicker in the Inspector
2021-05-19 21:39:15 +03:00
Marcel Admiraal
7104229a85
Fix InputMap.action_erase_event() failing to erase events correctly.
2021-05-19 11:43:02 +01:00
Yuri Roubinsky
a1657b0356
Prevents VisualShaderNodeComment from overlapping its content
2021-05-19 11:57:11 +03:00
Hugo Locurcio
16876bec76
Fix crash when trying to save with no scenes and scripts open
...
This could occur when attempting to save project settings when
no scenes or scripts are open (which is common in a brand new project).
2021-05-18 19:48:38 +02:00
Rémi Verschelde
2076580080
i18n: Sync translations with Weblate
...
(cherry picked from commit bcedd09742
)
2021-05-18 12:09:50 +02:00
Rémi Verschelde
35edb77d1f
Merge pull request #37796 from Gogsi/master
...
Improve consistency in file order
2021-05-18 11:45:05 +02:00
Georgi Genkov
a8c83a7b35
Change EditorFileSystem and ScriptEditor file sorting order to improve consistency.
...
Fixes #37721 .
2021-05-18 10:42:06 +02:00
trollodel
bca0d36fe6
Improve TreeItem API and allow to move nodes
2021-05-17 22:06:46 +02:00
Rémi Verschelde
6c367f8e0d
Merge pull request #48168 from LightningAA/control-to-ctrl-4.0
2021-05-17 17:38:02 +02:00
Rémi Verschelde
fead3fff17
Merge pull request #47260 from pycbouh/editor-resource-picker
2021-05-17 17:33:59 +02:00
Rémi Verschelde
b0a51bf9fe
Merge pull request #48768 from akien-mga/file-access-64-bit-4.0
...
Make all file access 64-bit (`uint64_t`)
2021-05-17 16:02:12 +02:00
Rémi Verschelde
45e0f9fd52
Merge pull request #48791 from foxydevloper/fix-sort-translations
...
Make Sort by X strings translatable
2021-05-17 15:55:16 +02:00
Hugo Locurcio
d211c05111
Use a DynamicFont for the default project theme
...
This makes font oversampling work out of the box, while also increasing
the supported character set's size. The default font is now larger
as well to better fit today's screen resolutions.
The OpenSans SemiBold font was chosen for two reasons:
- Small file size, yet its character set supports Latin-1 and Cyrillic
text.
- A heavier font weight looks better in most "game" scenarios and is
more readable against mixed-color backgrounds.
This is considered a breaking change as it changes the default font's
metrics, which will likely affect how Control nodes are laid out in
scenes (unless a custom font is in use).
2021-05-17 15:19:13 +02:00
Pedro J. Estébanez
469fa47e06
Make all file access 64-bit (uint64_t)
...
This changes the types of a big number of variables.
General rules:
- Using `uint64_t` in general. We also considered `int64_t` but eventually
settled on keeping it unsigned, which is also closer to what one would expect
with `size_t`/`off_t`.
- We only keep `int64_t` for `seek_end` (takes a negative offset from the end)
and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means
we only need to guard against passing negative values in `core_bind.cpp`.
- Using `uint32_t` integers for concepts not needing such a huge range, like
pages, blocks, etc.
In addition:
- Improve usage of integer types in some related places; namely, `DirAccess`,
core binds.
Note:
- On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with
version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for
big files on 32-bit Windows builds made with that toolchain. We might add a
workaround.
Fixes #44363 .
Fixes godotengine/godot-proposals#400 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-17 15:06:19 +02:00
pycbouh
e8f15f7996
Add EditorResourcePicker control based on the Inspector editor for Resources
...
Fix formatting for the docs
2021-05-17 15:26:22 +03:00
kleonc
5a8314016a
Fix crash after disabling plugin using set_force_draw_over_forwarding_enabled()
2021-05-17 11:01:15 +02:00
Rémi Verschelde
37c3b33253
Merge pull request #48605 from sent44/scripteditor_get_codeedit
...
Add `get_base_editor` to `ScriptEditorBase`
2021-05-16 23:06:01 +02:00
Hugo Locurcio
82570dec90
Tweak highlight color in the editor Find in Files dialog
...
The new color is more visible against dark backgrounds.
2021-05-16 00:30:06 +02:00
fox
0e3c05e157
Make Sort by X translatable
2021-05-15 12:59:57 -04:00
sent44
2b30728ebf
Add get_base_editor to ScriptEditorBase
2021-05-15 18:47:00 +07:00
Rémi Verschelde
9b637faf65
Merge pull request #48724 from Calinou/editor-help-add-support-button
...
Add "Support Godot Development" option to the editor's Help menu
2021-05-15 12:11:23 +02:00
Rémi Verschelde
df2caeb1b6
Merge pull request #48707 from foxydevloper/filesystem_search_shortcut
...
Make shortcut focus searchbar in filesystem dock
2021-05-15 09:17:30 +02:00
Hugo Locurcio
3eae2f9c6d
Add "Support Godot Development" option to the editor's Help menu
2021-05-15 01:58:29 +02:00
Rémi Verschelde
82c4d43726
i18n: Sync translations with Weblate
...
(cherry picked from commit f6c29d1cf5
)
2021-05-14 13:24:16 +02:00
Rémi Verschelde
de89a5f46c
Merge pull request #45716 from dalexeev/proposal-1545
...
Improve Project Settings Editor
2021-05-14 13:17:21 +02:00
Danil Alexeev
24a2b4dc97
Improve Project Settings Editor
...
Closes godotengine/godot-proposals#1545 .
Closes godotengine/godot-proposals#2452 .
2021-05-14 13:58:43 +03:00
Rémi Verschelde
5c81fbdc19
Merge pull request #48667 from pycbouh/editor-respect-custom-themes
...
Keep custom editor theme when changing editor settings
2021-05-14 10:31:52 +02:00
Rémi Verschelde
e6cd0056a8
Merge pull request #48584 from Zami77/remove-plugin-from-enabled-if-error
...
Remove plugin from enabled plugins, if there is an error
2021-05-14 10:30:31 +02:00
fox
22e2e4334e
Make shortcut for focusing searchbar in filesystem dock
2021-05-13 20:13:17 -04:00
Rémi Verschelde
0f5fddbdc0
Merge pull request #48666 from LLschuster/master
...
text-editor: fix Clicking warning doesn't center around line #48639
2021-05-13 21:11:16 +02:00
llschuster
6b55ec2ca9
text-editor: fix Clicking warning doesn't center around line
2021-05-13 17:07:39 +02:00
Hugo Locurcio
994dd314e0
List "Argument" for each extra bind argument in the connect dialog
...
This makes the dialog more explicit.
2021-05-12 17:07:53 +02:00
Yuri Sizov
56aedcee17
Keep custom editor theme when changing editor settings
2021-05-12 16:08:21 +03:00
Yuri Sizov
31db95b048
Fix EditorPropertyEasing capturing drag events originated outside of it
2021-05-12 12:39:43 +03:00
Yuri Sizov
3a66c22e71
Add outlines and contrasting backgrounds to the editor UI elements
2021-05-12 01:45:56 +03:00
Hugo Locurcio
7375a02015
Increase icon saturation by 30% for all editor icons
...
More saturated icons go better with the new editor theme.
These color changes only apply when using a dark theme.
The editor icon saturation can still be adjusted in the Editor Settings.
Setting the editor icon saturation setting to 0.77 should roughly match
the old icon saturation.
2021-05-11 18:15:31 +02:00
Michael Alexsander
6dad72db69
Fix small issues with capitalization in the new TileMap editor
2021-05-10 18:08:07 -03:00
Hugo Locurcio
32cb88b410
Hide the 3D editor selection box when View Gizmos is disabled
2021-05-10 19:21:55 +02:00
Hugo Locurcio
1e53bac8b4
Rename "Singleton" to "Global Variable" in the AutoLoad editor
...
The name "Singleton" was misleading because Godot does not actually
enforce a singleton pattern for autoloads. They can be instanced
multiple times.
"Global Variable" makes it more obvious that all the checkbox does
is expose the AutoLoad with a global variable for easy access.
2021-05-10 19:07:21 +02:00
Hugo Locurcio
81f380f9b8
Improve scrolling actions in the animation track editor
...
- Implement timeline scrobbling using Alt + Mouse wheel anywhere in the
animation track editor.
- Snap settings are followed, and precise snapping can be obtained by also
holding down Shift.
- This modifier wasn't used by anything in the animation editor.
- Allow zooming by using Ctrl + Mouse wheel on the timeline itself.
- Previously, this was only possible on the track area, not the timeline.
2021-05-10 01:15:09 +02:00
Hugo Locurcio
728fa3ff71
Handle portrait mode monitors in the automatic editor scale detection
...
Using the smallest dimension of the width and height makes it possible
to support both landscape and portrait monitors.
2021-05-09 23:35:24 +02:00
Daniel Lungaro
2bae31a4df
Remove plugin from enabled if there's an error
...
inform user in warning message
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Refactor remove plugin from enabled
2021-05-09 13:51:09 -07:00
Rémi Verschelde
3e71009d74
Merge pull request #48534 from Calinou/editor-theme-allow-negative-contrast
...
Allow negative contrast values in the editor theme settings
2021-05-09 16:37:20 +02:00
Rémi Verschelde
a8a51cd75c
Merge pull request #46808 from pycbouh/theme-editor-better-create-ui
...
Refactor Create Theme menu in Theme Editor
2021-05-09 14:21:37 +02:00
Rémi Verschelde
8fa82c7226
Merge pull request #48582 from Calinou/editor-resource-preview-fix-focus-outline
...
Fix EditorPropertyResource focus outline being drawn behind the preview
2021-05-09 14:20:01 +02:00
Rémi Verschelde
5d116b5d73
Merge pull request #48574 from Calinou/editor-add-new-scene-shortcuts
...
Add shortcuts for New Scene and New Inherited Scene actions
2021-05-09 13:53:52 +02:00
Hugo Locurcio
0b47f1be8c
Fix EditorPropertyResource focus outline being drawn behind the preview
2021-05-09 13:11:16 +02:00
Hugo Locurcio
39f9b92f54
Save the current script when pressing Ctrl + S if no scene is open
...
- Tweak the dialog messages to be more informative.
- The "Saved N modified resources" dialog is not a warning per se,
so make it more explicit.
2021-05-09 12:29:50 +02:00
Hugo Locurcio
44b22540e1
Add shortcuts for New Scene and New Inherited Scene actions
...
These default to Ctrl + N and Ctrl + Shift + N respectively.
2021-05-09 11:30:36 +02:00
Yuri Sizov
912420b078
Refactor Create Theme menu in Theme Editor
2021-05-09 03:13:19 +03:00
Lightning_A
97fecd1b69
Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods
2021-05-07 14:00:50 -06:00
Rémi Verschelde
c3f7465b7e
Merge pull request #48535 from groud/tiles_squashed
...
TileSet and TileMap rework (squashed)
2021-05-07 20:46:06 +02:00
Gilles Roudière
a3dda2df85
Rework the TileSet resource and TileMap nodes:
...
- Move most properties from TileMap to TileSet,
- Make TileSet more flexible, supporting more feature (several
collision layers, etc...),
- Fusion both the TileMap and TileSet editor,
- Implement TileSetSources, and thus a new way to index tiles in the TileSet,
- Rework the TileSet and TileMap editors completely,
- Implement an editor zoom widget (and use it in several places)
2021-05-07 18:06:17 +02:00
Hugo Locurcio
027301fec7
Tweak the setting hint for the custom editor theme setting
...
The custom editor theme is only visible after restarting the editor.
2021-05-07 16:24:37 +02:00
Hugo Locurcio
84edaef46c
Allow negative contrast values in the editor theme settings
...
When using a negative contrast value, the base color will be lightened
to create the derivative colors instead of being darkened.
This can lead to better-looking themes, especially for light themes.
2021-05-07 15:32:29 +02:00
Rémi Verschelde
0ec809462e
Merge pull request #47530 from likeich/add_instance_child_shortcut
...
Adds command+shift+a shortcut to instance a scene
2021-05-07 01:43:41 +02:00
Rémi Verschelde
504bace60f
Merge pull request #48521 from likeich/remove_extra_separator
...
Remove extra separator in scenetree dock menu
2021-05-07 01:07:10 +02:00
Rémi Verschelde
8962d36bb1
Merge pull request #33577 from Calinou/highlight-control-flow-keywords
...
Highlight control flow keywords with a different color
2021-05-07 00:52:50 +02:00
Rémi Verschelde
49b556a9f1
Merge pull request #48491 from dalexeev/action-map-editor
...
Improve ActionMapEditor
2021-05-07 00:48:15 +02:00
Rémi Verschelde
04e995dd5d
Merge pull request #48466 from EricEzaM/output-log-save-state
...
Made Editor Log buttons save their state, per project.
2021-05-07 00:47:41 +02:00
Hugo Locurcio
ce4aa07276
Implement the `%command%` placeholder in the Main Run Args setting
...
This can be used to tell Godot to run an executable that will run Godot
rather than running Godot directly. This is useful to make Godot start
on the dedicated GPU when using a NVIDIA Optimus setup on Linux:
`prime-run %command%`
The `editor/run/main_run_args` setting declaration was moved to make it
visible in the ProjectSettings documentation.
2021-05-07 00:05:02 +02:00
Kyle
e168baf433
Remove extra separator
...
Removes an extra separator when Scene Tree Editing is disabled. Discussed in #48518
2021-05-06 17:37:12 -04:00
Kyle
10d5d4d3cd
Fixed cut/copy/paste visibility
...
Fixes #48514 by moving the visibility of these buttons into their own if statement that depends on if scene tree editing is allowed. Previously it was under the script editing setting which is unexpected as it works with nodes and the scene tree.
2021-05-06 16:01:36 -04:00
Rémi Verschelde
6e621441ca
Merge pull request #45607 from Calinou/improve-editor-theme
...
Improve the editor theme
2021-05-06 16:45:07 +02:00
Rémi Verschelde
605e33cf39
Merge pull request #44831 from gongpha/dont-update-tree-if-selected
...
Blocking updating in SceneTreeEditor when an item was selected
2021-05-06 08:45:41 +02:00
Rémi Verschelde
43fe8bf522
Merge pull request #42416 from Calinou/editor-make-function-save-script
2021-05-06 08:42:08 +02:00
Rémi Verschelde
42b07f713f
Merge pull request #37700 from Calinou/rename-ip-unix-tcp-server
...
Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscores
2021-05-06 08:36:30 +02:00
Hugo Locurcio
3f078c99f6
Rename `IP_Unix`, `IP_Address` and `TCP_Server` to remove underscores
2021-05-06 02:52:01 +02:00
Eric M
1a05cca824
Fix blank line at start of Editor Log (reinstate #44909 )
2021-05-06 09:40:17 +10:00
Hugo Locurcio
0ade686601
Save the current script when adding a new method via signal connection
...
This makes it possible for external editors to pick up the changes.
Most modern editors should reload the file automatically,
but some older/lightweight editors may ask the user instead
(or only warn after trying to save in the external editor).
This closes #41283 .
2021-05-05 23:31:15 +02:00
Hugo Locurcio
e905e8f145
Highlight control flow keywords with a different color
...
This makes them easier to distinguish from other keywords.
2021-05-05 22:38:12 +02:00
Danil Alexeev
c316a515ed
Improve ActionMapEditor
...
- CheckBox replaced with CheckButton.
- Removed unnecessary code.
2021-05-05 23:33:24 +03:00
Eric M
902d468f52
Made Editor Log buttons save their state, per project.
2021-05-06 00:48:19 +10:00
Rémi Verschelde
cb84d33137
Merge pull request #48467 from EricEzaM/editor-settings-shortcut-crash-fix
2021-05-05 11:17:05 +02:00
Tokage
d459766edd
fix AnimationTrackEditor's undo with correction invalid method name
2021-05-05 14:00:56 +09:00
Eric M
94abb8cc80
Fixed crash in Editor Settings shortcuts UI
2021-05-05 11:33:08 +10:00
Rémi Verschelde
e189ff55a7
Merge pull request #48378 from Calinou/editor-improve-audio-inspector-preview
...
Improve the editor audio preview inspector appearance and functionality
2021-05-04 17:58:28 +02:00
Rémi Verschelde
4dacd22dcf
Merge pull request #47172 from CaptainProton42/fix-3d-scene-preview
...
Fix 3D scene preview generation.
2021-05-04 17:56:44 +02:00
Rémi Verschelde
4472eb3e4f
Merge pull request #48451 from EricEzaM/output-log-fixes
...
Fixed issues with Editor Log after recent changes
2021-05-04 16:51:09 +02:00
CaptainProton42
16304aaa3b
Fix 3D scene preview generation.
...
File system dock previews will now be generated for 3D scenes when no
editor feature profile is set.
2021-05-04 16:40:26 +02:00
Eric M
87ffb213c8
Fixed issues with Editor Log after recent changes
...
Fixed #48446 , Fixed #48443
2021-05-05 00:25:14 +10:00
kobewi
dcf306f72d
Fixed wrong mouse position after releasing grabber
2021-05-04 14:02:54 +02:00
Rémi Verschelde
4e7ca279fc
Merge pull request #47855 from aaronfranke/doubleclick
...
Rename `doubleclick` to `double_click`
2021-05-04 13:12:17 +02:00
Rémi Verschelde
56316b27ab
Merge pull request #41321 from EricEzaM/output-log-enhancements
2021-05-04 12:59:02 +02:00
Rémi Verschelde
74911e0d7a
Merge pull request #35375 from Calinou/version-click-to-copy
...
Make it possible to copy the Godot version identifier by clicking it
2021-05-04 12:57:15 +02:00
Rémi Verschelde
bee7f8ff23
Merge pull request #48274 from groud/undoredo_dependencies
...
Allow to hook a callback into inspector's undo/redo
2021-05-04 11:26:55 +02:00
Aaron Franke
0de9a7d803
Rename `doubleclick` to `double_click`
2021-05-04 04:38:08 -04:00
Gilles Roudière
b46672db72
Provide a way to hook into Inspectors UndoRedo.
2021-05-04 09:55:22 +02:00
Eric M
77fd9e4dd3
Improve output log performance.
...
Added method to create a new line in RichTextLabel without adding an ItemNewline to the previous line. Previously, removing a line then adding a newline was adding unnecessary ItemNewline instances to the previous line, significantly the remove_line method.
2021-05-04 16:21:33 +10:00
Eric M
3de4181bd8
Output log rewrite and enhancements.
...
Added message type filters.
Added ability to search.
Added ability to collapse multiple duplicate messages into one line.
Updated layout to allow for more vertical space in log text area.
2021-05-04 16:21:33 +10:00
jfons
6995b0429c
Assorted fixes to UV unwrapping and GPU lightmapper
...
Various fixes to UV2 unwrapping and the GPU lightmapper. Listed here for
context in case of git blame/bisect:
* Fix UV2 unwrapping on import, also cleaned up the unwrap cache code.
* Fix saving of RGBA images in EXR format.
* Fixes to the GPU lightmapper:
- Added padding between atlas elements, avoids bleeding.
- Remove old SDF generation code.
- Fix baked attenuation for Omni/Spot lights.
- Fix baking of material properties onto UV2 (wireframe was
wrongly used before).
- Disable statically baked lights for objects that have a
lightmap texture to avoid applying the same light twice.
- Fix lightmap pairing in RendererSceneCull.
- Fix UV2 array generated from `RenderingServer::mesh_surface_get_arrays()`.
- Port autoexposure fix for OIDN from 3.x.
- Save debug textures as EXR when using floating point format.
2021-05-03 18:10:34 +02:00
Rémi Verschelde
0d819ae5f5
Merge pull request #48403 from kleonc/tilemap-editor-modulate-autotile-preview
...
TileMapEditor Modulate autotile previews
2021-05-03 16:00:50 +02:00
kleonc
3f1b95cfb1
TileMapEditor Modulate autotile previews
2021-05-03 14:58:02 +02:00
kleonc
a1b903066e
TileMapEditor::_bucket_fill Check autotile coordinates only if autotile is selected
2021-05-03 14:49:52 +02:00
Michael Alexsander
46e0161737
Add comment highlighting to script thumbnails
2021-05-02 21:48:37 -03:00
Hugo Locurcio
a50a81b703
Improve the editor audio preview inspector appearance and functionality
...
- Make the timeline indicator thicker and with an indicator triangle,
similar to the animation editor timeline.
- Add Space bar shortcut to play/pause the audio preview.
- Only seek when clicking or dragging with the left mouse button,
not other mouse buttons.
2021-05-02 14:37:45 +02:00
Mateo Kuruk Miccino
dc76938679
FileSystem: Force update when we delete a folder from the editor and searching changes only if we change the directory successfully in the scan_fs_changes
2021-05-01 22:12:02 -03:00
reduz
90056460ad
Implement Particle Trails
...
-Enable the trails and set the length in seconds
-Provide a mesh with a skeleton and a skin
-Or, alternatively use one of the built-in TubeTrailMesh/RibbonTrailMesh
-Works deterministically
-Fixed particle collisions (were broken)
-Not working in 2D yet (that will happen next)
2021-04-30 17:38:02 -03:00
Rémi Verschelde
5b16020846
Replace remaining uses of `NULL` with `nullptr`
...
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-29 11:53:27 +02:00
Hugo Locurcio
be01025376
Make it possible to copy the Godot version identifier by clicking it
...
This closes #24317 .
2021-04-28 17:35:57 +02:00
Rémi Verschelde
0e93a1df79
Remove obsolete LargeTexture, it's no longer useful since 3.x
...
It existed in early Godot releases to allow working around hardware limitations
on max texture sizes (e.g. hardware limits of 1024x1024 pixels).
Nowadays the max texture size supported natively by Godot is 16384x16384, and
even low end mobile hardware should support at least 4096x4096.
The LargeTexture implementation is basically just an array with offsets, sizes
and textures and should be easy to replicate with a custom Texture resource if
needed - solving most of its bugs on the way as the implementation removed here
has various unimplemented or incomplete methods.
2021-04-28 15:51:55 +02:00
Rémi Verschelde
305b2a15bf
Merge pull request #48239 from akien-mga/goodbye-copymem
...
Core: Drop custom `copymem`/`zeromem` defines
2021-04-28 11:04:05 +02:00
Hugo Locurcio
60b70c77e0
Improve the editor theme
...
The editor theme now makes use of rounded corners and less borders
to follow modern visual trends.
The default theme's colors were also tweaked to make the blue hue
more subtle (similar to the Arc theme, which was removed as a
consequence). The Alien theme was replaced by a Breeze Dark theme,
which should blend in well with the KDE theme.
2021-04-27 22:38:26 +02:00
Rémi Verschelde
95cfce661b
Merge pull request #48050 from JFonS/occlusion_culling
2021-04-27 19:07:12 +02:00
Rémi Verschelde
8247667a3e
Core: Drop custom `copymem`/`zeromem` defines
...
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f6639
.
There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27 16:26:27 +02:00
Rémi Verschelde
b95a82d46a
Merge pull request #47826 from Chaosus/vs_fix_default_input_overriding
...
Prevents default values of VSNodeCustom from overriding by a script
2021-04-27 10:42:51 +02:00
Hugo Locurcio
5d124c4a8f
Remove uses of `auto` for better readability and online code reviews
...
The current code style guidelines forbid the use of `auto`.
Some uses of `auto` are still present, such as in UWP code (which
can't be currently tested) and macros (where removing `auto` isn't
easy).
2021-04-26 14:59:28 +02:00
Rémi Verschelde
a804d33281
Merge pull request #46952 from LightningAA/patch-1
...
Remove current export template version from "Installed Versions"
2021-04-24 11:46:32 +02:00
Rémi Verschelde
759b876b8a
Merge pull request #46593 from pycbouh/theme-editor-better-edit-ui
...
Refactor Edit Theme menu in Theme Editor
2021-04-23 23:12:25 +02:00
jfons
4d9d99bb82
Implement occlusion culling
...
Added an occlusion culling system with support for static occluder meshes.
It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`.
Occluders are defined via the new `Occluder3D` resource and instanced using the new
`OccluderInstance3D` node. The occluders can also be automatically baked from a
scene using the built-in editor plugin.
2021-04-23 21:45:23 +02:00
Fabio Alessandrelli
6cfbf36338
Merge pull request #48079 from sboron/fix-47643-remote
...
Fix Closing Running Game, still shows remote and local tabs
2021-04-23 02:59:37 +02:00
Stefan Boronczyk
7b9a9e57a7
fix stop debugger on closing game
2021-04-23 01:04:15 +02:00
bruvzg
b56241f22f
ICU: Update to version 69.1, improve ICU data export process.
2021-04-22 16:56:53 +03:00
Rémi Verschelde
e271dba9cb
i18n: Sync translations with Weblate
...
(cherry picked from commit 305c364c13
)
2021-04-21 09:52:26 +02:00
kleonc
f8f12d0564
ProjectSettingsEditor: Make "Type" OptionButton item ids match corresponding Variant::Type enum values.
2021-04-20 18:50:36 +02:00
Rémi Verschelde
68e6223a3b
Merge pull request #47990 from Calinou/editor-debugger-open-cpp-source-on-github
...
Add a menu action to open C++ source on GitHub in the editor debugger
2021-04-20 08:24:03 +02:00
Juan Linietsky
2b730cad90
Use multiple threads to import.
...
- For now everything imports multithreaded by default (should work I guess, let's test).
- Controllable per importer
Early test benchmark. 64 large textures (importing as lossless, _not_ as vram) on a mobile i7, 12 threads:
Importing goes down from 46 to 7 seconds.
For VRAM I will change the logic to use a compressing thread in a subsequent PR, as well as implementing Betsy.
2021-04-19 14:12:22 -03:00
Hugo Locurcio
5bc746e60a
Add a menu action to open C++ source on GitHub in the editor debugger
...
This helps user find back the source code where the error/warning
was emitted from.
2021-04-19 18:28:59 +02:00
Rémi Verschelde
8ba06e3161
Merge pull request #47448 from madmiraal/rename-lineedit-cursor
...
Rename LineEdit getters and setters to match property names
2021-04-19 10:40:29 +02:00
Rémi Verschelde
f41e7779fd
Merge pull request #47611 from Bhu1-V/PR/instance-scene-fix
2021-04-19 10:38:56 +02:00
Yuri Sizov
2524238bb3
Refactor Edit Theme menu in Theme Editor
2021-04-18 17:55:49 +03:00
Yuri Roubinsky
8ae5c6c6ec
Fix `sky` visual shader mode after last rename
2021-04-17 20:59:48 +03:00
Bhuvan Vemula
9eb3546f38
instance-scene: make parent as edited_scene if no parent selected.
2021-04-17 19:16:18 +05:30
Marcel Admiraal
86822b187e
Rename LineEdit caret_* properties getters and setters to match property
2021-04-17 12:41:23 +01:00
Hugo Locurcio
76722b5108
Add the About dialog to the project manager
...
The About button is located in the bottom-right corner of the
project manager.
This allows removing the copyright notice from the window title
(which looked a bit ugly in comparison to other applications).
2021-04-16 17:14:05 +02:00
Rémi Verschelde
2e87857d75
Merge pull request #47629 from Calinou/editor-allow-center-selection-without-selection
...
Allow Center Selection to work without any selection in 2D/3D editors
2021-04-16 12:47:47 +02:00
Rémi Verschelde
0e72d3d8f9
Merge pull request #47686 from aaronfranke/script-name-warning
2021-04-16 12:42:37 +02:00
Rémi Verschelde
7ce5599120
Merge pull request #47895 from Calinou/project-manager-name-strip-edges
...
Strip leading/trailing whitespace for project name in the project manager
2021-04-16 08:49:12 +02:00
Rémi Verschelde
c7a4e2196e
Merge pull request #47878 from clayjohn/rename-get_surface_material
...
Rename get_surface_material to get_surface_override_material
2021-04-15 07:57:15 +02:00
clayjohn
92731d292c
Rename get_surface_material to get_surface_override_material
2021-04-14 20:24:03 -07:00
Hugo Locurcio
86455d0c58
Strip leading/trailing whitespace for project name in the project manager
...
This affects creating projects and renaming them.
2021-04-14 20:25:44 +02:00
Hugo Locurcio
9bda49e030
Add keyboard shortcuts to the project manager
...
- Ctrl + N: New Project
- Ctrl + I: Import Project
- Ctrl + S: Scan for Projects
- Ctrl + E: Edit Project
- Ctrl + R: Run Project
- F2: Rename Project
- Delete: Remove Project
- Already implemented previously, but moved to use `ED_SHORTCUT()`.
Note that depsite using `ED_SHORTCUT()`, these shortcuts won't appear
in the Editor Settings' Shortcuts dialog and won't be remappable since
the project manager code isn't run in the editor.
2021-04-14 20:07:22 +02:00
reduz
d3b49c416a
Refactor GLSL shader compilation
...
-Used a more consistent set of keywords for the shader
-Remove all harcoded entry points
-Re-wrote the GLSL shader parser, new system is more flexible. Allows any entry point organization.
-Entry point for sky shaders is now sky().
-Entry point for particle shaders is now process().
2021-04-14 11:37:52 -03:00
Rémi Verschelde
6b39980ea9
Merge pull request #47856 from ray90514/bug#47555
...
Fix multi-selection doesn't correctly show in the inspector
2021-04-14 13:43:35 +02:00
Rémi Verschelde
fe73fed4d7
Merge pull request #47625 from SushiJackal/47450_fix
...
Fix: Selection Only in Find/Replace now preserves selection
2021-04-14 08:24:38 +02:00
ray90514
16decbc0ee
Fix multi-selection doesn't correctly show in the inspector
2021-04-13 18:09:53 +08:00
Hugo Locurcio
6d2f5ee244
Add a tooltip to document performance issues of the Remote scene tree
2021-04-12 17:49:51 +02:00
Yuri Roubinsky
8d3e46098b
Prevents default values of VSNodeCustom from overriding by a script
2021-04-12 14:41:08 +03:00
Rémi Verschelde
cee5414698
Merge pull request #43180 from nathanfranke/node-configuration-array
...
Use Array for node configuration warnings
2021-04-12 09:40:55 +02:00
Rémi Verschelde
184abce192
Merge pull request #47709 from KoBeWi/node_that_changes_everything
...
Expose edit_node() for editor plugins
2021-04-12 09:11:33 +02:00
Nathan Franke
2a8c59c171
Use Array for node configuration warnings
...
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
2021-04-11 23:25:38 -05:00
Rémi Verschelde
4a1f2dcb74
Merge pull request #47531 from fire/update-skeleton-display
...
Update Skeleton3D inspector Bone Transforms
2021-04-12 00:19:23 +02:00
kobewi
72014a7a2e
Expose edit_node() for editor plugins
2021-04-12 00:13:08 +02:00
Hugo Locurcio
6f6a09cce2
Decrease the editor FPS limit when unfocused from 20 to 10
...
This provides better power savings compared to the previous value.
This also speeds up project execution slightly while the editor
is running in the background.
The setting hint can now go as low as 1 FPS (1 million microseconds
per frame), for those who really need the best possible power savings.
This will make previewing animated shaders or particles impossible
when the editor window isn't focused though.
2021-04-12 00:02:33 +02:00
Rémi Verschelde
712bb8cbb6
Merge pull request #47175 from YeldhamDev/help_search_early_match
...
Select non-perfect matches if necessary in the Search Help dialog
2021-04-11 22:27:29 +02:00
Hugo Locurcio
f10c30a9ed
Add a "save on focus loss" editor setting (disabled by default)
...
This performs a Ctrl + S action every time the editor window loses focus,
saving both scenes and scripts as needed.
2021-04-11 15:40:38 +02:00
Yuri Roubinsky
9a5cce35e6
Fix doc theme not changing when its hidding
2021-04-11 13:29:35 +03:00
Haoyu Qiu
c8a40c8005
Fix 3D selection box size for Node3D
2021-04-11 15:15:52 +08:00
Fabio Alessandrelli
d540875bc0
Merge pull request #37966 from pkowal1982/cleanup-profiler
...
Clean up profiler
2021-04-10 21:27:52 +02:00
Rémi Verschelde
8b6e3d6375
Merge pull request #46340 from gongpha/various-color-picker
...
Add Various ColorPicker shapes
2021-04-10 13:29:50 +02:00
Rémi Verschelde
d3c492b7d4
Merge pull request #47596 from EricEzaM/PR/fix-editor-settings-shortcuts-wrong-button-action
...
Fixed Editor Shortcuts revert/edit/clear buttons performing the wrong action
2021-04-10 11:04:50 +02:00
Aaron Franke
b8f66d58b6
Show a message when trying to zoom farther than the limit
2021-04-09 11:21:09 -04:00
Rémi Verschelde
8ca8868ef9
Merge pull request #47733 from Calinou/editor-tweak-frame-time-display
...
Tweak frame time display in the editor
2021-04-09 15:37:02 +02:00
Hugo Locurcio
88518d28ba
Tweak frame time display in the editor
...
- Pad decimal values to avoid layout shifts when the frame time
changes.
- Cap values to 0.01 milliseconds to avoid division by zero
in the FPS counter.
2021-04-09 14:58:24 +02:00
Haoyu Qiu
879a290ed9
Fixes Node3D rotation in select mode on macOS
2021-04-09 12:31:26 +08:00
Sushi
a4d5664858
Fix: Selection Only in Find/Replace now preserves selection
2021-04-07 16:38:22 +02:00
Hugo Locurcio
d2dec8d614
Allow using the mouse wheel to navigate scene tabs
...
This works in a way similar to tabs in KDE or some patched
Chromium builds.
2021-04-07 15:28:10 +02:00
Aaron Franke
5a9037f828
Warn when creating a script with the same name as the parent class
2021-04-06 22:43:00 -04:00
pkowal
f93de6f94f
Clean up profiler
2021-04-06 20:31:41 +02:00
Kongfa Waroros
6294507acb
Add Various ColorPicker shapes
2021-04-06 22:48:03 +07:00
Rémi Verschelde
55faf1c874
Merge pull request #47651 from Calinou/export-improve-nonexistent-preset-errors
...
Improve error messages for missing export presets when using `--export`
2021-04-06 14:37:25 +02:00
Hugo Locurcio
09f38ea215
Improve error messages for missing export presets when using `--export`
...
- Display a specific error message if the project doesn't have an
`export_presets.cfg` file.
- Display a list of detected export presets if an invalid export
preset name is supplied.
2021-04-06 14:27:15 +02:00
Rémi Verschelde
45f0b5db28
Merge pull request #47200 from LightningAA/delete-from-project-manager-4.0
...
Add the ability to remove project contents from the remove project dialog
2021-04-06 11:30:14 +02:00
Rémi Verschelde
f4b82814f8
Merge pull request #47622 from pycbouh/editor-plugins-expose-scale
...
Expose editor scale to the plugin API
2021-04-05 19:00:45 +02:00
Yuri Sizov
ea31af68ba
Expose editor scale to the plugin API
2021-04-05 18:44:01 +03:00
Rémi Verschelde
4296b135b7
i18n: Sync translations with Weblate
...
(cherry picked from commit 5cfdb86660
)
2021-04-05 16:30:22 +02:00
Rémi Verschelde
d83761ba80
Style: Apply clang-tidy's `readability-braces-around-statements`
2021-04-05 14:09:59 +02:00
Rémi Verschelde
9bbe51dc27
Style: Apply clang-tidy's `modernize-use-nullptr`
2021-04-05 14:05:07 +02:00
Rémi Verschelde
0f0c0e5933
Style: Apply clang-tidy's `modernize-use-bool-literals`
2021-04-05 13:16:35 +02:00
Rémi Verschelde
de3b3e1cda
Merge pull request #47633 from Calinou/editor-theme-scrollbar-add-background
...
Add a subtle background to editor scrollbars
2021-04-05 12:05:07 +02:00
Rémi Verschelde
77dc4c3cb6
Merge pull request #47636 from qarmin/input
...
Fix crashes in *_input functions
2021-04-05 11:54:08 +02:00
Rémi Verschelde
789646e201
Merge pull request #47632 from Calinou/asset-search-autofocus
...
Automatically focus the Search field when displaying asset library
2021-04-05 11:38:48 +02:00
Rémi Verschelde
189aa6340e
Merge pull request #47408 from megalobyte/remove-float-recast
...
Use double when setting the default step size
2021-04-05 11:37:06 +02:00
Rafał Mikrut
504bc5cc67
Fix crashes in *_input functions
2021-04-05 08:52:21 +02:00
Hugo Locurcio
b60b6ddba4
Add a subtle background to editor scrollbars
...
This makes it possible to see whether a scrollbar grabber is at the top
or at the bottom of a scrollbar. Also, if a scrollable area is very
large, this makes it easier to notice that the area can be scrolled
(since the grabber is proportionally very small).
The scrollbar grabbers were also made thicker and slightly more opaque
for better visibility, especially in peripheral vision.
2021-04-05 02:04:45 +02:00
Hugo Locurcio
d89d00ac7e
Automatically focus the Search field when displaying asset library
...
- Focus the project search box when switching from the Templates tab
back to the Projects tab in the project manager.
- Add a context-specific placeholder for the asset library search box.
- Rename "Search" project filter box placeholder to the more
descriptive "Filter projects". When performing a search on an
existing selection, "Filter" is more accurate than "Search".
2021-04-05 01:45:39 +02:00
Hugo Locurcio
fc055e1993
Allow Center Selection to work without any selection in 2D/3D editors
...
When there is no selection, the camera will center around the
world origin.
This helps people get back to the world center if they haven't added
any nodes yet.
2021-04-04 19:58:46 +02:00
Rémi Verschelde
a864a703ee
Merge pull request #47624 from Chaosus/vs_fix_context_menu_separator
...
Fix few bugs in the context menu for Comment node in visual shaders
2021-04-04 18:33:34 +02:00
Yuri Roubinsky
0fecd4ee4d
Fix separator duplication in visual shader context menu
2021-04-04 17:55:42 +03:00
Yuri Roubinsky
44af52d62c
Prevents TextureUniform in visual shaders from conversion to constant
2021-04-04 17:32:44 +03:00
Rémi Verschelde
cbf5408685
Merge pull request #46273 from Chaosus/vs_comment
...
Added Comment node to Visual Shaders
2021-04-04 16:04:12 +02:00
Yuri Roubinsky
5af08e5e65
Fix typo in visual shader context menu
2021-04-04 15:31:04 +03:00
EricEzaM
2a673ff133
Fixed Editor Shortcuts revert/edit/clear buttons performing the wrong action.
...
For shortcuts not in the 'Common' section, the wrong action was being executed. Fixes part of #47594
2021-04-03 22:11:29 +10:00
Rémi Verschelde
4b6e9f3157
Merge pull request #46991 from madmiraal/rename-invert-reverse
...
Rename Array.invert() to Array.reverse()
2021-04-01 13:32:22 +02:00
megalobyte
d0f3817876
Use double when setting the default step size
...
Casting it as a float was causing issues with the progress bar
2021-03-31 22:28:08 -07:00
Kyle
ea5445655c
Add ctrl+shift+a to instance scene in scenetree dock
...
Adds another key shortcut to instance a scene in the scentree dock. Complements ctrl+a to add a node.
2021-03-31 20:28:34 -04:00
Rémi Verschelde
7db85fffb5
Merge pull request #43550 from KoBeWi/resourcism
...
Add option to exclude selected resources on export
2021-04-01 00:20:54 +02:00
Rémi Verschelde
36c11a5b93
Merge pull request #42890 from Ev1lbl0w/bugfix-import-zip
...
Allow Godot to import .ZIP files with non-regular structure
2021-04-01 00:18:19 +02:00
Rémi Verschelde
54a690ead1
Merge pull request #43155 from nathanfranke/collapse-resource-preview
...
Collapse Resource Preview Properly
2021-04-01 00:16:44 +02:00
K. S. Ernest (iFire) Lee
182accc2e0
Update Skeleton3D inspector Bone Transforms
2021-03-31 09:19:01 -07:00
Rémi Verschelde
1508fe1393
Merge pull request #47230 from trollodel/anim_track_color
...
Preview the color animation in the animation editor
2021-03-31 13:56:32 +02:00
Rémi Verschelde
6b25c94bd6
Merge pull request #47519 from AndreaCatania/AndreaCatania-patch-4
...
Fixes editor crash on closing
2021-03-31 12:47:25 +02:00
AndreaCatania
79f55fcded
Fixes editor crash on closing
...
Fixes editor crash when the gizmo is destroyed and the `SceneTree` is already freed.
2021-03-31 11:53:32 +02:00
Rémi Verschelde
db31445b90
i18n: Sync translations with Weblate
...
(cherry picked from commit cca2637b9b
)
2021-03-30 00:04:54 +02:00
Marcel Admiraal
fd30c36985
Rename Texture.get_data() to get_image()
2021-03-28 13:00:46 +01:00
trollodel
735c8396b0
Preview the color animation in the animation editor
2021-03-27 16:16:24 +01:00
Rémi Verschelde
a82765a464
Merge pull request #47403 from likeich/project_man_scale_fix
...
Fix project manager window size scaling
2021-03-27 08:46:16 +01:00
Kyle
918f50c04c
Fixes project manager window size scaling
...
This is a workaround fix for a Vector2i multiplication regression issue that prevents the project manager window size from scaling correctly. This calculates the new window size x and y values separately.
2021-03-26 21:27:43 -04:00
kobewi
76240515d8
Save project after opening
2021-03-26 14:10:41 +01:00
Rémi Verschelde
21f9cb29bd
Merge pull request #47375 from rishabhabhani/master
...
Added null checks for mesh in resource importer
2021-03-26 09:27:00 +01:00
Rémi Verschelde
6bb1eb8212
Merge pull request #47374 from timothyqiu/check-section
...
Check section existance before getting keys
2021-03-26 09:20:36 +01:00
Rishabh Abhani
435c80490a
added null checks for mesh in resource importer
2021-03-26 11:49:06 +05:30
Haoyu Qiu
40d6a25ef5
Check section existance before getting keys
2021-03-26 10:05:25 +08:00
Rémi Verschelde
c6b9ceadf2
Merge pull request #47163 from bruvzg/macos_sandbox_file_dialog
...
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-26 00:00:25 +01:00
Tomasz Chabora
79fea30cd2
Allow for easier editing of rect CollisionShape2D
2021-03-25 23:10:59 +01:00
Hugo Locurcio
31fa1af0c0
Hide renderer selection dropdown in the editor as it's not implemented
...
It will take at least a few months until an OpenGL renderer is made
available for the `master` branch.
2021-03-25 18:09:22 +01:00
Rémi Verschelde
5953f4d766
Merge pull request #47329 from likeich/function_click_centered
...
Fix ctrl-click function line centering
2021-03-25 00:18:04 +01:00
James Castanho
babaddbdec
edit if statement in FileSystemDock::_select_file()
2021-03-24 16:10:41 -05:00
Hugo Locurcio
b191a7547c
Rename the `.shader` file extension to `.gdshader`
...
This lets third-party software recognize Godot shaders more easily,
without relying on guesswork since the `.shader` extension is generic.
2021-03-24 21:33:44 +01:00
Kyle
2b775bd698
Fixes ctrl-click function line centering
...
When ctrl-clicking in the code editor, the view will now be centered on the function result.
Also replaces a circumstance where goto_line_centered should be used.
2021-03-24 12:29:14 -04:00
Rémi Verschelde
64b4bd4ee0
Merge pull request #47301 from akien-mga/drop-resource-importer-csv
...
Remove now unnecessary ResourceImporterCSV importer
2021-03-24 09:25:55 +01:00
Gordon MacPherson
8db565cabd
Fix use of Error its uninitialised and resolves importers being broken
2021-03-23 23:46:22 +00:00
Rémi Verschelde
7ed2220928
Remove now unnecessary ResourceImporterCSV importer
...
Its only purpose was to prevent importing CSV files as translations, but it
would still import them as *nothing*, leading to workflow issues.
This is now properly fixed with #47268 which allows disabling the import for
specific files.
2021-03-23 15:49:30 +01:00
Juan Linietsky
4706297356
Remove FileSystem dock errors on unimported files
...
* Removes error shown when file is in 'keep' mode
* Display a warning when attempting to open the file
* Closes #47296
2021-03-23 11:33:07 -03:00
Rémi Verschelde
22716a1df2
Merge pull request #36004 from nathanfranke/fix-transparent-theme-color
...
Fix transparent editor theme being brighter
2021-03-23 13:25:38 +01:00
Rémi Verschelde
5238f1399d
Merge pull request #38054 from aaronfranke/enums
...
Rename many global enums relating to input
2021-03-23 13:00:24 +01:00
Rémi Verschelde
ecfa2f8de2
Merge pull request #35320 from Calinou/edited-scene-extension-if-ambiguous
...
Display scene file extensions in the editor only if there's ambiguity
2021-03-23 12:58:07 +01:00
Tomasz Chabora
eb4082b24a
Add option to exclude selected resources on export
2021-03-23 12:49:19 +01:00
Aaron Franke
10d7fccb54
Rename ButtonList enum and members to MouseButton
2021-03-23 07:13:23 -04:00
Rémi Verschelde
70eff30c5f
Merge pull request #46823 from Calinou/editor-tweak-save-branch-as-scene-messages
...
Tweak error messages for the Save Branch as Scene editor option
2021-03-23 11:57:08 +01:00
Rémi Verschelde
300f86351e
Merge pull request #47287 from Shatur95/fix-duplicated-code
...
Move duplicated code into a function
2021-03-23 11:17:28 +01:00
Rémi Verschelde
939c4bbe3f
Merge pull request #47261 from KoBeWi/filterdropper
...
Allow to drop files on filtered scene tree
2021-03-23 10:34:13 +01:00
Shatur95
a1cfc1032c
Move duplicated code into a function
2021-03-23 09:08:06 +02:00
bruvzg
b202a0dd2a
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-23 08:03:41 +02:00
Rémi Verschelde
7acd62886d
Merge pull request #47263 from nekomatata/fix-physical-bone-gizmo
...
Fix PhysicalBone gizmo not showing
2021-03-23 00:13:09 +01:00
Rémi Verschelde
6a84ade316
Merge pull request #45234 from madmiraal/rename-phashtranslation
...
Rename PHashTranslation to OptimizedTranslation
2021-03-23 00:12:12 +01:00
Rémi Verschelde
89d3c787d4
Merge pull request #47271 from Shatur95/remove-hardcoded-names
...
Remove hardcoded names in generated objects
2021-03-22 23:41:36 +01:00
Shatur95
7762d4592d
Remove hardcoded names in generated objects
2021-03-22 22:37:26 +02:00
Juan Linietsky
8d64f3bd76
Add a "keep" import mode to keep files as-is and export them.
2021-03-22 17:19:19 -03:00
PouleyKetchoupp
0e4c34ac65
Fix PhysicalBone gizmo not showing
...
The new CollisionObject gizmo used for custom shapes was used with
higher priority due to alphabetical order and was preventing physical
bones from being displayed in the editor.
2021-03-22 10:29:49 -07:00
Bartłomiej T. Listwon
5aa88afa5d
Change search results limit in FileSystem dock from 128 to 10000
2021-03-22 18:11:36 +01:00
kobewi
4e64c9fd4d
Allow to drop files on filtered scene tree
2021-03-22 16:35:49 +01:00
Juan Linietsky
97a3a66220
Improved 3D Scene Importer
...
* Added option for importers to show an Advanced settings dialog
* Created advanced settings dialog for Scene Importer
* Cleaned up importers (remove many old/unused options)
* Added the ability to customize every node, material, mesh and animation individually
* Saving to animations and meshes to files is now a manual process, making it more predictable
* Added the ability for materials to be replaced by external files (or to be made external, up to you).
* When doubleclicking an impoted scene in the filesystem dock, it automatically shows the import settings instead of asking to open it.
WARNING: Lightmap UV unwrap is not working, it needs to be re-made.
2021-03-22 12:16:40 -03:00
Hugo Locurcio
4c8f458c90
Tweak error messages for the Save Branch as Scene editor option
...
See https://github.com/godotengine/godot-proposals/issues/2433 .
2021-03-21 15:50:37 +01:00
Marcel Admiraal
755c70b871
Rename Array.invert() to Array.reverse()
...
Does the same internally for List and Vector<>, which includes all
PackedArray types.
2021-03-21 10:20:08 +00:00
Rémi Verschelde
48ee9cd690
Merge pull request #47123 from Calinou/tweak-3d-editor-grid-default-min-division
...
Tweak the 3D editor grid default to not go below subdivisions of 1 meter
2021-03-21 01:19:23 +01:00
Hugo Locurcio
3472c3f6ea
Tweak the 3D editor grid default to not go below subdivisions of 1 meter
...
Small subdivisions aren't useful that often and make it difficult for
people to get a sense of scale in 3D.
2021-03-21 00:41:12 +01:00
Tomasz Chabora
f45e4c57f1
Allow to move timeline without moving animation
2021-03-21 00:24:16 +01:00
Rémi Verschelde
28ff1e2d96
Merge pull request #46938 from dreamsComeTrue/pick-track-improv
...
Make Animation's SceneTreeDialog filter nodes properly
2021-03-21 00:16:52 +01:00
Rémi Verschelde
17f77a74e1
Merge pull request #46758 from W4RH4WK/add-more-index-checks-collada-importer
...
Add additional index checks to COLLADA importer
2021-03-21 00:15:07 +01:00
Rémi Verschelde
9febc206fe
Merge pull request #46740 from KoBeWi/ 🎵 🎵 🎵
...
Fix audio player not resetting after wav finishes
2021-03-20 22:47:19 +01:00
Lightning_A
93f944b070
Add the ability to remove project contents from the remove project dialog
2021-03-20 15:34:37 -06:00
Hugo Locurcio
218d124755
Display scene file extensions in the editor only if there's ambiguity
...
This also simplifies the Editor Settings as the extension is now
automatically shown to avoid ambiguity.
2021-03-20 20:38:18 +01:00
kobewi
daa62ccaa3
Fix audio player not resetting after wav finishes
2021-03-20 20:16:53 +01:00
Rémi Verschelde
6608d99291
Merge pull request #47001 from madmiraal/rename-sprite_2d-region_enabled
...
Rename Sprite.region_enabled getter and setter methods to match properties
2021-03-20 18:36:17 +01:00
Marcel Admiraal
07f1cd5ff8
Rename PHashTranslation to OptimizedTranslation
2021-03-20 10:02:47 +00:00
Haoyu Qiu
30842b2efe
Fix project icon size in Project Manager
2021-03-20 17:32:38 +08:00
Michael Alexsander
77597ea47c
Select non-perfect matches if necessary in the Search Help dialog
2021-03-19 18:49:21 -03:00
Dominik 'dreamsComeTrue' Jasiński
08a45ebfba
Make Animation's SceneTreeDialog filter nodes properly
2021-03-19 22:30:32 +01:00
andybarcia
558b08e6d9
Fixes TileMap editor copy bug.
2021-03-19 12:09:28 +01:00
Lightning_A
c562c6943f
Remove current export template version from "Installed Versions"
...
**Not tested** (I don't have an easy way to test currently). Resolves https://github.com/godotengine/godot-proposals/issues/2394 .
2021-03-18 11:57:01 -06:00
Rémi Verschelde
224f5cab99
Merge pull request #46378 from reduz/static-method-in-variant-types
...
Add static method support to core Variant types
2021-03-16 15:44:04 +01:00
reduz
ecfa570ccb
Add static method support to core Variant types
...
* Properly exposed, including validated and variant call
* Bound static functions in String and Color
* Did not add support for scripting languages, will have to be added manually.
2021-03-16 10:53:05 -03:00
Rémi Verschelde
d1d09bf8bc
i18n: Sync translations with Weblate
...
(cherry picked from commit 94a0fc47f7
)
2021-03-16 11:42:02 +01:00
Haoyu Qiu
eac806547f
Fix AnimationTree editor crash when renaming node
2021-03-16 00:21:20 +08:00
Rémi Verschelde
5375da2fdb
Merge pull request #44333 from lupoDharkael/preferred-extension
...
Save resource: give .res less priority as preferred extension
2021-03-15 08:22:09 +01:00
Dominik 'dreamsComeTrue' Jasiński
a99a671034
Reset ruler tool when switching tools with shortcuts
...
Fixes : #37056
2021-03-15 00:28:52 +01:00
Hugo Locurcio
79e31efd40
Use OS-specific terminology for "Move to Trash" in the editor filesystem
...
This closes https://github.com/godotengine/godot-proposals/issues/2460 .
2021-03-14 21:18:58 +01:00
Marcel Admiraal
3dcdb84660
Rename Sprite.region_enabled getter and setter to match properties
...
Also renames Sprite2D.region_filter_clip property and its setter to
region_filter_clip_enabled and set_region_filter_clip_enabled.
2021-03-14 17:31:49 +00:00
Rémi Verschelde
2e2d533b48
Merge pull request #46971 from YeldhamDev/editinspec_theme_fix
...
Fix EditorInspector not updating its theme on rare occasions
2021-03-14 11:58:30 +01:00
Rémi Verschelde
55d9c31dcb
Merge pull request #46943 from jmb462/fix-editor-slider-grabber-zoomed-bad-position
...
Fix EditorSpinSlider grabber zoom issues (Fix #46632 )
2021-03-14 11:35:46 +01:00
Rémi Verschelde
61155b5e29
Merge pull request #46942 from ray90514/debug
...
Fix Node can not be reselected
2021-03-14 11:34:02 +01:00
Rémi Verschelde
df4019c0da
Merge pull request #46970 from jmb462/fix-crash-on-closing-empty-modified-scene
...
Fix crash on closing empty modified scene (Fix #46959 )
2021-03-14 01:04:32 +01:00
Rémi Verschelde
f381ea8bb6
Merge pull request #46985 from jmb462/Fix-Asset-Library-URL-editor-update
...
Fix Asset Library URLs not updating without restarting after been changed in editor settings (Fix #46977 )
2021-03-14 00:20:38 +01:00
jmb462
6525d74623
Fix Asset Library URL not updating after been changed in editor settings
...
The changes made in this commit refresh the URL OptionButton when editor settings are modified.
No need to restart any more for the changes to appear in the Asset Library.
Fix #46977
2021-03-13 22:55:59 +01:00
Rémi Verschelde
21aabc4fe3
Merge pull request #46969 from Pop0p/fix_folder_stripedges
...
Remove whitespaces when creating folder
2021-03-13 22:22:27 +01:00
lupoDharkael
f2e906496b
Save resource: implement extension priority
...
give .res less priority and .tres more priority as preferred
extensions.
2021-03-13 22:09:17 +01:00
Rémi Verschelde
223a06955e
Merge pull request #46978 from jmb462/fix-hardcoded-maya-style-pan-key-modifier
...
Fix hardcoded Maya style navigation pan key modifier (Fix #46973 )
2021-03-13 22:03:40 +01:00
Rémi Verschelde
0e3aae00d8
Merge pull request #46919 from nekomatata/soft-body-gizmo-fix
...
Fix pinned vertices in SoftBody editor gizmo
2021-03-13 21:52:38 +01:00
Rémi Verschelde
0444f5ac47
Merge pull request #46946 from Calinou/editor-sprite-frames-zoom-hidpi
...
Scale zoom values in the SpriteFrames editor for hiDPI displays
2021-03-13 21:49:43 +01:00
jmb462
31077d875e
Fix hardcoded Maya style navigation pan key modifier
...
ALT key modifier was hardcoded is node_3d_editor_plugin.cpp and didn't take editor settings into account.
Fix #46973
2021-03-13 20:45:14 +01:00
Michael Alexsander
efa3927b49
Fix EditorInspector not updating its theme on rare occasions
2021-03-13 15:08:16 -03:00
jmb462
281f5a4999
Fix always capitalized properties in sub-inspector
...
Fix #46961 :
This commit correctly initialize capitalization in sub-inspectors (like shaders's sub-inspector in the inspector panel) with the editor settings.
2021-03-13 18:42:59 +01:00
jmb462
49d5ec073f
Fix crash on closing empty modified scene
2021-03-13 18:19:29 +01:00
Pop0p
c8538153b0
trims_whitespaces_when_creating_folder_windows
...
When creating a Windows folder via a Godot's dialog, the extra spaces are not removed which causes problems with Windows. We now remove leading and trailing whitespace when creating a dir.
2021-03-13 17:09:25 +01:00
ray90514
b0c881392a
Fix Node can not be reselected
2021-03-13 22:30:37 +08:00
Rémi Verschelde
c4f32bced9
Merge pull request #46955 from mujpao/polygon2d-update-viewport
...
Update viewport after Polygon2D deselected
2021-03-13 14:42:20 +01:00
jmb462
919b097b9e
fix-EditorSpinSlider-grabber-zoomed-position
2021-03-13 11:27:43 +01:00
sboronczyk
14658e3d10
Fix Create Plugin after GD Annotation Changes
2021-03-13 02:50:55 +01:00
mujpao
030703dd30
Update viewport after Polygon2D deselected
2021-03-12 17:22:46 -08:00
Hugo Locurcio
e5c5b9570f
Scale zoom values in the SpriteFrames editor for hiDPI displays
...
This closes #46836 .
2021-03-12 19:05:45 +01:00
Rémi Verschelde
adf233ed04
Merge pull request #46918 from ray90514/debug
...
Fix Tree focus border disappears when Border Size is set to 0
2021-03-12 13:42:54 +01:00
ray90514
4c0ab07809
Fix Tree focus border disappears when Border Size is set to 0
2021-03-12 09:28:20 +08:00
PouleyKetchoupp
29e67101db
Fix pinned vertices in SoftBody editor gizmo
...
The wrong vertices could be highlighted/selected due to generating a
debug triangle mesh to gather points, which can modify the order of
vertices.
2021-03-11 18:28:16 -07:00
mujpao
15656d4182
Fix crash when trying to export zero files.
...
Fixes crash that happened while exporting if zero files were selected
and adds more error handling to EditorExportPlatform class.
2021-03-11 13:30:04 -08:00
Rémi Verschelde
27dea9366f
Merge pull request #46510 from hilfazer/nested_scene_duplication_4_0
...
Support for duplication of nested instanced scenes
2021-03-11 21:39:43 +01:00
hilfazer
72134a7f2a
Support for duplication of nested instanced scenes
2021-03-11 19:26:15 +01:00
Gilles Roudière
ba1344408f
Implement Navigation layers
2021-03-10 11:23:06 +01:00
Gilles Roudière
a9dc53d152
Remove Navigation2D/3D nodes, and move the navigation map to the world resource
2021-03-10 11:23:06 +01:00
Rémi Verschelde
0bef220f0a
Merge pull request #46759 from qarmin/crashes_others
...
Fix crashes when manipulating nodes in editor
2021-03-09 17:19:07 +01:00
Rémi Verschelde
83b1acdc60
Merge pull request #45545 from abaire/relaxes_gltf_name_sanitization
...
Relaxes node name sanitization in gltf documents.
2021-03-09 14:54:33 +01:00
Rémi Verschelde
18bb36707f
Merge pull request #46110 from gongpha/colorbar-in-colorpicker
...
Add color interpolation bar on each channel in ColorPicker
2021-03-09 14:43:26 +01:00
Rémi Verschelde
ca1db9626c
Merge pull request #46670 from Shatur95/fix-enable-created-plugin
...
Fix enabling of created plugin
2021-03-09 13:54:17 +01:00
Kongfa Waroros
d295d53b4a
Add interpolation bar on each channel in ColorPicker
2021-03-09 14:58:19 +07:00
Rémi Verschelde
b6e97c10ad
i18n: Sync translations with Weblate
...
(cherry picked from commit f1f472439e
)
2021-03-08 17:51:58 +01:00
Rémi Verschelde
14f330c95e
Merge pull request #46771 from socket220/master
...
pop-up usability enhancement for support-level button
2021-03-08 16:02:09 +01:00
nemerle
7bbacb5ff6
fix incorrectly connected optimize_dialog signal
2021-03-08 11:14:45 +01:00
gatalskii
efe05a166e
mod: pop-up usability enhancement for support button
...
Now after choosing support level pop-up doesn't hide after each click
2021-03-07 22:51:40 +03:00
Hugo Locurcio
25c6acb702
Make the pagination buttons wider in the asset library browser
...
This makes the page number buttons easier to click.
2021-03-07 20:11:58 +01:00
Rafał Mikrut
f81ecb498b
Fix crashes when manipulating nodes in editor
2021-03-07 15:14:24 +01:00
Alex Hirsch
8faeb72f10
Add additional index checks to COLLADA importer
...
ref #46548
2021-03-07 14:53:01 +01:00
Rémi Verschelde
05248535f7
Merge pull request #46641 from KoBeWi/unsaved_forever
...
Don't save unchanged script upon closing
2021-03-06 21:06:06 +01:00
kobewi
12f5a5a701
Don't save unchanged script upon closing
2021-03-06 20:17:19 +01:00
Shatur95
c26b451afe
Fix enabling of created plugin
2021-03-06 15:33:52 +02:00
Pedro J. Estébanez
565796518d
Fix crash on cleanup of EditorFileServer
2021-03-06 13:29:40 +01:00
Ev1lbl0w
1f0b60c47d
Fix negative VRAM values
2021-03-05 21:48:20 +00:00
jmb462
068300c7c9
Adding Raycast3D custom debug shape thickness and color
2021-03-04 11:17:26 +01:00
Rémi Verschelde
ec7053259b
Merge pull request #41437 from KoBeWi/put_it_here
...
Allow to create a node at specific position
2021-03-01 15:48:53 +01:00
Rémi Verschelde
c2799893f4
Merge pull request #46544 from Chaosus/tilemap_signal_fix
...
Check before connecting `TileMapEditor::settings_changed`
2021-03-01 11:59:11 +01:00
Rémi Verschelde
4b1887fa28
Merge pull request #46535 from asmaloney/fix-gizmo-names
...
Fix Node3D gizmo names
2021-03-01 09:40:54 +01:00
Yuri Roubinsky
1e7662f972
Check before connecting `TileMapEditor::settings_changed`
2021-03-01 10:25:33 +03:00
Andy Maloney
14c50fdb94
Fix gizmo names
...
Commit 5ef62e546f
renamed EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name", but it wasn't done everywhere. Because EditorNode3DGizmoPlugin inherits from Resource, it was then using Resource::get_name() which resulted in null names.
Fixes godotengine/godot#46349
2021-02-28 20:52:53 -05:00
Oliver Dick
0559fc58d1
SceneTreeDock: Changed "Save Branch as Scene" to make use of Node::duplicate_from_editor, which is also used by "Duplicate" function of the SceneTreeDock
...
- Removed Node::duplicate_and_reown method as it is not used anymore
2021-02-28 17:19:01 +01:00
kobewi
af069109be
Don't check modified time if file doesn't exist
2021-02-26 23:18:50 +01:00
Rémi Verschelde
7b685a1558
Merge pull request #46452 from hilfazer/click_mesh_instance_crash_40
...
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26 21:00:12 +01:00
hilfazer
1810654369
Prevent crash when clicking Mesh in MeshInstance when is scene root
2021-02-26 19:28:09 +01:00
Tomasz Chabora
8df22a03c4
Allow to create a node at specific position
2021-02-26 14:40:28 +01:00
Rémi Verschelde
7bb0d39da4
Merge pull request #46327 from hilfazer/prevent_change_type_on_foreign_nodes
...
Prevent 'Change Type' on nodes from a foreign scene
2021-02-26 14:37:14 +01:00
kobewi
59e1c007a7
Save ProjectSettings on editor restart
2021-02-26 13:33:08 +01:00
hilfazer
e28cc34db8
Prevent 'Change Type' on nodes from an instanced scene
2021-02-26 07:18:21 +01:00
Vedat Günel
929da94e2c
Add outline to dragged guide text
2021-02-26 03:12:50 +03:00
Michael Alexsander
f2ad7c5f12
Fix heap-use-after-free in Import Defaults Editor
2021-02-25 11:50:10 -03:00
Fredia Huya-Kouadio
eda18fcc1f
Update the filtering logic to properly handle directories with `.gdignore` files.
2021-02-24 18:40:36 -08:00
Rémi Verschelde
757c151219
Merge pull request #46394 from YeldhamDev/import_defaults_fix
...
Fix import selector resetting in Import Defaults Editor
2021-02-24 22:53:44 +01:00
Michael Alexsander
4837766292
Fix capitalization of checkbox in Input Map Editor
2021-02-24 16:20:39 -03:00
Michael Alexsander
881d1984cf
Fix import selector resetting in Import Defaults Editor
2021-02-24 16:05:43 -03:00
trollodel
85a776ddcd
Allow CollisionObject3D to show collision shape meshes
...
Add an editor gizmo to CollisionObject3D.
CollisionShape3D no longer shows collision shapes directly.
2021-02-24 18:50:13 +01:00
abaire
61cc1c8624
Relaxes Node naming constraints in glTF documents to match the Editor.
2021-02-24 08:22:27 -08:00
Rémi Verschelde
049d654c49
Merge pull request #46354 from reduz/importer-defaults-editor
...
Added Import Defaults Editor in Project Settings
2021-02-24 13:19:05 +01:00
Rémi Verschelde
6d6a4fa1cf
Merge pull request #46342 from YeldhamDev/sun_preview_enhancements
...
Apply minor visual enhancements to the Sun/Env Preview
2021-02-24 11:20:36 +01:00
Rémi Verschelde
da551bbf2d
Merge pull request #46133 from aaronfranke/gray
...
Change fallback icon for abstract nodes to have a grayed out color
2021-02-24 11:17:49 +01:00
reduz
b6fce5d750
Added Import Defaults Editor in Project Settings
...
-Change importer defaults in project settings.
-Ability to change them or reset them.
2021-02-23 14:18:02 -03:00
Michael Alexsander
0bc7049099
Apply minor visual enhancements to the Sun/Env Preview
2021-02-23 11:21:26 -03:00
reduz
d6a9cff8b7
Add preview Sun and Environment
...
* Adds both a preview sun and preview environment to the 3D editor.
* They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene.
* If any is added to the scene, the respective preview is disabled.
* Changed WorldEnvironment to better handle multiple node versions.
* Added a function in SceneTree to get the first node in a group.
* Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
2021-02-22 16:56:29 -03:00
Rémi Verschelde
29f0ab0303
i18n: Sync translations with Weblate
...
(cherry picked from commit d0bc914491
)
2021-02-22 11:06:33 +01:00
Rémi Verschelde
51d68919ff
Merge pull request #46263 from dalexeev/fix-help-shortcut-2
...
Fix "editor/editor_help" shortcut (again)
2021-02-22 10:37:15 +01:00
hilfazer
442e550114
Prevent selecting hidden nodes in 3D and Canvas Item editors
2021-02-21 11:58:31 +01:00
Yuri Roubinsky
fe3051fcce
Added Comment node to Visual Shaders
2021-02-21 12:40:17 +03:00
Danil Alexeev
c6435e1d47
Fix "editor/editor_help" shortcut (again)
2021-02-21 00:15:26 +03:00
Rémi Verschelde
dc1ae06557
Merge pull request #44864 from Calinou/editor-array-dictionary-increase-page-size
...
Increase the page size for array/dictionary editors to 20
2021-02-19 19:53:35 +01:00
Rémi Verschelde
04cb7e638c
Merge pull request #46191 from reduz/refactor-process-mode
...
Refactor Process Mode
2021-02-19 13:46:50 +01:00
Rémi Verschelde
13303dd56d
Merge pull request #46216 from Chaosus/fix_scenetree_timeout
...
Fix connecting signal to `SceneTreeEditor::update_timer`
2021-02-19 13:39:50 +01:00
Yuri Roubinsky
a82d231e06
Fix `SceneTreeEditor::update_timer` - timeout signal
2021-02-19 14:58:18 +03:00
Eric M
8d9256e13c
Added Built-in Action editor to Editor Settings dialog.
...
Built-in actions can now be edited for the Editor too.
Also added usage of the new Event confifiguration dialog to for better UX.
2021-02-19 19:36:42 +10:00
Eric M
3db45ff198
New ActionMapEditor to replace InputMapEditor. Used in ProjectSettings.
...
Renamed to ActionMapEditor as it is more generic and can be used for more than just the InputMapEditor if required.
This also includes a new Event Configuration dialog (previously "Press A key...") which can be used to create and edit InputEvents for any use - like the Project Settings input map, or the Editor Settings shortcuts.
2021-02-19 19:36:42 +10:00
Rémi Verschelde
aeea4280a0
Merge pull request #38994 from nikibobi/fix-file-dialog-favorite
...
Fix file dialog filename cleared when selecting favorites
2021-02-19 09:46:17 +01:00
reduz
083aa9b95e
Refactor Process Mode
...
Implements https://github.com/godotengine/godot-proposals/issues/1835#issuecomment-727186192
* PauseMode is now ProcessMode, containing the following states:
```
PROCESS_MODE_INHERIT, // same as parent node
PROCESS_MODE_NORMAL, // process only if not paused
PROCESS_MODE_PAUSE_ONLY, // process only if paused
PROCESS_MODE_ALWAYS, // process always
PROCESS_MODE_DISABLED, // never process
```
* NOTIFICATION_PAUSED and NOTIFICATION_UNPAUSED are received effectively when the node is paused and unpaused (not any longer when pause mode is set in SceneTree).
* Renamed some nodes that used ProcessMode/process_mode to specify a callback type to ProcessCallback to avoid clashes.
2021-02-18 20:39:55 -03:00
Rémi Verschelde
310496a89f
Merge pull request #45617 from RandomShaper/modernize_atomics
...
Modernize atomics (and fix `volatile`)
2021-02-18 19:40:31 +01:00