Commit graph

5490 commits

Author SHA1 Message Date
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
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