Eric M
d744f4a678
Stopped trying to revert to default values when script implementation of property_can_revert exists
...
(cherry picked from commit 27ada5c114
)
2020-05-06 23:29:08 +02:00
Rémi Verschelde
6d39af42a0
Merge pull request #38477 from Chaosus/vs_canvas_input_fixes
...
(3.2) Some fixes for canvas item visual shader inputs
2020-05-05 16:38:50 +02:00
Rémi Verschelde
00b5663782
i18n: Sync translations with Weblate
2020-05-05 16:05:12 +02:00
Yuri Roubinsky
1f89c3bfeb
(3.2) Some fixes for canvas item visual shader inputs
2020-05-05 12:21:25 +03:00
Dominik 'dreamsComeTrue' Jasiński
2524ed4242
Proper naming and ordering when Duplicate nodes
...
Fixes : #38162
(cherry picked from commit 278259b433
)
2020-05-04 16:10:22 +02:00
MrRevington
fcb6bd7611
Add AtlasTexture support in SpriteFrames Editor - Add Frames from a Sprite Sheet
...
(cherry picked from commit 13770ac08d
)
2020-05-01 10:57:28 +02:00
Hugo Locurcio
cfd6bc7267
Don't focus the selection after using Align Transform With View
...
It made minor adjustments difficult as the camera moved every time
Align Transform With View was used.
This closes #36738 .
(cherry picked from commit a636631e33
)
2020-05-01 10:56:58 +02:00
Tom Evans
1f970670b7
Fixed shuffling editor help tabs
...
The indexes for the ScriptEditorItemData entries were not getting
updated after sorting. This would cause a page to be open but with a
different tab selected. Whenever _update_script_names was called next,
it would correct this indexing. Now we correct it immediately following
the tab sort.
(cherry picked from commit fe53c1b0bd
)
2020-05-01 10:56:58 +02:00
Rémi Verschelde
5f5ef98832
glTF: Fix tangent generation for non-blend shapes
...
PR #30877 was bogus as it made a blend shape-specific code block apply
to everything but blend shapes (as it seemed not to work properly *for*
blend shapes).
The proper fix should thus be to simply remove the problematic
block (and thus cleanup unnecessary logic).
Fixes #32712 .
(cherry picked from commit 0034c88c57
)
2020-05-01 10:56:58 +02:00
Shivansh Anand
5f21a5b9e3
Make Quick Open substring match more specific.
...
When finding a substring, the rating is biased towards substrings
at the end of the path.
Fixes #33504 .
(cherry picked from commit 8c66d80099
)
2020-05-01 10:56:57 +02:00
Rémi Verschelde
8d93303483
Merge pull request #37863 from ExpiredPopsicle/culling5
...
Fixed false positives in the culling system.
2020-04-30 08:05:11 +02:00
Kiri Jolly
bac44ee19f
Fixed false positives in the culling system.
...
This fixes numerous false positives coming out of the culling system.
AABB checks are now a full separating-axis check against the frustum, with the points of the frustum being compared to the planes of the box just as the points of the box were being compared to the planes of the frustum. This fixes large objects behind the camera not being culled correctly.
Some systems that used frustums that were (sometimes mistakenly?) unbounded on one or more side have been modified to be fully enclosed.
2020-04-28 17:14:06 -07:00
Rémi Verschelde
ae958b89ab
i18n: Sync translations with Weblate
2020-04-27 10:32:51 +02:00
Hugo Locurcio
93ba25cfcb
Improve path search behavior discoverability in the project manager
...
This closes #38185 .
(cherry picked from commit 72da1667e0
)
2020-04-27 10:17:08 +02:00
Michael Alexsander
de4c75af10
Fix crash when changing time value of multiple animation keys at once via inspector
...
(cherry picked from commit b081e954cc
)
2020-04-27 10:15:39 +02:00
Hugo Locurcio
93555d9ccc
Add editor freelook navigation scheme settings
...
Depending on what one is trying to achieve, a different freelook mode
may be more desirable.
This closes #34034 .
(cherry picked from commit 8a48fb3517
)
2020-04-27 10:12:55 +02:00
Pedro J. Estébanez
5cb2cfe655
Add ability to export VRAM usage as CSV
2020-04-24 09:22:36 +02:00
dankan1890
a5bbd13794
Fixed output prints " Signal 'node_removed' is already connected " when the editor settings window is closed.
...
Close #38012
(cherry picked from commit ef08e64afb
)
2020-04-23 11:13:33 +02:00
jfons
add8d1b9df
Update Joint gizmos automatically
...
(cherry picked from commit 3e77b6d49d
)
2020-04-23 11:07:32 +02:00
Rémi Verschelde
253fc093b8
DocData: Skip unexposed classes
...
Properly expose classes that we actually want accessible.
(cherry picked from commit 0ef8bcac4d
)
2020-04-21 14:15:34 +02:00
Rémi Verschelde
471a5abbf3
i18n: Sync translations with Weblate
2020-04-16 13:05:22 +02:00
Hugo Locurcio
679474c576
Tweak the built-in script naming for resources with custom names
...
This makes the script name appear before the scene file name,
which ensures it's always visible even if the list of scripts is too
narrow to display the full name.
This only impacts built-in scripts with custom resource names.
Unnamed resources will still use `<scene_file>::<id>` naming
in the list of scripts.
(cherry picked from commit e90beade15
)
2020-04-16 12:57:22 +02:00
Eric M
e2c9cbb79f
Added selection outline to locked nodes.
...
(cherry picked from commit 7f5fb73146
)
2020-04-16 12:57:22 +02:00
Yuri Sizov
ad1c7a53d9
Added missing LinkButton colors in Editor Theme
...
(cherry picked from commit 0671d7b276
)
2020-04-16 12:47:18 +02:00
janglee
f10d2affb0
Reversed timeline zoom slider
...
Fixes #37409
(cherry picked from commit 3f23e1d600
)
2020-04-16 12:47:18 +02:00
Michael Alexsander
5e45717be7
Remove unnecessary Panel in "Features" section in the Export dialog
...
(cherry picked from commit a1a096eb09
)
2020-04-16 12:47:18 +02:00
Hugo Locurcio
0ce6ac0bbb
Warn about built-in script limitations in the script creation dialog
...
This partially addresses #31758 .
(cherry picked from commit ac210e196c
)
2020-04-16 12:47:18 +02:00
PouleyKetchoupp
18c5ef5473
Add style for highlighted Slider grab area
...
(cherry picked from commit 4c8173af0f
)
2020-04-16 12:47:17 +02:00
Vasiliy
cf135e3723
Add "preview_on_sphere" setting of material editor plugin
...
(cherry picked from commit 48b144afb7
)
2020-04-16 12:03:02 +02:00
Thakee Nathees
233997aac5
replace selected text with empty string bug fixed
...
Fix : #37416
(cherry picked from commit 2144eb05df
)
2020-04-16 11:58:57 +02:00
Tomasz Chabora
472b0e0d34
Properly handle node remove via undo
...
(cherry picked from commit 37ffb40047
)
2020-04-16 11:56:50 +02:00
Andrea Catania
a51e78528f
Fixed IK rotation issue
...
(cherry picked from commit 277696d6c5
)
2020-04-16 11:42:07 +02:00
Hugo Locurcio
b5d41bb517
Remove Request Docs button in the script editor due to various issues
...
The Request Docs button is partly responsible for layout overflow
issues on narrow displays, such as #31133 .
It also tended to attract spam and low-effort issues that were
difficult to act upon. A "Send Docs Feedback" menu option has been added
to replace it.
(cherry picked from commit 2f6f029a75
)
2020-04-16 11:16:08 +02:00
Ignacio Etcheverry
445f1c6e7b
Mono/C#: Add iOS support
...
Right now, games only work on devices when exported with FullAOT+Interpreter.
There are some issues left that need to addressed for FullAOT alone. Right now,
it's giving issues with the Godot.NativeCalls static constructor.
2020-04-14 18:03:10 +02:00
qarmin
57952d562c
Fixes leak with drives [3.2]
2020-04-12 14:05:47 +02:00
Rémi Verschelde
218ae1e7a2
Merge pull request #37595 from ExpiredPopsicle/18809_flickering_ortho_fix
...
Othographic camera in-editor now uses Z near/far instead of hardcoded value
2020-04-10 17:16:49 +02:00
dankan1890
657f12edcc
TextureRegion: fixed Autoslice not created/updated properly.
...
(cherry picked from commit 671e97d254
)
2020-04-06 18:17:19 +02:00
Michael Alexsander
9dcf9da205
Fix changing the import type of multiple files at once
...
(cherry picked from commit 6d6af0ea06
)
2020-04-06 18:16:58 +02:00
Kiri Jolly
26912c15e6
Othographic camera in-editor now uses Z near/far settings instead of a hardcoded value
...
Fixes #18809 .
The in-editor ortho camera used a far clipping plane of 8192 units, and was
placed 4096 units away from the camera cursor.
This was far enough to cause culling issues from floating point precision loss
on objects smaller than one unit.
This change modifies the near/far clipping planes of the ortho camera to use
those specified in the editor (and currently used by the perspective camera).
The frustum is still centered around the camera cursor location, as it was
before.
2020-04-04 16:16:11 -07:00
Rémi Verschelde
acd14e645a
Remove unused classes and stray headers
...
Found by reviewing headers with 1 or less matching includes:
```
find -name thirdparty -prune -o -name "*.h" -exec basename {} \; | sort -u > headers
for header in $(cat headers); do echo "$header: "; rg -l "#include \"(.*/)?$header\"" | wc -l; done > list-includes
```
(cherry picked from commit 9d24541597
)
2020-03-25 11:38:54 +01:00
Ivan.Shakhov
d06ae167bf
for third-party tools - editor_path is stored in project's editor settings
...
(cherry picked from commit 2f151068b5
)
2020-03-25 11:38:54 +01:00
simpuid
a10a21f407
Fixes transform gizmo position when node has default transform
...
Changes made:
* Added dirty bit for SpatialEditorSelectedItem's last_xform
* SpatialEditorViewport checks that dirt bit too before skipping the selection
(cherry picked from commit 19825436d4
)
2020-03-25 11:38:53 +01:00
johan
31fb54742b
Editor 2D: Change pixel alignment strategy, fix jittering in high zoom
...
Alignment of scene pixels on screen pixel ensure a crisp rendering of small features (such as text). Unfortunately, alignment of top left pixel on screen adds a lot of jittering when zooming at high zoom factor.
This change allow to snap the top left scene pixel on the closest screen pixel (not only the top-left most), and we do so only when the scale factor is an integer.
(cherry picked from commit 1c02906a6f
)
2020-03-25 11:38:53 +01:00
alvaroHernandez
bce2a3a2d2
prevent joypad button input dropdown going out of dialog
...
(cherry picked from commit e47d5691e4
)
2020-03-25 11:38:53 +01:00
JFonS
4d85f70015
Update all editor viewports after settings changes
...
(cherry picked from commit 55b478afd9
)
2020-03-25 11:30:49 +01:00
JFonS
784ff23adc
Fix rotation gizmo for empty Spatials
...
The AABB for an empty Spatial has 0 size, since the stored and
compared Transform was scaled by the AABB size, it would completely
destroy the rotation information. If there is no rotation
information, the gizmo doesn't update when the rotation changes.
(cherry picked from commit a0af3094b4
)
2020-03-25 11:30:49 +01:00
Haoyu Qiu
d25949dd49
Keeps the filename when marking scene as unsaved
...
(cherry picked from commit 9ed61a70cc
)
2020-03-25 11:30:48 +01:00
volzhs
644d49b156
Update snap setting only with OK
...
restore previous values with cancel
(cherry picked from commit 667a981d4d
)
2020-03-25 11:30:48 +01:00
volzhs
5edd669503
Use checkbox for plugin status instead of option list
...
(cherry picked from commit 09b055bd34
)
2020-03-25 09:38:53 +01:00
Tomasz Chabora
843948b69d
Show theme property descriptions in the inspector
...
(cherry picked from commit 7a0e813ffa
)
2020-03-25 09:38:18 +01:00
Ignacio Etcheverry
110523fecc
Expose FileSystemDock to the scripting API and fixed signals
...
Fixed FileSystemDock's `file_removed` and `folder_removed` signals not being
emitted because the emitted was using the wrong signal name.
(cherry picked from commit fe0b783e70
)
2020-03-18 17:57:45 +01:00
Rémi Verschelde
69081c000d
Merge pull request #33098 from JFonS/viewport_rotation
...
Add rotation widget to 3D viewport
2020-03-17 16:29:44 +01:00
Rémi Verschelde
4a38ec3937
Merge pull request #36336 from m4gr3d/android_plugin_v2_for_godot_3_2
...
Re-architecture of the Godot Android plugin. [3.2]
2020-03-17 16:27:59 +01:00
Rémi Verschelde
c01e840f03
Merge pull request #36639 from RandomShaper/imvu/improve_drives_ux_3.2
...
Improve UX of drive letters (3.2)
2020-03-17 16:27:33 +01:00
Pedro J. Estébanez
6105dfdac9
Improve UX of drive letters
...
Namely, move the drive dropdown to just the left of the path text box and don't include the former
in the latter.
This improves the UX on Windows.
In the UNIX case, since its concept of drives is (ab)used to provide shortcuts to useful paths, its
dropdown is kept at the original location.
2020-03-17 14:48:54 +01:00
Rémi Verschelde
0e36b11f9d
i18n: Sync translations with Weblate
2020-03-16 10:45:42 +01:00
Rémi Verschelde
df2a2ae0fc
DocData: Fix serialization of Variant default values
...
Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
(cherry picked from commit 788765709d
)
2020-03-09 11:36:57 +01:00
fhuya
c3660bb4dc
Re-architecture of the Godot Android plugin.
2020-03-09 10:30:02 +01:00
Rémi Verschelde
18e021b7cd
i18n: Sync translations with Weblate
2020-03-09 10:03:42 +01:00
jfons
5b4251695a
Add rotation widget to 3D viewport
2020-03-09 09:40:10 +01:00
Thakee Nathees
15057c9284
Fix EditorFolding crash when switching scenes
...
(cherry picked from commit 3275e8488b
)
2020-03-06 23:51:26 +01:00
Aaron Franke
41e385cfac
Document EditorPlugin get_plugin_icon and get_plugin_name
...
The return value's type hint is now accurate.
(cherry picked from commit 68d73ecf60
)
2020-03-06 23:51:25 +01:00
Dominik 'dreamsComeTrue' Jasiński
a2bc4f0b30
Take correct part of extension with File Dialog
...
Fixes #36697
(cherry picked from commit 319840bad1
)
2020-03-04 12:40:15 +01:00
fhuya
7de67f6c48
Fix android template install validation.
...
(cherry picked from commit 5b80dc9a2a
)
2020-03-04 12:40:15 +01:00
simpuid
621c20db90
Implement undo-redo feature for Parameter Paste in the Inspector
...
EditorData::undo_redo.add_do_property and EditorData::undo_redo.add_undo_property is used in EditorData::paste_object_params to implement this feature. It's action name is set to "Paste Params"
Changes made
* Removed the call for clearing the history on paste params case.
* Instead of directly setting the properties value, EditorData::undo_redo is used.
(cherry picked from commit f817ba8379
)
2020-03-04 12:40:15 +01:00
Michael Alexsander
867ea694da
Fix import changing disabling checking on multiple files
...
(cherry picked from commit d35386263f
)
2020-03-04 12:40:15 +01:00
Richard Menzies
367048030b
Fix wrong selection on cloning a line down in the editor
...
(cherry picked from commit 28f74327be
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
6488570251
Fix a typo in the "Create Single Convex Collision Sibling" option
...
(cherry picked from commit 7348dfb5b7
)
2020-03-04 12:40:14 +01:00
Maurizio Petrarota
53b4689979
Fixed TextureAtlas import.
...
(cherry picked from commit 744c1fafff
)
2020-03-04 12:40:14 +01:00
Andrea Catania
30688769f4
Fixed editor crash when the animation player has no root assigned.
...
(cherry picked from commit c9b86d54bf
)
2020-03-04 12:40:14 +01:00
Michael Alexsander
6e4aa5a580
Don't show a copy of the property's name in the inspector's tooltip if there's no description
...
(cherry picked from commit 28d3f85e64
)
2020-03-04 12:40:14 +01:00
Michael Alexsander
6e300a0c49
Remove extra margin in the top of the debugger
...
(cherry picked from commit 5c5a2b7472
)
2020-03-04 12:40:14 +01:00
Juan Linietsky
03c8e12d54
Add support for named binds in Skin.
...
Helps better reutilization of skeletons from Maya exported files.
(cherry picked from commit 9a34f39d32
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
73240f81d0
Decrease the script editor's default split width to 70
...
This also makes its value change to match the editor scale.
(cherry picked from commit ac3c93077c
)
2020-03-04 12:40:14 +01:00
Yuri Sizov
04b3e208fa
Add a button to quickly repeat last search in files
...
(cherry picked from commit 8c80b602ac
)
2020-03-04 09:52:55 +01:00
janglee
56437cddeb
Make orthogonal view mode persistent in new scene
...
Fixes #36339 .
(cherry picked from commit d3c580f0bc
)
2020-02-20 07:59:45 +01:00
Rémi Verschelde
1c9132540f
i18n: Sync translations with Weblate
2020-02-19 10:09:14 +01:00
Tomasz Chabora
15162906e4
Allow for continuous deletion/duplication of lines
...
(cherry picked from commit b23f141ba4
)
2020-02-18 14:22:05 +01:00
Haoyu Qiu
dcf158703e
Fixes crash when pressing enter in ConnectDialog with nothing selected
...
(cherry picked from commit cf8eedb2f5
)
2020-02-18 14:21:01 +01:00
Hugo Locurcio
06344ac10d
Increase the width of the "Connections to method" dialog
...
This closes #36245 .
(cherry picked from commit 5c659dd399
)
2020-02-18 14:20:18 +01:00
SkyJJ
9091e8d839
Fix script icon not showing at startup bug
...
(cherry picked from commit 032b0e5899
)
2020-02-18 14:19:25 +01:00
Michael Alexsander
f6d2bbdeab
Fix multiple issues with the "Import" dock
...
(cherry picked from commit bdd4d28081
)
2020-02-18 14:18:09 +01:00
Rémi Verschelde
fbaf3c26bf
doc: Only encode version branch (x.y) in class header
...
This avoids a big diff on patch version updates.
(cherry picked from commit dacfdd8f33
)
2020-02-14 20:20:12 +01:00
Rémi Verschelde
3dfedc0b4c
i18n: Sync translation template with current source
2020-02-14 17:52:59 +01:00
Rémi Verschelde
74738806f3
i18n: Sync translations with Weblate
2020-02-14 17:51:56 +01:00
Haoyu Qiu
762578e7bc
Fixes range hint for default_float_step
...
(cherry picked from commit dfe9825e00
)
2020-02-14 16:32:33 +01:00
Hugo Locurcio
6edb5ac9e9
Optimize the editor icon generation
...
Icons are no longer upsampled when using an integer editor scale.
This makes some icons slightly less crisp, but the icons themselves
can be adjusted to mitigate this. When using a non-integer editor
scale setting, upsampling is kept as it improves crispness in a
far more visible manner.
When upsampling is disabled, this speeds up the theme generation
by about 100 ms on average, making the project manager and editor
start slightly faster. This also speeds up switching between themes.
(cherry picked from commit 9e3393a624
)
2020-02-14 16:14:56 +01:00
Hugo Locurcio
b90a5d4c80
Tweak the editor help comment color for better readability
...
(cherry picked from commit 99bfaa6c60
)
2020-02-14 16:11:11 +01:00
Michael Alexsander
ba15e5355b
Fix problems with concave shapes in the TileSet editor
...
(cherry picked from commit eeb972faef
)
2020-02-14 16:07:58 +01:00
Tomasz Chabora
f0c89048d8
Allow to use arrow keys with TOOL_MOVE
...
(cherry picked from commit 18918b4efa
)
2020-02-14 16:07:17 +01:00
Pedro J. Estébanez
a8ae52e998
Ignore hidden files and directories in find in files
...
(cherry picked from commit aeff876868
)
2020-02-14 16:05:50 +01:00
Pedro J. Estébanez
59b8f9b2da
Make file system scan more robust
...
Previously, a change was missed if it happened while the scan was in progress and already past the affected location.
Also:
- Consider the scan changes thread on termination, in addition to the full scan one
- Add FS-reported hidden to the check for hidden by the editor file system
(cherry picked from commit 3017bdb7ce
)
2020-02-14 16:05:36 +01:00
Hugo Locurcio
e834e35ea8
Change the Pick Tile and Select default shortcuts in the TileMap editor
...
The new default keys were chosen to match common graphics editing
software. A modifier is no longer required to use the Select tool,
making it faster to use.
This closes #34170 .
(cherry picked from commit 88213b54ba
)
2020-02-14 16:04:39 +01:00
Haoyu Qiu
c018d02cda
Fixes broken scene created via New Resource
...
(cherry picked from commit 9cff286de1
)
2020-02-14 16:04:23 +01:00
Hugo Locurcio
93b99f2c89
Update the zoom percentage when using Frame Selection in the 2D editor
...
This closes #36019 .
(cherry picked from commit 3e95b79b65
)
2020-02-14 16:03:49 +01:00
Yuri Roubinsky
77deae41fb
Few enchancements for shader editor
...
(cherry picked from commit 24368206ca
)
2020-02-14 16:00:45 +01:00
Michael Alexsander
1414a18916
Make some QOL improvements to move operations in the FileSystem dock
...
(cherry picked from commit 07a23e75fc
)
2020-02-14 16:00:14 +01:00
Hugo Locurcio
262aff67db
Allow existing hidden files/directories when creating a new project
...
For instance, this lets users initialize a Git repository
and still be able to create a project in the directory afterwards.
This closes https://github.com/godotengine/godot-proposals/issues/291 .
(cherry picked from commit 34b747bac0
)
2020-02-14 15:59:41 +01:00
Michael Alexsander
8030178e48
Fix built-in script creation loading existing scripts by mistake
...
(cherry picked from commit f7374cef84
)
2020-02-14 15:58:53 +01:00
Haoyu Qiu
0a3bf2b627
Fixes add group in Group Editor dialog
...
Before this fix, new group can't be created if any existing group starts
with the new name.
(cherry picked from commit 421ea09195
)
2020-02-14 15:58:36 +01:00
Hugo Locurcio
3eb9780179
Re-add a way to generate a single convex shape from the editor
...
It was removed after the implementation of VHACD. Generating a single
shape can lead to better performance, so it may still be desired.
This also adds tooltips for several options in the Mesh menu.
This closes #35692 .
(cherry picked from commit 90af009f2e
)
2020-02-14 15:58:03 +01:00
Haoyu Qiu
3c7a013d8d
Adds pan and zoom gestures to TextureRegion editor
...
(cherry picked from commit d1b1edba84
)
2020-02-14 15:57:18 +01:00
Eric Rybicki
63daa19538
Use a new approach to fix bone pose override not being reset when IK animation is stopped.
...
This reverts PR #35460 & commit 551c37167b
.
(cherry picked from commit bb0358dd8d
)
2020-02-14 15:55:47 +01:00
Hugo Locurcio
56336b4e24
Improve the batch rename dialog
...
- Use the editor-defined error, warning and success colors for
preview texts.
- Make the "Regular Expressions" option into a CheckButton
(as it does something as soon as it's toggled) and move it out
of the Advanced Options submenu.
- Make it clearer that the error message originates from an invalid
regular expression.
- Clarify what the number means in the regex error message.
- Tweak some strings' casing for consistency.
(cherry picked from commit ff135065f4
)
2020-02-14 15:54:22 +01:00
Hugo Locurcio
ca6ac71cdf
Improve the Video RAM debugger UX
...
- Refresh tha tab automatically when switching to it.
- Disable the Refresh button if no project is currently being debugged.
- Scale the column widths on hiDPI displays.
- Rename the tab from "Video Mem" to "Video RAM" for consistency.
(cherry picked from commit 8f838f33b7
)
2020-02-14 15:53:12 +01:00
Hugo Locurcio
725ff19636
Improve the AutoLoad editor UX
...
- Convert the default AutoLoad name to PascalCase when selecting a file.
- Disable the "Add" button if the path is empty or the name is invalid.
- Prefix the automatically-chosen name with "Global" if it would
conflict with a built-in class.
- Replace the FileList icon with the Load icon as it better represents
the action.
(cherry picked from commit 352be7dbcc
)
2020-02-14 15:52:50 +01:00
gururise
68f013317b
change step size of animation length EditSpinSlider to match minimum animation length
...
(cherry picked from commit caab6603d1
)
2020-02-14 15:52:01 +01:00
Silvano Cerza
e2ac4195b6
Improved search in settings dialogs
...
Settings search used to work only on properties, so if a searchbox text
was a substring of a category but not of a property the whole category
would be filtered out and no property would be shown.
Now the behaviour is changed so that when the searchbox text is a
substring of a category all its properties are shown too.
The previous behaviour is still present so that in case the searchbox
text is both a substring of a category and a property of another
category, all properties of the first category are shown and only the
property of the second category is shown.
(cherry picked from commit 84410f937e
)
2020-02-14 15:51:37 +01:00
Haoyu Qiu
341740c0bf
Centers icon vertically in project list
...
(cherry picked from commit c1011178c0
)
2020-02-06 13:02:08 +01:00
Haoyu Qiu
012f8ffb36
Shortens minimum height of script editor windows
...
(cherry picked from commit 6785e199bb
)
2020-02-06 13:02:08 +01:00
Hugo Locurcio
7487a2d11a
Use the editor background color for the profiler graph
...
This leads to a better appearance compared to using pure black.
(cherry picked from commit fa2fda3244
)
2020-02-06 13:02:08 +01:00
Hugo Locurcio
74bf8b2d50
Allow saving anywhere when exporting CSV measures from the profiler
...
Previously, the CSV file could only be saved in `res://`. Since this is
an editor tool, it makes sense to allow saving anywhere on
the filesystem.
(cherry picked from commit 81f33df84b
)
2020-02-06 13:02:08 +01:00
Hugo Locurcio
6e56d04616
Display times as milliseconds in the profiler and performance monitors
...
Small values are easier to read as milliseconds compared to seconds.
(cherry picked from commit f1d9dbfb08
)
2020-02-06 13:02:08 +01:00
Michael Alexsander
98b4ef274b
Make ScriptCreateDialog's script valid message a bit more clearer
...
(cherry picked from commit 14e36c72b0
)
2020-02-06 13:02:08 +01:00
Michael Alexsander
621821bf87
Make the replaced results appear in the matches counter
...
(cherry picked from commit 1c5cfb9bfd
)
2020-02-06 13:02:07 +01:00
Michael Alexsander
6cb4ec2289
Clip warning text in the remote dock
...
(cherry picked from commit 0faadcae8f
)
2020-02-06 13:02:07 +01:00
Haoyu Qiu
ca537dea76
Fixes invalid read when using fill tool in empty tilemap
2020-01-27 20:39:49 +08:00
Rémi Verschelde
f76009bbcf
i18n: Sync translations with Weblate
2020-01-27 08:11:37 +01:00
Hugo Locurcio
ad49425bd8
Don't show an Online Tutorials section if the class has no tutorials
2020-01-27 01:01:11 +01:00
Rémi Verschelde
4cee1cda5e
Merge pull request #35589 from akien-mga/doc-drop-category-property
...
doc: Drop unused 'category' property from header
2020-01-26 16:34:13 +01:00
Rémi Verschelde
09ced94dd4
doc: Do not expose Variant::NIL as a type in the class reference
...
Fix signals Variant arguments incorrectly listed as Nil.
Fixes #12520 .
2020-01-26 16:08:11 +01:00
Rémi Verschelde
2d20fc39aa
doc: Drop unused 'category' property from header
...
We already removed it from the online docs with #35132 .
Currently it can only be "Built-In Types" (Variant types) or "Core"
(everything else), which is of limited use.
We might also want to consider dropping it from `ClassDB` altogether
in Godot 4.0.
2020-01-26 16:02:39 +01:00
Rémi Verschelde
98e5134059
Merge pull request #35526 from nekomatata/inspector-update-rename-node
...
Fixed Inspector update when a node is renamed
2020-01-24 21:52:12 +01:00
PouleyKetchoupp
9c4a6cf745
Fixed Inspector update when a node is renamed
...
Whenever any node is renamed, EditorNode::_edit_current() is called and it resets plugins used for current edited properties. This change forces the inspector to update even though the same object is edited, to make sure all plugins are restored properly from unfolded properties/resources/etc.
Fixes #32832
2020-01-24 18:12:05 +01:00
Rémi Verschelde
4dce3427ef
Merge pull request #35519 from yamgent/wrong-guideline-value
...
Fix wrong guideline values shown during dragging
2020-01-24 18:10:53 +01:00
Tan Wang Leng
ee2f406c73
Fix wrong guideline values shown during dragging
...
Suppose that the user wants to use some guidelines in 2D mode. The
user has enabled "Use Pixel Snap", and configured the "Grid Step" to
1px.
On some zoom levels, when dragging the guidelines step by step, some
offsets shows the wrong value. The offsets that are wrong vary - it is
affected by the zoom level, so some zoom levels do not display this
problem.
For example, a user may see this while dragging the guideline:
0px 1px 1px 3px 4px 5px 5px 7px 8px
whereby 2px and 6px are missing.
This is due to a floating-point error. The values are printed as
(truncated) integers, but they are actually decimals, so they were
actually 1.9999 and 5.9999 for the missing cases.
Let's fix that by rounding up the values before printing them to get rid
of the errors.
This fixes #35010 .
2020-01-24 23:52:43 +08:00
Hugo Locurcio
a002b93d86
Add explanations for errors related to Vector/Quat normalization
2020-01-24 14:19:23 +01:00
Haoyu Qiu
0ca102d568
Fixes leak in Animation Track editor
2020-01-24 11:17:56 +08:00
Rémi Verschelde
8a7a216be5
i18n: Sync translations with Weblate
2020-01-23 23:19:54 +01:00
Haoyu Qiu
b420618c46
Fixes scrollbar positions on HiDPI display
...
* TextureRegion editor
* Ploygon2D UV editor
2020-01-23 08:55:52 +08:00
Rémi Verschelde
b255744e0f
Merge pull request #35449 from bojidar-bg/35439-scenetree-settings
...
Add settings from SceneTree in the documentation
2020-01-22 22:02:47 +01:00
Rémi Verschelde
37897dba80
Merge pull request #35406 from lawnjelly/ortho-shadow
...
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22 22:02:09 +01:00
Bojidar Marinov
b4770c0a27
Add settings from SceneTree in the documentation
...
Fixes #35439
2020-01-22 22:37:56 +02:00
Rémi Verschelde
91b0be18dc
Merge pull request #35421 from williamd1k0/improve-top-animation-menu
...
Use an icon in the top Animation Key menu
2020-01-22 21:21:15 +01:00
William Tumeo
cb3fcba99f
Use an icon in the top Animation Key menu
2020-01-22 17:06:40 -03:00
lawnjelly
eaf8e5ce52
Change CameraMatrix::get_viewport_size to get_viewport_half_extents
...
Fixes #26637 .
Fixes #19900 .
The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2.
Code which called this function has also been modified accordingly.
This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width.
It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22 18:22:00 +00:00
Bojidar Marinov
387ee7d763
Get real default values for project settings in documentation
...
Also, ignore custom project settings and values for input/ entries
Fixes #34154
2020-01-22 15:57:10 +02:00
Hugo Locurcio
56aae0e8bc
Use a loading placeholder for project icons in the project manager
...
Now that projects are loaded asynchronously, some projects in the
list may be displayed before their icon is done loading. This is
especially common on slower hardware.
In such cases, this makes the project manager display a loading
placeholder instead of the default project icon.
2020-01-21 22:56:19 +01:00
Rémi Verschelde
4faaf6089a
Remove unused #if 0'ed code
2020-01-21 21:41:54 +01:00
Rémi Verschelde
d4ac0ca153
Merge pull request #35393 from YeldhamDev/plugin_script_syntax
...
Make script made via plugin creation obey syntax settings
2020-01-21 13:21:01 +01:00
Rémi Verschelde
423f15262f
Merge pull request #35399 from ericrybick/35367-signals-dock-size-jumps-when-selecting-nodes
...
Clip text in NodeDock toolbuttons to prevent dock size changes
2020-01-21 11:18:35 +01:00
Eric Rybicki
371b5a450a
Clip text in NodeDock toolbuttons to prevent dock size changes
...
Fixes #35367
2020-01-21 10:23:09 +01:00
Rémi Verschelde
4bc98c105d
Merge pull request #35394 from ericrybick/fix-assetlib-thumbnail-overlay-
...
Fix asset library video play overlay not being centered on the thumbnail
2020-01-21 08:20:35 +01:00
Eric Rybicki
99346e9654
Fix asset library video play overlay not being centered on the thumbnail
2020-01-21 08:04:32 +01:00
Michael Alexsander
3a0dc52127
Make script made via plugin creation obey syntax settings
2020-01-21 02:05:56 -03:00
Haoyu Qiu
3042b4f4cb
Fixes leak in Find in Files utility
2020-01-21 08:47:59 +08:00
Rémi Verschelde
709665b15d
Merge pull request #35379 from dankan1890/quick_fix
...
TextureRegionEditor: Corrected typo
2020-01-20 21:34:02 +01:00
dankan1890
a2170dcd40
TextureRegionEditor: Corrected typo
2020-01-20 20:58:42 +01:00
Michael Alexsander
324fe76afd
Clip text in EditorPath button to avoid dock size changes
2020-01-20 14:25:27 -03:00
Rémi Verschelde
c3fd1012de
Merge pull request #35351 from ericrybick/32342-Resize-snapping-lines-bug
...
Fix editor drawing snapping lines for wrong edge/corner when resizing elements with smart snapping enabled
2020-01-20 12:57:44 +01:00
Eric Rybicki
b91b26d073
Fix editor drawing snapping lines for wrong edge/corner when resizing elements with smart snapping enabled
...
fixes #32342
2020-01-20 08:03:20 +01:00
Haoyu Qiu
ce9453ecf4
Prevent negative zero shown in SpotLight gizmo
2020-01-20 09:08:18 +08:00
Rémi Verschelde
7f7ae0712f
i18n: Sync translations with Weblate
2020-01-19 23:19:29 +01:00
Hugo Locurcio
d72f5e0938
Only create the editor theme once
...
This prevents the editor theme from being created twice.
This speeds up the project editor and editor startup
significantly; startup is now 1.3 times faster on average
(tested on a debug build). RAM usage was also lowered by 7.5 MB
on average.
This partially addresses #35321 .
2020-01-19 21:51:21 +01:00
Rémi Verschelde
e8dc581bfc
Merge pull request #35303 from timothyqiu/hidpi-anitreeplayer
...
Fixes AnimationTreePlayer editor UI on HiDPI
2020-01-19 10:21:20 +01:00
Rémi Verschelde
d7072e9cd4
Merge pull request #35273 from dankan1890/quick_fix
...
AssetLibrary layout fix
2020-01-19 10:13:31 +01:00
Rémi Verschelde
7522aa80c2
Merge pull request #35295 from N0hbdy/animation-editor-line-edit-fix
...
Fix AnimationTree Editor by using CONNECT_DEFERRED on LineEdit
2020-01-19 09:32:00 +01:00
Rémi Verschelde
b2e2ce1643
Merge pull request #35297 from Calinou/2d-zoom-reset-clamp-editor-scale
...
Clamp the editor scale to 1 when resetting zoom in the 2D editor
2020-01-19 09:30:12 +01:00
Rémi Verschelde
78c2d41ffc
Merge pull request #35304 from raphael10241024/fix_audiobus_editor
...
fix audio buses layout editor save
2020-01-19 09:13:05 +01:00
RaphaelHunter
4b70985a1a
fix audio buses editor not save, close #26683
2020-01-19 10:56:00 +08:00
Haoyu Qiu
2db685da09
Fixes AnimationTreePlayer editor on HiDPI
...
* The minimum editor size
* The position of buttons and status text
2020-01-19 10:20:53 +08:00
Hugo Locurcio
c9aca9ef81
Clamp the editor scale to 1 when resetting zoom in the 2D editor
...
This closes #35294 .
2020-01-18 22:26:21 +01:00
N0hbdy
3fffb1c031
Fix AnimationTree Editor by using CONNECT_DEFERRED on LineEdit
...
Not having this causes the LineEdit to be deleted while still processing
signals, which can cause a crash during focus changes.
Fixes 35293
2020-01-18 12:12:13 -08:00
dankan1890
29daba5b0c
AssetLibrary when the download size is unknown:
...
hidden progress bar
added in the description the downloaded bytes
Fixes #35267
2020-01-18 21:07:51 +01:00
Yuri Roubinsky
41acb1f6ba
Fix minimap updating in shader tab
2020-01-18 12:31:33 +03:00
Hugo Locurcio
8bce0b6176
Mark alternate editor display modes as disabled in the GLES2 renderer
...
This partially addresses #27018 .
2020-01-17 16:06:47 +01:00
Lakshay Angrish
1d9e19c7fb
show parametric setters and getters in editor help
2020-01-17 15:10:59 +05:30
Rémi Verschelde
045a5ce14a
i18n: Sync translation template with current source
2020-01-16 23:47:18 +01:00
Rémi Verschelde
a0f716763b
i18n: Sync translations with Weblate
2020-01-16 23:37:56 +01:00
Rémi Verschelde
05e042b06f
Merge pull request #34879 from Phischermen/canvas-item-editor-local-space-mode
...
Fix issue regarding rotating Canvas Items in editor
2020-01-16 23:10:41 +01:00
Haoyu Qiu
92b36d4706
Adds NULL check before using image loader
2020-01-16 21:49:23 +08:00
Rémi Verschelde
bc34794840
Merge pull request #34091 from andrycodestuffs/master
...
Fixed unknown ASCII symbols rendered instead of tabs in bookmarks list
2020-01-16 14:11:28 +01:00
andrycodestuffs
d0b3cb89f7
Fixed unknown symbol drawn instead of tabs in breakpoints/bookmarks lists
...
Tab characters were not rendered properly in the breakpoints and
bookmarks lists of the script editor if the bookmarked line was a
comment, resulting in unknown ASCII symbols “�”.
Fixes #34046 .
Also changed formatting a bit to enclose the code in backticks (like in
Markdown) instead of quotes.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-01-16 13:50:30 +01:00
asynts
e564b4fd07
Refactor (and fix) how the connect button is disabled.
...
It should not be possible to click the "Connect" button unless
- a node is selected, and
- that node is valid in the current mode.
The modes are the default and advanced modes which allow connecting to scripts
and nodes respectively.
2020-01-16 12:35:41 +01:00
Rémi Verschelde
fc2550c4c8
Merge pull request #35123 from asynts/asynts.crash-on-double-click
...
Prevent crash described in #34555 .
2020-01-16 12:32:52 +01:00
Aaron Franke
5e1dad3b28
Use int64_t for EditorPropertyInteger and warn when out of double range
2020-01-15 23:39:49 -05:00
Rémi Verschelde
f2d45676c9
Merge pull request #35165 from groud/fix_memleak_filesystemdock
...
Fixes a memory leak in FileSystemDock
2020-01-15 22:58:57 +01:00
Hugo Locurcio
1339a5c1cb
Add an icon for OGG samples
...
The icon is the same as WAV samples, as both formats are accepted
in AudioStreamPlayer.
This closes #35163 .
2020-01-15 22:32:08 +01:00
Gilles Roudière
76d87e6616
Fixes a memory leak in FileSystemDock
...
Co-authored-by: Rafał Mikrut <mikrutrafal54@gmail.com>
2020-01-15 21:45:13 +01:00
Haoyu Qiu
43ad6e8c96
Fixes AssetLib crash when JPG module is disabled
...
JPG module is optional, so check it's existence before using.
2020-01-15 22:16:12 +08:00
asynts
181e74855e
Don't close the connection dialog when the validation failed.
...
Currently the connection dialog is closed when
1. no method name is specified, or
2. no script is attached and if the method name isn't a buildin.
That's really annoying.
2020-01-15 10:33:50 +01:00
Rémi Verschelde
40f0649e5b
Fix typos with codespell
...
Using codespell 1.16.0.
See ab3bccdb78
for procedure.
2020-01-15 00:49:52 +01:00
Rémi Verschelde
8d60f5a349
Merge pull request #35132 from Calinou/doc-description-below-brief
...
doc: Move the class description to be just below the brief description
2020-01-15 00:49:31 +01:00
Hugo Locurcio
3c8abbc4bf
doc: Move the class description to be just below the brief description
...
- Drop the "Brief description" header as it became redundant
with this change.
- Fix a bug in the editor help where an extraneous newline was added
after the header if the class isn't inherited by any others.
- Remove the Category line in the rST markup as it's not useful
for API users.
2020-01-15 00:05:34 +01:00
Michael Alexsander
34bf81fa7c
Cleanup unnecessary code from before the scrollbar overlapping fixes
2020-01-14 18:19:12 -03:00
Rémi Verschelde
8f103b1b69
Merge pull request #34801 from Calinou/add-3d-viewport-crosshair
...
Add a crosshair to the 3D viewport
2020-01-14 21:02:35 +01:00
asynts
71b4b180ba
Prevent crash described in #34555 .
...
Normally it wouldn't be possible to click on the "Connect" button if no node
is selected, because the button would be disabled.
However, double clicking on a node is also hooked up to the same signal
and double clicking is possible even if the "Connect" button is disabled.
This caused a crash described in #34555 .
2020-01-14 17:02:18 +01:00
Phischermen
becd1fd1d8
Fix issue regarding rotation
...
Canvas items will now rotate correctly no matter what their global scale happens to be.
2020-01-14 07:26:34 -08:00
Rémi Verschelde
ea4c88f38a
Merge pull request #35116 from YeldhamDev/more_scrollbar_tweaks
...
Fix more scrollbar anchorings
2020-01-14 13:55:34 +01:00
Michael Alexsander
e69593842e
Fix more scrollbar anchorings
2020-01-14 08:25:55 -03:00
Rémi Verschelde
a565c93aeb
Export: Properly disable resource preview thread
...
Fixes #26857 .
Fixes #34433 .
Fixes #34826 .
2020-01-14 11:34:02 +01:00
Rémi Verschelde
dbbfade584
Merge pull request #35082 from akien-mga/dont-count-yer-chicken
...
EditorNode: Delay addon init to NOTIFICATION_READY
2020-01-14 08:26:08 +01:00
Michael Alexsander
712cd8a97e
Fix more instances of overlapping scrollbars
2020-01-13 22:49:17 -03:00
Hugo Locurcio
2b9f34b867
Add a crosshair to the 3D viewport
...
The crosshair makes freelook navigation a bit easier, while making it
clearer that it's possible to select nodes by clicking while in
freelook mode.
The crosshair is only displayed while in freelook mode.
It uses an icon designed to be visible on any background.
2020-01-13 22:30:34 +01:00
Rémi Verschelde
017b7de2df
EditorNode: Delay addon init to NOTIFICATION_READY
...
Fixes #25635 .
2020-01-13 15:02:11 +01:00
Rémi Verschelde
4a95186b4b
Animation editor: Set resource name when duplicating
...
Fixes #25156 .
2020-01-13 13:22:06 +01:00
Hugo Locurcio
929dfe1bcc
Clamp the editor scale to 1 for 2D zoom operations
...
Some people set the editor scale below 1 to fit more content on
screen, even if their display doesn't have a particularly low DPI.
This closes #35059 .
2020-01-13 12:16:27 +01:00
Rémi Verschelde
7a15569c6f
Merge pull request #35050 from Calinou/enlarge-item-list-editor
...
Increase the size of the item list editor popup
2020-01-13 09:14:02 +01:00
Haoyu Qiu
047d66cc6f
Fixes the New Window option in macOS dock menu
2020-01-13 08:58:12 +08:00
Hugo Locurcio
2f56146242
Increase the size of the item list editor popup
...
This makes it easier to edit large amounts of items.
This partially addresses
https://github.com/godotengine/godot-proposals/issues/368 .
2020-01-12 18:19:39 +01:00
Rémi Verschelde
269eb5f06c
i18n: Sync translation template with current source
...
Prevent parsing 'thirdparty' sources, there are invalid UTF-8 files
among Bullet sources.
2020-01-12 14:42:34 +01:00
Rémi Verschelde
48d7f7a70f
i18n: Sync translations with Weblate
2020-01-12 14:36:21 +01:00
Rémi Verschelde
26bb08f8b3
Merge pull request #35037 from timothyqiu/plugin-min-height
...
Fixes min size of various editor plugins on HiDPI
2020-01-12 13:39:34 +01:00
Rémi Verschelde
ccf6f33813
Merge pull request #35006 from BastiaanOlij/offset_mesh_obj
...
Add option to apply an offset to obj mesh import
2020-01-12 09:09:56 +01:00
Haoyu Qiu
65e2230f6e
Fixes min size of various editor plugins on HiDPI
...
* AnimationTree
* AudioStream
* ResourcePreloader
* ShaderEditor
* VisualShaderEditor
2020-01-12 15:24:15 +08:00
Haoyu Qiu
9c229cb035
Fixes minimap width on HiDPI monitor
2020-01-11 19:36:20 +08:00
Bastiaan Olij
ad6d06dc21
Add option to apply an offset to obj mesh import
2020-01-11 19:27:00 +11:00
Rémi Verschelde
018b3fa159
Merge pull request #34934 from volzhs/copy-params-except-script
...
Don't copy script with copy params
2020-01-10 23:57:23 +01:00
K. S. Ernest (iFire) Lee
0172a7f932
Use cycle and loop hint flags in glTF2.
2020-01-10 08:02:16 -08:00
Rémi Verschelde
65446a1303
Merge pull request #34981 from timothyqiu/trim-group-name
...
Trims user provided group name
2020-01-10 09:37:39 +01:00
Rémi Verschelde
4bad292f20
Merge pull request #34969 from volzhs/anim-bezier
...
Fix inserting bezier curve in Animation editor
2020-01-10 09:36:45 +01:00
Haoyu Qiu
715c0f9dfd
Trims user provided group name
2020-01-10 16:08:47 +08:00
Rémi Verschelde
4b83bbd463
Merge pull request #34937 from YeldhamDev/scriptdiag_disable_load
...
Add option to disable loading scripts in ScriptCreateDialog
2020-01-10 08:18:51 +01:00
Michael Alexsander
34f1dbaf28
Fix TileSet editor's workspace size sometimes not changing correctly on region change
2020-01-10 00:57:49 -03:00
volzhs
3bcedd02b2
Fix inserting bezier curve in Animation editor
2020-01-10 06:22:10 +09:00
Michael Alexsander
8708d44a50
Add option to disable loading scripts in ScriptCreateDialog
2020-01-09 13:09:23 -03:00
Rémi Verschelde
28655e16d6
Merge pull request #33426 from PucklaMotzer09/ignore_disabled_recent
...
Ignore the classes in the recent and favorite panels of the create dialog if they are disabled
2020-01-09 08:55:37 +01:00
Rémi Verschelde
1d304d87eb
Merge pull request #34940 from volzhs/update-main-scene-file
...
Update file list in split view when setting main scene
2020-01-09 08:21:26 +01:00
PucklaMotzer09
b0e4205069
Add ignoring of disabled recent and favorite classes in create
2020-01-09 08:17:06 +01:00
Haoyu Qiu
93aa3a0126
Fixes TextureRegion editor drag handle for HiDPI
...
Before this fix, it's easy to miss the drag handle on a HiDPI monitor.
2020-01-09 13:45:53 +08:00
volzhs
9495229315
Update file list in split view when setting main scene
2020-01-09 09:51:31 +09:00
volzhs
f61cd51643
Don't copy script with copy params
2020-01-09 06:34:47 +09:00
Rémi Verschelde
656cc83aa0
Export: Fix leak or orphaned Controls after #34911
...
They need to be hidden but still in tree.
2020-01-08 17:45:10 +01:00
Rémi Verschelde
7a941b11d2
Merge pull request #34898 from veryprofessionaldodo/33420
...
Recent Nodes now respect Editor Profiles #33420
2020-01-08 16:06:47 +01:00
Rémi Verschelde
5e4d465356
Merge pull request #34913 from akien-mga/main-add-export-pack
...
Export: Add dedicated --export-pack option to export data pack
2020-01-08 15:43:44 +01:00
veryprofessionaldodo
d88f620c52
Recent Nodes now respect Editor Profiles
2020-01-08 14:23:36 +00:00
Rémi Verschelde
7c29ce4375
Export: Add dedicated --export-pack option to export data pack
...
The previous behavior relying on the provided extension was problematic
on macOS since .zip is the main extension used for the full project
export (binary + data pack).
We add a dedicated `--export-pack` command line option to define when
only the data pack should be exported. Its extension will still be
inferred from the path.
Fixes #23073 .
2020-01-08 14:57:46 +01:00
Rémi Verschelde
ac7dc03ae4
Export: Hide Patches tab until actually implemented
...
This seems to have been left dangling during 3.0 development and was
never finished.
Hiding for now until it can be completed, otherwise we'll have to drop
it.
See #22394 .
2020-01-08 13:29:51 +01:00
Rémi Verschelde
41c8ec991f
Merge pull request #34802 from xelivous/power-of-two-is-good
...
Change the 2D editor's snap to 8x8 by default
2020-01-08 08:51:58 +01:00
Rémi Verschelde
6fa716c67b
Merge pull request #34887 from akien-mga/cli-export-usability
...
Export: Improve usability of command line interface
2020-01-08 08:19:39 +01:00
Rémi Verschelde
a28e0b2849
Merge pull request #34905 from YeldhamDev/scriptdiag_minor_fix
...
Minor fixes for ScriptCreateDialog
2020-01-08 07:05:18 +01:00
Michael Alexsander
f9d11120f7
Minor fixes for ScriptCreateDialog
2020-01-08 02:02:34 -03:00
Michael Alexsander
8b5992f665
Make possible to edit the GraphEdit's selection rect colors
2020-01-07 23:20:48 -03:00
volzhs
a1ab8f8890
Show selected main scene in FileSystem split view
2020-01-08 02:19:54 +09:00
Rémi Verschelde
5011afcb6a
Export: Improve usability of command line interface
...
I'm barely scratching the surface of the changes needed to make the
--export command line interface easy to use, but this should already
improve things somewhat.
- Streamline `can_export()` templates check in all platforms, checking
first for the presence of official templates, then of any defined
custom template, and reporting on the absence of any.
Shouldn't change the actual return value much which is still true if
either release or debug is usable - we might want to change that
eventually and better validate against the requested target.
- Fix discrepancy between platforms using `custom_package/debug` and
`custom_template/debug` (resp. `release`).
All now use `custom_template`, which will break compatibility for
`export_presets.cfg` with earlier projects (but is easy to fix).
- Use `can_export()` when attempting a command line export and report
the same errors that would be shown in the editor.
- Improve error reporting after a failed export attempt, handling
missing template and invalid path more gracefully.
- Cleanup of unused stuff in EditorNode around the export workflow.
- Improve --export documentation in --help a bit.
Fixes #16949 (at least many of the misunderstandings listed there).
Fixes #18470 .
2020-01-07 14:25:56 +01:00
Joost Heitbrink
dc61323b2c
PCK: Set VERSION_PATCH in header, factor out header magic
...
Unify pack file version and magic to avoid hardcoded literals.
`version.py` now always includes `patch` even for the first release in
a new stable branch (e.g. 3.2). The public name stays without the patch
number, but `Engine.get_version_info()` already included `patch == 0`,
and we can remove some extra handling of undefined `VERSION_PATCH` this
way.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-01-06 13:13:17 +01:00
Haoyu Qiu
cca03b57ff
Fixes scaled scrolling of TextureRegion editor
2020-01-05 19:52:21 +08:00
Hugo Locurcio
948cb84e37
Take the editor scale into account for 2D zoom operations
...
The zoom level displayed is now relative to the editor scale.
This means that with an editor scale of 200%, the 100% zoom level
will actually be 200% as it's multiplied by the editor scale.
This prevents things from looking too small when opening a project
on an hiDPI display.
This matches the behavior found in most image editors out there.
2020-01-04 18:43:52 +01:00
Haoyu Qiu
78e9ca58af
Makes more strings translatable
2020-01-04 13:46:38 +08:00
xelivous
64ae7feaa4
Change the 2D editor's snap to 8x8 by default
2020-01-03 19:23:49 -06:00
dankan1890
51c601d2e3
[Mono]: the C# script icon is now visible in the editor.
2020-01-03 22:49:22 +01:00
Rémi Verschelde
a18909f945
doc: Sync classref with current source
2020-01-03 15:09:09 +01:00
Rémi Verschelde
da625654e5
Merge pull request #34760 from fire/gltf2-scissors
...
Support GLTF2 alpha scissors.
2020-01-03 11:14:46 +01:00
Hugo Locurcio
a00ead2a1f
Enable the script editor line length guideline by default
...
Now that the GDScript style guide has an official recommendation,
it makes sense to enable the line length guideline by default.
2020-01-02 21:47:44 +01:00
K. S. Ernest (iFire) Lee
f028b8b0e4
Support GLTF2 alpha scissors.
2020-01-02 11:52:08 -08:00
Rémi Verschelde
8f68e3d966
Merge pull request #34757 from neikeq/the-revenge-of-the-defvals
...
Fix missing DEFVAL in some EditorSpatialGizmo methods
2020-01-02 18:23:56 +01:00
Ignacio Etcheverry
bca64e3b6f
Fix missing DEFVAL in some EditorSpatialGizmo methods
...
This was a regression from ac18665c88
,
which changed the C++ method signature but forgot to update the method bind.
2020-01-02 18:07:23 +01:00
Rémi Verschelde
bde52cc688
Merge pull request #34618 from qarmin/vector_please_dont_crash
...
Don't use constant reference in Vector push_back, insert and append_array
2020-01-02 15:44:41 +01:00
Rémi Verschelde
c0ece451e3
Merge pull request #34720 from Calinou/light-gizmo-color-by-light
...
Tint 3D light gizmos using the light's color
2020-01-02 13:59:10 +01:00
volzhs
f20b3ff503
Fix error when closing Attach Node Script window
2020-01-02 12:31:31 +01:00
Rémi Verschelde
3e649f8cba
Merge pull request #34665 from timothyqiu/camera-fov
...
Clamps fov/size for Camera gizmo
2020-01-01 11:37:28 +01:00
Rémi Verschelde
a4936e500f
Merge pull request #34721 from dankan1890/ext_fix
...
ScriptCreateDialog: Suggested language extension now matches the selected language.
2020-01-01 11:32:12 +01:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
2020-01-01 11:16:22 +01:00
dankan1890
99efc93419
ScriptCreateDialog: Suggested language extension now matches the selected language.
...
Fixes #34711
2020-01-01 01:09:50 +01:00
Hugo Locurcio
ac18665c88
Tint 3D light gizmos using the light's color
...
This makes navigation more convenient in the 3D viewport, especially
when using the unshaded display mode.
2020-01-01 00:54:25 +01:00
Haoyu Qiu
3e1adfc3ef
Fixes Groups Editor batch add/remove nodes
2019-12-31 10:47:37 +08:00
Rémi Verschelde
5fa1905131
Merge pull request #34702 from Zylann/fix_project_manager_opens_wrong_project
...
Fix wrong project opening in some situations
2019-12-30 23:09:24 +01:00
Rémi Verschelde
d53a297a6d
i18n: Sync translation template with current source
2019-12-30 18:28:57 +01:00
Rémi Verschelde
c2a28aa28d
i18n: Sync translations with Weblate
2019-12-30 18:27:52 +01:00
Rémi Verschelde
870b5ba2dc
Merge pull request #34695 from timothyqiu/show-in-file-system
...
Checks script path before show in filesystem
2019-12-30 18:15:29 +01:00
Rémi Verschelde
86a732b136
Merge pull request #34680 from Calinou/editor-export-nonzero-exit-code-error
...
Exit the editor export process with a non-zero exit code on error
2019-12-30 18:07:36 +01:00
Marc Gilleron
4c7d02dea1
Fix wrong project opening in some situations, hidden nodes were not reordered
2019-12-30 17:04:29 +00:00
Rémi Verschelde
7b412eb839
Merge pull request #34653 from YeldhamDev/optionbutton_margin_auto
...
Make OptionButton itself take into account the arrow margin instead of relying on the theme
2019-12-30 18:00:37 +01:00
Rémi Verschelde
f3f6268ee7
Merge pull request #34656 from volzhs/keep-selected-dir
...
Show selected directory in split mode when selecting a file
2019-12-30 17:58:20 +01:00
Rémi Verschelde
db90f6cf85
Merge pull request #34642 from timothyqiu/help-search
...
Improves Search Help dialog
2019-12-30 17:40:55 +01:00
Rémi Verschelde
e37ad996a1
Merge pull request #34625 from timothyqiu/i18n
...
Makes more editor strings translatable
2019-12-30 17:28:11 +01:00
Rémi Verschelde
388318ad4c
Merge pull request #34614 from qarmin/dont_create_preview_of_empty_scene
...
Don't create preview of empty scene.
2019-12-30 17:13:07 +01:00
Rémi Verschelde
ea3262ee9b
Merge pull request #34578 from timothyqiu/var-rename
...
Fixes variable naming in FileSystemDock
2019-12-30 17:11:42 +01:00
Rémi Verschelde
e1e2ffcfa1
Merge pull request #34613 from timothyqiu/edscale-again
...
Fixes Theme Editor minimum height on HiDPI monitor
2019-12-30 16:39:41 +01:00
Rémi Verschelde
fa3577b0ed
Merge pull request #34598 from timothyqiu/tab-height
...
Fixes tab height in Batch Rename dialog
2019-12-30 16:35:26 +01:00
Rémi Verschelde
e799271bb7
Merge pull request #34594 from marstaik/gltf_colorfix_u
...
Fix Hard Crash on glTF Color Accessor Import
2019-12-30 16:35:02 +01:00
Hugo Locurcio
79494992e4
Exit the editor export process with a non-zero exit code on error
...
This closes #34672 .
2019-12-30 14:34:06 +01:00
Haoyu Qiu
8cf941a8cb
Makes more editor strings translatable
...
* Title of Sprite Editor convert preview dialogs
* Title of UV Channel Debug dialog
* Various editor warnings
* GridMap popup menu item "Paste Selects"
* Tileset editor shape button texts
* MeshLibrary update confirmation text
2019-12-30 10:36:31 +08:00
Haoyu Qiu
9ae39be64f
Checks script path before show in filesystem
2019-12-30 09:49:52 +08:00
Haoyu Qiu
cbb8930813
Clamps fov/size for Camera gizmo
2019-12-29 11:39:04 +08:00
volzhs
4fb56d6694
Show selected directory in split mode when selecting a file
2019-12-29 04:07:56 +09:00
Michael Alexsander
fd2c181a35
Revert "Merge pull request #34315 from YeldhamDev/editor_theme_optionbutton_arrow"
...
This reverts commit 0da0eec6cc
, reversing
changes made to ec97535ea3
.
2019-12-28 14:16:51 -03:00
Haoyu Qiu
94e373c978
Improves Search Help dialog
...
* Applies `EDSCALE` to various sizes
* Adds missing `TTR`s to translatable strings
2019-12-28 10:33:01 +08:00
Rafał Mikrut
1ac701cc37
Don't use constant reference in Vector push_back, insert and append_array
2019-12-26 17:38:08 +01:00
Rafał Mikrut
542945f5f0
Don't create preview of empty scene.
2019-12-26 09:15:36 +01:00
Haoyu Qiu
7f18560f3c
Fixes Theme Editor minimum height on HiDPI monitor
...
* Applies `EDSCALE` to the minimum size
2019-12-26 15:51:23 +08:00
Haoyu Qiu
f03facc474
Fixes tab height in Batch Rename dialog
2019-12-25 10:13:13 +08:00
Marios Staikopoulos
d3cf8cfb7d
Fix Hard Crash on glTF Color Accessor Import
2019-12-24 15:03:24 -08:00
Haoyu Qiu
078c0d75f2
Cleans up headers included in editor_node.h
2019-12-24 21:46:05 +08:00
Haoyu Qiu
79a06e17bb
Fixes variable naming in FileSystemDock
2019-12-24 14:51:33 +08:00
Haoyu Qiu
d53c392b34
Centers Dock Position text
2019-12-23 09:37:36 +08:00
Rémi Verschelde
8938577459
i18n: Sync translations with Weblate + update template
...
Also fix a few stray clang-format formatting errors that passed
through CI unnoticed.
2019-12-22 13:27:02 +01:00
Rémi Verschelde
9410d0c792
Merge pull request #34516 from Faless/debugger/output_buffer_size
...
Correct size for PacketPeerStream in Debugger.
2019-12-22 12:37:59 +01:00
Rémi Verschelde
f7d8dd79e9
Merge pull request #34441 from KoBeWi/wrapping_things_up
...
Fix code editor not always centering to bookmarks
2019-12-22 12:34:03 +01:00
Haoyu Qiu
6ee9833c6f
Set proper icon for LineEdit in editor theme
2019-12-22 15:01:59 +08:00
Fabio Alessandrelli
f8f5696394
Correct size for PacketPeerStream in Debugger.
...
We wanted 8 MiB but we were getting 16 MiB (minus 4 bytes for the
separator). We are now getting 8 MiB minus 4 bytes for encoding.
2019-12-21 16:50:29 +01:00
Haoyu Qiu
0693718164
Makes more editor strings translatable
...
* "Add" button text in Groups Editor
* "Receiver Method" in Connect Signal Dialog
* "Play Mode" in Animation State Machine Editor
* "Mesh Library" button text in Mesh Library editor plugin
* Compose Array node button texts in Visual Script
* Various button texts in TileSet Editor
* Various Run Script errors
2019-12-21 20:58:17 +08:00
Rémi Verschelde
2019d8001d
i18n: Sync translations with Weblate
2019-12-21 12:28:47 +01:00
volzhs
1acbbfc3f1
Set proper icons for FileDialog in editor theme
2019-12-20 17:13:31 +09:00
Rémi Verschelde
981c6aa102
Merge pull request #34445 from JFonS/fix_13364
...
Fix selection on 3D viewport with half resolution
2019-12-19 14:47:34 +01:00
JFonS
8da8518ba3
Fix selection on 3D viewport with half resolution
2019-12-19 12:53:20 +01:00
Rémi Verschelde
8189f23e8c
Merge pull request #34437 from Chaosus/fix_toggle_scripts4
...
Fix ScriptTextEditor encapsulation
2019-12-19 12:19:29 +01:00
Yuri Roubinsky
c89df816c1
Fix ScriptTextEditor encapsulation
2019-12-19 09:30:40 +03:00
Haoyu Qiu
72f392a135
Fixes Curve Editor margin
2019-12-19 11:02:26 +08:00
Tomasz Chabora
b8bbf5a55f
Fix code editor not always centering to bookmarks
2019-12-18 21:58:47 +01:00
Rémi Verschelde
9cda7f7333
Merge pull request #34430 from volzhs/error-log-with-container
...
Fix error log when selecting child of Containers
2019-12-18 16:45:05 +01:00
volzhs
2fa9585bdf
Fix error log when selecting child of Containers
2019-12-19 00:04:10 +09:00
Yuri Roubinsky
9f223616f1
Updates toggle scripts switch tooltip (if user changed the shortcut)
2019-12-18 12:00:02 +03:00
volzhs
7dff2a9167
Make right align for calls number in Profiler
2019-12-18 16:16:22 +09:00
Rémi Verschelde
7d34d1a85f
Merge pull request #34348 from Catchawink/master
...
Fixed issues with using a relative path in the export window.
2019-12-17 22:24:34 +01:00
Yuri Roubinsky
5a1b7a6a90
Merge pull request #34402 from Chaosus/fix_toggle_scripts_panel2
...
Fix toggle scripts panel to allow using shortcut in other areas
2019-12-17 20:55:48 +03:00
Yuri Roubinsky
03928c5b36
Fix toggle scripts panel to allow using shortcut in other areas
2019-12-17 17:23:29 +03:00
Rémi Verschelde
45908eebf3
i18n: Sync translation template with current source
2019-12-17 11:47:29 +01:00
Rémi Verschelde
5a74cc12d0
i18n: Sync translations with Weblate
2019-12-17 11:44:35 +01:00
Yuri Roubinsky
bb7b614da1
Prevent showing toggle scripts panel switch in shader editor
2019-12-17 11:19:43 +03:00
Rémi Verschelde
01a6223226
Merge pull request #34364 from Chaosus/toggle_scripts_panel
...
Moves switch for show scripts panel from File menu to status bar
2019-12-17 07:58:21 +01:00
Catchawink
b2a14042d5
Fixed issues with using a relative path in the export window.
...
Before this fix, opening relative export paths inside of an EditorFileDialog was not possible. This was fixed by modifying String::path_to_file() to save relative paths in EditorExportPreset::set_export_path() more appropriately and changing EditorFileDialog::set_current_dir() to open relative paths.
2019-12-16 09:50:42 -05:00
Rémi Verschelde
d4601776db
Merge pull request #34377 from timothyqiu/i18n
...
Makes more strings in editor translatable
2019-12-16 09:56:23 +01:00
Haoyu Qiu
7a9c337dfe
Makes more strings in editor translatable
...
* File type names in file dialogs
* Layout option names
* Visual shader editor UI
2019-12-16 16:41:07 +08:00
Haoyu Qiu
a3ab1cb698
Center error icon vertically in AssetLib
2019-12-16 09:24:02 +08:00
Yuri Roubinsky
dc0199989d
Moves switch for show scripts panel from File menu to status bar
2019-12-15 16:56:28 +03:00
Rémi Verschelde
d8d96c9fa7
Merge pull request #34349 from timothyqiu/enum-scope
...
Show full enum name when not on the same doc page
2019-12-15 13:08:41 +01:00
Haoyu Qiu
bbaf212c62
Fixes wrong minimum size of Group Editor
...
Takes current editor scale into account when setting the minimum size.
2019-12-15 13:41:01 +08:00
Rémi Verschelde
ce7d3bb1c7
Merge pull request #34353 from Calinou/increase-2d-editor-zoom-limits
...
Increase the TileSet and polygon UV editor zoom limits to 16×
2019-12-14 21:54:44 +01:00
Hugo Locurcio
980e962bb8
Increase the TileSet and polygon UV editor zoom limits to 16×
...
This also changes the TileSet editor's minimum zoom to match
other 2D editors.
This closes #34346 .
2019-12-14 20:49:43 +01:00
Haoyu Qiu
d3851d5452
Show enum class name when not on the same doc page
...
Variant.Type and Variant.Operator are listed on GlobalScope page instead
of Variant. The `Variant` prefix should not be omitted on that page.
2019-12-14 18:46:34 +08:00
Haoyu Qiu
249c2c4615
Makes int and bool clickable in documentation
...
Also adjusted the way to check empty strings.
2019-12-13 21:53:52 +08:00
Rémi Verschelde
787113d96e
i18n: Sync translation template with current source
2019-12-13 10:41:06 +01:00
Rémi Verschelde
115a45c2c5
i18n: Sync translations with Weblate
2019-12-13 10:41:06 +01:00
Haoyu Qiu
d151e1eaf9
Make more editor strings translatable
2019-12-13 16:09:29 +08:00
Rémi Verschelde
adb703bc59
Merge pull request #34016 from norton-corbett/hotfix/tileset-editor-point-grabbing
...
Fix TileSet Editor polygon point grabbing
2019-12-13 08:50:21 +01:00
Rémi Verschelde
01f3425594
Merge pull request #34304 from Calinou/improve-editor-shortcuts-search
...
Don't search in unassigned shortcut labels in the editor shortcuts
2019-12-13 08:48:37 +01:00
Michael Alexsander
5004b8b81e
Fix OptionButton's arrow margin in editor theme
2019-12-12 20:16:48 -03:00
Hugo Locurcio
75e82417a6
Don't search in unassigned shortcut labels in the editor shortcuts
...
This also fades out shortcut labels for unassigned shortcuts,
which makes for easier visual grepping.
This closes #33299 .
2019-12-12 14:53:46 +01:00
Hannah Crawford
4da0d7727f
Fix for #34186 : "Center Selection" in 2D editor introduces graphic bias.
2019-12-11 16:09:55 +00:00
Haoyu Qiu
6f178a2061
Fixes infinite loop when switching editor
2019-12-11 13:27:21 +08:00
Rémi Verschelde
2845e6a21a
Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers
...
Removed unused variables, add some constants numbers
2019-12-10 08:25:31 +01:00
Rafał Mikrut
ed1c4bc77d
Removed unused variables, add some constants numbers
2019-12-10 05:13:02 +01:00
Rémi Verschelde
269145a346
Merge pull request #34217 from timothyqiu/delete-lines
...
Fixes Delete Line doesn't delete first line in script
2019-12-09 22:15:18 +01:00
Rémi Verschelde
1d075c34e4
Merge pull request #34144 from timothyqiu/closing
...
Fixes prompt closes the wrong scene on quit
2019-12-09 09:40:56 +01:00
Haoyu Qiu
6eaec3d10d
Fixes Delete Line doesn't delete first line in script
...
Also, match multi-line delete behavior in script with single line:
If there are four lines: A, B, C, D.
Before the change:
Delete C: Cursor lands on D
Delete B and C: Cursor lands on A
After the change:
Delete C: Cursor lands on D
Delete B and C: Cursor lands on D
2019-12-09 16:31:43 +08:00
dankan1890
f2e396f15b
Fix TilesetEditorContext separation snap.
...
Fixes #34182
2019-12-08 00:29:35 +01:00
Michael Alexsander
d057007541
Add spaces after commas and strip extra ones in *FileDialog filter menu
2019-12-06 22:40:59 -03:00
Rémi Verschelde
6c6ee8fe41
Merge pull request #34141 from YeldhamDev/filediag_parenthesis_space_removal
...
Remove extra spaces from parenthesis in *FileDialog's filter menu
2019-12-06 23:13:53 +01:00
Haoyu Qiu
93f00c0303
Fixes prompt closes the wrong scene when exiting
2019-12-06 21:46:01 +08:00
Michael Alexsander
80dcd4423a
Remove extra spaces from parenthesis in *FileDialog's filter menu
2019-12-06 07:31:42 -03:00
Haoyu Qiu
0b4cc12b4f
clear_meta when clearing guides with the ruler
2019-12-06 09:19:54 +08:00
Rémi Verschelde
e9eea4f3ce
Merge pull request #34114 from simpuid/clear-guides-meta
...
changed set_meta to remove_meta in CLEAR_GUIDES menu option
2019-12-05 21:38:59 +01:00
PouleyKetchoupp
06e4a3aa75
Fixed errors in JointSpatialGizmoPlugin when selecting a joint with unset nodes
...
Fixes #34122
2019-12-05 19:27:57 +01:00
Haoyu Qiu
e8838f4385
Fixes crash when clearing guides in empty scene
2019-12-05 16:19:00 +08:00
simpuid
83194f4a50
changed set_meta to remove_meta in CLEAR_GUIDES menu option
2019-12-05 02:46:22 +05:30
Rémi Verschelde
10481046e5
i18n: Sync translations with Weblate
2019-12-04 09:08:11 +01:00
Haoyu Qiu
22b345c969
Fixes translation for project sort options
2019-12-04 15:17:45 +08:00
Hugo Locurcio
56d884ffde
Tweak error timestamp formatting to be more readable
...
This uses a `.` instead of `:` as the decimal separator and trims
the decimal part to 3 digits, as millisecond precision is usually
sufficient.
2019-12-02 18:55:46 +01:00
Norton Corbett
9584ff13b9
Fixed another point grabbing issue at lower zoom levels.
...
This was caused by the fact that the points were being iterated sequentially and we were breaking out of the loop as soon as we found a point that was "close enough", rather than actually finding the closest point. The previous fix exposed this new issue.
2019-12-01 20:54:13 +00:00