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