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