Commit graph

5545 commits

Author SHA1 Message Date
Juan Linietsky
871311d337 More GIProbe work and fixes 2019-12-12 17:10:15 +01:00
bruvzg
4a2b97dffa Fix Vector3 ambiguities and out of bounds init. 2019-12-12 17:10:05 +01:00
Juan Linietsky
3b2f85ccbb Fixed display menu visualizations. 2019-12-12 17:09:48 +01:00
Juan Linietsky
307f84b43a GIProbes working. 2019-12-12 17:09:36 +01:00
Juan Linietsky
ba7d833a93 Fixes to Basis Universal. 2019-12-12 17:09:22 +01:00
Juan Linietsky
514236a97c Rewritten StreamTexture for better code reuse, added basis universal support 2019-12-12 17:09:05 +01:00
Juan Linietsky
a345f50c8b Untested support for compute shaders 2019-12-12 17:09:04 +01:00
Juan Linietsky
a0a7732aec Visual GPU profiler and related profiling support in Vulkan. 2019-12-12 17:08:05 +01:00
Juan Linietsky
3f6b9c8611 Proper texture reloading (was broken). 2019-12-12 17:08:03 +01:00
Juan Linietsky
8501b37b8f Modernized default 3D material, fixes material bugs. 2019-12-12 17:08:02 +01:00
Juan Linietsky
7919ef863b Several fixes to 3D rendering, and multimesh implementation. 2019-12-12 17:08:00 +01:00
Juan Linietsky
7db3532b2e Environment sky more or less working. 2019-12-12 17:07:47 +01:00
Juan Linietsky
75299f4a63 Base 3D engine done, still untested, though. 2019-12-12 17:06:38 +01:00
Rémi Verschelde
9b2dc59003 Merge pull request #29993 from bruvzg/vulkan
Initial Vulkan support for macOS (MoltenVK) and Windows
2019-12-12 17:04:53 +01:00
bruvzg
142188639c Add static Vulkan loader.
Initial Vulkan support for Windows.
Initial Vulkan support for macOS.
2019-12-12 13:19:45 +01:00
Juan Linietsky
9ae5001b0e Added a spinlock template as well as a thread work pool class.
Also, optimized shader compilation to happen on threads.
2019-12-12 13:05:27 +01:00
Juan Linietsky
1dd402d083 Changes to material required to add custom shaders in RD renderer 2019-12-12 12:01:50 +01:00
Juan Linietsky
490fd93995 Fix crash on import. 2019-12-12 11:44:08 +01:00
Juan Linietsky
667785e474 Bugfixes and ability to better specify filter and repeat modes everywhere.
Removes antialiased flag for draw_* methods.
2019-12-12 11:33:08 +01:00
Juan Linietsky
e2ffdb2d01 A lot of progress with canvas rendering, still far from working. 2019-12-12 10:50:00 +01:00
Juan Linietsky
d4d470bc97 Texture refactor
-Texture renamed to Texture2D
-TextureLayered as base now inherits 2Darray, cubemap and cubemap array
-Removed all references to flags in textures (they will go in the shader)
-Texture3D gone for now (will come back later done properly)
-Create base rasterizer for RenderDevice, RasterizerRD
2019-12-12 10:05:14 +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
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
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