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
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
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
Hannah Crawford
4da0d7727f
Fix for #34186 : "Center Selection" in 2D editor introduces graphic bias.
2019-12-11 16:09:55 +00: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
dankan1890
f2e396f15b
Fix TilesetEditorContext separation snap.
...
Fixes #34182
2019-12-08 00:29:35 +01:00
Haoyu Qiu
0b4cc12b4f
clear_meta when clearing guides with the ruler
2019-12-06 09:19:54 +08:00
simpuid
83194f4a50
changed set_meta to remove_meta in CLEAR_GUIDES menu option
2019-12-05 02:46:22 +05:30
Haoyu Qiu
e8838f4385
Fixes crash when clearing guides in empty scene
2019-12-05 16:19:00 +08: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
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
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
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
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
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
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
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
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
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
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
Tomasz Chabora
f7476359e0
Make sure tile is selected when selecting TileMap
2019-11-13 14:26:37 +01:00
Tomasz Chabora
1369e00973
Properly handle zoom when opening tileset editor
2019-11-12 16:23:53 +01: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
Marcel Admiraal
d18b2e599d
Remove all uses of ERR_EXPLAIN macros.
2019-11-11 10:24:04 +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
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
Rafał Mikrut
7dda9309f9
Memory leak and crash fixes
2019-11-10 09:49:13 +01:00
PouleyKetchoupp
72453e566d
Fixed function/audio/anim tracks in blend tree animation filter
2019-11-09 22:30:08 +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