Rémi Verschelde
bf7d6de556
Merge pull request #36441 from YeldhamDev/tabs_unused_constants
...
Remove unused theme constants in Tab(Container)
2020-02-22 08:17:33 +01:00
Michael Alexsander
e9244c4c23
Remove unused theme constants in Tab(Container)
2020-02-22 01:24:16 -03:00
Yuri Roubinsky
7c1415b99b
Merge pull request #36421 from Chaosus/vs_sort_custom_nods
...
Refactor node processing in visual shader member dialog
2020-02-21 21:34:03 +03:00
Yuri Roubinsky
b78b37ed3f
Refactor node processing in visual shader member dialog
2020-02-21 18:34:31 +03:00
Juan Linietsky
3c0059650d
Added StringName as a variant type.
...
Also changed all relevant properties defined manually to StringName.
2020-02-21 14:25:29 +01:00
Rémi Verschelde
7ac0973e9a
Merge pull request #36415 from reduz/skeleton-skin-named
...
Add support for named binds in Skin.
2020-02-21 14:12:19 +01:00
Juan Linietsky
9a34f39d32
Add support for named binds in Skin.
...
Helps better reutilization of skeletons from Maya exported files.
2020-02-21 09:40:29 -03:00
Fabio Alessandrelli
cbc450c0e5
Huge Debugger/EditorDebugger refactor.
2020-02-21 11:12:03 +01:00
Juan Linietsky
69c95f4b4c
Reworked signal connection system, added support for Callable and Signal objects and made them default.
2020-02-20 08:24:50 +01:00
Rémi Verschelde
f8c87c0ac4
Merge pull request #36375 from Xrayez/pimpmaps-typos
...
Fix MIMPAMPS typos in constants throughout the engine
2020-02-20 07:00:25 +01:00
Haoyu Qiu
a7578459c2
Fixes crash when loading StreamTexture from file
2020-02-20 09:45:00 +08:00
Andrii Doroshenko (Xrayez)
fa766265a7
Fix MIMPAMPS typos in constants throughout the engine
2020-02-20 01:31:43 +02:00
Rémi Verschelde
49fec646cb
Fix compilation warnings and re-enable werror=yes on Travis
...
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings
raised by GCC 8 and 9.
Fix -Wunused-function, -Wunused-private-field and
-Wtautological-constant-out-of-range-compare raised by Clang.
Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison
operation).
GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising
errors and will thus not abort compilation with `werror=yes`.
Treat glslang headers are system headers to avoid raising warnings.
Re-enables us to build with `werror=yes` on Linux and macOS, thus
catching warnings that would be introduced by new code.
Fixes #36132 .
2020-02-18 20:51:25 +01:00
Andrea Catania
79fc7d7d6a
Added utility functions to the new NavigationServer:
...
- Vector3 get_closest_point_to_segment(const Vector3 &p_from, const Vector3 &p_to, const bool &p_use_collision = false);
- Vector3 get_closest_point(const Vector3 &p_point);
- Vector3 get_closest_point_normal(const Vector3 &p_point);
- Object *get_closest_point_owner(const Vector3 &p_point);
2020-02-18 17:12:45 +01:00
Rémi Verschelde
e1b6a0f3b6
Merge pull request #36318 from akien-mga/fix-mono-build
...
Fix CanvasItem bindings and Mono build
2020-02-18 13:57:06 +01:00
Rémi Verschelde
ae99439667
Merge pull request #36317 from godotengine/revert-36182-how_to_text_file
...
Revert "Remove TextFile from public API"
2020-02-18 12:59:15 +01:00
Rémi Verschelde
a16be762ed
Fix arguments/default values in CanvasItem bindings
2020-02-18 11:28:26 +01:00
Rémi Verschelde
77b05256d6
Revert "Remove TextFile from public API"
2020-02-18 10:35:30 +01:00
Juan Linietsky
3205a92ad8
PoolVector is gone, replaced by Vector
...
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are
sugar for `Vector<Type>`.
2020-02-18 10:10:36 +01:00
Rémi Verschelde
c92c434299
Merge pull request #36229 from dreamsComeTrue/rich-text-label-key-events
...
RichTextLabel: proper handling of internal key events
2020-02-17 09:56:38 +01:00
Rémi Verschelde
c3f2b84694
Merge pull request #36233 from WARIO-MDMA/audiostreamplayer-pitch-scale
...
[AudioStreamPlayer/2D/3D] Reduce the max value of pitch_scale's inspector slider
2020-02-17 09:54:02 +01:00
Yuri Roubinsky
ed05e27c81
Fix GDCLASS for Texture2D/TextureLayered
2020-02-17 08:21:10 +03:00
Haoyu Qiu
3584e27948
Fixes memory leak when loading StreamTexture
2020-02-16 13:22:25 +08:00
Juan Linietsky
867d073b98
Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.
2020-02-15 08:36:04 -03:00
WARIO-MDMA
61d20b1f56
Reduce AudioStreamPlayer's pitch_scale max value
2020-02-15 22:26:08 +11:00
Michael Alexsander
5f5ccfc361
Fix hiding ColorPicker's presets not fully hiding its controls
2020-02-15 02:19:28 -03:00
Dominik 'dreamsComeTrue' Jasiński
ff030afc93
RichTextLabel: proper handling of internal key events
...
Fixes #36211
2020-02-14 23:15:38 +01:00
Handola
697b8a891e
Fix bind method set_override_exposure_enabled of CameraEffects
2020-02-14 20:05:54 +01:00
Rémi Verschelde
4a5eab05f5
Merge pull request #36182 from KoBeWi/how_to_text_file
...
Remove TextFile from public API
2020-02-14 17:41:55 +01:00
Tomasz Chabora
591cd3fd84
Remove TextFile from public API
2020-02-14 15:46:16 +01:00
Rémi Verschelde
79d42069a9
Merge pull request #36208 from akien-mga/warnings
...
Fix various GCC compilation warnings after Vulkan merge
2020-02-14 13:49:20 +01:00
Rémi Verschelde
d2537407ef
Fix various GCC compilation warnings after Vulkan merge
...
Part of #36132 .
2020-02-14 10:02:31 +01:00
Haoyu Qiu
72e6369a81
Fixes memory leak in NavigationPolygon
2020-02-14 10:35:09 +08:00
Rémi Verschelde
54ac8eaba6
Remove more deprecated methods and code
2020-02-13 12:37:45 +01:00
Yuri Roubinsky
bc647393ba
Added virtual method to VisualShaderNodeCustom to enable high-end mark
2020-02-13 09:43:43 +03:00
Rémi Verschelde
c48237967a
Merge pull request #36145 from akien-mga/remove-deprecated-friction-bounce
...
Remove deprecated PhysicsBody friction and bounce parameters
2020-02-12 21:49:38 +01:00
Rémi Verschelde
bac1073617
Merge pull request #36146 from akien-mga/doc-update
...
doc: Add BaseMaterial3D strings ported from SpatialMaterial
2020-02-12 21:48:05 +01:00
Juan Linietsky
cf8c679a23
ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits.
2020-02-12 14:24:54 -03:00
Rémi Verschelde
0f90ddbcf4
Merge pull request #35522 from AndreaCatania/rpc_opt_2
...
Optmized data sent during RPC and RSet calls.
2020-02-12 16:56:17 +01:00
Rémi Verschelde
0bdd748d34
doc: Add BaseMaterial3D strings ported from SpatialMaterial
...
Follow-up to #36135 .
2020-02-12 15:23:26 +01:00
Rémi Verschelde
1206bdb71b
Remove deprecated PhysicsBody friction and bounce parameters
...
They were replaced in 3.1 by PhysicsMaterial properties via #12403 .
2020-02-12 13:39:55 +01:00
Andrea Catania
eb07e87981
Optmized data sent during RPC and RSet calls.
...
- Now is sent the method ID rather the full function name.
- The passed IDs (Node and Method) are compressed so to use less possible space.
- The variant (INT and BOOL) is now encoded and compressed so to use much less data.
- Optimized RPCMode retrieval for GDScript functions.
- Added checksum to assert the methods are the same across peers.
This work has been kindly sponsored by IMVU.
2020-02-12 13:36:47 +01:00
Rémi Verschelde
0e3d625737
doc: Sync classref with current source
...
Lots of internal API changes and some docstrings were lost in the conversion.
I manually salvaged many of them but for all the rendering-related ones, an
additional pass is needed.
Added missing enum bindings in BaseMaterial3D and VisualServer.
2020-02-12 12:37:13 +01:00
Rémi Verschelde
db81928e08
Vulkan: Move thirdparty code out of drivers, style fixes
...
- `vk_enum_string_helper.h` is a generated file taken from the SDK
(Vulkan-ValidationLayers).
- `vk_mem_alloc.h` is a library from GPUOpen:
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
2020-02-11 14:08:44 +01:00
Juan Linietsky
2049dec79e
Added normalmap guided roughness mipmap generator, and a global roughness limiter.
2020-02-11 12:16:01 +01:00
Juan Linietsky
bed8980ca5
Re-implemented screen space ambient occlusion
2020-02-11 12:15:46 +01:00
Juan Linietsky
f8b5c5f063
DOF fully implemented, can be edited on the fly.
2020-02-11 12:15:26 +01:00
Juan Linietsky
f14defb6f9
WIP CameraEffects implementation (bokeh not working for now)
2020-02-11 12:15:03 +01:00
Juan Linietsky
bd364d1447
Auto exposure re-implemented in Vulkan
2020-02-11 12:14:23 +01:00
Juan Linietsky
b859e69919
-Refactored post processing, re-added glow and added a mix blend mode.
2020-02-11 12:14:21 +01:00