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
Tomasz Chabora
f4d0e598a7
Center Script Editor when jumping to bookmarks/breakpoints
2019-12-01 18:43:52 +01:00
Rémi Verschelde
d42ff4c2ae
Merge pull request #34022 from nekomatata/animation-player-stop-errors
...
Fixed errors in AnimationPlayerEditor when switching current_animation in the inspector
2019-12-01 16:24:11 +01:00
PouleyKetchoupp
d900cfafa3
Fixed errors in AnimationPlayerEditor when switching current_animation in the inspector
...
Case 1: start and stop an animation in the inspector
Case 2: start an animation in the inspector, then stop and start again in the track editor
Fixes #34021
2019-12-01 15:45:23 +01:00
Norton Corbett
5329ae0030
Take into account the current zoom level when grabbing polygon points in the TileSet editor.
...
The transform of the TileSet editor workspace is now used to calculate the distance from the mouse click to the nearest polygon point.
Fixes https://github.com/godotengine/godot/issues/34001
2019-12-01 11:33:24 +00:00
PouleyKetchoupp
f0fdd7de80
Fixed error when creating physical skeleton
...
An error was systematically triggered on the root bone, when trying to access its parent (the return value wasn't used in this case anyway).
Fixes #23920
2019-11-30 20:27:12 +01:00
Rémi Verschelde
1b40a95b6f
i18n: Sync translations with Weblate
2019-11-29 15:51:09 +01:00
Aaron Franke
4af218f9e3
Don't cast item to Spatial when checking if it's locked
...
Not a necessary cast, and causes a crash any time it's not a Spatial.
2019-11-28 05:34:54 -05:00
Rémi Verschelde
1f4cbc0f84
Merge pull request #33952 from KoBeWi/not_my_fault
...
Fix box selection being cancelled immediately
2019-11-28 09:28:22 +01:00
Marios Staikopoulos
4b28fd4f23
Bugfix: Sanitize glTF importer Animation Names and do not set bone_pose
2019-11-27 12:20:38 -08:00
Tomasz Chabora
66cefde2b0
Fix box selection being cancelled immediately
2019-11-27 21:07:51 +01:00
volzhs
9eff8b7007
Show thumbnail for DynamicFont resource
2019-11-27 03:35:44 +09:00
Rémi Verschelde
966c68badd
Range: Remove min/max check added in #33908
...
This wasn't a very good idea as it puts too strict requirements on how
to set `min` and `max` values. For example, since the default min and
max are 0 and 100, this triggers an error:
```
set_min(256)
set_max(16384)
```
Since `min` will be higher than `max` temporarily. It can be worked
around by setting max first, but it's not really intuitive. I'll relax
the requirement as it's only a problem in `get_as_ratio`, which already
has a check.
Fix another min == max occurrence.
2019-11-26 12:11:21 +01:00
Rémi Verschelde
ae04d23cce
Merge pull request #33887 from dankan1890/old_search_fix
...
Fixed missing scrolling in Search Help Dialog.
2019-11-26 10:53:12 +01:00
Rémi Verschelde
bfd5e09879
Range: Fix cases where max was set to or below min value
...
It will now raise an error whenever this happens so that we can fix
these situations. `max == min` is not allowed as it could lead to
divisions by zero in ratios, and `max < min` doesn't make much sense.
Fixes #33907 .
2019-11-26 10:25:41 +01:00
Rémi Verschelde
55f86e9b7b
Merge pull request #33892 from nekomatata/scirpt-editor-fixes
...
Fixes around ScriptEditor script list
2019-11-26 08:58:32 +01:00
PouleyKetchoupp
3ab5b33a47
Fixes around ScriptEditor script list
...
- Fixed "Previous Script" shortcut not working (CTRL+SHIFT+<)
- Fixed crash (integer division by zero) when using previous/next script shortcut with no script open
- Fixed error when dropping a script file with no script open
ERROR: ItemList::get_item_metadata: Index p_idx=-1 out of size (items.size()=0)
At: scene\gui\item_list.cpp:257
2019-11-25 17:16:29 +01:00
PouleyKetchoupp
dd552494eb
Debug menu in editor doesn't hide on checkbox toggle
...
Fixes #33850
2019-11-25 16:25:54 +01:00
dankan1890
4de9c51f23
Fixed missing scrolling in Search Help Dialog.
...
Fix #33675
2019-11-25 16:23:35 +01:00
Rémi Verschelde
f6e5751767
Merge pull request #33860 from nekomatata/stylebox-preview-shadow
...
StyleBox preview adjusted to fit all drawn content
2019-11-25 14:25:39 +01:00
Rémi Verschelde
d422eff036
Merge pull request #33829 from Calinou/tilemap-editor-use-info-overlay
...
Use the CanvasItemEditor info overlay to display TileMap coordinates
2019-11-25 13:57:08 +01:00
PouleyKetchoupp
8f0c1daf1c
Removed translation for bookmarks menu item name in TextEditor
...
Only the label's text needs a translation, and it could cause issues when getting the node by name in a different language.
2019-11-25 13:23:09 +01:00
PouleyKetchoupp
1120de862d
StyleBox preview adjusted to fit all drawn content
...
This change allows StyleBox preview to take shadows and content margins into account to display how a whole panel would be rendered.
The preview control clips contents so that in any case it doesn't bleed on controls around.
Fixes #33801
2019-11-24 16:26:30 +01:00
Hugo Locurcio
13f98f80b6
Use the CanvasItemEditor info overlay to display TileMap coordinates
...
This also removes the editor setting that toggles coordinate display,
as it no longer solves an existing bug.
This closes #28135 .
2019-11-22 23:58:36 +01:00
K. S. Ernest (iFire) Lee
80b1604fa9
33714 glTF2 handle undefined load-time scene.
2019-11-22 08:48:23 -08:00
Rémi Verschelde
b7ea22c5d2
i18n: Sync translation template with current source
2019-11-22 09:21:58 +01:00
Rémi Verschelde
b395d6bd80
i18n: Sync translations with Weblate
2019-11-22 09:20:29 +01:00
Rémi Verschelde
ab3bccdb78
Fix typos with codespell
...
Using codespell 1.16.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
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
```
2019-11-22 08:35:03 +01:00
Rémi Verschelde
28613ab8c9
Merge pull request #33794 from nekomatata/gltf-morph-shapes-crash2
...
Error instead of crash in gltf import with more than one morph target
2019-11-21 22:09:08 +01:00
Rémi Verschelde
1dc110fe7b
Merge pull request #33793 from fire/33756
...
33756 gltf2 importer should use zfar
2019-11-21 22:08:03 +01:00
PouleyKetchoupp
e949665489
Error instead of crash in gltf import with more than one morph target
...
Redone from PR #33782 to fix the crash without adding compatibility with Blender 2.8
Helps with #16124 , while Blender 2.81 has the proper export fix.
2019-11-21 17:25:01 +01:00
K. S. Ernest (iFire) Lee
d0de373884
33756 gltf2 importer should use zfar
2019-11-21 07:52:18 -08:00
Tomasz Chabora
01d77842ee
Unfold directories when showing in file system
2019-11-21 15:40:11 +01:00
Rémi Verschelde
083d088de3
Merge pull request #33583 from qarmin/fix_overflows_unitialized
...
Fix some overflows and unitialized variables
2019-11-20 21:31:12 +01:00
Rémi Verschelde
ccebd1f4fc
Merge pull request #33734 from merumelu/editor-vcs-init
...
Editor: fix typo in VCS plugin method names
2019-11-20 21:17:32 +01:00
K. S. Ernest (iFire) Lee
3b44866bf2
33714 If the gltf2 asset has no scene, it is corrupt.
2019-11-20 10:49:24 -08:00
Rafał Mikrut
99d8626f4a
Fix some overflows and unitialized variables
2019-11-20 16:22:16 +01:00
Tomasz Chabora
7e5340261a
Cancel drag when selection changes
2019-11-19 16:02:04 +01:00
merumelu
94fc676019
Editor: fix typo in VCS plugin method names
2019-11-19 15:11:03 +01:00
Rémi Verschelde
8450658fa2
Merge pull request #33673 from YeldhamDev/script_templates_lines_style
...
Make the script templates' blank lines conform with the official style guide
2019-11-19 10:41:36 +01:00
Rémi Verschelde
d8cf3aa5ab
Merge pull request #33700 from nekomatata/sprite-add-label-overlap
...
Fixed "Add Sprite..." label overlapping with zoom controls
2019-11-19 09:49:52 +01:00
Tomasz Chabora
43d762fce3
Consider locked moving objects when updating viewport
2019-11-18 21:08:14 +01:00
PouleyKetchoupp
6d14251b0d
Fixed "Add Sprite..." label overlapping with zoom controls
2019-11-18 11:52:01 +01:00
PouleyKetchoupp
7e9a45842e
Fixed ScriptEditorDebugger minimum size
...
Changed to MarginContainer to enforce debugger tabs minimum size on the parent, avoids overlapping controls with Profiler and Network Profiler tabs.
Fixes #20837
2019-11-18 09:42:28 +01:00
Tomasz Chabora
e9802d9b02
Fix animation key snapping at high zooms
2019-11-17 23:34:36 +01:00
Michael Alexsander
7ecaff578b
Make the script templates' blank lines conform with the official style guide
2019-11-17 08:54:43 -03:00
Rémi Verschelde
d1f8fd6384
Merge pull request #33607 from Calinou/orbit-modifier-always-alt
...
Always allow Alt as an orbit modifier in the 3D editor
2019-11-14 20:14:36 +01:00
Hugo Locurcio
1e28571d82
Always allow Alt as an orbit modifier in the 3D editor
...
This makes it easier to navigate in 3D when using a graphics tablet.
This fallback modifier will only be available if no other modifier
is using Alt.
This partially addresses
https://github.com/godotengine/godot-proposals/issues/196 .
2019-11-14 17:40:15 +01:00
Hugo Locurcio
bc8236bd39
Add a tooltip to explain what marking a preset as "runnable" does
2019-11-14 15:11:31 +01:00
Rémi Verschelde
f244772028
Merge pull request #33617 from Chaosus/fix_theme_element2
...
Fix incorrect error/matches label color when switching from light to dark theme
2019-11-14 12:38:04 +01:00
Rémi Verschelde
41634199c8
EditorNode: Improve tooltip for pause button
...
Closes #14742 .
2019-11-14 11:44:20 +01:00
Yuri Roubinsky
0ec76d40b4
Fix incorrect error label color when switching from light to dark theme
2019-11-14 13:34:56 +03:00
Rémi Verschelde
a1c396e55c
Merge pull request #33614 from Chaosus/fix_theme_element
...
Fix "matches" label color in light theme
2019-11-14 10:54:59 +01:00
Yuri Roubinsky
facfae3671
Fix "matches" label color in light theme
2019-11-14 09:44:53 +03:00
Gilles Roudière
0287baf078
Disable ok button if no key is selected when adding event to an action
2019-11-13 22:37:06 +01:00
Rémi Verschelde
0132555dfa
Merge pull request #33596 from KoBeWi/sell_tile
...
Make sure tile is selected when selecting TileMap
2019-11-13 15:26:56 +01:00
Tomasz Chabora
f7476359e0
Make sure tile is selected when selecting TileMap
2019-11-13 14:26:37 +01:00
Rémi Verschelde
a439c55eff
Merge pull request #33589 from JFonS/fix_scaled_gizmos
...
Fix broken gizmo interaction when Node is scaled
2019-11-13 13:43:57 +01:00
JFonS
1f623c5a2b
Fix broken gizmo interaction when Node is scaled
2019-11-13 12:22:08 +01:00
Tomasz Chabora
1369e00973
Properly handle zoom when opening tileset editor
2019-11-12 16:23:53 +01:00
Tomasz Chabora
57b12c10ab
Prevent crash when scene has path, but no file
2019-11-12 14:09:58 +01:00
Rémi Verschelde
957910c480
Merge pull request #33544 from YeldhamDev/camera_override_tooltip_adustment
...
Minor adjustment in the "Game Camera Override" button's tooltip.
2019-11-11 17:22:47 +01:00
Michael Alexsander
107c1969f5
Hide "Set As Main Scene" in FileSystem dock if the scene is already the main one
2019-11-11 12:41:46 -03:00
Michael Alexsander
c77ce40c3b
Minor adjustment in the "Game Camera Override" button's tooltip.
2019-11-11 11:46:23 -03:00
Rémi Verschelde
6b1628f9fc
Merge pull request #33517 from madmiraal/fix-_MSG-macros
...
Send *_MSG macros' explanations directly to the _err_print_error().
2019-11-11 13:27:51 +01:00
Andrii Doroshenko (Xrayez)
1f62318f92
Display icon for "Set As Main Scene" in filesystem popup
2019-11-11 12:58:15 +02:00
Marcel Admiraal
d18b2e599d
Remove all uses of ERR_EXPLAIN macros.
2019-11-11 10:24:04 +01:00
Rémi Verschelde
5f4ab5c77d
Merge pull request #33529 from code-xD/master
...
fixes #33439 . The feature now changes according to the feature profile.
2019-11-11 08:24:23 +01:00
Rémi Verschelde
411af59752
Merge pull request #33499 from nekomatata/animation-filter-function
...
Fixed function/audio/anim tracks in blend tree animation filter
2019-11-11 08:13:06 +01:00
Shivansh Anand
9fee540e6e
fixes #33439 . The feature now changes according to the feature profile.
2019-11-11 01:13:56 +05:30
Rémi Verschelde
2143f46df2
Merge pull request #33516 from qarmin/small_fixes
...
Memory leaks and crash fixes
2019-11-10 10:17:19 +01:00
Rémi Verschelde
b2ff90fecf
Merge pull request #33513 from nekomatata/multi-selection-focus
...
Keep focus on the top-most node for multi-selection in scene tree
2019-11-10 10:06:16 +01:00
Rafał Mikrut
7dda9309f9
Memory leak and crash fixes
2019-11-10 09:49:13 +01:00
PouleyKetchoupp
824bc3fed8
Keep focus on the top-most node for multi-selection in scene tree
...
Makes behavior consistent with selecting/deselecting single nodes and fixes a regression about the focused node being lost when multi-selecting.
Fixes #33332
2019-11-10 09:37:51 +01:00
PouleyKetchoupp
b777d9b34a
Multi-selection restored properly after switching scenes
...
Fixes #33511
2019-11-10 09:32:07 +01:00
PouleyKetchoupp
72453e566d
Fixed function/audio/anim tracks in blend tree animation filter
2019-11-09 22:30:08 +01:00
PouleyKetchoupp
133014c3fb
Fixed errors when saving scene with a shrunk viewport
...
Handle viewport size larger than preview size but very close, when the ratio was 1 the size ended up being 0.
Fixes #33497
2019-11-09 21:16:19 +01:00
PouleyKetchoupp
311ab52b6c
Fixed Camera preview when creating new scenes
...
Fixes #33490
2019-11-09 17:24:40 +01:00
Tomasz Chabora
2bde99f790
Fix some small text mistakes
2019-11-08 23:31:29 +01:00
Danil Alexeev
c9d7301418
Fixed initial title in audio buses editor
...
Previously, 'default_bus_layout.tres' was always displayed at startup,
even if 'audio/default_bus_layout' was changed in Project Settings.
2019-11-08 13:17:39 +03:00
Rémi Verschelde
621dc7022f
Merge pull request #27742 from rxlecky/camera-replication
...
Game camera override
2019-11-08 10:02:18 +01:00
Rémi Verschelde
99cc4d246f
Merge pull request #33343 from KoBeWi/scene_tree_dusting
...
Another scene tree dock menu cleanup
2019-11-07 15:17:14 +01:00
Rémi Verschelde
b964e911b6
Merge pull request #33183 from silvanocerza/filesystem-tree-expand
...
Folders in FileSystem are not expanded on project save anymore
2019-11-07 13:20:26 +01:00
Rémi Verschelde
8e76c5701b
Merge pull request #32997 from Calinou/editor-color-picker-add-tooltip
...
Add a tooltip to Color properties in the editor inspector
2019-11-07 13:18:27 +01:00
Rémi Verschelde
bcb6a99154
Merge pull request #32527 from OsamaElHariri/fix_locale_filter
...
Fix locale filter in project settings editor
2019-11-07 13:06:17 +01:00
Rémi Verschelde
706552404c
Merge pull request #33362 from qarmin/regression_control
...
Fix dragging spinner without control key
2019-11-06 22:34:27 +01:00
Rémi Verschelde
74c4543c4b
Merge pull request #33387 from nekomatata/faster-create-dialog-filter
...
Node create dialog filtering optimization
2019-11-06 22:24:46 +01:00
Michael Alexsander
64da703c6f
Make text in the "About" dialog reset its position when changed
2019-11-06 17:20:37 -03:00
PouleyKetchoupp
fb9ff92c29
Node create dialog filtering optimization
...
Avoid loading the same scripts again and parse them when updating the node type tree.
2019-11-06 17:21:14 +01:00
Rémi Verschelde
245c99175c
Merge pull request #33361 from codecustard/master
...
Fixes improper undo state for pivot setting
2019-11-05 15:54:53 +01:00
Rafał Mikrut
9fd416abce
Fix dragging spinner without control
2019-11-05 15:53:19 +01:00
codecustard
f643786b96
Fixes improper undo state for pivot setting
...
After setting the pivot of a node, if you undo.... it will not revert the pivot to the previous state.
2019-11-05 05:59:03 -08:00
Silvano Cerza
469acbfd0c
Folders in FileSystem are not expanded on project save anymore
...
If an item was selected in the FileSystem dock and its parent
was collapsed the folder would be expanded when saving the project.
2019-11-04 20:23:46 +01:00
Rémi Verschelde
dc114fa2ef
Merge pull request #33335 from Calinou/input-map-editor-fix-key-names
...
Fix key names being wrongly capitalized in the input map editor
2019-11-04 17:24:16 +01:00
Rémi Verschelde
6dca64140c
Merge pull request #33330 from nekomatata/fix-label-autowrap-size
...
Fixed cases where labels with autowrap can overflow the editor ui
2019-11-04 16:57:53 +01:00
Tomasz Chabora
4ed2abb0bf
Another scene tree dock menu cleanup
2019-11-04 16:45:16 +01:00
Hugo Locurcio
b14e391792
Fix key names being wrongly capitalized in the input map editor
...
This also fixes the prompt in the editor shortcuts dialog
while removing duplicated code.
This closes #33305 .
2019-11-04 15:23:28 +01:00
Tomasz Chabora
e3cfb006a0
Allow zooming while panning
2019-11-04 12:33:24 +01:00
PouleyKetchoupp
13c88878c4
Fixed cases where labels with autowrap can overflow the editor ui
...
Fixes #33155
2019-11-04 10:12:36 +01:00
Yuri Roubinsky
8243afb0e9
Added sampler inputs for visual shaders
2019-11-03 17:59:15 +03:00
Rémi Verschelde
306c13a210
Merge pull request #33270 from norkn/fix-issue-27256
...
Copy transform when creating convex sibling
2019-11-02 19:28:59 +01:00
Paulb23
362d38ea67
Update connection info on script validation rather then saved copy
2019-11-02 14:41:59 +00:00
checkerWoho
ec274eeeff
Copy transform when creating convex sibling
2019-11-02 15:08:50 +01:00
Rémi Verschelde
4569f5ec82
Merge pull request #33182 from MCrafterzz/scaleSnap
...
Added snapping for scaling in 2D editor
2019-11-02 11:12:54 +01:00
Yuri Roubinsky
d5aa611d53
Merge pull request #33256 from Chaosus/vs_fix_custom_nodes
...
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 13:09:10 +03:00