Pedro J. Estébanez
d84a303df4
Fix instantiation of resource as property value
...
(cherry picked from commit d2d29c42f2
)
2020-12-29 16:02:03 +01:00
Hugo Locurcio
1062bedaaa
Add an editor setting for the 3D selection box color
...
A restart is required to apply the setting change.
(cherry picked from commit 8221037be0
)
2020-12-29 16:02:03 +01:00
Michael Alexsander
58b2d669a0
Fix filename disambiguation on scripts in certain occasions
...
(cherry picked from commit ed488b72a6
)
2020-12-29 16:02:01 +01:00
Hugo Locurcio
d0abf5b0f5
Tweak the editor CheckButton "presed" appearance to be more recognizable
...
The blue accent color is now used, which matches the default editor
accent color.
It doesn't change to match the currently configured accent color
automatically, but doing so would require modifying the CheckButton
class a lot for little benefit.
(cherry picked from commit 114c1a78d9
)
2020-12-29 16:02:01 +01:00
Michael Alexsander
01e1369ab7
Disable "Commit" button in VCS plugin if there's no commit message
...
(cherry picked from commit 221738fb81
)
2020-12-29 16:02:01 +01:00
janglee
23280293d4
Removed default commit message
...
(cherry picked from commit 718227df6b
)
2020-12-29 16:02:01 +01:00
Hugo Locurcio
3addea0057
Move the brightness factor for highlighted 3D gizmos to a variable
...
See
8522ac7711 (r45230326)
.
(cherry picked from commit 507e9b12a4
)
2020-12-29 16:02:00 +01:00
Marcus Brummer
9248ee39ca
Changed the rotation gizmo handle to use the active axis color
...
(cherry picked from commit ec97962261
)
2020-12-29 16:02:00 +01:00
Hugo Locurcio
2753cc5264
Increase the default 3D manipulator gizmo opacity for better visibility
...
- Brighten gizmos when highlighted to make the difference between a
non-highlighted and a highlighted gizmo more visible.
- Tweak the manipulator gizmo size property hint.
(cherry picked from commit 8522ac7711
)
2020-12-29 16:01:59 +01:00
Andrea Catania
9a3cd08122
Fixed EditorPropertyText change signal emission.
...
(cherry picked from commit ed1f208ec4
)
2020-12-29 16:01:59 +01:00
Yuri Sizov
4d66d2aebd
Display the number of results for global search
...
(cherry picked from commit 7c0d682951
)
2020-12-29 16:01:59 +01:00
Rémi Verschelde
688d422554
PVRTC: Move compress func to `modules/pvr`, drop obsolete PVRTexTool code
...
The code we had for PVRTexTool doesn't work as it's not compatible with current
PVRTexTool CLI options, and likely hasn't been for years.
Instead, we have our own vendored pvrtccompressor thirdparty library which all
users have thus de-facto been using. This commit moves the compress code to
`modules/pvr` where it belongs.
There's no proper compress function for PVRTC 2-bit format, that's a bug that
will need to be fixed (currently it's compressed as 4-bit format even if you
use Image::FORMAT_PVRTC2).
Fixes #28669 .
(cherry picked from commit 1a31274855
)
2020-12-29 15:12:06 +01:00
Yuri Roubinsky
8f5bdf6a63
Changes 'always show grid' hotkey to prevent conflict with 'pan mode'
...
(cherry picked from commit 1c546fdaea
)
2020-12-29 13:49:59 +01:00
Adam Scott
d96fdcd45e
Add missing "normalized" accessor property to glTF document for the 3.2 branch
2020-12-28 03:17:37 -05:00
Yuri Sizov
816fef21f9
Add a minimap to the GraphEdit
2020-12-18 01:31:17 +03:00
Rémi Verschelde
36662f3b4d
Don't force GLES2 in Project Manager, causes issues on macOS.
...
This partially reverts #44041 .
Also fix the bogus label about lack of GLES3 support being always shown...
It was meant to be behind a check but I had left it out while testing, and
forgot to put it back.
2020-12-11 22:32:41 +01:00
Rémi Verschelde
3e20a98503
i18n: Sync translations with Weblate
2020-12-10 14:12:35 +01:00
Rémi Verschelde
c509ba9ff7
FileSystemDock: List conflicting files on move
...
Fixes #24167 .
(cherry picked from commit 7dc41ff310
)
2020-12-10 13:14:30 +01:00
Nick Swoboda
e08af90c90
Fix scene being modified when arrows are pressed with no node selected
...
(cherry picked from commit 66827337fd
)
2020-12-10 13:13:18 +01:00
jeffuntildeath
de7b5006cc
fix for snap to floor editor crash bug
...
fix for issue #44231 : snap_selected_nodes_to_floor() results in an editor
crash when a child collisionshape has invalid shape object
(cherry picked from commit 52f6e0b5ad
)
2020-12-10 13:12:39 +01:00
Michael Alexsander
979e5b36da
Add icon for 'AudioStreamMP3' resource
...
(cherry picked from commit 49ae1cba0c
)
2020-12-10 13:10:06 +01:00
Marcus Brummer
8ad61f6669
Asset Library: Scroll up the ScrollContainer after page load
...
(cherry picked from commit 0e4f2ca860
)
2020-12-10 13:09:02 +01:00
Michael Alexsander
32da9dc1e9
Add "font_color_separator" theme property to 'PopupMenu'
...
(cherry picked from commit 383e8919e0
)
2020-12-10 13:06:15 +01:00
Aaron Franke
4267f40e88
Fix trying to set grid visibility on an invalid instance
...
(cherry picked from commit 8c1d94ebae
)
2020-12-09 13:04:07 +01:00
Nick Swoboda
956477f4a2
Change minimum snap step of Tile Set to 1
...
(cherry picked from commit 70c946f82d
)
2020-12-09 11:22:05 +01:00
Eric M
0f279794c5
Made keyboard shortcuts for FileSystemDock visible in popup
...
(cherry picked from commit ef5c720b73
)
2020-12-09 11:22:04 +01:00
Eric M
65edd1f823
Added F2 shortcuts for renaming files & folders.
...
(cherry picked from commit 5a3952fe64
)
2020-12-09 11:22:04 +01:00
Rémi Verschelde
218d10a6a3
Merge pull request #44041 from akien-mga/project-manager-default-gles2
...
Use GLES2 by default in the project manager
2020-12-07 11:30:23 +01:00
Rémi Verschelde
9962fa6975
Merge pull request #42313 from kurinoku/fix-tileset-editor-3.2
...
Fixed tile_set_editor_plugin.cpp selection issue where it wouldn't cycle through all subtiles of an autotile.
2020-12-03 14:45:37 +01:00
Rémi Verschelde
9df3d06d1f
Merge pull request #43897 from RandomShaper/fix_refl_probe_vis_3.2
...
Put misc. 3D tool visible instances on their own layer (3.2)
2020-12-03 13:29:36 +01:00
Rémi Verschelde
8b1ee204cf
Use GLES2 by default in the project manager
...
This only applies to the project manager instance, what driver is used is otherwise
still defined by the project settings for a running game/editor.
Should help users who have issues with buggy GLES3 drivers to still use the project
manager to create and edit GLES2 projects.
2020-12-02 18:15:54 +01:00
Aaron Franke
80c72a529f
Limit the zoom and freelook speed based on camera settings
...
(cherry picked from commit 896a297c1f
)
2020-12-02 16:02:39 +01:00
Tomasz Chabora
afdf189776
Show editable children in the connect dialog
...
(cherry picked from commit c93a3bdaef
)
2020-12-01 09:00:55 +01:00
volzhs
a1f63bac0e
Fix editor locked by generating preview of dynamic font
2020-12-01 01:09:00 +09:00
Pedro J. Estébanez
08a46bbacd
Put misc. 3D tool visible instances on their own layer
...
This makes that visible stuff invisible to ReflectionProbes, whose preview in the editor shouldn't involve them.
2020-11-26 20:08:30 +01:00
Rémi Verschelde
97e7d637e0
i18n: Sync translations with Weblate
2020-11-26 09:47:40 +01:00
jfons
bdc6f2fd95
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
...
It was commented for some reason I can't remember.
(cherry picked from commit e6949dae72
)
2020-11-26 09:38:47 +01:00
Hugo Locurcio
fe69bb262e
Bind the editor's Search Help function to F1 by default
...
Now that the F1 key is available, we can bind Search Help to the key
generally used in other applications to open the help menu.
(cherry picked from commit 42685f514f
)
2020-11-26 09:38:46 +01:00
Hugo Locurcio
f2a20893cc
Use a power-of-two value for Primary Grid Steps in the 3D editor
...
This matches the 2D editor default behavior.
Powers of two are usually better for grid divisions as they are often
used in level design.
(cherry picked from commit 31cf3e2572
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
4a1643114e
Export: Reorder options for consistency across platforms
...
(cherry picked from commit 504efc5f9b
)
2020-11-26 09:38:46 +01:00
Rémi Verschelde
2800ab75ad
Merge pull request #43739 from dakennedyd/3.2
...
Fix duplicated entries in script editor menu
2020-11-23 15:49:33 +01:00
David Kennedy
473cb79cc1
Fix duplicates entries in script editor menu
...
This was a regression from #40461 .
Fixes #43707 .
2020-11-23 11:33:59 -03:00
Rémi Verschelde
e4f2f899db
Merge pull request #43697 from Calinou/increase-profiler-frame-max-functions
...
Increase the default `profiler_frame_max_functions` to 512
2020-11-23 10:02:37 +01:00
Hugo Locurcio
c4e200687e
Increase the default `profiler_frame_max_functions` to 512
...
This should decrease the number of instances in which functions
don't appear in the profiler.
This partially addresses #40251 .
2020-11-19 19:37:53 +01:00
GryphonClaw
27eaf357fc
added shortcuts/hotkeys for tileset editor plugin collision buttons, with suggested changes.
...
(cherry picked from commit cf582262c2
)
2020-11-19 17:17:23 +01:00
Aaron Franke
b9641efc5c
Update the 3D grid when the "View Grid" checkbox is changed
...
(cherry picked from commit 71d1909b39
)
2020-11-19 17:15:28 +01:00
Rafał Mikrut
32017b1490
Allow to open multiple projects when some are not imported or without main scene.
...
(cherry picked from commit b20c20a6f7
)
2020-11-19 17:15:27 +01:00
Haoyu Qiu
c0fb16a512
Fixes rotation in select mode on macOS
...
(cherry picked from commit 381ba7d554
)
2020-11-19 17:15:27 +01:00
Rémi Verschelde
68973cadf7
glTF: Workaround import failure with invalid embedded images
...
image/gif is not supported in the glTF 2.0 specification,
these files are broken. But let's be lenient...
Fixes #43638 .
(cherry picked from commit f70cc0a60e
)
2020-11-18 13:28:51 +01:00
Marcus Brummer
420df0c2a8
Fixed deletion of nodes with exported node paths
...
(cherry picked from commit 3629651ef8
)
2020-11-18 13:27:47 +01:00
Fabio Alessandrelli
f32c878ef7
Fix CLI export when export_path is in preset.
...
Export presets contains the export_path option, to specify the default
export location, but the CLI export option disregarded that, and always
required and export path to be specified.
After this commit, if the export path is not specified in the command,
the one in the preset will be used, erroring only if it's not present or
invalid.
(cherry picked from commit 032a1c5dc3
)
2020-11-17 22:23:09 +01:00
Rémi Verschelde
755ee76871
Revert "Add script class categories to EditorInspector."
...
This reverts commit 8a02f221b4
.
This caused regression #43491 .
2020-11-17 22:21:32 +01:00
Rémi Verschelde
4816317bbc
Debugger: Save options in project metadata
...
Fixes #19542 .
(cherry picked from commit 090361f3c9
)
2020-11-17 16:42:42 +01:00
Hugo Locurcio
fcab27878c
Require Ctrl for switching between editors, bind F2 to Rename Node
...
Switching between editors now requires holding Ctrl to avoid
conflicts with the new F2 shortcut.
The asset library can now be accessed by pressing Ctrl + F4
on Windows and Linux, or Alt + 4 on macOS.
This partially addresses #38139 .
(cherry picked from commit 79e4e26738
)
2020-11-17 16:24:06 +01:00
Rémi Verschelde
e95af7ae9b
i18n: Sync translations with Weblate
2020-11-17 12:21:11 +01:00
Tomasz Chabora
2a98c5ff04
Allow folder checking in export preset file list
...
(cherry picked from commit 08a292fec3
)
2020-11-17 12:07:02 +01:00
Hugo Locurcio
c9a694a11d
Rename the "Delete" option in the FileSystem dock to "Move to Trash"
...
It actually moves files to the system trash instead of removing them
completely.
(cherry picked from commit e7ed287fda
)
2020-11-17 12:01:59 +01:00
Hugo Locurcio
12681b497b
Improve messages related to overriding the default editor layout
...
This closes #33884 .
(cherry picked from commit b324a929f6
)
2020-11-17 12:01:59 +01:00
Nathan Franke
84c04a8ee3
Fix Android Export jarsigner error with *.import whitelist
...
(cherry picked from commit 20bca313c0
)
2020-11-17 12:01:59 +01:00
Rémi Verschelde
d81b8e4a86
SceneTree: Fix reparent crash with animation tracks renaming disabled
...
This check was there since the first commit in 2014, but a later feature added in 2018
with #17717 did not properly update the code while adding non animation-related code
in `perform_node_renames`.
Fixes #40532 .
(cherry picked from commit d107fd4c9e
)
2020-11-17 12:01:58 +01:00
Haoyu Qiu
beddfb4437
Keep cursor relative position after multiline move
...
(cherry picked from commit 87fb2bde0c
)
2020-11-17 12:01:58 +01:00
Rémi Verschelde
728200a10b
Merge pull request #43611 from Calinou/use-low-editor-scale-auto-3.2
...
Use 75% editor scale on small displays automatically (3.2)
2020-11-17 12:01:44 +01:00
Hugo Locurcio
fc5e60f4cc
Use 75% editor scale on small displays automatically
...
This also makes borders always display in the editor theme,
even if the editor scale is below 100%. Otherwise, "focus" outlines
would vanish when using an editor scale below 100%,
which harms usability.
2020-11-17 11:17:41 +01:00
Hugo Locurcio
4b1de5be45
Add a dynamic infinite grid to the 3D editor
...
- The grid is now infinite, it follows the camera.
- The grid is now dynamic, if you zoom in and out, the grid subdivides,
expands, and fades.
- You can now enable grid planes for the XY and YZ planes. Only the flat
XZ plane is enabled by default. Each plane is independently dynamic
of the others.
- The default grid size has been increased to 200, and the maximum
has been increased to 2000. At 1000, the grid mostly looks edgeless.
- If you set the division level max and min to the same value then
the grid does not expand or subdivide, but instead stays the same size
and just follows the camera. Also, if these values are the same,
the bias value does nothing.
- If you want to have Blender-like behavior, set max to 1, min to 0,
and set the bias to a really low value. You may also wish to increase
the grid size if you have a small bias.
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-17 10:16:53 +01:00
Hugo Locurcio
f39c71e32d
Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
...
This closes #43396 .
(cherry picked from commit 5b40f9fddc
)
2020-11-11 15:30:57 +01:00
Tomasz Chabora
dc05beca80
Register methods for drawing 3D editor overlays
...
(cherry picked from commit cbfbb4538b
)
2020-11-11 15:30:57 +01:00
Michael Alexsander
5e6af913de
Fix "Move Points" button sometimes not showing up on UV mode in the Polygon2D editor
...
(cherry picked from commit 4b74019ca3
)
2020-11-11 15:30:56 +01:00
Eric Tuvesson
be72285c70
fix(editor): TileMap floodfill with same tile ID and different variation
...
Closes https://github.com/godotengine/godot/issues/40435
(cherry picked from commit cefca25796
)
2020-11-11 15:30:55 +01:00
willnationsdev
8a02f221b4
Add script class categories to EditorInspector.
...
(cherry picked from commit 644de52ca9
)
2020-11-11 15:12:00 +01:00
Hugo Locurcio
ed3f0a3950
Improve the 3D editor selection box appearance
...
- Draw two boxes slightly offset from each other to give the illustion
of a thicker outline.
- Decrease the offset compared to the 3D node's AABB to give a more
accurate representation of its size.
- Make the box fully visible instead of only displaying the corners.
- Draw a x-ray version of the box that's more translucent, but visible
through walls. This helps make the box more visible while still
having a sense of depth.
- Use an orange color similar to the 2D editor.
2020-11-09 21:55:56 +01:00
Rémi Verschelde
c43b2ab603
Merge pull request #42942 from Calinou/add-viewport-debanding-3.2
...
Add a debanding property to Viewport for GLES3
2020-10-30 11:47:57 +01:00
Rémi Verschelde
4325c54335
Merge pull request #43016 from mbrlabs/rotation-gizmo-32
...
[3.2] Improve rotation gizmo
2020-10-30 11:46:05 +01:00
Rémi Verschelde
284dae021a
i18n: Sync translations with Weblate
2020-10-28 15:09:17 +01:00
Haoyu Qiu
3f81cd5332
Fixes property revert for inherited child nodes
...
(cherry picked from commit 0dfe28d93d
)
2020-10-28 14:05:42 +01:00
Haoyu Qiu
a973bc9530
Fixes property revert after saving instanced scene
...
(cherry picked from commit a2c1593f25
)
2020-10-28 14:05:41 +01:00
Hugo Locurcio
94cf0dced2
Improve undo log messages in the 2D editor for additional context
...
Undo/redo log messages will now specify the modified node's
name (or number of modified nodes if several were modified).
On top of that, the new position/rotation/scale/pivot offset
will also be mentioned in the message.
(cherry picked from commit 996740de43
)
2020-10-28 14:05:41 +01:00
David Sichma
b69f1f183e
fix toggle mask bit 0
...
(cherry picked from commit 6acd450328
)
2020-10-28 14:05:41 +01:00
Pleto
203d6375fc
Enhancement for tileset sorting
...
(cherry picked from commit 0e392bd177
)
2020-10-28 14:05:41 +01:00
Ev1lbl0w
a2dcbfe0a8
Disable code to add patches menu
...
(cherry picked from commit 395cb57256
)
2020-10-28 14:05:40 +01:00
Michael Alexsander
5c129c7a05
Minor improvements to the Polygon 2D UV editor
...
(cherry picked from commit c26b49fc17
)
2020-10-28 14:05:39 +01:00
Rémi Verschelde
7c27e37997
Merge pull request #42705 from Calinou/tilemap-editor-fix-osx-tooltip
...
Fix rectangle paint tooltip for the tilemap editor on macOS
2020-10-27 14:43:50 +01:00
hilfazer
6dbc08668b
Move Editable Children information from scene's root to instanced nodes
2020-10-26 11:55:47 +01:00
Marcus Brummer
69b99ba9cb
Improve rotation gizmo
...
Hide the back sides of the rotation gizmo circles and add a white
outline for better visualization of the rotation "sphere".
This is a 3.2 backport of @JFons work on the master branch; all credit
goes to him.
2020-10-22 22:05:50 +02:00
Hugo Locurcio
2dbc329704
Add a debanding property to Viewport for GLES3
...
It can be enabled in the Project Settings
(`rendering/quality/filters/use_debanding`). It's disabled
by default as it has a small performance impact and can make
PNG screenshots much larger (due to how dithering works).
As a result, it should be enabled only when banding is noticeable enough.
Since debanding requires a HDR viewport to work, it's only supported
in the GLES3 backend.
2020-10-20 19:07:15 +02:00
Hugo Locurcio
af45c97652
Add fast approximate antialiasing (FXAA) to Viewport
...
This backports FXAA from the `master` branch.
Co-authored-by: Clay John <claynjohn@gmail.com>
2020-10-20 14:54:52 +02:00
Gabriel Van Eyck
5b9c16a324
Keep 'Editor Description' metadata when changing a Node's type
...
Also copy edit group/lock when replacing a Node3D
(cherry picked from commit a22275c8a2
)
2020-10-19 16:10:01 +02:00
Fabio Alessandrelli
7a0710f91a
EditorNode now copies all drag and dropped files.
...
The editor used to only copy drag-dropped files in the File System pane
if the given file was a valid resource, or had a specific file format
(ttf, otf).
With this PR, all drag and dropped files are copied instead, no matter
their extension.
(cherry picked from commit 410b324740
)
2020-10-19 16:10:00 +02:00
volzhs
623f7e0db4
Show android device name when connected only one device
...
(cherry picked from commit 778e982cff
)
2020-10-19 16:09:59 +02:00
Marcel Admiraal
3e50d3b4c0
Ensure grid index is valid before trying to change value.
...
(cherry picked from commit f98acd5cfb
)
2020-10-19 16:09:59 +02:00
Haoyu Qiu
0c1f88c769
Adds pan gesture to StateMachine editor
...
(cherry picked from commit e9bec0d76b
)
2020-10-19 16:09:59 +02:00
Tomasz Chabora
ed34eed62d
Update the setting when clicking Show hidden files
...
(cherry picked from commit 725c2bdf48
)
2020-10-19 16:09:58 +02:00
David Sichma
f601e15b92
aabb change updates bounding box
...
spatial editor will now update the bounding box if aabb or transform
changes
(cherry picked from commit 7701889048
)
2020-10-19 16:09:57 +02:00
Michael Auderer
9f4dc87739
Reset TileMapEditor painting on application refocus
...
Treats application unfocus as a mouse release for
TOOL_PAINTING, by finishing the undo state and
resetting the tool. Also sets a flag to prevent extra
lines from being drawn when the application is refocused.
fixes #42398 , fixes #24970
(cherry picked from commit 70a4cd1afe
)
2020-10-19 16:09:55 +02:00
Marcus Brummer
b426e58acd
Fixed renaming/moving of nodes with exported NodePaths
...
(cherry picked from commit fdec257e58
)
2020-10-19 15:15:27 +02:00
lawnjelly
c2290dbedd
Unified GLES2 / GLES3 Batching
...
Batching is mostly separated into a common template which can be used with multiple backends (GLES2 and GLES3 here). Only necessary specifics are in the backend files.
Batching is extended to cover more primitives.
2020-10-16 10:34:47 +01:00
Fabio Alessandrelli
0452c2fced
Improve Project Manager video driver selection.
...
Now suggests the current video driver instead of defaulting to GLES3.
2020-10-14 12:32:35 +02:00
Hugo Locurcio
aaffd61903
Fix rectangle paint tooltip for the tilemap editor on macOS
...
This also fixes the Move Points tooltip for the 2D polygon editor.
This closes #42702 .
2020-10-11 15:54:15 +02:00
Yuri Roubinsky
a65252018c
[3.2] Fix undo for moving multiple visual shader nodes
2020-10-06 08:54:58 +03:00
Aaron Franke
b2897f1f7b
Check for global script class information before clearing it
...
(cherry picked from commit 1ca501d7d4
)
2020-10-05 22:09:49 +02:00
K. S. Ernest (iFire) Lee
1f87bca8fb
Better non alphanumeric bone names.
...
1. _gen_unique_bone_name(Ref<GLTFState> state, const GLTFSkeletonIndex skel_i, const String &p_name) won't return an empty string.
2. String GLTFDocument::_sanitize_bone_name(const String &name) will keep Japanese characters. Like: "全ての親".
3. The sanitize function allows the bone name to be not just alphanumeric. The only required conditions are the ones in add_bone.
> ERR_FAIL_COND(p_name == "" || p_name.find(":") != -1 || p_name.find("/") != -1);
(cherry picked from commit 7b76f8783f
)
2020-10-05 20:46:01 +02:00
Rémi Verschelde
9529ce41eb
glTF: Fix parsing image data with `mimeType` undefined
...
The glTF 2.0 spec only makes `mimeType` mandatory for `bufferView` image data,
so the previous logic to handle URIs with base64-encoded images could fail if
`mimeType` is undefined.
The logic was documented and refactored to better handle the spec, notably:
- `uri` and `bufferView` are now mutually exclusive, and only the latter fails
if `mimeType` is undefined.
- `uri` with a file path will now respect the `mimeType` if defined, and thus
attempt loading the file with the specified format (even if its extension is
not the one expected for this format). So we can support bad extensions (PNG
data with `.jpg` extension) or custom ones (PNG data in `.img` file for
example).
- `uri` with base64 encoded data will infer MIME type from `data:image/png` or
`data:image/jpeg` if it was not documented in `mimeType` initially.
- `uri` with base64 encoded data, no `mimeType` and `application/octet-stream`
or `application/gltf-buffer` will fall back to trying both PNG and JPEG
loaders.
Fully fixes #33796 (and fixes up #42501 ).
(cherry picked from commit 2e99d0b26f
)
2020-10-05 14:41:53 +02:00
Rémi Verschelde
177d16c01c
glTF: Fix parsing buffer data with application/gltf-buffer and image/* MIME types
...
See https://github.com/KhronosGroup/glTF/issues/944 for context on the
application/gltf-buffer MIME type.
The glTF 2.0 spec supports `image/jpeg` and `image/png` which can also be
base64-encoded in buffer URIs.
Fixes #33796 .
(cherry picked from commit 34a50310ad
)
2020-10-05 14:38:48 +02:00
Aaron Franke
fcaf17824f
Don't write global script class information if there is none
...
(cherry picked from commit 3163611f0c
)
2020-10-04 20:53:50 +02:00
Ryan Roden-Corrent
d05a07235c
Fix bound return type on get_priority.
...
Also adds a description explaining gizmo priority.
Inferred from:
e4363d001a/editor/plugins/spatial_editor_plugin.cpp (L5867-L5880)
e4363d001a/editor/plugins/spatial_editor_plugin.cpp (L6462-L6470)
(cherry picked from commit c6919a13da
)
2020-10-04 20:51:19 +02:00
Yuri Roubinsky
44817dbe6b
[3.2] Fix port previews for uniforms in visual shaders
2020-10-02 11:10:08 +03:00
Haoyu Qiu
718f8e8344
Changes mention of Node3D back to Spatial
2020-10-01 23:55:10 +08:00
Gilles Roudière
14fa64d289
Fix scale cursor rotation and handle diagonal ones
...
(cherry picked from commit 6dd19af439
)
2020-10-01 16:00:47 +02:00
Haoyu Qiu
c8a9f700c3
Fixes FileSystem tree preview icon size on HiDPI
...
(cherry picked from commit b28fc2df07
)
2020-10-01 16:00:46 +02:00
Hugo Locurcio
1eb4017e28
Make the pressed autokey icon red to emphasize its "recording" status
...
(cherry picked from commit 95773bb3c1
)
2020-10-01 16:00:46 +02:00
Rémi Verschelde
3961f50176
Merge pull request #40461 from nekomatata/script-editor-init-optimization-3.2
...
[3.2] Optimized ScriptEditor initialization when many scripts are loaded
2020-10-01 13:58:01 +02:00
Rémi Verschelde
0c3e0ab194
Merge pull request #40994 from qarmin/sanitization32
...
[3.2] Added Linux sanitizer with xvfb to github workspace
2020-10-01 13:56:09 +02:00
Rémi Verschelde
ef223f3aa7
Merge pull request #41185 from Chaosus/vs_uniform_ref_3.2
...
[3.2] Added UniformRef visual shader node
2020-10-01 13:50:08 +02:00
Hugo Locurcio
f7ed1f4d1f
Automatically start searching in the asset library when entering text
...
Entering text will now start searching automatically after 0.25 seconds
have passed (debounce delay).
This removes the need for a separate Search button.
(cherry picked from commit 6055db2a72
)
2020-09-29 13:57:58 +02:00
Nehluxhes
5abc42c27e
Remove duplicate node update call
...
(cherry picked from commit c85d04a771
)
2020-09-29 13:57:57 +02:00
andriyDev
98eb6e4af6
Added inspector_only option to inspect_object in EditorInterface.
...
Updated docs to reflect change to inspect_object.
(cherry picked from commit 45a1c6f278
)
2020-09-29 13:57:57 +02:00
K. S. Ernest (iFire) Lee
460ab353b4
Use the vertex colors by default in gltf.
...
(cherry picked from commit 43424e1321
)
2020-09-29 13:57:57 +02:00
Hugo Locurcio
ebff4c3e83
Allow using a comma as decimal separator in EditorSpinSlider
...
This closes https://github.com/godotengine/godot-proposals/issues/1576 .
(cherry picked from commit 3800e7d2ba
)
2020-09-29 13:57:57 +02:00
Hugo Locurcio
fbafd5c9e2
Improve the inspector easing editor
...
- Make it possible to drag a negative easing or an easing of 0 back to
a positive value.
- Clamp the value between -1000000 and 1000000 to avoid issues
related to infinity.
- Display more decimals for numbers closer to 0, less for large numbers.
- Display trailing zeroes in decimals to avoid flickering when dragging.
This closes #18712 and closes #22079 .
(cherry picked from commit 028de11db8
)
2020-09-29 13:57:57 +02:00
Aaron Franke
50b1de7e39
Change the "remove missing" button to disabled rather than hidden
...
Also set a minimum size
(cherry picked from commit 0b6326c79a
)
2020-09-29 13:57:57 +02:00
Gilles Roudière
0b2913086f
Draw selected item on top of everything else
...
(cherry picked from commit 16532f51ef
)
2020-09-29 13:57:56 +02:00
Gilles Roudière
e496e8d318
Fix error when dragging anchors with parent's size == 0
...
(cherry picked from commit 8e6da0b808
)
2020-09-29 13:57:56 +02:00
Hugo Locurcio
306ce02823
Replace AutoKey icon with a more universally understood "record" button
...
See discussion in
https://github.com/godotengine/godot-proposals/issues/169 .
(cherry picked from commit da906cade3
)
2020-09-29 08:54:45 +02:00
Rémi Verschelde
4de606d78f
i18n: Rename pt_PT to pt
...
We originally used `pt_PT` (i.e. Portuguese (Portugal)) to distinguish with
the Brazilian Portuguese variant `pt_BR`, as both are significantly different
and need separate translation files.
But Portugal's Portuguese (or "European Portuguese") is close to the variant
spoken and written in other Portuguese-speaking countries such as Angola and
Mozambique, so it makes sense for users of these countries to also have access
to the European Portuguese translation (at least until translators decide that
adding e.g. `pt_AO` and `pt_MZ` variants would make sense, taking into account
the translation effort that this duplication implies).
Godot's locale matching checks first for the full locale (e.g. `pt_AO`), and
if no translation is found, it checks for the non-regional language code
(`pt`), so this change enables translations for Portuguese speakers outside
Portugal and Brazil.
(cherry picked from commit 1e2f55e273
)
2020-09-29 08:54:45 +02:00
Leleat
15c56de212
striped edges on node rename in SceneTreeDock
...
(cherry picked from commit 32e52217ff
)
2020-09-29 08:54:45 +02:00
Danil Alexeev
44bdd8f16c
Improvement for the Copy button in the Output Log
...
Now if no text is selected, pressing the Copy button copies the entire text.
(cherry picked from commit fb6eb21afc
)
2020-09-29 08:54:45 +02:00
Rémi Verschelde
8ca9680b13
Merge pull request #38076 from DrMoriarty/fix_pvrtc
...
iOS: Fix multiple issues with PVRTC import, disable ETC1
2020-09-28 10:17:22 +02:00
Gustav
a11b50aaad
Stop reset of MultiMesh properties on populate
...
ColorFormat and CustomFormat is not changed when populate is called.
2020-09-25 01:12:20 +02:00
kurinoku
94d9b7f7e2
Fixed tile_set_editor_plugin.cpp selection issue.
...
Fixed issue where using arrows to change the selected tile would not reach all subtiles in an autotile, only going up to the second to last row and column.
2020-09-24 13:19:48 -03:00
Rémi Verschelde
510d87e468
i18n: Sync translations with Weblate
2020-09-24 14:51:36 +02:00
booer
b48015a3d1
Fix changing icons' colors when switch dark and light theme
...
(cherry picked from commit 3d69385655
)
2020-09-24 14:43:10 +02:00
Spencer Burris
65ab1a3b0f
Make blank project name create an error, not a warning
...
(cherry picked from commit 0e3d938968
)
2020-09-24 14:43:10 +02:00
Michael Alexsander
d949b042a7
Add placeholders to the searchbars in the Project/Editor settings
...
(cherry picked from commit 626d9d5ae4
)
2020-09-24 14:43:10 +02:00
Hugo Locurcio
9e28bee01f
Improve search and display in the editor property/method selector
...
- Use postfix notation for types in the method selector
(for consistency with the editor help).
- Perform a case-insensitive match and replace spaces with underscores
in the search string.
- Fix extraneous space after the `void` return type.
(cherry picked from commit 4390a9d628
)
2020-09-24 14:43:09 +02:00
Michael Alexsander
5f430b4fb1
Minor visual improvements to the "Batch Rename" dialog
...
(cherry picked from commit 25d18e3491
)
2020-09-24 14:43:09 +02:00
Eric M
8bdfba790b
Added search box to signals dock.
...
Also made localised code changes for better documentation and readability.
(cherry picked from commit 8c4c2bceab
)
2020-09-24 14:43:09 +02:00
Hugo Locurcio
b79bcb1f33
Make the SpriteFrames animation speed SpinBox take less vertical space
...
This makes it possible to display one more animation with the same
vertical space.
(cherry picked from commit 2427a9cafc
)
2020-09-24 14:43:09 +02:00
Hugo Locurcio
e4e4140c6f
Improve editor tooltips related to debugging
...
Some option names have also been made longer as we can afford using
more space to display them.
(cherry picked from commit a46802f07c
)
2020-09-24 14:43:09 +02:00
Dashcell
42eb92d19a
Fixes the resize of tile shapes when a vertex is outside of the tilesheet. Fix #34970
...
(cherry picked from commit 5355169d3c
)
2020-09-24 14:43:07 +02:00
Melvin Louwerse
22efebc599
Show correct name of signal when editing an existing one
...
Use popup_dialog() instead of popup_centered() to show edit dialog/
With popup_centered it is not possible to change the displayed
signal name. When this is not set the previous shown name is show
for the current dialog.
This is no problem when creating a new conenction as popop_dialog
is used there and this would update the title.
Fixes #42074
(cherry picked from commit eeb6c2e22c
)
2020-09-24 14:43:07 +02:00
booer
4d27433c1d
Fix filtering of search results in SectionedInspector
...
(cherry picked from commit 7f226d0a85
)
2020-09-24 14:43:06 +02:00
Lunatoid
849dc87577
Fixes DefaultProjectIcon scaling with editor scale
...
Should fix #27009 where the DefaultProjectIcon was scaling
with the EDSCALE. Now it checks if the icon name is equal
to "DefaultProjectIcon" and sets the scale to 1.0 instead of
EDSCALE.
(cherry picked from commit 740100d671
)
2020-09-24 14:43:06 +02:00
SekoiaTree
0d8b2d34e1
Fixed node scaling arrows being wrong
...
Patch for #21755 . Node scaling arrows pointed the wrong way when nodes were rotated. Ammend: made math cleaner.
Simplified expression
Changes suggested by Aaron Franke
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
(cherry picked from commit 603febdbfe
)
2020-09-24 14:43:05 +02:00
Aaron Franke
76a8458753
Make the Import dock depend on the FileSystem dock
...
(cherry picked from commit de6f8f9d21
)
2020-09-24 14:43:05 +02:00
Zak
d94323e37b
Adds automatic update for region_rect
...
When changing the texture region for a StyleBox, the regions was not updating automatically in the Texture editor.
(cherry picked from commit 7d7727bade
)
2020-09-24 12:05:34 +02:00
Vasiliy Makarov
f388ea00bf
iOS: Fix multiple issues with PVRTC import, disable ETC1
...
Fixes : #28683 , #28621 , #28596 and maybe others
For iOS we enable pvrtc feature by default for both GLES2/GLES3
Etc1 for iOS doesn't have any sense, so it disabled.
Fixed checks in export editor.
Fixed pvrtc ability detection in GLES2 driver.
Fixed pvrtc encoding procedure.
2020-09-23 11:13:50 +02:00
Rémi Verschelde
c8859f0463
Fix typos with codespell
...
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
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
```
2020-09-18 14:09:51 +02:00
hoontee
b626f16212
Fix "Create Trimesh Collision Sibling" transform
...
(cherry picked from commit 3cbd626328
)
2020-09-14 11:00:47 +02:00
Adrien
e90467ef66
Fix #42043 , mismatched compress options in ResourceImporterLayeredTexture
2020-09-14 15:36:46 +08:00
Haz
935edf9323
Fix tilemap tiles on horizontal/vertical flips
...
(cherry picked from commit 3f5413693c
)
2020-09-10 12:03:45 +02:00
Rémi Verschelde
c5f6d2097b
i18n: Sync translations with Weblate
...
Add translators comment for the two 'Project Manager' strings,
and fix some of the translations.
2020-09-08 14:05:53 +02:00
Rémi Verschelde
8ae2a84fb6
Fix build with GDScript support disabled
...
Fixes #41710 .
2020-09-08 09:14:25 +02:00
SkyJJ
1ba5917da9
Backport translator comment PR to 3.2
2020-09-07 21:03:25 +02:00
Rémi Verschelde
41b9e1d7ea
i18n: Sync translations with Weblate
2020-09-04 08:53:53 +02:00
Rafał Mikrut
9caa35532a
Fixes leak with creating editor settings
...
(cherry picked from commit 599ccbb7d4
)
2020-09-04 08:49:58 +02:00
Lunatoid
636fe1bab9
Gives the theme editor a horizontal scrollbar
...
Fixes #34509 where the theme editor would push away the inspector
if something like "hseperation" is really high.
Now `set_enable_h_scroll` is true which fixes this.
(cherry picked from commit d602be077d
)
2020-08-31 15:29:41 +02:00
Hugo Locurcio
336bc03d66
Add an editor setting to invert 3D pan/orbit on the X axis
...
This also makes the invert Y axis option apply to 3D panning.
This closes #28082 .
(cherry picked from commit 2c9d4ef961
)
2020-08-21 02:28:17 +02:00
Rémi Verschelde
9bf5a0b791
Merge pull request #41081 from naithar/feature/ios-framework-import-3.2
...
[iOS] [3.2] Export: Add a method to embed a framework
2020-08-19 14:11:27 +02:00
Sergey Minakov
910c554a1a
iOS Export: Add a method to embed a framework
...
By default 'add_ios_framework' would not embed a framework to save previous behavior.
New 'add_ios_embedded_framework' would embed framework on export.
2020-08-19 14:54:59 +03:00
Michael Alexsander
8adfeda6f8
Make the editor's 'CheckButton' icon be smaller
...
(cherry picked from commit 0c182ce8e8
)
2020-08-17 11:05:27 +02:00
Rafał Mikrut
abd7c1833e
Added Linux sanitizer with xvfb to github workspace
2020-08-14 12:15:58 +02:00
Rémi Verschelde
e283d4b5c8
Update AUTHORS and DONORS list
...
New contributors added to AUTHORS:
@hinlopen, @naithar, @rrcore, @SkyLucilfer, @TwistedTwigleg
Thanks to all contributors and donors for making Godot possible!
---
Also changes to relevant code that parses the DONORS.md to match
the new tiers.
(cherry picked from commit d2d4c1c957
)
2020-08-14 00:32:05 +02:00
Maganty Rushyendra
69dc9c9417
Fix tile placement preview for rotated, skewed or scaled TileMaps
...
Ensures that the editor preview when placing a tile on a TileMap takes
into account the transformation of the TileMap. Previously, only the
origin of the Tile was transformed, but not its orientation or
scaling.
(cherry picked from commit cf04aabef1
)
2020-08-14 00:32:05 +02:00
Antoine Félix
3211a51be8
Modify the scene only when color changed
...
Editor now changes a color in the inspector only when it is different
from the current one.
Solves fake unsaved changes in editor after using the ColorPicker.
Resolves : #40879
(cherry picked from commit f3626364fc
)
2020-08-14 00:32:05 +02:00
Tomasz Chabora
cea16907bb
Properly disambiguate unsaved scripts
...
(cherry picked from commit 3082def404
)
2020-08-14 00:32:05 +02:00
Rémi Verschelde
900949b316
i18n: Sync translations with Weblate
2020-08-11 16:07:11 +02:00
Yuri Roubinsky
d0c705781c
[3.2] Added UniformRef visual shader node
2020-08-11 15:04:06 +03:00
totlmstr
f550af9da7
Add missing #ifdef SVG_ENABLED
2020-08-08 14:03:14 -07:00
Rémi Verschelde
ed20772c09
i18n: Sync translations with Weblate
2020-07-28 12:07:45 +02:00
Yuri Sizov
44ff9cdea5
Fix errors saving a 2D scene preview when the 2D editor was never opened
...
(cherry picked from commit e2b85b74a2
)
2020-07-28 00:56:20 +02:00
Rémi Verschelde
518f109927
Script editor: Don't open dominant script in external editor
...
Fixes #13429 .
(cherry picked from commits b5f110c77e
,
6b3f013a82
, and
e016859c3b
)
2020-07-28 00:47:24 +02:00
Andrii Doroshenko (Xrayez)
6abaf4d0eb
Skip internal scripts for breakpoints without printing an error
...
This removes:
```
ERROR: get_breakpoints: Condition ' base.begins_with("local://")
```
while running a project with blank scripts caused by deleting
or moving, or built-in scripts which are not yet saved within a scene
on running a project.
(cherry picked from commit 1c70a33d9c
)
2020-07-28 00:40:20 +02:00
Rémi Verschelde
eda03831d6
Style: Add missing newlines to SVGs
2020-07-24 10:39:18 +02:00
Tomasz Chabora
2bcb9d2a04
Fix run project when current scene was never saved
...
(cherry picked from commit 9c84e34fd4
)
2020-07-24 10:31:57 +02:00
Andy Maloney
cc8c6180c3
[macOS] Fix Maya navigation with ALT + mouse scroll
...
Methods were being called with InputEventMouseMotion instead of InputEventPanGesture, and they were null.
Fixes godotengine/godot#16181 on the master branch
(cherry picked from commit 394a7826be
)
2020-07-24 10:31:57 +02:00
Rémi Verschelde
925371d08f
TileSet Editor: Check polygon size before indexing
...
Fixes #39722 .
(cherry picked from commit 6f428f2494
)
2020-07-24 10:31:57 +02:00
Tomasz Chabora
5984febde2
Prevent multiple Controls moving inside container
...
(cherry picked from commit e44c9101da
)
2020-07-24 10:31:57 +02:00
Paulb23
ca4fe82a7f
Fix crash when closing a TextFile
...
(cherry picked from commit 54bca425b2
)
2020-07-24 10:31:57 +02:00
Stijn Hinlopen
b7b8f8645f
Open scene selected from Quick Open dialog.
...
(cherry picked from commit 1ce3a77a42
)
2020-07-24 10:31:56 +02:00
rileylyman
582b4318f8
implement generic filename disambiguation
...
A static function is added to EditorNode which allows for filename
disambiguation given a list of filenames and the corresponding list of
absolute paths for those files. This function is then used to
disambiguate scene and script tabs in the editor.
(cherry picked from commit 4285211f40
)
2020-07-24 10:31:56 +02:00
K. S. Ernest (iFire) Lee
f189d0e1f3
Allow gltf2 morph targets with no default values. Changes for bug 38751
...
(cherry picked from commit 71ae0ff46d
)
2020-07-24 09:37:43 +02:00
Hugo Locurcio
3bdb39bec4
Add a margin to EditorSpinSlider to visually line up the edited number
...
This means clicking on an EditorSpinSlider to edit its value will
no longer cause the number to be visually offset while it's
being edited.
(cherry picked from commit cc615fee5f
)
2020-07-24 09:34:58 +02:00
PouleyKetchoupp
e3765e97de
Optimized ScriptEditor initialization when many scripts are loaded
...
This change avoids the editor to freeze for several seconds when a
project with lots of scripts is loaded in the editor.
It focuses on a few heavy operations previously executed on all
previously loaded scripts:
- Initialize script resource (script validation/parsing) only
on focus
- ScriptTextEditor: code editor and edit menu are added to the
scene only on focus
- Add to recent scripts only when opening new scripts
(load/save scene metadata)
2020-07-17 09:42:11 +02:00
Rémi Verschelde
a06ee5e763
PO loader: Fix unclosed files and error messages
...
Fixes #40324 .
(cherry picked from commit 47cc202972
)
Also removes empty `p_path` as done in 4857648a16
.
2020-07-15 12:48:18 +02:00
Jitesh
f6479786c0
change minimum horizontal size from 200 to 240
...
(cherry picked from commit a8905b2a4e
)
2020-07-15 12:11:31 +02:00
Michael Alexsander
e7e022b3ee
Prefer the highlight version of the "GuiTabIcon" icon for buttons, and make their width/height equal
...
(cherry picked from commit 26381265b8
)
2020-07-15 12:11:31 +02:00
Zae
ac3ff49ae5
fix item_edited behavior on Asset Installer.
...
(cherry picked from commit b0fbde6abd
)
2020-07-13 15:11:33 +02:00
coldragon
a0f0aa1741
Fix crash on editor without a feature profile
...
(cherry picked from commit f2a01b0c6b
)
2020-07-10 11:01:31 +02:00
Chistpohe LY
130ad08d47
auto re-import atlas, fixes #40047
...
(cherry picked from commit f34f00bccc
)
2020-07-10 11:00:10 +02:00
Daniel Ting
c55e68d311
Do not try to save internal scripts
...
Fixes #40175
(cherry picked from commit d6c979d91b
)
2020-07-10 10:37:33 +02:00
PouleyKetchoupp
fe0adc4f77
Keep debug & verbose options after loading project from project manager
...
(cherry picked from commit b2d27214aa
)
2020-07-10 08:51:21 +02:00
Yuri Sizov
3f57cb12b4
Improve null check in FindReplaceBar
...
(cherry picked from commit e94b8a6acc
)
2020-07-08 09:01:57 +02:00
Yuri Sizov
bd90f236d3
Improve scene preview generation for empty scenes and disabled features
...
(cherry picked from commit 6c8a9b7690
)
2020-07-08 09:01:57 +02:00
bruvzg
e9ab41b71d
[macOS, 3.2] Implement seamless display scaling.
2020-07-07 22:54:33 +03:00
Yuri Sizov
2b4773f0cf
Expose methods to play scene from plugin code
...
(cherry picked from commit 49f6dc5004
)
2020-07-06 19:00:56 +02:00
Andrii Doroshenko (Xrayez)
41f99c8f53
Provide warning when using polygon shapes in `CollisionShape2D` node
...
`ConvexPolygonShape2D` and `ConcavePolygonShape2D` are only meant to be
used directly in code and not in the editor for physics-based use cases
specifically.
Developers are advised to use `CollisionPolygon2D` instead, which does
generate those shapes under the hood, handling polygon convexivity,
proper orientation etc.
(cherry picked from commit dc446203be
)
2020-07-06 14:16:28 +02:00
Maganty Rushyendra
68526da5f2
Fix undo/redo for bone painting in Polygon2D UV Editor
...
Fix to ensure that undo/redo works when painting bones in the Polygon2D
UV editor. Previously, bone painting would continue silently in the
background, because a mouse click signalling the end of an edit would
not be appropriately dealt with.
(cherry picked from commit 6e60aa3876
)
2020-07-06 14:13:58 +02:00
Riley Lyman
157e810b2e
Make Resource properties accept SE plugin scripts
...
(cherry picked from commit ab0fe13efb
)
2020-07-03 15:34:30 +02:00
Michael Alexsander
0924a3ac55
Fix timeline cursor not updating on zoom change in the Bezier editor
...
(cherry picked from commit eee9d053a3
)
2020-07-03 15:34:30 +02:00
Michael Alexsander
a9ef40b388
Remove oversized margins in the AnimationTree editor
...
(cherry picked from commit 4f00ac7003
)
2020-07-03 15:34:30 +02:00
Michael Alexsander
f2fe197398
Make timeline cursor in the Bezier editor just as thick as the Animation editor
...
(cherry picked from commit 20c1196bb0
)
2020-07-03 15:34:30 +02:00
Daniel Ting
35523a46c0
Make "Close and save changes?" actually save
...
This fixes issue #39844 , where the confirmation dialog when a user
attempts to close an unsaved script did not actually save it even after
clicking "Save."
(cherry picked from commit d2a5b92e9b
)
2020-07-03 13:17:57 +02:00
follower
9388237e2d
Revert "Adds fuzzy search for help search dialog"
...
This reverts commit 481dbceed0
.
Current fuzzy search implementation results in too many
non-useful results.
Could be re-added after result sort/filter/score functionality
is added. See #30072 for example existing implementation.
Fixes : #39128
Reverts: #32043
Fixed format style conflicts:
editor/editor_help_search.cpp
(cherry picked from commit 55d706c352
)
2020-07-03 13:17:57 +02:00
Stijn Hinlopen
cdb9b51ed1
Add Control to preferred types
...
(cherry picked from commit ec86d32684
)
Fix crash by calculating wrong size of array.
(cherry picked from commit 81b6000812
)
2020-07-03 13:17:57 +02:00
lordkettune
c68ef4d754
Fix issues with custom tracks on reimport
...
(cherry picked from commit 4313a7bdc8
)
2020-07-03 13:17:57 +02:00
Stijn Hinlopen
4c54f39dbe
Deleting multiple nodes displays correct message.
...
(cherry picked from commit 8b046ed477
)
2020-07-03 13:17:57 +02:00
Haoyu Qiu
38509f1a89
Prevent dragging from SceneTree buttons
...
(cherry picked from commit 45d0799b5b
)
2020-07-03 13:17:57 +02:00
PouleyKetchoupp
83e376e731
Format remote printerr properly in script debugger output
...
Fixes #33324
2020-07-02 17:43:37 +02:00
Maganty Rushyendra
6bd7fd0a00
Fix accidental duplication of Polygon2D start point
...
Ensures that closure of Polygon2D in the editor takes into account
Grid Snap if enabled. Does this by comparing the polygon start with
grid snap applied to mouse click location. Note: transformation is
applied in order to deal with different editor zoom levels.
(cherry picked from commit b8d55b244a
)
2020-06-29 10:59:04 +02:00
Tomasz Chabora
7bd101b5c5
Generate inspector preview for Image resources
...
(cherry picked from commit eb6a367cb7
)
2020-06-29 10:57:00 +02:00
Stijn Hinlopen
c029a03bc3
Remove directory search results
...
(cherry picked from commit c33707e9b4
)
2020-06-29 10:56:32 +02:00
Rémi Verschelde
636b1e4518
CanvasItemEditor: Fix losing position for drag'n'dropped scenes
...
Fixes #26549 .
Supersedes #36309 .
(cherry picked from commit a403131a25
)
2020-06-29 10:48:07 +02:00
Hugo Locurcio
8cc3d4bda6
Keep the bottom panel visible when enabling the distraction-free mode
...
- Document the `EditorInterface.distraction_free_mode` property.
This closes https://github.com/godotengine/godot-proposals/issues/951 .
(cherry picked from commit e6352d1daa
)
2020-06-29 10:46:05 +02:00
Andrii Doroshenko (Xrayez)
63523e56e1
Don't use arbitrary theme editor icons for scripts with the same name
...
The existing theme editor icon could be unintentionally set for any
global class with matching name (`Group` icon, `Group` class_name etc),
which would only show up in the "Create Dialog" context, but not the
scene tree dock.
This change prevents this behavior, and ensures that the icon can be
actually overidden by explicit icon path in `class_name`, if there's any
custom icon to begin with.
The correct built-in type's icon is fetched for child classes if there
are no custom icons detected throughout base classes as well, so it
isn't left empty for those cases.
(cherry picked from commit c177308f80
)
2020-06-26 08:10:24 +02:00
Rémi Verschelde
76fa1724b3
Merge pull request #39395 from asmaloney/fix-macos-scrollwheel-zoom
...
[3.2][macOS] Control key + scroll wheel should zoom not pan
2020-06-25 11:22:24 +02:00
Rémi Verschelde
a84f081160
i18n: Sync translations with Weblate
2020-06-25 10:42:19 +02:00
Andrii Doroshenko (Xrayez)
6dee6477dd
Optimize class icon loading
...
`get_global_class_name` for `GDScriptLanguage` is slow because
it forces to parse an entire script each time. This patch ensures
that the icon is actually fetched from the EditorData where they
are loaded beforehand.
This change also makes the behavior consistent with the existing
`get_object_icon` method in EditorNode.
(cherry picked from commit 4a86e2bb76
)
2020-06-24 22:52:05 +02:00
Bill
d4a1bc475a
Fix overlapping hotkey designations for save all scenes and save all scripts
...
(cherry picked from commit acdcda9033
)
2020-06-24 22:52:05 +02:00
Yuri Roubinsky
5be4e10f4e
Fix error label clicking in status bar for shader editor
...
(cherry picked from commit 25cb5a42e0
)
2020-06-24 22:52:05 +02:00
Maganty Rushyendra
0f30fa8fbd
Enable finer grained control when creating polygon with UV Editor
...
Modifies polygon auto-completion based on UV editor scale, in order
to enable finer grained control for the user. Enables selection of
points closer than the current threshold of 8 pixels.
(cherry picked from commit 69d0d89214
)
2020-06-24 22:52:05 +02:00
Hugo Locurcio
0867fc2c4c
Draw horizontal lines and labels in the editor performance monitors
...
This partially addresses
https://github.com/godotengine/godot-proposals/issues/1014 .
(cherry picked from commit a593786d09
)
2020-06-24 22:52:05 +02:00
Aaron Franke
44c3908c7b
Avoid errors when the editor camera is inside the focused object
...
Prevent the gizmo distance from being zero by MAX-ing it with CMP_EPSILON
(cherry picked from commit ed2bbdbbef
)
2020-06-22 12:04:52 +02:00
Rémi Verschelde
000db65d40
i18n: Sync translations with Weblate
2020-06-22 08:43:14 +02:00
Vorblen
4c638f98ab
Fix "Fully Axis-Locked" Freelook Navigation Scheme
...
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
(cherry picked from commit 29e901c342
)
2020-06-21 21:48:12 +02:00
Maganty Rushyendra
7e3d7417e3
Fix overwrite of manual changes in export_presets.cfg when export dialog is opened
...
Ensures that behavior when export_presets.cfg file is edited manually
while editor is running remains identical to before commit 44094b0
.
(cherry picked from commit 4a7c19e719
)
2020-06-21 21:41:39 +02:00
Hugo Locurcio
371f1e951e
Replace the AssetLib tab icon with a less confusing design
...
This closes https://github.com/godotengine/godot-proposals/issues/818 .
(cherry picked from commit ebabedc615
)
2020-06-21 21:40:39 +02:00
Hugo Locurcio
c5d70fc6a6
Scroll horizontally when holding Shift with Scroll to Pan enabled
...
This closes https://github.com/godotengine/godot-proposals/issues/1077 .
(cherry picked from commit 84e1c5e4c3
)
2020-06-21 21:40:10 +02:00
Sl3dge78
6e835a4820
Autofilled path gets set properly on animation subresources
...
(cherry picked from commit d731f43794
)
2020-06-21 21:39:23 +02:00
Dominik 'dreamsComeTrue' Jasiński
af43748dd5
Prevent having spaces in signal's method in Connect Dialog
...
Fixes : #39647
(cherry picked from commit 79f46da1a3
)
2020-06-21 21:38:17 +02:00
Sl3dge78
d99f6c4d5c
Fix #20467 . The "Anim imported" warning gets displayed properly when working on imported anims.
...
(cherry picked from commit 95cd74fc4b
)
2020-06-21 21:36:12 +02:00
Tomasz Chabora
8f3eec930b
Add unique icon to Polygon2D
...
(cherry picked from commit 225622e5e3
)
2020-06-21 21:33:23 +02:00
Maganty Rushyendra
ae59e22cdd
Fix editor texture preview for certain specific dimensions
...
Ensures no error is issued when attempting to preview a resource that
may be scaled down to <1 pixel when resizing to fit the thumbnail.
(cherry picked from commit c7a8dc7bb9
)
2020-06-18 12:00:05 +02:00
Bojidar Marinov
1c801dd044
Fix a random crash in the TileSet editor
...
Occurred when selecting polygon collision mode, then drawing a single point, then selecting rectangle mode, and finally trying to select a rectangle.
(cherry picked from commit 7850d0316f
)
2020-06-18 11:29:28 +02:00
Hugo Locurcio
d4dd80afe7
Restore previous mouse position when leaving the editor freelook mode
...
- Remove the crosshair as it no longer serves a purpose (the cursor will
now appear where the user "expects" it to).
This closes https://github.com/godotengine/godot-proposals/issues/1076 .
(cherry picked from commit 4a542e0007
)
2020-06-18 11:29:28 +02:00
Rémi Verschelde
bf913d6917
DocData: Skip language-specific ClassDoc without methods/constants
...
Removes the useless `@C#`, `@NativeScript` and `@VisualScript` entries.
(cherry picked from commit ba0db95909
)
2020-06-18 11:29:28 +02:00
Stijn Hinlopen
dc7f555783
Search result highlights follow font size
...
(cherry picked from commit a86521d0bd
)
2020-06-18 11:29:28 +02:00
Maganty Rushyendra
3b52ea4b43
Fix code editor Replace tool to work with 'Selection Only' option
...
Ensures that when the `Selection Only` option is selected, the Replace
tool replaces occurrences of the search phrase only within the selected
region, and in order of occurrence.
(cherry picked from commit 2be3a33cc3
)
2020-06-18 11:29:28 +02:00
Hugo Locurcio
5200ff03d2
Display freelook speed and zoom in units in the 3D editor viewport
...
Now that the 3D editor grid is infinite and adjusts its step automatically,
this helps people get a better sense of scale when moving around in the
3D viewport.
This also fixes the indicator bar drawing on hiDPI displays.
(cherry picked from commit eaae50fe4a
)
2020-06-18 11:29:28 +02:00
Tomasz Chabora
d46ab53b41
Allow duplicating files when holding Control
...
(cherry picked from commit b426d11d86
)
2020-06-18 11:29:27 +02:00
Tomasz Chabora
202ca3ce7f
Link exposed set/getters in property descriptions
...
(cherry picked from commit ea07acb877
)
2020-06-18 10:51:45 +02:00
Andy Maloney
f4640af9c1
[3.2][macOS] Control key + scroll wheel should zoom not pan
...
Fixes godotengine/godot#32520
2020-06-15 10:23:11 -04:00
Rémi Verschelde
35a5ebb44d
i18n: Sync translations with Weblate
...
Remove 'de_CH' translation (4% complete) to default to the 100%
complete 'de' one.
Fixes #32625 .
2020-06-15 14:34:35 +02:00
Maganty Rushyendra
ffb423bc76
Fix match count for whole word search in editor
...
Check if a match borders a new line char when incrementing match counts.
(cherry picked from commit 91bdc77d47
)
2020-06-15 14:34:35 +02:00
Tomasz Chabora
157c89aa2d
Delete bus effect with Delete key
...
(cherry picked from commit 05656f2b29
)
2020-06-15 14:34:35 +02:00
Maganty Rushyendra
be0eba0f75
Fix whole word search slowdown in editor
...
Reduce repeated iteration through the full text
when counting the number of occurrences of whole
words while searching a file in the editor.
(cherry picked from commit 2433287871
)
2020-06-15 14:34:35 +02:00
Tomasz Chabora
355868a5db
Fix custom types in node list search
...
(cherry picked from commit 22f0de8a83
)
2020-06-15 14:34:34 +02:00
Rémi Verschelde
ba47cdf815
Merge pull request #39501 from hilfazer/favourite-project-button
...
Fixed 'Favourite' button in Project Manager
2020-06-15 09:28:43 +02:00
hilfazer
14fcd20e86
Fixed "Favourite Project" button in Project Manager
2020-06-13 11:38:29 +02:00
Rémi Verschelde
6c9b7c27d5
Merge pull request #39428 from fire/gltf-lights
...
[3.2] Add GLTF light import
2020-06-11 22:40:47 +02:00
Rémi Verschelde
d68e631566
i18n: Sync translations with Weblate
2020-06-11 10:00:07 +02:00
Maganty Rushyendra
0efa59bfdc
Account for file deletion and renaming in Export Presets
...
Ensure that presets are updated with the latest files when
starting up or opening the Project Export dialog. Fixes the
error where Godot would attempt to export deleted files that
were previously selected.
(cherry picked from commit 44094b082d
)
2020-06-11 10:00:06 +02:00
SaviHex
fda49b74a1
Added a "title" attribute for the link tag in the docs xml
...
(cherry picked from commit 18c08f65d6
)
2020-06-11 09:44:14 +02:00
Aaron Franke
e3cf64a7d8
[3.2] Add GLTF light import
...
Co-authored-by: K.S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2020-06-10 23:51:34 -04:00
Rémi Verschelde
7bf9787921
SCons: Format buildsystem files with psf/black
...
Configured for a max line length of 120 characters.
psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:
- Manually wrapped strings will be reflowed, so by using a line length
of 120 for the sake of preserving readability for our long command
calls, it also means that some manually wrapped strings are back on
the same line and should be manually merged again.
- Code generators using string concatenation extensively look awful,
since black puts each operand on a single line. We need to refactor
these generators to use more pythonic string formatting, for which
many options are available (`%`, `format` or f-strings).
- CI checks and a pre-commit hook will be added to ensure that future
buildsystem changes are well-formatted.
(cherry picked from commit cd4e46ee65
)
2020-06-10 15:30:52 +02:00
Michael Alexsander
5495bbdd47
Fix scene tree showing up when the root selection is present
...
(cherry picked from commit f30e4dbf54
)
2020-06-10 15:30:52 +02:00
Phischermen
12786bcbdb
Fix crash when creating new text file with no name
...
(cherry picked from commit cdb29447b4
)
2020-06-10 15:30:52 +02:00
Hugo Locurcio
317c9b5fe9
Tweak the invalid preset error message to mention `export_presets.cfg`
...
(cherry picked from commit a7b2f3d41a
)
2020-06-10 15:30:52 +02:00
Rémi Verschelde
f3fcdfbdd0
PackedScene: Prevent crash when root node has `parent` attribute
...
The crash happens further down when setting an invalid owner in
`Node::_set_owner_nocheck` but I couldn't figure out how to fix it.
But here the proper fix is to catch the invalid scene file early on
and fail loading it.
Part of #17372 .
(cherry picked from commit c080ec5da2
)
2020-06-10 15:30:52 +02:00
Aaron Franke
0b6a410890
Change the default editor camera rotation to position it in +X +Y +Z
...
(cherry picked from commit 6c2df6792b
)
2020-06-10 15:30:52 +02:00
Hugo Locurcio
eb6c7ec09c
Add an editor tooltip to document gizmo visibility options
...
See discussion in
https://github.com/godotengine/godot-proposals/issues/716 .
(cherry picked from commit 138a4eecb3
)
2020-06-10 15:30:52 +02:00
PouleyKetchoupp
c63c902c74
Fix dialog spam when inspecting MeshInstance from model file
...
Avoid load_scene for built-in resources to make sure we don't
open a scene tab and prompt for model file editing.
Load scene as regular resource instead and store the reference to keep
the dependency until the remote inspector cache is cleared.
(cherry picked from commit 01802074a0
)
2020-06-10 15:30:51 +02:00
Hugo Locurcio
6e8b5aff66
Add visual feedback when hovering layer checkboxes in the Inspector
...
This also changes how checkboxes are selected, which makes it possible
to click in the small area between two checkboxes and
still toggle a value successfully (which is arguably less frustrating).
(cherry picked from commit bbc435624f
)
2020-06-10 15:30:51 +02:00
Rémi Verschelde
e891fae52b
Merge pull request #39134 from abustin/fbx_mesh_compression_fix
...
Respect 'mesh compression' editor import option in Assimp and glTF importers
2020-06-08 13:16:39 +02:00
Marcus Brummer
f8463df11a
Re-apply basis of newly added node (via drag-n-drop) in editor viewport
2020-06-07 19:34:17 +02:00
Tomasz Chabora
24872bffce
Make sure built-in script warning fits in dialog
2020-06-05 14:40:08 +02:00
Marcus Brummer
6ef0de3f23
Enable text selection in execute output of EditorNode
...
(cherry picked from commit 85175c67b8
)
2020-06-05 12:46:16 +02:00
johan
48a4f7e3a7
2D Editor: modified zoom increment to the twelveth root of two
...
- properly visit power of 2 factors (50%, 100%, 200%...)
- index based zoom values to prevent floating point issues
- Fix 2d editor not able to reach min and max zoom values
(cherry picked from commit fea6ca20c9
)
2020-06-05 12:44:45 +02:00
Michael Alexsander
2ba67d94e8
Add fallback icons and make custom ones appear in the recent/favorites list in the "Create New" dialog
...
(cherry picked from commit 84d7492b2d
)
2020-06-04 12:16:40 +02:00
Hugo Locurcio
b0fe8cab14
Tweak the import compression property hint for clarity
...
(cherry picked from commit 1439447071
)
2020-06-04 12:16:39 +02:00
Pedro J. Estébanez
b2a64b144f
Fix excessive bottom cropping in atlas generation
...
(cherry picked from commit fb7ae73045
)
2020-06-04 12:16:39 +02:00
Aaron Franke
7021991cd9
Change OK text in snap dialog to OK
...
(cherry picked from commit 8f85858224
)
2020-06-04 12:16:39 +02:00
Eric M
f911ebc328
Improved warning shown when autoload cannot be added.
...
(cherry picked from commit 58caa2c453
)
2020-06-04 12:16:39 +02:00
Hugo Locurcio
9e01a0cd28
Add a getter and property for the editor distraction-free mode
...
(cherry picked from commit cc1859efed
)
2020-06-04 12:16:39 +02:00
Andrii Doroshenko (Xrayez)
3649c61e46
Prevent crash attaching a script with no languages registered
...
(cherry picked from commit 52f3cfca6f
)
2020-06-04 12:09:40 +02:00
Hugo Locurcio
6ea9ca14f0
Allow mouse zooming without hovering the texture in the TileSet editor
...
This partially addresses
https://github.com/godotengine/godot-proposals/issues/968 .
(cherry picked from commit d10a5b2928
)
2020-06-04 12:09:40 +02:00
Hugo Locurcio
6bbfed6400
Implement zooming using Ctrl + Mouse wheel in the TileMap editor
...
This was previously implemented in the GridMap editor. This makes
the same feature available in the TileMap editor.
(cherry picked from commit def2059d67
)
2020-06-04 12:09:40 +02:00
Dominik 'dreamsComeTrue' Jasiński
fdf64b1898
Preserving "Sync Scene Changes' and "Sync Script Changes" with Project Settings
...
Fixes : #38739
(cherry picked from commit 72501ae104
)
2020-06-04 12:09:40 +02:00
Dominik 'dreamsComeTrue' Jasiński
982ab51f2f
Grabbing focus on ProjectList after clicking an item.
...
Fixes : #39012
(cherry picked from commit 1ec8f59397
)
2020-06-04 12:09:40 +02:00
Rémi Verschelde
fa0cf25e19
Add shortcut for Pan Mode (G)
...
And change TileMap Bucket Fill shortcut to (B).
Fixes #8582 .
(cherry picked from commit 28b33718b0
)
2020-06-04 12:09:39 +02:00
Hugo Locurcio
e226947e21
Improve the text appearance in the script editor warnings panel
...
- Make the Ignore button's position identical across all warnings
by moving it to the left.
- Change the Ignore button's text and color to make it more obvious
that it can be clicked.
- Use the editor font instead of the default project font to match
the rest of the editor.
(cherry picked from commit 0c0ee427d2
)
2020-06-04 12:09:38 +02:00
Alex Bustin
8a024ca294
Respect 'mesh compression' editor import option in Assimp (ie. FBX) and glTF importers
2020-05-28 15:28:47 -07:00
Rémi Verschelde
7c332d9386
Merge pull request #39040 from Xrayez/modules-search-path-3.2
...
[3.2] Add `custom_modules` build option to compile external user modules
2020-05-25 17:02:27 +02:00
Tomasz Chabora
800dceee52
Reverse mouse wheel in animation track editor
...
(cherry picked from commit f4c6bb568e
)
2020-05-25 16:38:02 +02:00
Dominik 'dreamsComeTrue' Jasiński
cf311f3e79
Fix moving 2D node with mouse after using arrow keys
...
Fixes : #38894
(cherry picked from commit 03b54f8a35
)
2020-05-25 16:33:58 +02:00
Paul Joannon
66e00a2670
check the params section exist before erasing it in import_dock
...
related #38864
(cherry picked from commit b7a6946790
)
2020-05-25 16:32:05 +02:00
Andrii Doroshenko (Xrayez)
133997654c
Add `custom_modules` build option to compile external user modules
...
This patch adds ability to include external, user-defined C++ modules
to be compiled as part of Godot via `custom_modules` build option
which can be passed to `scons`.
```
scons platform=x11 tools=yes custom_modules="../project/modules"
```
Features:
- detects all available modules under `custom_modules` directory the
same way as it does for built-in modules (not recursive);
- works with both relative and absolute paths on the filesystem;
- multiple search paths can be specified as a comma-separated list.
Module custom documentation and editor icons collection and generation
process is adapted to work with absolute paths needed by such modules.
Also fixed doctool bug mixing absolute and relative paths respectively.
Implementation details:
- `env.module_list` is a dictionary now, which holds both module name as
key and either a relative or absolute path to a module as a value.
- `methods.detect_modules` is run twice: once for built-in modules, and
second for external modules, all combined later.
- `methods.detect_modules` was not doing what it says on the tin. It is
split into `detect_modules` which collects a list of available modules
and `write_modules` which generates `register_types` sources for each.
- whether a module is built-in or external is distinguished by relative
or absolute paths respectively. `custom_modules` scons converter
ensures that the path is absolute even if relative path is supplied,
including expanding user paths and symbolic links.
- treats the parent directory as if it was Godot's base directory, so
that there's no need to change include paths in cases where custom
modules are included as dependencies in other modules.
(cherry picked from commit a96f0e98d7
)
2020-05-25 17:08:38 +03:00
Michael Alexsander
3d8cc49ec5
Keep "lock" metadata when changing a Node's type, if applicable
...
(cherry picked from commit d015e4d6fc
)
2020-05-20 11:43:49 +02:00
Eduardo Nunes Pereira
05cd3ff8ba
Using command + comma on macOS as default shortcut for editor settings
...
(cherry picked from commit 75f77f751e
)
2020-05-18 16:40:33 +02:00
Fredia Huya-Kouadio
a71a338c59
Implementation of the Godot Android Plugin configuration file
2020-05-16 23:09:45 -07:00
Dominik 'dreamsComeTrue' Jasiński
51a1a27457
Hide editor_spin_slider grabber when closing Editor's windows
...
Fixes : #38740
(cherry picked from commit 095167dcc3
)
2020-05-16 00:08:37 +02:00
Rémi Verschelde
0556a48bf9
Merge pull request #38752 from Calinou/rename-error-warning-icon
...
Rename the ErrorWarning icon file to match the 3.2 naming scheme
2020-05-15 18:03:05 +02:00
Hugo Locurcio
fa279d02f7
Rename the ErrorWarning icon file to match the 3.2 naming scheme
2020-05-15 14:16:46 +02:00
Hugo Locurcio
e22cff8ccf
Update the editor icons README to remove outdated information
...
This closes #38684 .
(cherry picked from commit c6afb9f6ea
)
2020-05-13 16:12:22 +02:00
Hugo Locurcio
6692681618
Tweak the error message displayd when a post-import script fails
...
See #38662 .
(cherry picked from commit 0d7b627936
)
2020-05-13 16:12:03 +02:00
Hugo Locurcio
0b6bcf90f5
Rename the editor action "Revert Scene" to "Reload Saved Scene"
...
This option can be used to workaround various issues with stuff
not reloading properly when changes are made.
The option was renamed to clarify the fact that it actually
reloads the scene saved on the filesystem.
(cherry picked from commit 2962819d1c
)
2020-05-13 16:09:38 +02:00
nathanwfranke
814f72c524
Fix rename dialog size in 3.2
2020-05-12 18:34:00 -05:00
Hugo Locurcio
c1cf8a5068
Tweak the editor log selection color to match the current editor theme
...
This overrides the default blue color.
(cherry picked from commit 411af2c750
)
2020-05-11 11:39:35 +02:00
Hugo Locurcio
b1455c68eb
Rename the Clear Script editor action to Detach Script
...
This makes it more obvious that the script won't be modified
in any way.
See comments in #27813 .
(cherry picked from commit 7fc0e38e92
)
2020-05-11 11:38:22 +02:00
Hugo Locurcio
d7f1a43d1a
Use a different icon for the debugger tab with both warnings and errors
...
This makes it possible to see if both errors and warnings were
pushed without having to open the tab.
(cherry picked from commit 564f8ccc13
)
2020-05-11 11:35:07 +02:00
JFonS
9828c6bc86
Keep mouse inside 3D viewport rotation widget
...
Hide and keep the mouse in place when the user oribts the scene via the 3D
rotation widget.
(cherry picked from commit 051f02a3a0
)
2020-05-11 11:01:13 +02:00
Thakee Nathees
7d931bad58
rotation gizmo visible = false; when camera preview
...
(cherry picked from commit 60d67f13da
)
2020-05-11 11:01:13 +02:00
janglee
d16abbdee4
Improved go-to definition (Ctrl + Click)
...
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
(cherry picked from commit be7a353c70
)
2020-05-11 09:33:21 +05:30
Eric M
b7fbdf4bed
Updated editor spin slider to have better behaviour and adjusted control's size_flags_stretch_ratio value range
...
(cherry picked from commit 915ab50673
)
2020-05-06 23:30:28 +02:00
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
mashumafi
6211285fbd
Use texture Path instead of RID to prevent name conflicts.
2020-05-01 10:41:28 -04: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
Avril
f07498a193
preserve scripts panel visibility state between sessions in project metadata
...
hiding script's panel, helps some users to conserve more space for code text.
this fix remembers script's panel visibility state in project's metadata and restore it on editor start.
Thanks to this, users who never use it and are forced to close it each time editor starts, may close it just once and it will stay like this on next sessions until manually opened again.
2020-04-30 10:08:06 +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
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
Yuri Roubinsky
84a0ad36b6
Sort custom vshader nodes+prevents them from divide to different folders
2019-11-02 12:04:48 +03:00
MCrafterzz
3a8a7fc31c
Added snapping for scaling in 2D editor
2019-11-02 09:43:15 +01:00
PouleyKetchoupp
f6f60e22f5
Fixed error when renaming a state in AnimationNodeStateMachine
...
Fixes #33245
2019-11-01 21:14:58 +01:00
Rémi Verschelde
b4737877f1
Merge pull request #33204 from akien-mga/prevent-crash-permission-issue
...
Prevent crash when we can't write to editor cache or config path
2019-11-01 14:09:42 +01:00
Rémi Verschelde
1e8758418e
Merge pull request #33216 from nekomatata/help-editor-codeblock
...
Code sections improvements in editor help
2019-11-01 14:03:26 +01:00
Rémi Verschelde
c12797fb31
Merge pull request #33232 from kraghot/Fix-Batch-Rename
...
Fix Batch Rename not opening
2019-11-01 14:00:40 +01:00
Edi Cikovic
d14d57120d
Fix Batch Rename not opening
2019-11-01 13:03:57 +01:00
Michael Alexsander
36c4fd8935
Make the editor dimming smarter
2019-10-31 16:58:53 -03:00
PouleyKetchoupp
74271712a8
Code sections improvements in editor help
...
- Removed extra new lines around code blocks
- Different color for code and code blocks to make them more visible
2019-10-31 18:47:12 +01:00
Rémi Verschelde
565f7183aa
Prevent crash when we can't write to editor cache or config path
...
This can happen if users somehow got wrong user permissions assigned to
their Godot cache, config or data paths (e.g. `~/.config/godot`).
The error messages should give them a hint as to what the issue may be.
Fixes #33199 .
There may be other situations that still lead to a crash, we need to
review all uses of `FileAccess::open` with `FileAccess::WRITE` mode to
ensure that proper pointer validation is done.
2019-10-31 15:16:02 +01:00
Aaron Franke
8754e21f48
Fix "seperate" typos
2019-10-31 08:52:26 -04:00
Rémi Verschelde
aa96481c8f
Merge pull request #33196 from conankzhang/fix-theme-typo
...
Fix a constant name typo for GridContainer when creating an editor theme.
2019-10-31 09:51:16 +01:00
conankzhang
3854389156
Fix a constant name typo for GridContainer when creating an editor theme.
2019-10-31 01:01:54 -07:00
Hugo Locurcio
27ad8609e2
Improve the primary line setting display in the Configure Snap dialog
...
This merges the "steps" suffix into the SpinBox using its `suffix`
property.
2019-10-30 22:19:30 +01:00
Rémi Verschelde
9e1be8f8aa
Merge pull request #32934 from ajweeks/fix-scale-origin
...
Fix 2D scale gizmo placement
2019-10-30 12:04:10 +01:00
Rémi Verschelde
af61fe8b77
Merge pull request #32928 from Calinou/2d-editor-add-primary-grid
...
Add primary grid lines to the 2D editor
2019-10-30 11:29:32 +01:00
volzhs
bee6b94b77
Add "Set as main scene" on context menu in FileSystem panel
2019-10-30 03:31:33 +09:00
Hugo Locurcio
c7e5dd9ef0
Add primary grid lines to the 2D editor
...
A "primary" line is drawn every 8 steps by default,
which makes it easier to measure distances for snapping.
This value can be configured in the Configure Snap dialog.
2019-10-29 15:47:38 +01:00
Rémi Verschelde
b8daad9779
i18n: Sync translation template with current source
2019-10-29 13:57:45 +01:00
Rémi Verschelde
270bdafaeb
i18n: Sync translations with Weblate
2019-10-29 13:50:36 +01:00
Rémi Verschelde
948a2a03d2
Merge pull request #33091 from MCrafterzz/fix10567
...
Improved project creation UX
2019-10-29 13:27:41 +01:00
Rémi Verschelde
18c46bb8e5
Merge pull request #33144 from nekomatata/inspect-remote-tool-script-2
...
Fixed remote inspector for tool scripts
2019-10-29 12:01:40 +01:00
MCrafterzz
336e61b36a
Improved UX of selecting directories in (Editor)FileDialog by hiding unused gui elements and moving the drive selection
2019-10-29 11:36:09 +01:00
Mikolaj Kaczmarek
a245bab78d
Fixed disconnecting not connected signal
2019-10-29 00:53:48 +01:00
PouleyKetchoupp
3a26a0eaa7
Fixed remote inspector for tool scripts
...
Fixes #29506
2019-10-28 18:32:00 +01:00
Michael Alexsander
d92123ed97
Add "panel" style to PopupDialog
2019-10-27 19:45:03 -03:00
Rémi Verschelde
816341af25
Merge pull request #33107 from volzhs/toggle-camera-preview-error
...
Fix error when opening or closing scene with camera preview on
2019-10-27 13:59:04 +01:00
volzhs
4b53a86ce3
Fix error when opening or closing scene with camera preview on
2019-10-27 21:04:29 +09:00
Paulb23
2e2a049d3c
Improve performance of connection info in the script editor
2019-10-27 11:07:19 +00:00
Rémi Verschelde
9e572b5bac
Merge pull request #33032 from Calinou/filedialog-scroll-to-top
...
Scroll back to the top after opening a directory in FileDialog
2019-10-27 10:06:34 +01:00
MCrafterzz
cdce135540
Fixed #21527 (Show hint to right click when curve editor is empty)
2019-10-26 14:15:45 +02:00
Rémi Verschelde
a8e007f055
Merge pull request #33078 from Calinou/assetlib-no-results-message
...
Display a message if no results are found in the asset library
2019-10-26 09:12:29 +02:00
Rémi Verschelde
8cef880c39
Merge pull request #33076 from Calinou/project-settings-fix-type-dropdown
...
Fix off-by-one error in the Project Settings type dropdown
2019-10-26 08:58:20 +02:00
Hugo Locurcio
41c89880f8
Display a message if no results are found in the asset library
...
This closes https://github.com/godotengine/godot-proposals/issues/184 .
2019-10-26 01:07:02 +02:00
Hugo Locurcio
929d8dd20c
Fix off-by-one error in the Project Settings type dropdown
...
This closes #33075 .
2019-10-25 23:58:21 +02:00
Rémi Verschelde
14e2348a60
Merge pull request #32812 from Calinou/template-manager-fix-devel-condition
...
Fix the download availability check in the export templates manager
2019-10-25 23:23:52 +02:00
Rémi Verschelde
5c04228a9b
Merge pull request #32824 from lupoDharkael/replace-next
...
Code editor: select next occurrence after Replace
2019-10-25 23:23:21 +02:00
Rémi Verschelde
46441d585b
Merge pull request #32835 from RobKohr/default-convert_indent_on_save-to-true
...
set convert_indent_on_save to default to true
2019-10-25 23:20:39 +02:00
Rémi Verschelde
8b1d9a00dc
Merge pull request #32847 from Calinou/fix-editor-path-icon-theme-change
...
Fix the editor path icon when switching from dark to light theme
2019-10-25 23:19:38 +02:00
Rémi Verschelde
c96ee7605c
Merge pull request #32946 from DavidSichma/fav-drag
...
Made favorites dragable
2019-10-25 22:03:22 +02:00
Rémi Verschelde
f259beb4f1
Merge pull request #33048 from KoBeWi/smarts_vs_grids
...
Make Ruler Tool depend on grid snap only
2019-10-25 12:06:03 +02:00
Rémi Verschelde
1c4b2a80b6
Merge pull request #33043 from volzhs/ruler-zoom
...
Fix ruler origin is moving with zoom
2019-10-25 07:48:37 +02:00
Rémi Verschelde
325232fbc4
Merge pull request #33051 from volzhs/inspector-stylebox
...
Make stylebox preview not to expand Inspector panel
2019-10-25 07:39:14 +02:00
Rémi Verschelde
7a0a39cd52
Merge pull request #33041 from volzhs/help-font-size
...
Recalculate margin based on help source font size
2019-10-25 07:13:58 +02:00
volzhs
f8e592f607
Make stylebox preview not to expand Inspector panel
2019-10-25 06:20:52 +09:00
Tomasz Chabora
50528b966d
Make Ruler Tool depend on grid snap only
2019-10-24 22:31:19 +02:00
volzhs
4beeb0fc0f
Fix ruler origin is moving with zoom
2019-10-25 05:19:13 +09:00
volzhs
69c5d637f2
Recalculate margin based on help source font size
2019-10-25 03:28:53 +09:00
Rémi Verschelde
40a25c1e86
Merge pull request #33029 from akien-mga/rm-rf-slash
...
Fix uninstallation of mono templates directory
2019-10-24 16:50:54 +02:00
Hugo Locurcio
c3b9319d78
Scroll back to the top after opening a directory in FileDialog
...
This also changes the behavior in EditorFileDialog.
This closes #26041 .
2019-10-24 15:40:47 +02:00
volzhs
f8a81e21db
Fix incorrect text rendering with smaller display scale
2019-10-24 22:29:41 +09:00
Rémi Verschelde
47746e10cb
Fix uninstallation of mono templates directory
...
The previous code didn't take into account that templates directories
can have subdirectories like the mono templates have.
Also fix an unclosed dir handle.
2019-10-24 13:54:06 +02:00
bruvzg
2f3db42de8
Update dock menu on project list changes, add favourites separator.
2019-10-24 13:25:21 +03:00
Rémi Verschelde
35944aebde
Merge pull request #33019 from volzhs/class_icon
...
Resize custom class icon
2019-10-23 21:48:40 +02:00
volzhs
9131f70d8a
Resize custom class icon
2019-10-24 03:55:56 +09:00
PouleyKetchoupp
94a50839fe
Fixed variables with built-in resource in remote inspector
...
Now loading the base resource first in ScriptEditorDebugger, the same way it's done in ScriptEditorPlugin.
Fixes #33013
2019-10-23 17:53:29 +02:00
Rémi Verschelde
2d6cf9cc56
Merge pull request #33009 from ebert83/fix_editor_save_layout
...
Fix layout saving error
2019-10-23 15:31:48 +02:00
Thomas Ebert Hansen
d62ab4ab10
Fix layout saving error
...
As a result of commit b49226e085
FileAccess::open no longer returns ERR_CANT_OPEN if the file cannot be found/opened.
Instead check against ERR_FILE_NOT_FOUND or ERR_FILE_CANT_OPEN.
2019-10-23 15:02:51 +02:00
Fabio Alessandrelli
53637e4b1c
Improve EditorExportPlatform interface.
...
Convert all get_device* methods to get_option* and normalize their usage
as icon, label, tooltip.
2019-10-23 10:59:03 +02:00
Fabio Alessandrelli
2ae3631318
Fix EditorNode.get_editor_theme
...
EditorNode was not correctly setting the class memeber when creating the
theme, using a local variable instead.
Theme is now created before registering exporters (as they might need it).
2019-10-23 10:59:03 +02:00
Rémi Verschelde
19fa163d9a
Merge pull request #32992 from KoBeWi/AUTOVECTORZ
...
Auto-increment frame_coords when keying
2019-10-23 07:42:52 +02:00
Rémi Verschelde
f022e4748c
Merge pull request #32954 from argentite/new-extend-script
...
Add separate menu entries for extending and replacing scripts
2019-10-23 07:33:50 +02:00
Erik
8b0546d93b
Implement game camera override
...
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
2019-10-23 02:51:32 +01:00
Hugo Locurcio
66bfa92e84
Add a tooltip to Color properties in the editor inspector
...
This makes it possible to view a color's raw R/G/B/A values
without clicking the ColorPickerButton.
2019-10-22 23:22:20 +02:00
Rémi Verschelde
72dfa67dd3
Merge pull request #32924 from ajweeks/add-ruler-arcs
...
Draw arcs to indicate angles being measured by ruler
2019-10-22 22:44:50 +02:00
Rémi Verschelde
7862e3c4de
Merge pull request #32976 from DavidSichma/type_eval
...
Fixed evaluation for types
2019-10-22 22:41:33 +02:00
Anubhab Ghosh
4972ef801a
Add clear menu entries for extending and replacing scripts
2019-10-23 01:57:17 +05:30
Tomasz Chabora
6c0ef9f729
Auto-increment frame_coords when keying
2019-10-22 20:12:55 +02:00
Rémi Verschelde
d5fd3b6554
Merge pull request #32973 from KoBeWi/sprite_gps
...
Show preview of frame_coords in AnimationPlayer
2019-10-22 19:44:41 +02:00
AJ Weeks
fb7a4ce63e
Fix canvas scale gizmo placement
2019-10-22 18:17:54 +01:00
Rémi Verschelde
b6dea9469c
Merge pull request #32985 from Chaosus/fix_bug
...
Prevents segfault on _class_desc_resized at exit
2019-10-22 18:42:46 +02:00
Yuri Roubinsky
d7d72aeeec
Prevents segfault on _class_desc_resized at exit
2019-10-22 16:01:11 +03:00
Rémi Verschelde
549aea7284
Merge pull request #32944 from Klowner/gdscript-editorspinslider
...
expose EditorSpinSlider to GDScript
2019-10-22 14:31:24 +02:00
Rémi Verschelde
d54f76c132
Merge pull request #32838 from Calinou/add-x509certificate-cryptokey-icons
...
Add editor icons for X509Certificate and CryptoKey
2019-10-22 12:39:40 +02:00
Rémi Verschelde
1e0fb0dc14
Merge pull request #32833 from nekomatata/label-autowrap-fix
...
Allow Label autowrap to cut words when they exceed line width
2019-10-22 12:29:49 +02:00
Rémi Verschelde
a2871cc06b
Merge pull request #32846 from Chaosus/fix_doc_color
...
Fix incorrect coloring of in-editor documentation when theme changed
2019-10-22 12:00:00 +02:00
David Sichma
94fb3f666c
Fixed evaluation for types
2019-10-22 09:42:46 +02:00
Tomasz Chabora
4b9860ea94
Show preview of frame_coords in AnimationPlayer
2019-10-22 02:46:50 +02:00
Rémi Verschelde
affb7fa423
Merge pull request #32958 from YeldhamDev/inspector_resource_object_icon
...
Make the the resource menu button fallback to the Object icon instead of Node
2019-10-21 22:25:52 +02:00
Rémi Verschelde
53945fe75e
Merge pull request #32960 from YeldhamDev/anim_track_copy_enhancements
...
Enhancements and fixes for the animation editor's copy track dialog
2019-10-21 22:25:01 +02:00
Michael Alexsander
1594f22b4e
Enhancements and fixes for the animation editor's copy track dialog
2019-10-21 12:40:23 -03:00
Rémi Verschelde
9e631a40c6
Merge pull request #32956 from volzhs/invalid-bold
...
Fix validating editor bold font
2019-10-21 17:15:40 +02:00
Michael Alexsander
a0866716ed
Make the the resource menu button fallback to the Object icon instead of Node
2019-10-21 11:26:58 -03:00
volzhs
aa5e34d018
Fix validating editor bold font
2019-10-21 22:44:03 +09:00
Rémi Verschelde
d33af87b61
Merge pull request #32849 from jahd2602/fix-26362
...
Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
2019-10-21 15:36:26 +02:00
Rémi Verschelde
ee3b28e9af
Merge pull request #32841 from Calinou/freelook-add-slow-modifier
...
Add a "slow" modifier to freelook
2019-10-21 15:25:58 +02:00
Rémi Verschelde
8fc423034b
Merge pull request #32836 from YeldhamDev/resource_editor_icon_fallback
...
Make resource editor fallback to Object icon if none is found
2019-10-21 15:24:04 +02:00
David Sichma
f1265541ee
Favorites dragable
2019-10-20 19:39:21 +02:00
Mark Riedesel
6a85614d86
expose EditorSpinSlider to GDScript
2019-10-20 11:54:35 -04:00
AJ Weeks
59d2c71227
Add arcs to indicate angle being measured by ruler
2019-10-19 19:45:56 +01:00
Hugo Locurcio
fd244d0328
Add editor icons for X509Certificate and CryptoKey
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2019-10-16 22:16:14 +02:00
Tomasz Chabora
6f7ba78c53
Don't allow to export pck without preset
2019-10-16 11:58:49 +02:00
PouleyKetchoupp
8df330bacd
Allow Label autowrap to cut words when they exceed line width
...
Fixes #30832
2019-10-16 09:57:44 +02:00
Jairo Honorio
7db29919f2
Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
2019-10-15 05:49:42 -03:00
Hugo Locurcio
91825ec1d4
Fix the editor path icon when switching from dark to light theme
2019-10-15 09:07:44 +02:00
Yuri Roubinsky
c1bd94c2a4
Fix incorrect coloring of in-editor documentation when theme changed
2019-10-15 09:54:28 +03:00
Hugo Locurcio
af89a87075
Add a "slow" modifier to freelook
...
This makes precise adjustments easier, without having to
touch the mouse wheel. This modifier is also available in
Blender, so this makes the freelook behavior more consistent
with it :)
In the interest of simplifying the Editor Settings, this also
removes the freelook modifier speed factor setting
(the value is now hardcoded to its default).
2019-10-14 22:50:02 +02:00
Michael Alexsander
22b9510558
Make resource editor fallback to Object icon if none is found
2019-10-14 16:36:00 -03:00
RobKohr
1c08d98ec8
set convert_indent_on_save to true
...
https://github.com/godotengine/godot/issues/30324
2019-10-14 15:35:17 -04:00
lupoDharkael
6f32fc68e4
Code editor: select next occurrence after Replace
2019-10-14 13:59:26 +02:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Hugo Locurcio
d96388e6f6
Fix the download availability check in the export templates manager
...
This closes #17746 .
2019-10-13 23:40:19 +02:00
David Sichma
f7d9f070e1
Increased step precision
...
Results in nicer numbers for float properties like 20.0 instead of
20.000001
2019-10-13 00:29:53 +02:00
Hugo Locurcio
859478251f
Fix the dependency error dialog being too small on hiDPI displays
...
This closes #32770 .
2019-10-12 15:54:16 +02:00
Rémi Verschelde
062650860a
Merge pull request #32731 from codecustard/fix_concaveshape_not_selecting
...
Fixes concaveshape not selecting in viewport
2019-10-11 14:55:47 +02:00
Emmanuel Barroga
29690f6aec
Fixes concaveshape not selecting in viewport
...
This PR resolves the issue of ConcaveShapes not being selectable in the Viewport.
2019-10-11 03:42:36 -07:00
Rémi Verschelde
30c3c33029
Merge pull request #32721 from groud/independant_grid_snap
...
Move grid snapping to an independent button
2019-10-11 08:35:01 +02:00
Rémi Verschelde
16dc6032dc
Merge pull request #32737 from volzhs/unused-outputstrings
...
Remove unused editor/OutputStrings
2019-10-11 08:21:21 +02:00
Rémi Verschelde
4067028894
Merge pull request #32729 from Calinou/inspector-remove-string-conversion
...
Remove redundant `camelcase_to_underscore()` call in EditorInspector
2019-10-11 07:21:57 +02:00
volzhs
52b21435e2
Remove unused editor/OutputStrings
2019-10-11 14:13:20 +09:00
Hugo Locurcio
8c79b4f5e9
Remove redundant `camelcase_to_underscore()` call in EditorInspector
...
Calling `String::capitalize()` already calls
`String::camelcase_to_underscore()` under the hood.
2019-10-10 22:57:46 +02:00
PouleyKetchoupp
30f2100d59
Fixed ScriptEditor autosave timer causing errors on start
...
Fixes #32685
2019-10-10 22:20:15 +02:00
Gilles Roudière
fff953ac8b
Move grid snapping to an independent button
2019-10-10 21:10:08 +02:00
Yuri Roubinsky
b76ae23392
Prevents folding of member tree on drag&drop in visual shader
2019-10-10 14:19:48 +03:00
Marqus
c84e73bf92
Add shortcut Shift + F3 to search pervious in the built-in docs
...
When using the built-in docs, Godot would not support the shortcut "Shift + F3"
to search for the previous occurrence of the search entry text, thus causing an
inconsistent behaviour when using shortcuts in the "ScriptEditor" compared to
using them in the "ScriptTextEditor".
The previous parameter of the function "EditorHelp::_search()" in the class
"editor_help" seems to be unused, thus replaced with a bool representing to
search for previous search entry text or not. By adding the shortcut to
Godot's "ScriptEditor", this commit now improves Godot's consistensy when
using shortcuts.
Fixes #31147 .
Co-Authored-By: Oscar Ferm <oscfer-6@student.ltu.se>
2019-10-10 11:01:04 +02:00
Marcel Admiraal
a8836ba28d
Remove dependency on the editor directory being in the build's include path.
...
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Rémi Verschelde
564a258831
Merge pull request #32672 from codecustard/fix_merge_scene_not_deselecting
...
Fixes deselection not working when merging scene
2019-10-09 08:42:16 +02:00
Emmanuel Barroga
b5ff31a433
Fixes deselection not working when merging scene
...
Fixes the issue of multiselection retaining its selection when deselecting in the merge scene dialog
2019-10-08 22:42:47 -07:00
Pedro Ciambra
afdfe651a1
Remove Show Ruler shortcut (fixes #32639 )
...
Removed default shortcut because of the conflict mentioned in the issue.
Command + Shift + T would conflict with Soft Reload Script,
and this shortcut doesn't seem to be needed very often.
2019-10-08 18:26:21 -03:00
Rémi Verschelde
e1243f75b2
Merge pull request #32444 from lupoDharkael/center-template
...
Project Manager: Update template dialog position after window resize
2019-10-08 17:04:46 +02:00
Rémi Verschelde
abd81dcb73
Merge pull request #32556 from bruvzg/win_codesign
...
Code signing support for Windows exports
2019-10-08 16:17:24 +02:00
Rémi Verschelde
e2f1b30565
Merge pull request #32618 from nekomatata/sprite-to-polygon
...
Sprite to polygon conversion improvements
2019-10-08 16:13:38 +02:00
Rémi Verschelde
ed1cefd352
Merge pull request #32624 from Calinou/project-settings-allow-all-types
...
Allow all Variant types to be added as project settings
2019-10-08 16:05:29 +02:00
Gilles Roudière
0e834b3924
Increase grid size limit
2019-10-07 22:59:51 +02:00
Hugo Locurcio
753eff2f68
Allow all Variant types to be added as project settings
2019-10-07 17:17:13 +02:00
PouleyKetchoupp
1e301479da
Sprite to polygon conversion improvements
...
- No reduced Rect in march square algorithm, it was causing inconsistent cases near the borders and made the outline less accurate
- Ignore invalid generated polygons (under 3 points) to avoid unnecessary errors and crashes
- Error popup only when no polygon could be generated at all
- Added option to shrink pixels (to get rid of small separate islands)
- Fixed polygon preview (lines were sometimes not showing along the borders)
Fixes #32564 , #29267
2019-10-07 13:19:30 +02:00
Rémi Verschelde
dcf46d311a
Merge pull request #32523 from hbina/hbina_fix_method_ordering
...
Applied the same kind of ordering to methods description
2019-10-07 08:34:10 +02:00
Rémi Verschelde
c825f76dec
Merge pull request #32567 from Calinou/increase-about-dialog-size
...
Increase the size of the About dialog
2019-10-07 08:26:57 +02:00
Rémi Verschelde
74c7866bba
Merge pull request #32594 from Calinou/project-editor-settings-search-shortcut
...
Focus the search box when pressing Ctrl+F in Project/Editor Settings
2019-10-07 08:26:27 +02:00
Rémi Verschelde
0d26a425da
Merge pull request #32589 from OsamaElHariri/add_angle_to_ruler
...
Add angle to ruler tool
2019-10-07 07:22:30 +02:00
Joe Morton
c017f3405e
Set tooltip to an empty string when clearing
...
Format
Remove string conversion
2019-10-06 17:29:11 +01:00
Hugo Locurcio
724b9bc0ce
Focus the search box when pressing Ctrl+F in Project/Editor Settings
2019-10-06 17:56:34 +02:00
Osama El Hariri
90ea3787ec
Add angle to ruler tool
2019-10-06 18:04:49 +03:00
Hugo Locurcio
0550c41ab6
Increase the size of the About dialog
...
This makes third-party license texts display without any soft
wrapping.
The About dialog still fits in the editor when using the smallest
window size permitted (1024x600).
2019-10-05 17:18:25 +02:00
Hugo Locurcio
1739ef5fd7
Document the ability to include/exclude non-resource export folders
...
This closes #3646 .
2019-10-05 16:54:13 +02:00
bruvzg
1c592e5f1f
Add code signing support for Windows exports (using "signtool" on Windows and "osslsigncode" on the other platforms)
2019-10-04 22:33:03 +03:00
jfons
c1de7cb22e
Fix calculate_spatial_bounds for selection display
...
Fixes `SpatialEditorPlugin::_calculate_spatial_bounds` so the displayed
selection doesn't break with transformed scenes.
2019-10-04 15:47:15 +02:00
Rémi Verschelde
b177051521
Merge pull request #32528 from hbina/hbina_fix_font_override
...
Fixed warnings text using custom font and color setting.
2019-10-04 13:47:04 +02:00
Hanif Bin Ariffin
79e83b7c92
Fixed warnings text using custom font and color setting.
...
Fixes #31917
Added missing font and color override.
2019-10-04 07:20:18 -04:00
Yuri Roubinsky
b6f8726c66
Merge pull request #32543 from Chaosus/vs_fix_input
...
Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)
2019-10-04 13:57:01 +03:00
Rémi Verschelde
3b2033b941
Merge pull request #32540 from codecustard/fix_show_bounds_for_scenes
...
Fixes scene instances not displaying bounds when selected
2019-10-04 12:19:33 +02:00
Yuri Roubinsky
bc67a18fe0
Fix VisualShaderInput if compiled with MinGW
2019-10-04 10:52:07 +03:00
Yuri Roubinsky
0a34fa701f
Fix VisualShaderInput (if compiled with MinGW) (correct, tested version)
2019-10-04 10:43:59 +03:00
Emmanuel Barroga
10d0bc920b
Fixes scene instances not displaying bounds when selected
...
When selecting instances of a scene file, it doesn't display the bounding box which makes it difficult to visually see that it is selected.
2019-10-03 22:46:29 -07:00
Relintai
c39490cf79
Fix potential crash in AnimationPlayer.
2019-10-03 21:07:49 +02:00
Osama El Hariri
b2d8b213f7
Fix locale filter in project settings editor
2019-10-03 21:17:35 +03:00
Hanif Bin Ariffin
ccfc88ffba
Applied the same kind of ordering to methods description
...
Previously, the ordering did not match.
This could be improved by doing the filtering behorehand, then we simply access them.
This will make sure that future changes to one is reflected to the other (because we are only doing it once)
2019-10-03 12:31:41 -04:00
Yuri Roubinsky
b11d15d5c3
Makes Texture and TextureUniform in visual shaders to use UV by default
2019-10-03 16:59:49 +03:00
Rémi Verschelde
5db77dceb8
Merge pull request #32491 from lupoDharkael/inspector-frame
...
Inspector: select self object after selecting a stack frame
2019-10-03 08:38:29 +02:00
Rémi Verschelde
059a53ee1d
Merge pull request #32504 from Relintai/fix_empty_animatin_player_crash
...
Fix crash in #32473 . (Automatically seek timeline in selected animation)
2019-10-03 07:57:10 +02:00
Relintai
c6e577fed9
Fix crash in #32473 . (Automatically seek timeline in selected animation)
2019-10-03 00:00:01 +02:00
Yuri Roubinsky
1bafadb629
Drag&drop custom nodes from filesystem to visual shader
...
+ better loading of custom nodes
2019-10-02 23:42:14 +03:00
Rémi Verschelde
893ebd3080
Merge pull request #32498 from godotengine/revert-32434-script-class-no-plugins
...
Revert "Fix plugin script classes defined even if inactive."
2019-10-02 21:04:30 +02:00
Rémi Verschelde
96b46a5c00
Merge pull request #32484 from Chaosus/shader_fix
...
Removed unnecessary shader error log messages
2019-10-02 21:03:50 +02:00
Rémi Verschelde
c287f220ce
Revert "Fix plugin script classes defined even if inactive."
2019-10-02 19:17:59 +02:00
lupoDharkael
cc85be3aae
Inspector: select self object after selecting a stack frame
2019-10-02 12:38:31 +02:00
Rémi Verschelde
a737bceb4e
Merge pull request #32473 from KoBeWi/seaking_ani
...
Automatically seek timeline in selected animation
2019-10-02 11:54:19 +02:00
Yuri Roubinsky
1472fca951
Removed unnecessary shader error log messages
2019-10-02 12:37:22 +03:00
Alexander Holland
35452e1ab4
Update ScriptEditor and ShaderEditor Tooltip
...
fix #32417
2019-10-02 11:21:59 +02:00
Rémi Verschelde
969e5ee612
Merge pull request #32468 from YeldhamDev/code_replace_hide_fix
...
Fix text search bar not correctly switching from replacing to just searching
2019-10-01 19:57:51 +02:00
Tomasz Chabora
d482bd1ef0
Automatically seek timeline in selected animation
2019-10-01 18:38:03 +02:00
Michael Alexsander
be865871f4
Fix text search bar not correctly switching from replacing to just searching
2019-10-01 10:06:03 -03:00
Chaosus
f14bcd8cc5
Added sampler port type for visual shaders
2019-10-01 13:20:08 +03:00
lupoDharkael
4753c51de6
Project Manager: Update template dialog position after window resize
2019-10-01 12:10:58 +02:00
Rémi Verschelde
a6eeb1a38e
Merge pull request #32442 from Chaosus/vs_textures_drop
...
Drag&drop textures from filesystem to visual shader
2019-10-01 08:29:08 +02:00
Chaosus
71d6990e1e
Added drag&drop possibility for textures from filesystem to visual shader
2019-10-01 09:00:55 +03:00
Michael Alexsander Silva Dias
4689ece741
Minor visual adjustment in drag preview of the scene and file tree editors
2019-09-30 13:36:49 -03:00
Rémi Verschelde
680bcb1ef4
Merge pull request #32434 from willnationsdev/script-class-no-plugins
...
Fix plugin script classes defined even if inactive.
2019-09-30 11:03:29 +02:00
Rémi Verschelde
ddc42be1db
Merge pull request #32431 from lupoDharkael/checks
...
Add checks after ResourceLoader::load()
2019-09-30 07:55:47 +02:00
willnationsdev
168f6cd975
Fix plugin script classes defined even if inactive.
2019-09-30 00:40:27 -05:00
Rémi Verschelde
ae6c390eb2
Merge pull request #32412 from bojidar-bg/27222-make-scene-root-destructive
...
Fix "Make Scene Root" deleting previous root whenever focusing another scene
2019-09-29 21:37:28 +02:00
Rémi Verschelde
cd63cc7df1
Merge pull request #32402 from YeldhamDev/fix_vs_add_function
...
Fix VS editor's "Create Function" dialog
2019-09-29 21:36:57 +02:00
lupoDharkael
0a0f596dfb
Add checks after ResourceLoader::load()
2019-09-29 14:17:42 +02:00
Rémi Verschelde
3b532aa7eb
Merge pull request #32410 from bojidar-bg/5739-highlight-singletons
...
Highlight singletons and class_names in GDScript
2019-09-29 12:04:45 +02:00
Michael Alexsander Silva Dias
13e752190f
Fix VS editor's "Create Function" dialog
2019-09-28 11:57:13 -03:00
Bojidar Marinov
cfc779ccf0
Fix "Make Scene Root" deleting previous root whenever focusing another scene
...
Hopefully fixes #24484 and fixes #27222 .
2019-09-28 15:29:09 +03:00
Bojidar Marinov
db89fef8fa
Highlight singletons and class_names in GDScript
...
Also, implement a small QoL change for auto-typed variables.
Closes #5739
2019-09-28 13:13:18 +03:00
Bojidar Marinov
faf0a49cbf
Fix crash in ~EditorSpatialGizmoPlugin when generating documentation data
2019-09-28 12:04:50 +03:00
Rémi Verschelde
3481c47e71
Merge pull request #32407 from homer666/animation-import-storage-fix
...
Restore import animation "storage" checkbox behaviour
2019-09-28 07:50:31 +02:00
homer666
9d98ed1d86
Restore import animation storage checkbox behavior
2019-09-28 12:33:00 +10:00
Michael Alexsander Silva Dias
4e9df13a40
Fix crash when moving an action into itself in the Input Map editor
2019-09-27 22:12:35 -03:00
Rémi Verschelde
5966c6b646
Merge pull request #32379 from Calinou/colorpicker-add-overbright-indicator
...
Draw an indicator to denote overbright colors in ColorPicker
2019-09-27 22:03:22 +02:00
Rémi Verschelde
8868fd2d28
Merge pull request #31971 from aole/placeholder-confirmation-dialog-for-editable-children
...
Placeholder confirmation dialog for editable children
2019-09-27 22:02:15 +02:00
Bhupendra Aole
cb528e31d9
Placeholder dialog for editable children
...
Fire placeholder confirmation dialog box when editable children option is already checked.
Fixes #28863
2019-09-27 13:49:55 -04:00
Hugo Locurcio
70c4e96623
Draw an indicator to denote overbright colors in ColorPicker
...
This makes it faster to distinguish overbright colors from
"standard" colors.
2019-09-27 15:28:42 +02:00
Rémi Verschelde
daf4a9f9be
Merge pull request #32381 from YeldhamDev/script_dialog_cleanup
...
Cleanup the "Attach Node Script" dialog
2019-09-27 08:17:07 +02:00
Michael Alexsander Silva Dias
3333d447c0
Cleanup the "Attach Node Script" dialog
2019-09-27 00:49:20 -03:00
dankan1890
6a7f300662
Create new folder from save dialog now update filesystem dock.
...
Fix #32167 .
2019-09-26 20:54:34 +02:00
Rémi Verschelde
02ca4c49fa
i18n: Sync translation template with current source
2019-09-26 14:05:21 +02:00
Rémi Verschelde
89094fc76a
i18n: Sync translations with Weblate
2019-09-26 13:59:57 +02:00
Rémi Verschelde
944154272f
Merge pull request #32360 from dankan1890/tilemap_icons
...
Changed the appearance of the rotation icons in the Tilemap.
2019-09-26 12:34:33 +02:00
dankan1890
2bdde74d45
Changed the appearance of the rotation icons in the Tilemap.
...
Make them more intuitive.
2019-09-26 10:59:48 +02:00
Rémi Verschelde
452741f333
Merge pull request #31969 from NNesh/fix/open-proj-data-folder
...
Fixed unable to open project data folder
2019-09-26 10:11:19 +02:00
Rémi Verschelde
c2a550565d
Merge pull request #32050 from codecustard/fix_remotetree_not_showing_type
...
Fix remote-tree not displaying the node type
2019-09-26 09:28:02 +02:00
Rémi Verschelde
7b433107f5
Merge pull request #32009 from Xrayez/fs-editor-icons
...
Display editor icons for filesystem dock popup menu options
2019-09-26 08:43:17 +02:00
Rémi Verschelde
37cf49ae0e
Merge pull request #32017 from Calinou/editor-spin-slider-improve-ctrl-snapping
...
Improve Ctrl snapping in EditorSpinSlider
2019-09-26 08:42:53 +02:00
Ruslan Mullayanov
4d5298ed7d
Fixed unable to open project data folder
...
Removed `default` case to prevent hiding such errors in the future.
Fixes #31939 .
2019-09-26 08:17:07 +02:00
Emmanuel Barroga
ecba42e287
Fix remote-tree not displaying the node type
...
Fixes the remote-tree not displaying the node's type like the local-tree does.
2019-09-26 08:10:18 +02:00
Rémi Verschelde
7ce5233d24
Merge pull request #32337 from CorattiS86/fixing_#32262
...
Fixed Show in file system should clear current search
2019-09-26 07:56:01 +02:00
Rémi Verschelde
e4d56001e6
Merge pull request #32343 from jeffres/master
...
Fix import hints being ignored by glTF importer
2019-09-26 07:55:18 +02:00
Michael Alexsander Silva Dias
18d8921af3
Format arguments in connections dialog in GDScript style
2019-09-25 22:08:58 -03:00
Rémi Verschelde
edf9055b7f
Merge pull request #32325 from SaracenOne/add_mesh_bindings_fix
...
SpatialEditorGizmo add_mesh bindings fix
2019-09-25 20:46:58 +02:00
Rémi Verschelde
a9e15a5c88
Merge pull request #32350 from nekomatata/fix-bezier-curve-deselection-error
...
Fixed missing argument for clear_selection signal in Bezier Curve editor
2019-09-25 20:46:18 +02:00
Rémi Verschelde
b88291311b
Merge pull request #32345 from nekomatata/fix-curve-delete-point-error
...
Reset hovered point in Curve when deleted to avoid errors on draw
2019-09-25 20:46:04 +02:00
PouleyKetchoupp
bdb9149d7e
Fixed missing argument for clear_selection signal in Bezier Curve editor
...
Also removed unused clear_selection signal in Animation Track editor (never emitted)
Fixes #32348
2019-09-25 19:35:21 +02:00
PouleyKetchoupp
fb9ff00640
Reset hovered point in Curve when deleted to avoid errors on draw
...
Fixes #32344
2019-09-25 18:58:09 +02:00
Rémi Verschelde
e426169e4c
Merge pull request #32341 from KoBeWi/be_gone
...
Clean snapping lines after resize
2019-09-25 18:45:13 +02:00
Rémi Verschelde
c5b2ce8b06
Merge pull request #32340 from YeldhamDev/minitab_icon_substitution
...
Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it
2019-09-25 18:43:33 +02:00
Michael Alexsander Silva Dias
5ed5465023
Replace "GuiMiniTabMenu" with "GuiTabMenu" and tweak it
2019-09-25 12:53:42 -03:00
gladmin
7f3e37fead
Fix import hints being ignored by glTF importer
...
This fixes a regression introduced in commit 72d2468
due to hyphens being removed from nodes names.
2019-09-25 16:58:05 +02:00
Tomasz Chabora
37bf283195
Clean snapping lines after resize
2019-09-25 16:56:44 +02:00
Stefano Coratti
d7b2ecacff
Fixed Show in file system should clear current search
2019-09-25 16:07:46 +02:00
Rémi Verschelde
c52287208d
Merge pull request #32333 from akien-mga/debugger-error-cond
...
Show C++ error condition in script editor debugger
2019-09-25 14:13:11 +02:00
Rémi Verschelde
076dc9803a
Merge pull request #32119 from Calinou/unify-axis-colors
...
Use the same axis colors consistently in the 2D and 3D editors
2019-09-25 13:03:47 +02:00
Rémi Verschelde
dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
...
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
Rémi Verschelde
4112d6c1b4
Show C++ error condition in script editor debugger
...
This was removed by @RyanStein in #21884 in the case where an error
message is provided, but this is actually useful information to have
even when there is a custom error message.
This PR makes it so that the "C++ Error" is shown whenever there is
a custom error message provided.
Also adds method name to the error item title, and re-adds the most
relevant info in the tooltip for quick error checks without expanding.
Renames C Error/Source to C++ Error/Source, since that's what it is.
And fix untranslatable entry due to misuse of TTR().
And some more cleanup for readability.
Cf. https://github.com/godotengine/godot/issues/32276#issuecomment-534119914
2019-09-25 10:49:44 +02:00
Saracen
fcef45006e
SpatialEditorGizmo add_mesh bindings fix
2019-09-25 09:30:25 +01:00
qarmin
17732fe698
Added some obvious errors explanations
2019-09-25 10:28:50 +02:00
Rémi Verschelde
de03ee94cc
Merge pull request #32296 from BenjaminRiley/save-original-scene-after-save-as-branch
...
'Save Branch as Scene' also saves original scene
2019-09-25 10:07:39 +02:00
Benjamin Riley
2115bced93
'Save Branch as Scene' adds to undo history
...
When saving a branch as a scene, can now undo replacing the original branch with the new branch scene. 'Save Branch as Scene' previously would not mark the original scene as changed, and therefore no prompt would appear if the scene was closed immediately after saving the branch.
The new branch scene is not deleted when undo-ing.
2019-09-25 17:08:08 +10:00
Rémi Verschelde
8c0595b722
Merge pull request #32306 from hbina/unused_variable
...
Fixed incorrect usage of variables in querying values.
2019-09-25 08:49:31 +02:00
Rémi Verschelde
5a4e1045a6
Merge pull request #32319 from Calinou/optimize-svgs
...
Optimize editor icon SVGs using svgcleaner
2019-09-25 08:46:04 +02:00
Rémi Verschelde
0437044b9c
Merge pull request #32318 from Calinou/improve-audiostreamplayer3d-gizmo
...
Improve the AudioStreamPlayer3D gizmo
2019-09-25 08:43:56 +02:00
Marios Staikopoulos
4631b0ca62
glTF: Fixed mistake with root node calculation in skin_verify
...
Was not actually grabbing the computed roots for comparison, but instead
was grabbing the disjoint_set representatives.
2019-09-24 21:49:25 -07:00
Hugo Locurcio
790391bc93
Optimize editor icon SVGs using svgcleaner
...
This makes editor binaries about 230 KB smaller.
The command used was:
parallel svgcleaner --multipass {} {} ::: editor/icons/*.svg
2019-09-24 22:49:30 +02:00
Hanif Bin Ariffin
d1e069ea23
Fixed incorrect use of variables
...
The previous committer mistakenly used the wrong variable to query some values.
This commit simply changes it so that it queries the right Dict.
2019-09-24 16:45:34 -04:00
Hugo Locurcio
0feff49375
Improve the AudioStreamPlayer3D gizmo
...
This adds more lines to the emission angle cone to give a better
feel of depth in the 3D world.
2019-09-24 22:41:02 +02:00
Rémi Verschelde
e95e847c01
Merge pull request #32307 from neikeq/mesege
...
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
2019-09-24 15:44:37 +02:00
Ignacio Etcheverry
97143e60c1
Fix wrong defval in EditorSpatialGizmo.add_mesh method bind
...
The type of the parameter 'skeleton' was changed from 'RID' to 'SkinReference', yet the default value remained 'RID()'.
2019-09-24 15:12:27 +02:00
Rémi Verschelde
a7ac8ec876
doc: Fix parsing of self-closing XML tags
...
Follow-up to #31925 , `<member />` tags just before `</members>` would cause
a parsing issue, and we'd never notice that we're no longer parsing members.
Also added space before closing `/>`.
2019-09-24 13:34:05 +02:00
Rémi Verschelde
2f52d73c21
Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs
...
Add overriden properties to the documentation
2019-09-24 11:53:43 +02:00
Rémi Verschelde
4f294b958f
doc: Sync classref with current source
...
Fix a few missing bindings or unspecified argument names and default values.
2019-09-24 11:52:06 +02:00
Rémi Verschelde
cf540f853d
Merge pull request #31974 from YeldhamDev/tilegrid_map_fixes
...
Small fixes for the Tile/GridMap editors
2019-09-24 11:06:34 +02:00
Rémi Verschelde
4a7889578c
Merge pull request #31978 from YeldhamDev/inspector_dock_small_improvements
...
Small improvements to the inspector dock
2019-09-24 11:05:20 +02:00
Rémi Verschelde
a7b95d1934
Merge pull request #32267 from YeldhamDev/fix_tab_icons
...
Fix various problems with tab-related icons
2019-09-24 10:45:40 +02:00
Rémi Verschelde
73c7b9a69e
Merge pull request #32283 from Calinou/project-manager-no-open-ctrl-double-click
...
Don't open a project in the list if Ctrl is held while double-clicking
2019-09-24 10:38:58 +02:00
Rémi Verschelde
5d4e9bdd9e
Merge pull request #32288 from CorattiS86/fixing_#32263
...
Fix Hide Console Window stores opposite value
2019-09-24 10:28:17 +02:00
Rémi Verschelde
fd3c825034
Merge pull request #31970 from HaSa1002/i18n
...
Fixed out of range crash on remapping files for translation
2019-09-24 10:07:20 +02:00
Rémi Verschelde
db47221b8c
Merge pull request #32225 from Calinou/improve-editor-help-display
...
Improve the editor help display
2019-09-24 09:52:21 +02:00
Rémi Verschelde
78a7db7b6b
Merge pull request #32224 from KoBeWi/not_so_smart_lines
...
Initialize snap_target and make sure it disappears
2019-09-24 09:51:25 +02:00
Rémi Verschelde
08961912db
Merge pull request #32029 from nekomatata/bezier-track-fixes
...
Fixes in AnimationTrackEditor around bezier curves
2019-09-23 22:09:40 +02:00
Stefano Coratti
c46d172533
Fix #32263 - Hide Console Window stores opposite value
2019-09-23 22:06:34 +02:00
Rémi Verschelde
b8e56c5c15
Merge pull request #32021 from Calinou/editor-audio-bus-snapping
...
Implement snapping in the audio bus editor
2019-09-23 18:51:26 +02:00
Rémi Verschelde
75ed4b159a
Merge pull request #32277 from Calinou/override-for-add-feature-tags
...
Add some missing feature tags to the "Override For..." menu
2019-09-23 17:55:43 +02:00
Hugo Locurcio
76dd021a30
Don't open a project in the list if Ctrl is held while double-clicking
2019-09-23 17:25:37 +02:00
Rémi Verschelde
a226d63f68
Merge pull request #31975 from codecustard/fixes_subresource_showing_deselection
...
Fixes Subresource Showing While Unselected
2019-09-23 16:00:45 +02:00
Hugo Locurcio
364dfa8d28
Add some missing feature tags to the "Override For..." menu
...
This closes https://github.com/godotengine/godot-docs/issues/2782 .
2019-09-23 15:13:50 +02:00
Rémi Verschelde
159470df08
Merge pull request #32275 from godotengine/skin_support
...
Added skin support and simplified APIs to override bone position + glTF 2.0 import fixes
2019-09-23 15:02:15 +02:00
Rémi Verschelde
06b07eebb5
Merge pull request #32238 from Paulb23/reset_array_dict_crash
...
Fix crash when reverting an exported array / dict to NULL
2019-09-23 15:01:08 +02:00
Rémi Verschelde
915b27b0ab
Merge pull request #32266 from Calinou/project-manager-autofocus-search
...
Focus the project manager's search box automatically on startup
2019-09-23 14:59:57 +02:00
Rémi Verschelde
965e059146
Merge pull request #32258 from Calinou/improve-debugger-shortcut-ux
...
Improve the debugger shortcut UX
2019-09-23 14:59:44 +02:00
PouleyKetchoupp
87bb1515af
Fixes in AnimationTrackEditor around bezier curves
...
- Undo add bezier track (#31695 )
- Undo insert keys for several properties
- Insert keys for several properties using bezier curves (#31698 )
- Insert keys for 2d rotation using bezier curve (#28429 )
- Insert keys for existing bezier track (#31697 )
- Auto-insert keys for bezier track (#31696 )
- Number of tracks in insert keys confirmation message
2019-09-23 10:36:02 +02:00
Rémi Verschelde
fb12f54721
Merge pull request #32074 from KoBeWi/ninja_reload
...
Preserve folding when sub-scene is changed
2019-09-23 10:32:02 +02:00
Rémi Verschelde
393a0152ea
Merge pull request #32055 from qarmin/some_code_fixes
...
Changed some code found by Clang Tidy and Coverity
2019-09-23 10:00:31 +02:00
Rémi Verschelde
a0ef113d05
Merge pull request #32036 from Calinou/improve-soft-body-editor-icon
...
Improve the SoftBody node editor icon
2019-09-23 09:48:55 +02:00
Rémi Verschelde
80a3a78ee9
Merge pull request #32043 from guilhermefelipecgs/fuzzy_help_search
...
Adds fuzzy search for help search dialog
2019-09-23 09:46:15 +02:00
Rémi Verschelde
16bedc7ede
Merge pull request #32040 from Calinou/editor-help-shift-find-previous
...
Find the previous match in the editor help when pressing Shift + Enter
2019-09-23 09:44:06 +02:00
Rémi Verschelde
b671b6ad2b
Merge pull request #32035 from YeldhamDev/new_icons
...
Add some missing icons
2019-09-23 09:37:57 +02:00
Rémi Verschelde
5ffae0d299
Merge pull request #32020 from Calinou/editor-audio-bus-display-tooltip
...
Display audio buses' current volume in a tooltip when hovering slider
2019-09-23 09:02:45 +02:00
Rémi Verschelde
2de90bff9c
Merge pull request #32011 from Calinou/editor-easing-property-drag
...
Make editor inspector easing lines use the accent color when dragged
2019-09-23 08:50:07 +02:00
Rémi Verschelde
c593fbed3d
Merge pull request #32010 from puthre/fix_undo_animation_bezier
...
Animation Bezier Editor : fix double inserts on undo
2019-09-23 08:48:10 +02:00
Rémi Verschelde
242e6cb904
Merge pull request #32000 from codecustard/Add_Reorder_frames_via_dragndrop
...
Add ability to reorder animation frames via drag and drop
2019-09-23 08:44:22 +02:00
Rémi Verschelde
2a2f40c45b
Merge pull request #32007 from nekomatata/sprite-frames-editor-delete
...
SpriteFramesEditor improvements around deleting animations
2019-09-23 08:43:56 +02:00
Rémi Verschelde
a089057596
Merge pull request #32049 from codecustard/fix_remoteview_navto_inspected
...
Fix Remote Tree Navigate to Inspected
2019-09-23 08:13:34 +02:00
Rémi Verschelde
0490fc9ce3
Merge pull request #31061 from Abstract-Everything/input-actions-reorder-ui
...
Input actions can be reordered by drag and drop.
2019-09-23 08:10:17 +02:00
Michael Alexsander Silva Dias
94ad89a5fb
Fix various problems with tab-related icons
2019-09-22 23:08:14 -03:00
Hugo Locurcio
61299dc451
Focus the project manager's search box automatically on startup
...
This allows the user to search projects as soon as the project manager
opens, without having to click on the search field first.
2019-09-23 02:50:50 +02:00
Marios Staikopoulos
77e223ff94
GLTF: Fixed some issues with skin groups joining incorrectly and removed unused code
...
- Skin groups now merge more cleanly together
- Skins whose highest nodes are siblings of another skin now get merged also
- Skin nodes who have children of another skin now also fuse together
- Removed the re-rooting of IBM code, as it is no longer needed with the Skin system
2019-09-22 17:45:36 -07:00
Rémi Verschelde
0928e82027
Merge pull request #29895 from ptrojahn/menukey
...
Support menu key in TextEdit and LineEdit controls
2019-09-22 21:21:13 +02:00
Rémi Verschelde
f65c61434b
Merge pull request #32247 from KoBeWi/the_new_order
...
Perform reparent if position changes
2019-09-22 21:19:58 +02:00
Hugo Locurcio
471a3ceb77
Improve the debugger shortcut UX
...
- Display the shortcut in the button tooltips by defining the shortcut
on the buttons as well.
- Swap "Step Over" and "Step Into" in the Debug menu to match the button
order in the Debugger bottom panel.
2019-09-22 19:19:53 +02:00
qarmin
50be65bf43
Changed some code found by Clang Tidy and Coverity
2019-09-22 18:45:08 +02:00
Tomasz Chabora
48ca6ec657
Perform reparent if position changes
2019-09-22 12:44:59 +02:00
Paul Trojahn
ba24bc1e04
Support menu key in TextEdit and LineEdit controls
...
Related to #15542
2019-09-22 12:06:24 +02:00
Marios Staikopoulos
72d2468d68
More GLTF Fixes
...
1: Depth draw mode set for transparent materials (iFire)
2: Skeletons
- Bone names now unique and seperate from scene names
- Due to mixture of fake joints and joints, new bone sanitizing for names added
- Fixed an issue where some disjoint skins were not being joined due to a logic error
- Deterministic and Depth-first bone creation order
3: Skins
- Removed duplicate skins when possible
4: Animations
- Fixed invalid morph target names
2019-09-21 21:45:38 -07:00
Marios Staikopoulos
6fc5647bc3
GLTF Importer - Add more Index types and const-ed up the code
2019-09-21 15:21:02 -07:00
Paulb23
c3d712f414
Fix crash when reverting an exported array / dict to NULL
2019-09-21 16:36:30 +01:00
Hugo Locurcio
ba8601f557
Improve the network profiler UI
...
- Add icons to the up/down bandwidth LineEdits for better
visual grepping.
- Make bandwidth LineEdit texts more prominent when data is being
received/emitted.
- Add more spacing between the up and down bandwidth LineEdits.
- Initialize the bandwidth texts using `set_bandwidth()` to ensure
consistency with the actual bandwidth texts once the profiler
is started.
- Fix icon colors when switching from a dark theme to a light theme
and vice versa.
- Add missing `EDSCALE` constants for hiDPI scaling.
2019-09-21 15:29:03 +02:00
Marios Staikopoulos
11e09e59d1
GLTF2 Import Fixes - Skin(s) to Skeleton - Skin Support
2019-09-20 23:08:58 -07:00
Rémi Verschelde
b6bcc143ad
Merge pull request #32079 from lupoDharkael/locale-crash
...
Fix right click crash in Locales Filter
2019-09-20 23:17:47 +02:00
Rémi Verschelde
769a9c521a
Merge pull request #32094 from Calinou/improve-delete-node-confirmation-2
...
Improve the node deletion confirmation message
2019-09-20 23:17:29 +02:00
Rémi Verschelde
d249bb37e5
Merge pull request #32112 from Calinou/project-manager-add-hover-style
...
Add an "hover" style to items in the project manager
2019-09-20 23:15:40 +02:00
Rémi Verschelde
f7cd50e900
Merge pull request #32206 from Calinou/remove-unused-tree-constants
...
Remove an unused icon and constant in Tree
2019-09-20 23:14:50 +02:00
Hugo Locurcio
5b3805b8e5
Improve the editor help display
...
- Write the type after the parameter name for consistency with
the GDScript static typing syntax.
- Remove ":" after headers since they're already distinguished
by their size.
- Remove spaces before/aftere parentheses in method/signal
argument lists.
2019-09-20 22:41:31 +02:00
Tomasz Chabora
5476250356
Initialize snap_target and make sure it disappears
2019-09-20 22:26:26 +02:00
Rémi Verschelde
25a1bfed5c
Merge pull request #32210 from Calinou/editor-log-distinguish-messages
...
Distinguish editor-originating messages in the editor log
2019-09-20 20:22:43 +02:00
Rémi Verschelde
ae3c685042
Merge pull request #32137 from Calinou/vcs-error-if-none-available
...
Display an error message if no version control systems are available
2019-09-20 20:20:34 +02:00
Hugo Locurcio
40a5de97e6
Remove an unused icon and constant in Tree
2019-09-20 17:50:13 +02:00
Rémi Verschelde
54eb4bce5f
Merge pull request #32123 from qarmin/fix_int_overflow
...
Fix int overflow in EditorResourcePreview::_preview_ready
2019-09-20 17:36:07 +02:00
Rémi Verschelde
9137a045ac
Merge pull request #32146 from YeldhamDev/key_bezier_int_real
...
Fix keying integer and float values from inspector not being able to use bezier curves
2019-09-20 17:35:03 +02:00
Rémi Verschelde
65286c6b46
Merge pull request #32143 from YeldhamDev/scenedock_reparent_fixes
...
Fix some errors while reparenting nodes in the Scene dock
2019-09-20 17:33:57 +02:00
Rémi Verschelde
712a82a6f6
Merge pull request #32134 from IronicallySerious/fix-global-class-list
...
Add correct class selection in Select VCS menu
2019-09-20 17:28:39 +02:00
Rémi Verschelde
77ec3ec0a3
Merge pull request #32129 from YeldhamDev/fix_track_removal_errors
...
Fix errors in the animation editor when removing tracks via undo/redo
2019-09-20 17:28:15 +02:00
Rémi Verschelde
d21b73779f
Merge pull request #32180 from KoBeWi/nein_patsch_rekt
...
Fix region editor for NinePatchRect
2019-09-20 17:26:52 +02:00
Rémi Verschelde
d364e88c2a
Merge pull request #32209 from YeldhamDev/fix_connection_type_hints
...
Fix incorrect typing when creating methods via the connection dialog
2019-09-20 17:10:33 +02:00
Rémi Verschelde
a80407fe31
Merge pull request #32173 from Calinou/improve-3d-light-gizmos
...
Improve the 3D light gizmos
2019-09-20 17:09:50 +02:00
Rémi Verschelde
fdc2463a1b
Merge pull request #32150 from luzpaz/typos
...
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
Hugo Locurcio
ba566dff2e
Distinguish editor-originating messages in the editor log
...
This fades out messages originating from the editor to make messages
printed by the project stand out more.
This also tweaks wording in some editor messages for consistency.
2019-09-20 01:59:02 +02:00
Hugo Locurcio
04f43116d6
Improve folding appearance in the editor inspector
...
The arrow is now displayed at the left to be consistent with
other places where folding is used. The arrow icons used are now
consistent with the rest of the editor. The `arrow_up` icon is
no longer used anywhere, so it was removed.
Additional spacing was also added for a better visual appearance.
2019-09-19 22:29:25 +02:00
luz.paz
91ecd7b6a6
Fix misc. source comment typos
...
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde
2add51d082
Merge pull request #31964 from nekomatata/fix-animation-player-error
...
Fixed switching back to AnimationPlayerEditor with empty animation list
2019-09-19 20:32:05 +02:00
Rémi Verschelde
f9db6ad8c5
Merge pull request #31919 from m4gr3d/use_aar_for_custom_build
...
Leverage Android archive (AAR) file for Godot custom build
2019-09-19 20:22:09 +02:00
Rémi Verschelde
af51fbd994
Merge pull request #32174 from Calinou/2d-editor-display-zoom
...
Display the current zoom percentage in the 2D editor
2019-09-19 20:14:26 +02:00
Rémi Verschelde
093c1c1a69
Merge pull request #31985 from nekomatata/fix-builtin-script-resource
...
Fixed resource loading when editing built-in script from resource
2019-09-19 20:07:41 +02:00
Rémi Verschelde
fc9985b770
Merge pull request #31961 from YeldhamDev/info_messages
...
Add informational messages to various editors
2019-09-19 20:06:44 +02:00
Michael Alexsander Silva Dias
8c3bb69e72
Fix incorrect typing when creating methods via the connection dialog
2019-09-19 13:22:05 -03:00
Juan Linietsky
d81ddaf33e
Added skin support and simplified APIs to override bone position.
2019-09-18 19:46:32 -03:00
Hugo Locurcio
95f6f81dc2
Display the current zoom percentage in the 2D editor
...
This makes it possible for the user to know precisely the current
zoom level. The zoom percentage can be clicked to reset it to 100%
(similar to Firefox).
2019-09-17 20:36:10 +02:00
Tomasz Chabora
cf2ae78956
Fix region editor for NinePatchRect
2019-09-17 19:26:20 +02:00
Hugo Locurcio
bfa246cda8
Improve the 3D light gizmos
...
OmniLight and SpotLight gizmos were tweaked to better represent
their depth in the 3D world.
The default light gizmo color was changed to match the gizmo
icon color closely.
2019-09-17 06:01:21 +02:00
Michael Alexsander Silva Dias
c0acaab1aa
Fix keying integer and float values from inspector not being able to use bezier curves
2019-09-15 08:59:43 -03:00
Michael Alexsander Silva Dias
e5d9c7dcb0
Fix some errors while reparenting nodes in the Scene dock
2019-09-14 21:07:55 -03:00
Hugo Locurcio
6df03fe61f
Display an error message if no version control systems are available
...
This removes the need for a dedicated placeholder entry.
This closes #32135 .
2019-09-14 22:14:00 +02:00
Twarit
50da1b7d15
Add correct class selection in Select VCS menu
2019-09-14 21:06:52 +05:30
Michael Alexsander Silva Dias
5c2582ad34
Fix errors in the animation editor when removing tracks via undo/redo
2019-09-13 22:16:53 -03:00
qarmin
ac2f68760d
Fix int overflow in EditorResourcePreview::_preview_ready
2019-09-13 15:34:16 +02:00
Hugo Locurcio
c2bcc3f700
Use the same axis colors consistently in the 2D and 3D editors
2019-09-13 14:08:41 +02:00
Hugo Locurcio
9e5f1d6641
Add an "hover" style to items in the project manager
...
This makes the project manager feel more responsive to user input.
2019-09-13 02:34:05 +02:00
Hugo Locurcio
fd1b5cc39f
Improve the node deletion confirmation message
...
- Add "the root node" in the beginning if the selected node
is the current scene's root
- Add "and its children" at the end of the message if the node
has at least one child and is not an instanced scene
2019-09-11 23:29:34 +02:00
lupoDharkael
d9b34d2a3d
Fix right click crash in Locales Filter
2019-09-10 21:25:42 +02:00
Tomasz Chabora
7e89ec2cd8
Preserve folding when sub-scene is changed
2019-09-10 14:43:46 +02:00
Emmanuel Barroga
6efbabeb9e
Fix Remote Tree Navigate to Inspected
...
Fixes the regression of remote-tree not navigating to what is being inspected in the inspector.
2019-09-08 19:52:37 -07:00
Guilherme Felipe
481dbceed0
Adds fuzzy search for help search dialog
2019-09-08 13:08:34 -03:00
Hugo Locurcio
bee38c6b0b
Find the previous match in the editor help when pressing Shift + Enter
2019-09-08 15:10:57 +02:00
Hugo Locurcio
11890aa27b
Improve the SoftBody node editor icon
...
The new icon uses 2-pixel-thick lines for consistency with other icons.
Its pixels are also aligned to the 16 pixel grid.
2019-09-08 00:38:17 +02:00
Michael Alexsander Silva Dias
56883686a3
Add some missing icons
2019-09-07 15:06:27 -03:00
PouleyKetchoupp
d53ddc5baa
Fixed resource loading when editing built-in script from resource
...
Fixes #27380
2019-09-07 16:54:01 +02:00
Hugo Locurcio
8a8173231c
Implement snapping in the audio bus editor
...
Holding Ctrl will round the value to the nearest decibel.
2019-09-07 00:16:44 +02:00
Hugo Locurcio
ea622a16dd
Display audio buses' current volume in a tooltip when hovering slider
...
This also removes an unused editor icon.
This closes #30884 .
2019-09-06 23:25:14 +02:00
Hugo Locurcio
84d0f324c4
Improve Ctrl snapping in EditorSpinSlider
...
- Remove FPS dependency by using a simpler implementation that just
rounds the final number
- Make it possible to combine Ctrl and Shift together for slow,
precise snapping
2019-09-06 19:38:11 +02:00
Hugo Locurcio
21222fb478
Make editor inspector easing lines use the accent color when dragged
...
This makes their visual feedback more consistent with other controls.
This also makes easing lines slightly more subtle by decreasing
their opacity by 10%.
2019-09-06 16:11:26 +02:00
Valentin Zagura
fbcb68c15a
Animation Bezier Editor : fix double inserts on undo
2019-09-06 13:59:44 +01:00
Andrii Doroshenko (Xrayez)
407839daab
Display editor icons for filesystem dock popup menu options
2019-09-06 14:57:51 +03:00
PouleyKetchoupp
a701d4e940
SpriteFramesEditor improvements around deleting animations
...
- Reorganized buttons layout to make it clearer between deleting animation & frame
- Added a confirmation popup for deleting an animation
- Fixed errors on selecting an animation after deleting one
2019-09-06 11:11:12 +02:00
Emmanuel Barroga
0048468658
Add ability to reorder animation frames via drag and drop
...
Allows you to reorder the frames of the animation by dragging the frames around.
2019-09-05 17:08:17 -07:00
Hugo Locurcio
9a94fe7d26
Improve the `String::humanize_size()` method
...
- Use "B" insted of "Bytes" to be more compact
- Use suffixes that denote a binary prefix
- Make suffixes localizable
This removes the need for the custom
`EditorNetworkProfiler:_format_bandwidth()` method.
2019-09-05 19:48:46 +02:00
Rémi Verschelde
4ee8ecd3ef
Merge pull request #31989 from sparkart/revert-30833-fix_inspector_clear_remote_node
...
Revert "Fix Clearing Inspector for Remote Node"
2019-09-05 17:38:57 +02:00
Fabio Alessandrelli
768d637a1b
Merge pull request #31870 from JFonS/add_network_profiler
...
Add network profiler
2019-09-05 16:34:36 +02:00
Emmanuel Barroga
2bac4e1784
Revert "Fix Clearing Inspector for Remote Node"
2019-09-05 06:58:36 -07:00
J-Camilleri
892adf733c
Input actions can be reordered by drag and drop.
2019-09-05 13:59:17 +02:00
jfons
8244f535cd
Add network profiler
2019-09-05 09:48:36 +02:00
fhuya
7fabfd402f
Split the Android platform java logic into an Android library module (`lib`) and an application module (`app`).
...
The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
2019-09-04 16:20:22 -07:00
Michael Alexsander Silva Dias
e5f96a344a
Small improvements to the inspector dock
2019-09-04 19:42:44 -03:00
Emmanuel Barroga
f9821a5caf
Fixes Subresource Showing While Unselected
...
The inspector would still display the subresource of the last selected node. This PR resolves that issue.
2019-09-04 14:30:03 -07:00
Michael Alexsander Silva Dias
fd0dace4b5
Small fixes for the Tile/GridMap editors
2019-09-04 16:54:05 -03:00
Rémi Verschelde
e205cbbd06
Merge pull request #31967 from nekomatata/fix-builtin-script-scene
...
Load scene if needed when editing recent built-in script
2019-09-04 21:23:12 +02:00
HaSa1002
bbcf26b7bf
Fix out of range crash on remapping files
2019-09-04 19:48:32 +02:00
PouleyKetchoupp
ad499f234f
Load scene if needed when editing recent built-in script
...
Fixes #31966
2019-09-04 19:14:47 +02:00
Yuri Roubinsky
aadbb66dc2
Merge pull request #31926 from Chaosus/vs_switch
...
Some improvements for Switch node in visual shaders
2019-09-04 19:21:54 +03:00
PouleyKetchoupp
b01d07e049
Fixed switching back to animation player editor with no animation to select
...
Fixes #31959
2019-09-04 18:18:25 +02:00
Michael Alexsander Silva Dias
5f3a55acb7
Add informational messages to various editors
2019-09-04 12:37:11 -03:00
Chaosus89
bf3024c172
Added missing OUTPUT_IS_SRGB and FRONT_FACING to visual shaders
2019-09-04 18:24:44 +03:00
Rémi Verschelde
1046a9d143
Merge pull request #31927 from willnationsdev/csv-import
...
Add CSV import without translation.
2019-09-04 16:02:39 +02:00
Rémi Verschelde
604dc426d5
Merge pull request #31957 from nekomatata/fix-editor-preview-cache
...
Fixed order of parameters when updating resource cache file
2019-09-04 14:55:40 +02:00
Rémi Verschelde
855a465c87
Merge pull request #31956 from IronicallySerious/add-vcs-copyright
...
Add copyright headers to VCS integration
2019-09-04 14:48:13 +02:00
Bojidar Marinov
6c4407bae4
Add overriden properties to the documentation
...
Fixes #31855
2019-09-04 15:21:40 +03:00
PouleyKetchoupp
c6ddaacf59
Fixed order of parameters when updating resource cache file ( fixes #31930 )
2019-09-04 13:35:06 +02:00
Twarit
444ba61aac
Add copyright headers to vcs integration
2019-09-04 16:47:26 +05:30
Emmanuel Barroga
47065f0c3e
Fixes Inspector Showing Unselected Info
...
When deselecting a node, the inspector would show the name of the last thing selected.
2019-09-03 23:41:49 -07:00
willnationsdev
7ac0239afa
Add CSV import without translation.
2019-09-03 19:37:20 -05:00
Rémi Verschelde
75cbcb596a
Merge pull request #30982 from iwek7/feature/skip_breakpoints
...
Adds skip-breakpoints feature
2019-09-04 01:31:08 +02:00
Rémi Verschelde
5d162798cd
Merge pull request #31619 from Calinou/assetlib-improve-sort-fields
...
Improve sorting options in the asset library
2019-09-04 01:26:15 +02:00
Rémi Verschelde
fede9ba52e
Merge pull request #31942 from Calinou/improve-delete-node-confirmation
...
Improve the node deletion confirmation message
2019-09-04 01:13:34 +02:00
Rémi Verschelde
4967f303f5
Merge pull request #31461 from IronicallySerious/add-vcs-integration
...
VCS integration for Godot Editor
2019-09-04 01:09:24 +02:00
Hugo Locurcio
284548c4b7
Improve the node deletion confirmation message
...
The confirmation message now displays the number of nodes to delete,
or the node's name if only one node is selected.
2019-09-03 23:14:59 +02:00
iwek7
617797c47c
Adds skip-breakpoints feature
2019-09-03 20:49:09 +02:00
Twarit
d98e944a19
Add VCS editor plugin UI elements to editor
2019-09-03 20:16:30 +05:30
Twarit
97959a53df
Add an overridable VCS Interface for the editor
...
The VCS interface can be thought of like a proxy system, where any call
to the API is redirected to the actual implementation of the VCS API
which may be existing in the form of a GDNative plugin which is marked
as a singleton and is not marked reloadable. If the implementation
doesn't exist in the file system, it only returns the default responses which contain
mostly empty containers of the data type that every API call returns.
EditorVCSInterface is used like a Godot object with a script attached to it. The script
is the implementation of the API and the object is the interface to the
script, which returns default responses if the script doesn't exist or
if the script doesn't define a function that handles that particular API call.
The entire system has been implemented using Object::call() and its
ability to switch to the script instance to handle the API call if the
script exists. Look for VersionControlEditorPlugin::_initialize() for
the essential API setup.
2019-09-03 20:01:14 +05:30
Twarit
07e3be3deb
Add version control editor plugin
...
Provides the editor with all the VCS GUI and extracts the data from the
upcoming VCS API to cater to the project with VCS interaction.
2019-09-03 19:58:32 +05:30
Hugo Locurcio
a4a0295154
Improve sorting options in the asset library
...
The reverse sorting options are now integrated in the list of
sorting options, making the "Reverse" button unnecessary.
This pattern tends to be easier to discover by users.
The "Downloads" sorting option was also removed as it's not
implemented in the backend.
2019-09-03 15:16:58 +02:00
Chaosus89
a79d8e3b8f
Some improvements for Switch node in visual shaders
2019-09-03 15:11:02 +03:00
Rémi Verschelde
af5bfd138a
Merge pull request #31346 from sparkart/Add_scrollwheel_input_to_spinslider
...
Add scrollwheel input to spin slider
2019-09-03 13:07:44 +02:00
Rémi Verschelde
4dfea5fc9c
Merge pull request #31389 from Calinou/add-node-comments
...
Add an `editor_description` property to Node for documentation purposes
2019-09-03 12:55:22 +02:00
Rémi Verschelde
dd7c4c62ab
Merge pull request #31782 from aole/persist-ColorPicker-color-mode
...
Persist ColorPicker color mode
2019-09-03 12:36:04 +02:00
Rémi Verschelde
2ee0ca3d43
Merge pull request #31916 from puthre/bezier_editor_zoom
...
Animation Bezier Editor - fixed vertical zoom around mouse
2019-09-03 12:31:53 +02:00
Rémi Verschelde
35ee5be1dd
Merge pull request #31795 from puthre/master
...
Animation Bezier Editor: Extended zoom in and zoom out limits and fixed guide lines to accomodate sub unit steps and steps other than powers of 5
2019-09-03 12:26:07 +02:00
Rémi Verschelde
2f727ee167
Merge pull request #31847 from aole/editor-expose-current-path
...
Expose current path function to EditorPlugin
2019-09-03 12:07:23 +02:00
Valentin Zagura
e33f13840d
Animation Bezier Editor - fixed vertical zoom around mouse
...
Fixed vertical zoom so it zooms around the mouse cursor not around the center of the window.
2019-09-03 00:51:55 +01:00
Hugo Locurcio
61d7427289
Improve the animation autokey editor icon
...
The icon was redrawn to snap to a 16x16 grid, with a lower number
of SVG nodes in the process.
2019-09-03 00:11:34 +02:00
Rémi Verschelde
037237f518
Merge pull request #31898 from Calinou/animation-editor-add-precise-snapping
...
Implement precise snapping in the animation editor
2019-09-02 22:12:41 +02:00
Rémi Verschelde
e206050380
Merge pull request #31890 from Calinou/curve-editor-add-snapping
...
Implement snapping in the Curve editor
2019-09-02 22:12:25 +02:00
Rémi Verschelde
169c1dc9ef
Merge pull request #31906 from Calinou/assetlib-refresh-once
...
Refresh the asset library only once on startup
2019-09-02 22:05:29 +02:00
Hugo Locurcio
6f915d386a
Refresh the asset library only once on startup
...
This avoids unnecessary calls to the API when switching between tabs
in the editor or project manager.
2019-09-02 20:08:55 +02:00
Rémi Verschelde
d03ce5c227
Merge pull request #31902 from YeldhamDev/ruler_icon
...
Add icon for the ruler tool
2019-09-02 19:58:50 +02:00
Michael Alexsander Silva Dias
ab6daed467
Add icon for the ruler tool
2019-09-02 11:45:03 -03:00
Hugo Locurcio
55b9c6804c
Implement precise snapping in the animation editor
...
Holding Shift while snapping is enabled will now make snapping
4 times as precise.
2019-09-02 15:55:44 +02:00
amakarenko
544c39d1e7
Fix editor infinit loop in search_prev
...
Fixes godotengine#31328
2019-09-02 15:15:55 +03:00
Hugo Locurcio
f07fc5b434
Implement snapping in the Curve editor
...
Holding Ctrl will snap the selected point/tangent by increments
of 10% of the curve's width/height. Holding Shift as well will snap
by increments of 2.5% instead.
2019-09-02 14:00:22 +02:00
Rémi Verschelde
220ff5baf2
Merge pull request #31829 from KoBeWi/one_tool_to_ruler_2d
...
Add 2D ruler tool
2019-09-02 10:34:09 +02:00
Tomasz Chabora
05e5faa876
Add 2D ruler tool
2019-09-01 18:36:41 +02:00
Cykyrios
ed00313a0b
Reorganize & rename text editor settings categories
...
Add Navigation category for scroll and minimap settings.
Rename Line Numbers category to Appearance.
Rename Open Scripts category to Script List.
Rename "Draw Minimap" setting to "Show Minimap" (this is more consistent with other settings).
Reorder settings by category in code_editor.cpp to match settings list
2019-09-01 13:33:37 +02:00
Rémi Verschelde
815055a29b
Merge pull request #31835 from Calinou/increase-editor-sectioned-inspector-min-width
...
Increase the minimum width of the editor sectioned inspector
2019-09-01 12:46:58 +02:00
Rémi Verschelde
4e8ce420f1
Merge pull request #31850 from aole/script-callback-enable-disable-EditorPlugin
...
Script callback for enabling/disabling EditorPlugin
2019-09-01 12:35:51 +02:00
Bhupendra Aole
f6952cb944
Script callback for enabling/disabling EditorPlugin
...
Parameter p_config_changes should be passed as true to enable callback to user scripts
for enabling or disabling of the EditorPlugin.
Fixes #30654
2019-09-01 03:03:47 -04:00
Chaosus89
8fd8589547
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 09:12:26 +03:00
Bhupendra Aole
3518e7a6c7
Expose current path to EditorPlugin
...
get_selected_path returns only the resource directory.
get_current_path fulfils the need to get the full path.
This does not break backward compatibility and the function (get_current_path)
is already available in FileSystemDock just like get_selected_path.
Fixes 30652.
2019-09-01 01:51:33 -04:00
Rémi Verschelde
3fdf85cd9b
Merge pull request #31794 from Calinou/editor-increase-line-spacing
...
Increase line spacing in the editor help and asset library descriptions
2019-08-31 22:09:15 +02:00
Rémi Verschelde
61eeace972
Merge pull request #31810 from merumelu/plugin-config-warnings
...
Warn about all missing keys in plugin.cfg
2019-08-31 22:08:57 +02:00
Rémi Verschelde
7cf58a7f66
Merge pull request #31808 from qarmin/crash_audioogg
...
Fix crash when AudioStreamOGGVorbis is empty
2019-08-31 22:08:37 +02:00
Hugo Locurcio
e19f7b3c38
Increase the minimum width of the editor sectioned inspector
...
This makes sure section names such as "Window Placement" or
"Vram Compression" aren't being cut off due to the panel width
being too low.
2019-08-31 20:39:52 +02:00
Bhupendra Aole
1de3ec911f
Default ColorPicker color mode setting
...
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing.
Fixes #30755 and #30754
2019-08-31 00:34:33 -04:00
merumelu
dd2035d6e9
Warn about all missing keys in plugin.cfg
2019-08-30 21:41:00 +02:00
qarmin
2cd2197362
Fix crash when AudioStreamOGGVorbis is empty
2019-08-30 20:01:14 +02:00
merumelu
e2459479de
Editor: remove TOOLS_ENABLED guards
...
For code inside editor/ `#ifdef TOOLS_ENABLED`
is always true so those checks are redundant.
2019-08-30 19:02:46 +02:00
Valentin Zagura
a5ebed211f
Animation Bezier Editor: Extended zoom in and zoom out limits and fixed guide lines to accomodate sub unit steps and steps other than powers of 5
2019-08-30 15:12:42 +01:00
Hugo Locurcio
d6984f7311
Increase line spacing in the editor help and asset library descriptions
...
This makes for more readable text.
2019-08-30 15:08:24 +02:00
Rémi Verschelde
3db1d40045
Merge pull request #31790 from Chaosus/fix_graph_light_theme
...
Fix editor's GraphEdit lines color on light theme
2019-08-30 14:35:13 +02:00
Rémi Verschelde
2e6aa06270
Merge pull request #31791 from Keetz/DisableDefaultWavTrim
...
Disabled trim and normalize as default for wav import
2019-08-30 14:24:04 +02:00
Rémi Verschelde
ca652bbc47
Merge pull request #25353 from azagaya/master
...
Use also invisible tabs to calculate minimum size of tab container
2019-08-30 13:58:37 +02:00
azagaya
fa6f86b886
Make tab containers in editor, project settings, and export dialog, to use hidden tabs for min size computation.
2019-08-30 08:33:32 -03:00
Rémi Verschelde
57c60cdc35
Merge pull request #31706 from akien-mga/android-custom-build-improvements
...
Buildsystem and workflow improvements to the new Android custom builds
2019-08-30 11:55:34 +02:00
Rasmus Ketelsen
c653a020d6
Disabled trim and normalize as default for wav import
2019-08-30 11:46:50 +02:00
Rémi Verschelde
04e4c3a8d3
Merge pull request #31767 from Calinou/tweak-editor-window-dim
...
Tweak the editor window dimming intensity, remove dim fade animation
2019-08-30 10:56:58 +02:00
Chaosus89
227b1c32bc
Fix graph edit lines color on light theme
2019-08-30 11:56:45 +03:00
Chaosus89
19d449ec4c
Fix few icons in SpatialEditor which don't update when theme changed
2019-08-30 11:26:01 +03:00
Rémi Verschelde
2ddcd824df
Merge pull request #31766 from Calinou/editor-improve-light-theme-colors-2
...
Improve more light theme colors in the editor for better readability
2019-08-30 08:50:58 +02:00
Rémi Verschelde
931f7d0ebf
Merge pull request #31754 from aole/node-selection-issue-on-node-create-dialog
...
Fix selecting recent node in CreateDialog
2019-08-30 08:50:24 +02:00
Rémi Verschelde
208dd5b4a6
i18n: Sync translation template with current source
2019-08-29 15:55:33 +02:00
Hugo Locurcio
ef9f234d2b
Tweak the editor window dimming intensity, remove dim fade animation
...
The fade animation tended to give the editor a "sluggish" feel
when running at lower FPS (which is common in heavy 3D scenes),
so it's probably a good idea to remove it.
This also makes dimming less intense (50% instead of 60%).
2019-08-29 15:54:08 +02:00
Rémi Verschelde
00ec90474c
i18n: Sync translations with Weblate
...
Adds templates for Basque, Irish and Odia.
2019-08-29 15:38:52 +02:00
Hugo Locurcio
2d6033c1a8
Improve more light theme colors in the editor for better readability
...
This also makes the "pressed icon" color easier to distinguish
on a light theme.
This closes #31763 .
2019-08-29 15:11:23 +02:00
Bhupendra Aole
a8a293832e
Fix selecting recent node in CreateDialog
...
If the node name matches exactly as the search, the node should be selected.
This also fixes when the user clicks on recent nodes.
Fixes #24044
2019-08-29 09:07:57 -04:00
Rémi Verschelde
52024c0e90
Android: Extract libs from pre-built APKs when installing build template
...
Otherwise we would need to include all of them in android_source.zip,
which means building the zip after all libs have been built by SCons
(so it would have to be done via gradle or a manual script).
By extracting it from the pre-built APKs, we save some disk space in
templates archives too.
2019-08-29 13:22:20 +02:00
Rémi Verschelde
b1f294b3ac
Android: Improve dialogs about custom build template
...
The language didn't make it clear that it's installing a *source* template
to the project folder, for later use when compiling custom APKs.
Fixes #28736 .
2019-08-29 13:22:20 +02:00
Rémi Verschelde
a6b094cdfc
Merge pull request #31748 from Calinou/add-project-description
...
Add a project description setting
2019-08-29 11:09:28 +02:00
Rémi Verschelde
65d5003bce
Merge pull request #31611 from Calinou/animation-editor-hsize-cursor
...
Change mouse cursor when hovering a resize area in the animation editor
2019-08-29 08:50:18 +02:00
Rémi Verschelde
94805cb0bc
Merge pull request #31755 from YeldhamDev/assetlib_minor_cleanup
...
Minor cleanup of the AssetLib's asset dialog
2019-08-29 08:42:45 +02:00
Michael Alexsander Silva Dias
edc3600560
Minor cleanup of the AssetLib's asset dialog
2019-08-29 02:37:44 -03:00
Michael Alexsander Silva Dias
dd511c411b
Major enhancements for the group editor
2019-08-28 21:26:00 -03:00
Hugo Locurcio
5bd01bf637
Add a project description setting
...
The description is displayed as a tooltip when hovering the project
in the Project Manager. It can span multiple lines.
This partially addresses #8167 .
2019-08-28 22:34:29 +02:00
Michael Alexsander Silva Dias
6ce2701abe
AssetLib minor fixes and enhancements
2019-08-28 01:36:09 -03:00
Rémi Verschelde
c59da91aad
Merge pull request #31718 from sparkart/fix_projectmanager_keyup
...
Fixes Keyup Navigation in Project Manager
2019-08-27 20:24:35 +02:00
Rémi Verschelde
d8de8d5e34
Merge pull request #31722 from Calinou/assetlib-improve-image-loading-speed
...
Improve image loading performance in the asset library
2019-08-27 20:19:17 +02:00
Hugo Locurcio
89c13c3ae9
Display a "broken file" icon for missing images in the asset library
...
This partially addresses #31683 .
2019-08-27 19:45:25 +02:00
Hugo Locurcio
2ed7bf58ba
Improve image loading performance in the asset library
...
This closes #31614 .
2019-08-27 19:41:49 +02:00
Emmanuel Barroga
36e3996677
Fixes Keyup Navigation in Project Manager
...
This PR fixes the issue of navigation via keyup in the project manager not selecting the first item.
2019-08-27 10:15:37 -07:00
Rasmus Ketelsen
8dfe83406f
Added the ability to import scene resources as .tres files
2019-08-27 15:21:20 +02:00
Rémi Verschelde
2f63811c9a
Merge pull request #25656 from bruvzg/macos_multi_instances
...
[macOS] Add ability to open multiple editor instances and global/dock menu access
2019-08-26 22:04:37 +02:00
Rémi Verschelde
2b202f3dd0
Merge pull request #31659 from Klesomik/master
...
Fix memory leak in Find in Files
2019-08-26 22:03:44 +02:00
Rémi Verschelde
5883f912b3
Merge pull request #31676 from KoBeWi/this_shader_is_a_history
...
Clear undo history on shader load
2019-08-26 22:02:53 +02:00
Klesomik
d3c879fe1b
Memory leak fixed
...
In some functions in editor/find_in_files.cpp was detected a memory leak
DirAccess* and FileAccess* were replaced by DirAccessRef and FileAccessRef
DirAccessRef and FileAccessRef are just wrappers for DirAccess* and FileAccess*
Fixes for issue #31659
2019-08-26 20:48:10 +03:00
Rémi Verschelde
bf8322376c
Merge pull request #31674 from dankan1890/drag&drop_tileset
...
Added drag and drop to the tileset plugin.
2019-08-26 15:50:25 +02:00
bruvzg
db6d4352ea
[macOS] Add methods to modify global and dock menus. Add ability to open multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
2019-08-26 16:45:49 +03:00
Tomasz Chabora
766b27662a
Clear undo history on shader load
2019-08-26 15:15:29 +02:00
Rémi Verschelde
816ddd7817
Merge pull request #31556 from Chaosus/gles2_inverse
...
Implemented inverse shader function to GLES2
2019-08-26 13:52:03 +02:00
Rémi Verschelde
1222df0ad0
Merge pull request #31585 from 2shady4u/removeguides
...
Added button/shortcut for removing all guides
2019-08-26 13:51:10 +02:00
Rémi Verschelde
f6984e8058
Merge pull request #31615 from Calinou/assetlib-improve-loading
...
Improve loading UX in the asset library
2019-08-26 12:05:11 +02:00
dankan1890
1f560c4679
Added drag and drop to the tileset plugin.
2019-08-26 11:15:19 +02:00
Yuri Roubinski
ac4e6f0041
Fix _get_description param name (visual shaders)
2019-08-25 13:06:16 +03:00
Rémi Verschelde
0d37f198f5
Merge pull request #31628 from merumelu/treeitem-icon-modulate
...
Tree: fix and expose icon modulation
2019-08-25 10:49:26 +02:00
Yuri Roubinski
1d2e5f281e
Fixes for visual shader member filter
2019-08-25 11:01:42 +03:00
Yuri Roubinski
494ea78610
Small performance fix for preview in visual shader
2019-08-25 09:22:09 +03:00
Yuri Roubinski
7f350a2c71
Enhanced preview for a visual shader to show errors
2019-08-25 08:42:21 +03:00
shaderbeast
c6fb6a6a21
Added button/shortcut for removing all guides
...
Added undo/redo
Correctly added has_meta
2019-08-24 22:58:16 +02:00
merumelu
eac0af5892
Tree: fix and expose icon modulation
2019-08-24 17:37:22 +02:00
Hugo Locurcio
f524dc5da6
Improve loading UX in the asset library
...
The asset library will now fade when loading pages instead
of displaying a progress bar, which is a more common design pattern
when browsing an online resource's pages.
A "Loading..." text will be displayed before the first page loads.
2019-08-24 03:08:52 +02:00
Hugo Locurcio
bd05d0e71b
Change mouse cursor when hovering a resize area in the animation editor
...
This also scales the default width of the track name column
on hiDPI displays.
2019-08-23 23:00:38 +02:00
Hugo Locurcio
9eb10f1e4a
Add an `editor_description` property to Node for documentation purposes
...
It is implemented using editor-only metadata, in a way similar to
edit locking or Position2D gizmo extents.
This closes #2082 .
2019-08-23 15:53:07 +02:00
Rémi Verschelde
2a855a068a
Merge pull request #31589 from Chaosus/minimap_enabled
...
Make code minimap to be visible by default
2019-08-23 09:38:49 +02:00
Rémi Verschelde
dd6388d3f6
Merge pull request #31588 from Calinou/editor-help-add-horizontal-margins
...
Add horizontal margins to the editor help based on width
2019-08-23 09:38:37 +02:00
Rémi Verschelde
0cff5d0b30
Merge pull request #30833 from sparkart/fix_inspector_clear_remote_node
...
Fix Clearing Inspector for Remote Node
2019-08-23 09:13:06 +02:00
Rémi Verschelde
73f1f9b44f
Merge pull request #31586 from SonerSound/issue_31533
...
Export path is the only path to be saved as a relative path
2019-08-23 08:34:03 +02:00
Rémi Verschelde
2477d414a1
Merge pull request #31111 from Xrayez/script-templates-project
...
Allow to define and load script templates per project
2019-08-23 08:24:00 +02:00
Rémi Verschelde
739cbf45c3
Merge pull request #31569 from SaracenOne/plugin_shutdown_fix
...
Fix an exception when trying to close down editor with plugins using autoload singletons
2019-08-23 08:19:29 +02:00
Rémi Verschelde
9262ad45d6
Merge pull request #31548 from Calinou/project-manager-improve-missing
...
Improve the display of missing projects in the Project Manager
2019-08-23 08:17:27 +02:00
Yuri Roubinski
db7bbbdbc7
Make code minimap to be visible by default
2019-08-23 08:42:15 +03:00
Hugo Locurcio
e564bffd90
Add horizontal margins to the editor help based on width
...
This decreases the number of characters per line, and therefore
helps make the editor help more readable.
2019-08-23 01:42:29 +02:00
SonerSound
326f856006
Export path is the only path to be saved as a relative path
...
Also reverts 90b2415343
2019-08-22 22:20:15 +01:00
Andrii Doroshenko (Xrayez)
f013596760
Allow to define and load script templates per project
...
Previously it was only possible to create custom script templates per
editor instance which could lead to certain name collisions, but now one
can create such templates per project tailored for specific use cases.
The default path to search for custom script templates is defined in
project settings via `editor/script_templates_search_path` setting as
`res://script_templates` path, yet this can be configured per project.
Templates have at most two origins now:
1. Project-specific, defined in `ProjectSettings`, for instance:
- res://script_templates/
2. Editor script templates, for instance:
- %APPDATA%/Godot/script_templates/
As script templates can have the same name over different paths,
the override mechanism was also added, enabling project-specific
templates over the editor ones.
2019-08-22 20:51:30 +03:00
Saracen
daf443bcbc
Fix an exception when trying to close down editor with plugins enabled.
2019-08-22 16:30:55 +01:00
Hugo Locurcio
0271a5f1d8
Improve the display of missing projects in the Project Manager
...
- Use a "broken file" icon instead of a "folder" icon for missing
projects
- Fade out the project icon for missing projects
- Use transparent modulate for grayed out projects as it results in
better-looking text
- Disable the "Edit", "Run" and "Rename" buttons if at least
one missing project is selected
- Make double-clicking or pressing Enter do nothing when a missing
project is selected
- Change the "Open in FileSystem" tooltip accordingly for missing
projects
- Don't connect the "Open in FileSystem" pressed signal to make the
button ineffective for missing projects
- Name missing projects as "Missing Project" instead of
"Unnamed Project"
2019-08-22 17:06:02 +02:00
Michael Alexsander Silva Dias
c5b45c9f09
Cleanup and minor changes in FileSystem Dock
2019-08-22 10:24:51 -03:00
Rémi Verschelde
7978e9071b
Merge pull request #31302 from Paulb23/issue_4881_code_minimap
...
Add minimap to text_edit
2019-08-22 13:15:43 +02:00
Rémi Verschelde
2e5ba32b4b
Merge pull request #31545 from groud/add_smart_snapping_display
...
Displays smart snapping guides when snapped
2019-08-22 13:12:09 +02:00
Rémi Verschelde
4ab4d4a59b
Merge pull request #31489 from iwek7/removeRenameRootOption
...
Showing only working options in filesystem dock menu
2019-08-22 11:56:48 +02:00
Rémi Verschelde
d2f5c43ad9
Merge pull request #31502 from thimenesup/patch-1
...
Expose SceneTreeDock::get_tree_editor() to GDScript
2019-08-22 11:55:49 +02:00
Yuri Roubinski
4dcee2035a
Implemented inverse shader function to GLES2
2019-08-22 08:22:49 +03:00
Paulb23
0cea72273f
Add minimap to text_edit
2019-08-21 23:48:46 +01:00
Gilles Roudière
692a78db19
Displays smart snapping guides when snapped
2019-08-21 22:15:51 +02:00
Rémi Verschelde
3bd49dabfa
Merge pull request #31535 from KoBeWi/TileMove
...
Edit TileMap only with TOOL_SELECT
2019-08-21 21:18:39 +02:00
Rémi Verschelde
e132c36261
Merge pull request #31539 from Calinou/improve-editor-strings
...
Tweak a few strings displayed in the editor for consistency
2019-08-21 21:09:36 +02:00
Tomasz Chabora
9520d9706a
Edit TileMap only with TOOL_SELECT
2019-08-21 20:56:15 +02:00
Hugo Locurcio
3ae0306a1f
Tweak a few strings displayed in the editor for consistency
2019-08-21 19:33:29 +02:00
Hugo Locurcio
e1b9004b0f
Rename FileDialog's folder icon custom color to `folder_icon_modulate`
...
The custom color introduced in be8d569744
had the same name as the "folder" icon, which could cause conflicts
in the generated documentation.
The new name is also more self-explanatory.
2019-08-21 18:43:01 +02:00
Rémi Verschelde
99980d856b
Merge pull request #29871 from Faless/crypto/initial_pr
...
More Crypto, SSL server, crt/key as Resource, HashingContext
2019-08-21 18:03:03 +02:00
Fabio Alessandrelli
fc411115f5
Fix Network Editor Settings setup.
2019-08-21 17:12:33 +02:00
Fabio Alessandrelli
ce5a3f56a6
Rewrite StreamPeerSSL with SSLContext helper class
...
connect_to_stream now accepts optional parameter to specify which
certificates to trust.
Implement accept_stream (SSL server) with key/cert parameters to specify
the RSA key and X509 certificate resources.
2019-08-21 16:59:38 +02:00
Hugo Locurcio
a350fd4a57
Draw 3D collision shape/raycast gizmos in grayscale when disabled
...
This makes them easier to distinguish from their enabled counterparts,
as is already done in the 2D editor.
2019-08-21 15:32:51 +02:00
iwek7
2b8d65761c
Improvements and fixes of filesystem dock
2019-08-21 11:13:50 +02:00
Rémi Verschelde
51def4dab9
Merge pull request #31523 from nekomatata/show-warning-loading
...
EditorNode::show_warning displays a console warning during project loading
2019-08-21 10:05:24 +02:00
PouleyKetchoupp
a735afac95
EditorNode::show_warning displays a console warning instead of failing during project load
...
Fixes #31522
2019-08-21 09:05:30 +02:00
Rémi Verschelde
7b37321ae3
Merge pull request #31499 from nekomatata/fix-new-project-metadata
...
Setting project metadata doesn't fail when project_metadata.cfg doesn't exist
2019-08-21 08:54:32 +02:00
PouleyKetchoupp
b49226e085
Support for file not found in ConfigFile::Load and handle a few specific cases
...
EditorSettings::set_project_metadata: creates project_metadata.cfg if it doesn't exist
EditorPlugin::get_config: removed (not used)
Fixes #31444
2019-08-21 08:32:55 +02:00
thimenesup
79a4930501
Expose SceneTreeDock::get_tree_editor()
...
This can be useful for plugins that rely on some signals emitted by it, Like my Networked Scene Editor plugin https://github.com/thimenesup/GodotNetworkedSceneEditor
2019-08-20 18:06:21 +02:00
Rémi Verschelde
bb5bf8ef49
Merge pull request #31498 from KoBeWi/setter_getter_radar
...
Include setters and getters in help search
2019-08-20 17:11:17 +02:00
Tomasz Chabora
e068fbbb20
Include setters and getters in help search
2019-08-20 15:37:22 +02:00
Rémi Verschelde
a4377ca465
Merge pull request #31356 from Calinou/improve-project-manager-ui
...
Improve the project manager UI
2019-08-20 12:55:15 +02:00
Rémi Verschelde
e84d83ce78
Merge pull request #31492 from Calinou/file-dialog-color-folders
...
Use a different color for folder icons in file dialogs
2019-08-20 12:51:31 +02:00
Rémi Verschelde
e6c4ef3455
Merge pull request #31486 from KoBeWi/typos_must_die
...
Fix various typos and style errors in text
2019-08-20 12:50:12 +02:00
Rémi Verschelde
5d8951764a
Merge pull request #31466 from Calinou/improve-2d-path-editors
...
Improve the appearance of 2D path editors
2019-08-20 12:45:47 +02:00
Rémi Verschelde
4e760096a9
Merge pull request #31443 from Calinou/editor-use-minimum-window-size
...
Define a minimum window size in the editor and project manager
2019-08-20 12:42:58 +02:00
Hugo Locurcio
be8d569744
Use a different color for folder icons in file dialogs
...
This makes them easier to distinguish from files for quick
visual grepping.
This can also be used in projects by setting the FileDialog "folder"
color. The default value (`Color(1, 1, 1)`) has no visual impact,
for compatibility with existing projects.
2019-08-20 00:10:27 +02:00
Tomasz Chabora
7e075029c8
Fix various typos and style errors in text
2019-08-19 20:43:42 +02:00
Fabio Alessandrelli
c19871af6d
Move CryptoCore to it's own folder.
...
Crypto classes will be placed in core/crypto.
2019-08-19 16:31:05 +02:00
Hugo Locurcio
558e93f069
Improve the appearance of 2D path editors
...
- Add new handle icons for path/polygon editors
- Add smooth path point icons and curve tangent icons
- Use a gray color for tangent lines in the Path2D and Path editors
- Use antialiasing for Path2D lines
2019-08-18 22:27:01 +02:00
Michael Alexsander Silva Dias
c19a66d72f
Simplify structure of preview text in visual shader editor
2019-08-18 13:27:08 -03:00
Rémi Verschelde
ef37f00525
Merge pull request #31453 from Chaosus/vs_code_preview
...
Added code preview to visual shader
2019-08-18 17:32:49 +02:00
Rémi Verschelde
9cd58b6916
Merge pull request #31449 from Chaosus/vs_global_expression
...
Added global expressions to visual shaders
2019-08-18 17:31:39 +02:00
Yuri Roubinski
808e44df6d
Added code preview to visual shader
2019-08-18 17:28:19 +03:00
Rémi Verschelde
2920c8fbaa
Merge pull request #31447 from Calinou/spatial-editor-use-shortcut-tooltips
...
Use shortcut tooltips in the spatial editor
2019-08-18 16:07:05 +02:00
Rémi Verschelde
fb5e8b509b
Merge pull request #31448 from Calinou/improve-snap-object-to-floor
...
Improve "Snap Object to Floor" functionality
2019-08-18 11:07:12 +02:00
Rémi Verschelde
d154e55f45
Merge pull request #31442 from KoBeWi/grounded_grabber
...
Update Slider grabber position when using mouse wheel
2019-08-18 11:03:28 +02:00
Rémi Verschelde
7f7e0f9dfc
Merge pull request #31439 from YeldhamDev/node_dock_minor_improvements
...
Minor improvements to the Node dock
2019-08-18 11:02:50 +02:00
Rémi Verschelde
5c853a45e6
Merge pull request #31423 from Calinou/improve-node-signal-group-tooltip
...
Improve the scene tree signals/groups tooltip
2019-08-18 10:55:16 +02:00
Yuri Roubinski
e3b43771aa
Added global expressions to visual shaders
2019-08-18 08:49:56 +03:00
Michael Alexsander Silva Dias
96a256557c
Minor improvements to the Node dock
2019-08-17 23:05:58 -03:00
Hugo Locurcio
78878fbc97
Improve "Snap Object to Floor" functionality
...
- Display an error message if no selected nodes could be snapped
- Only register an undo/redo action if at least one node
could be snapped
- Increase the maximum snapping height to 20
- Increase the negative snapping limit to 0.2
2019-08-18 01:50:25 +02:00
Hugo Locurcio
35ad0475c3
Use shortcut tooltips in the spatial editor
...
This makes the tooltips display the correct shortcuts in case
they are changed, as is done automatically by `set_shortcut()`.
Button shortcuts are now used to apply shortcut actions,
which makes for cleaner code.
2019-08-17 23:39:28 +02:00
Rémi Verschelde
cc9f2a2d8b
Merge pull request #31401 from aaronfranke/no-init-scripts
...
Allow plugins to not have an init script
2019-08-17 22:09:17 +02:00
Hugo Locurcio
c0eee235c4
Define a minimum window size in the editor and project manager
...
This prevents most UI elements from overlapping or being cut off
as a result of the window being too small.
This closes #20669 .
2019-08-17 21:56:59 +02:00
Tomasz Chabora
8a0e6e23a7
Update Slider grabber position when using mouse wheel
2019-08-17 21:12:05 +02:00
Hugo Locurcio
c62302a432
Improve the scene tree signals/groups tooltip
...
The tooltip now displays the number of connections and groups
that are assigned to the hovered node.
2019-08-17 14:20:16 +02:00
Hugo Locurcio
cef7ca4abb
Improve the project manager UI
...
This incorporates many suggestions from #31342 .
This also revises the search behavior to be simpler and more efficient:
- Searching will now search in both the project name and path. A project
will be displayed if either of these match the search term.
- If the search term contains a "/", the whole path will be used to match
the search term. Otherwise, only the last path component will be used.
2019-08-17 13:48:25 +02:00
Rémi Verschelde
d3153c28f0
Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'
...
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is
(conditionally defines the error message).
There are a few ERR_EXPLAINC calls for C-strings where String is not included
which can stay as is to avoid adding additional _MSGC macros just for that.
Part of #31244 .
2019-08-17 13:31:22 +02:00
Braden Bodily
71d71d55b5
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'
...
Condensed some if and ERR statements. Added dots to end of error messages
Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?),
core/os/memory.cpp,
drivers/png/png_driver_common.cpp,
drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
2019-08-17 12:33:15 +02:00
Rémi Verschelde
40640a01dc
Merge pull request #31424 from Calinou/improve-animation-editor-timeline
...
Improve timeline drawing in the animation editor
2019-08-17 12:05:42 +02:00
Rémi Verschelde
fe8f73c939
Merge pull request #31422 from sparkart/attachscript_by_scripteditor
...
Adds Attaching Script via Script Editor
2019-08-17 11:55:48 +02:00
Rémi Verschelde
be42f1bf6c
Merge pull request #31399 from Calinou/box-selection-add-borders
...
Add an outline to box selection rectangles for better visibility
2019-08-17 11:26:05 +02:00
Rémi Verschelde
c7a7163dff
Merge pull request #31398 from KoBeWi/1000_ways_to_make_scene
...
Allow to create scene from FileSystem dock
2019-08-17 11:25:33 +02:00
Hugo Locurcio
a341c65f65
Improve timeline drawing in the animation editor
...
A small arrow-like icon is now drawn at the top of the timeline.
The timeline is now also wider as to be more visible.
2019-08-17 00:20:21 +02:00
Emmanuel Barroga
c9445a0faa
Adds Attaching Script via Script Editor
...
Allows you to attach a script by dragging the name in the script list of the script editor to the node in the scene tree.
2019-08-16 12:22:18 -07:00
Aaron Franke
ceb61fb784
Allow plugins to not have an init script
2019-08-15 17:52:07 -04:00
Hugo Locurcio
108f9646f5
Add an outline to box selection rectangles for better visibility
...
This also refactors selection box color definitions
to avoid repetition.
2019-08-15 22:27:32 +02:00
Tomasz Chabora
cedee8281b
Allow to create scene from FileSystem dock
2019-08-15 19:47:21 +02:00
Hugo Locurcio
bfce99bc98
Set the low processor mode sleep editor settings to require a restart
...
These settings are only read when the editor starts.
2019-08-15 19:14:14 +02:00
Rémi Verschelde
b24228e03b
Merge pull request #31391 from Calinou/improve-particles-emission-editor-errors
...
Improve error reporting in the Particles emission point creation dialog
2019-08-15 18:17:54 +02:00
Rémi Verschelde
983e348fe9
Merge pull request #31387 from Daw11/assets-image-autoselect
...
Automatically select the first image of the assets page
2019-08-15 18:16:55 +02:00
Rémi Verschelde
97dcdd1a6b
Merge pull request #31381 from sparkart/fix_projectmanager_buttons
...
Fixes ProjectManager Buttons Not Updating
2019-08-15 18:13:42 +02:00
Hugo Locurcio
63d45136dc
Improve error reporting in the Particles emission point creation dialog
...
- Display an error message if the selected node doesn't
extend from Spatial
- Display the selected node name in error messages to provide
additional context when relevant
- Clarify error messages
- Use the standard editor warning dialog
2019-08-15 16:01:39 +02:00
Davide Busterna
7434966f10
Automatically select the first image of the assets page
2019-08-15 13:43:00 +02:00
Emmanuel Barroga
1f5dc0ea3b
Fixes ProjectManager Buttons Not Updating
...
Fixes buttons in ProjectManager not updating to disabled after deleting projects.
2019-08-14 18:30:42 -07:00
Rémi Verschelde
d998daeaa7
Merge pull request #31375 from Calinou/add-auto-editor-font-hinting
...
Add an "Auto" editor font hinting setting to match OS font rendering
2019-08-15 02:54:29 +02:00