Commit graph

5540 commits

Author SHA1 Message Date
Haoyu Qiu a3ab1cb698 Center error icon vertically in AssetLib 2019-12-16 09:24:02 +08: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