Commit graph

6374 commits

Author SHA1 Message Date
Rémi Verschelde
ba0db95909 DocData: Skip language-specific ClassDoc without methods/constants
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
2020-06-17 15:09:07 +02:00
Maganty Rushyendra
2be3a33cc3 Fix code editor Replace tool to work with 'Selection Only' option
Ensures that when the `Selection Only` option is selected, the Replace
tool replaces occurrences of the search phrase only within the selected
region, and in order of occurrence.
2020-06-16 22:09:46 +08:00
Rémi Verschelde
b29a3e7e23
Merge pull request #39307 from KoBeWi/move_n_dup
Allow duplicating files when holding Control
2020-06-16 12:54:06 +02:00
Rémi Verschelde
9d23391072
Merge pull request #39517 from Calinou/editor-display-freelook-speed-zoom
Display freelook speed and zoom in units in the 3D editor viewport
2020-06-16 12:44:25 +02:00
Hugo Locurcio
eaae50fe4a Display freelook speed and zoom in units in the 3D editor viewport
Now that the 3D editor grid is infinite and adjusts its step automatically,
this helps people get a better sense of scale when moving around in the
3D viewport.

This also fixes the indicator bar drawing on hiDPI displays.
2020-06-16 10:46:01 +02:00
Rémi Verschelde
8db8577f10
Merge pull request #39126 from TwistedTwigleg/GSOC_2020_Working_Branch
Skeleton and Skeleton inspector low-level changes
2020-06-16 09:30:22 +02:00
Rémi Verschelde
3fa863dbb8
Merge pull request #38934 from KoBeWi/where_to_setget
Link exposed setters/getters in property descriptions
2020-06-16 09:25:27 +02:00
bruvzg
1e3c02d590
Change in-editor documentation style to be closer to online docs. 2020-06-16 08:03:24 +03:00
TwistedTwigleg
24905becb2 Made low level changes to the Skeleton3D class and Skeleton3D inspector. Changes listed below:
* Added helper functions to Skeleton3D for converting transforms from bone space to global space, and vice versa.
* Updated the Skeleton3D class reference.
* Changed the icon used for bones in the Skeleton3D inspector to use BoneAttachement3D's icon.
* Changed the Skeleton3D inspector to use EditorPropertyTransform and EditorPropertyVector3 when possible.
* Placed the Transform/Matrix for each bone in a sub-section, so it is visually similar to the Node3D inspector.
2020-06-15 17:18:06 -04:00
Tomasz Chabora
ea07acb877 Link exposed set/getters in property descriptions 2020-06-15 20:54:10 +02:00
Rémi Verschelde
77990b87c2 i18n: Sync translations with Weblate
Remove 'de_CH' translation (4% complete) to default to the 100%
complete 'de' one.

Fixes #32625.

(cherry picked from commit 35a5ebb44d)
2020-06-15 14:35:07 +02:00
Rémi Verschelde
152bb86141
Merge pull request #39479 from akien-mga/classdb-default-property-unique
Object: Add usage hint to instantiate Object properties in editor
2020-06-15 09:30:04 +02:00
Rémi Verschelde
fdc8b96975
Merge pull request #39503 from hilfazer/fav-proj-godot4
Fixed "Favourite Project" button in Project Manager
2020-06-15 09:28:17 +02:00
Rémi Verschelde
b95611bb86
Merge pull request #39543 from Sawrr/master
Unhide Skeleton3D menu button
2020-06-15 09:24:34 +02:00
Rémi Verschelde
8de945d7ba
Merge pull request #39534 from Calinou/remove-2d-pixel-import-preset
Remove the obsolete "2D Pixel" import preset
2020-06-15 09:22:06 +02:00
Rémi Verschelde
3d1b8ee56a
Merge pull request #39549 from KoBeWi/deletebuseffectinator
Delete bus effect with Delete key
2020-06-15 07:57:16 +02:00
Maganty Rushyendra
91bdc77d47 Fix match count for whole word search in editor
Check if a match borders a new line char when incrementing match counts.
2020-06-15 11:39:36 +08:00
Tomasz Chabora
05656f2b29 Delete bus effect with Delete key 2020-06-15 00:32:50 +02:00
Sawrr
d7a3395332 Unhide Skeleton3D menu button 2020-06-14 16:58:10 -04:00
Hugo Locurcio
26161de739
Remove the obsolete "2D Pixel" import preset
Texture filtering is now defined on a per-node basis, thanks to
bindless textures provided by Vulkan.

This closes #37057.
2020-06-14 15:08:09 +02:00
hilfazer
512aaf018c Fixed "Favourite Project" button in Project Manager 2020-06-13 12:43:54 +02:00
Rémi Verschelde
b3bc5aafc5 Object: Add usage hint to instantiate Object properties in editor
Fixes #36372 as Path2D/Path3D's `curve` property no longer uses a Curve
instance as default value, but instead it gets a (unique) default Curve
instance when created through the editor (CreateDialog).

ClassDB gets a sanity check to ensure that we don't do the same mistake
for other properties in the future, but instead use the dedicated
property usage hint.

Fixes #36372.
Fixes #36650.

Supersedes #36644 and #36656.

Co-authored-by: Thakee Nathees <thakeenathees@gmail.com>
Co-authored-by: simpuid <utkarsh.email@yahoo.com>
2020-06-12 14:30:18 +02:00
Maganty Rushyendra
2433287871 Fix whole word search slowdown in editor
Reduce repeated iteration through the full text
when counting the number of occurrences of whole
words while searching a file in the editor.
2020-06-12 17:43:50 +08:00
Rémi Verschelde
42bc9ba92f
Merge pull request #39468 from KoBeWi/cpp_type_the_sequel
Fix custom types in node list search
2020-06-12 10:46:21 +02:00
Tomasz Chabora
22f0de8a83 Fix custom types in node list search 2020-06-11 22:06:32 +02:00
Aaron Franke
ff93bc6370
Add GLTF light import
Co-authored-by: K.S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2020-06-11 10:56:56 -04:00
Rémi Verschelde
bcac39551d i18n: Sync translations with Weblate
(cherry picked from commit d68e631566)
2020-06-11 10:01:23 +02:00
Rémi Verschelde
2dae762e53
Merge pull request #39355 from SaviHex/better-docs-links
Added a "title" attribute for the link tag in the docs xml
2020-06-11 09:32:40 +02:00
Rémi Verschelde
4af5dfb12f
Merge pull request #39434 from mrushyendra/export_update_files_master
Account for file deletion and renaming in Export Presets
2020-06-11 09:30:16 +02:00
SaviHex
18c08f65d6 Added a "title" attribute for the link tag in the docs xml 2020-06-10 23:25:29 -03:00
Maganty Rushyendra
44094b082d Account for file deletion and renaming in Export Presets
Ensure that presets are updated with the latest files when
starting up or opening the Project Export dialog. Fixes the
error where Godot would attempt to export deleted files that
were previously selected.
2020-06-11 08:25:24 +08:00
Yuri Roubinsky
f6ed465613 Fix custom property editor layout 2020-06-10 18:03:32 +03:00
Rémi Verschelde
7c48155bbb
Merge pull request #39423 from Phischermen/fix-new-text-file-crash
Fix crash when creating new text file with no name
2020-06-10 10:43:23 +02:00
Michael Alexsander
f30e4dbf54 Fix scene tree showing up when the root selection is present 2020-06-09 19:06:15 -03:00
Phischermen
cdb29447b4 Fix crash when creating new text file with no name 2020-06-09 12:59:59 -07:00
Rémi Verschelde
ae21b5ddad
Merge pull request #39372 from aaronfranke/editor-cam-rot
Change the default editor camera rotation to position it in +X +Y +Z
2020-06-09 14:11:30 +02:00
Hugo Locurcio
a7b2f3d41a Tweak the invalid preset error message to mention export_presets.cfg 2020-06-09 10:24:55 +02:00
Rémi Verschelde
201d5a7fc5
Merge pull request #39389 from akien-mga/packedscene-root-aint-got-parents
PackedScene: Prevent crash when root node has `parent` attribute
2020-06-08 14:23:30 +02:00
Rémi Verschelde
f6430eec2c
Merge pull request #39152 from abustin/fbx_mesh_compression_fix_master
Respect 'mesh compression' editor import option in Assimp and glTF importers [master]
2020-06-08 13:16:31 +02:00
Rémi Verschelde
c080ec5da2 PackedScene: Prevent crash when root node has parent attribute
The crash happens further down when setting an invalid owner in
`Node::_set_owner_nocheck` but I couldn't figure out how to fix it.

But here the proper fix is to catch the invalid scene file early on
and fail loading it.

Part of #17372.
2020-06-08 13:07:07 +02:00
Rémi Verschelde
67f56ff73a
Merge pull request #39365 from Calinou/editor-gizmos-visibility-tooltip
Add an editor tooltip to document gizmo visibility options
2020-06-08 08:24:55 +02:00
Marcus Brummer
41af859c68 Re-apply basis of newly added node (via drag-n-drop) in editor viewport 2020-06-07 22:09:41 +02:00
Tomasz Chabora
b426d11d86 Allow duplicating files when holding Control 2020-06-07 21:36:48 +02:00
Aaron Franke
6c2df6792b
Change the default editor camera rotation to position it in +X +Y +Z 2020-06-07 13:36:04 -04:00
Hugo Locurcio
138a4eecb3
Add an editor tooltip to document gizmo visibility options
See discussion in
https://github.com/godotengine/godot-proposals/issues/716.
2020-06-07 18:31:17 +02:00
Rémi Verschelde
8da68fe910
Merge pull request #33858 from Calinou/inspector-layers-add-hover
Add visual feedback when hovering layer checkboxes in the Inspector
2020-06-06 23:20:01 +02:00
Rémi Verschelde
17af010478
Merge pull request #38967 from nekomatata/remote-inspector-builtin-res
Fix dialog spam when inspecting MeshInstance from model file
2020-06-06 16:11:11 +02:00
johan
fea6ca20c9 2D Editor: modified zoom increment to the twelveth root of two
- properly visit power of 2 factors (50%, 100%, 200%...)
- index based zoom values to prevent floating point issues
- Fix 2d editor not able to reach min and max zoom values
2020-06-04 21:48:55 -04:00
Marcus Brummer
85175c67b8 Enable text selection in execute output of EditorNode 2020-06-04 14:38:55 +02:00
Rémi Verschelde
f05b4fea33
Merge pull request #39099 from YeldhamDev/create_dialog_icon_fallback
Add fallback icons and make custom ones appear in the recent/favorites list in the "Create New" dialog
2020-06-04 11:58:55 +02:00