Commit Graph

8173 Commits

Author SHA1 Message Date
Wojtek Figat
09532acf29 Fix compilation with Clang 2024-02-17 07:12:52 +01:00
Wojtek Figat
01c3dd8d09 Merge branch 'Withaust-terrainscripting' 2024-02-16 23:49:40 +01:00
Wojtek Figat
9e269b8e58 Merge branch 'terrainscripting' of https://github.com/Withaust/FlaxEngine into Withaust-terrainscripting
# Conflicts:
#	Source/Engine/Terrain/Terrain.h
#	Source/Engine/Terrain/TerrainPatch.h
2024-02-16 23:49:33 +01:00
Wojtek Figat
b931020e5c Enable terrain updating in cooked build
#2068
2024-02-16 23:32:46 +01:00
Wojtek Figat
c3faabaa0f Fix game build 2024-02-16 23:29:01 +01:00
Wojtek Figat
12f7370caf Fix missing forward type decl 2024-02-16 23:16:18 +01:00
Wojtek Figat
c140cc4e7c Add Material to RayCastHit for surface detection logic 2024-02-16 17:39:35 +01:00
Wojtek Figat
85f2910718 Move collider shape raycasting utilities to the PhysicsColliderActor class 2024-02-16 17:19:51 +01:00
Wojtek Figat
42b4443e14 Add support for multiple physical materials in terrain - one for each painted layer
#1112 #2159
2024-02-16 17:11:40 +01:00
Wojtek Figat
f04f1cc90e Add ScriptingEnum::ToStringFlags for printing flag enums into readable text 2024-02-16 12:46:35 +01:00
Wojtek Figat
f0f8da3c09 Various fixes 2024-02-16 12:29:59 +01:00
Wojtek Figat
c7a449fe1c Fix marshaling custom type array to C# with MarshalAs used 2024-02-15 18:28:51 +01:00
Wojtek Figat
5fc7c6e190 Add MinCount and MaxCount to Collection attribute 2024-02-15 18:26:12 +01:00
Wojtek Figat
b5e23f0096 Improve JsonAssetReference 2024-02-15 11:46:17 +01:00
Wojtek Figat
7538296775 Refactor PhysicalMaterial usage to utilize JsonAssetReference struct 2024-02-15 11:45:50 +01:00
Wojtek Figat
fe7cc62728 Add JsonAssetReference type for scripting 2024-02-15 11:22:01 +01:00
Wojtek Figat
43f344ee13 Simplify bindings code for object refs 2024-02-15 10:54:33 +01:00
Wojtek Figat
f730657518 Add support for using pointer in MarshalAs in scripting types 2024-02-15 10:47:45 +01:00
Wojtek Figat
db7dfdb0b1 Add support for structure and script types in JsonAsset 2024-02-14 18:55:48 +01:00
Wojtek Figat
42363e411e Various tweaks 2024-02-14 18:21:30 +01:00
Wojtek Figat
ebcc864b06 Fix missing file error in Content::GetAssetInfo 2024-02-14 12:47:34 +01:00
Wojtek Figat
3958a4740f Add option to enable Depth Test on cloth painting debug preview (enabled by default) 2024-02-14 12:36:04 +01:00
Wojtek Figat
31437e6dde Fix copy/paste for UI brushes 2024-02-14 12:17:02 +01:00
Wojtek Figat
6548ca1148 Fix JsonAsset::GetInstance to properly check base class
#2224
2024-02-13 10:43:20 +01:00
Wojtek Figat
07e93e261e Fix physics simulation result collection to happen before draw or next update 2024-02-13 09:52:26 +01:00
Wojtek Figat
36beac5154 Fix deadlock when stack overflows in the Anim Graph update 2024-02-11 12:44:40 +01:00
Wojtek Figat
04f1c9a59b Fix missing networked object ID resolving
#1607
2024-02-10 21:06:48 +01:00
Wojtek Figat
46441f6a03 Fix crash when using multi-threaded objects spawn and caching scripting VTables 2024-02-10 18:43:15 +01:00
Wojtek Figat
196a4ffe49 Add warning on not implemented generic type network serializer (need better codegen)
#1988
2024-02-10 18:17:29 +01:00
Wojtek Figat
4a19657e75 Fix crash when replicating C# object with NetworkReplicated attribute on derived generic class
#1988
2024-02-10 17:26:10 +01:00
Wojtek Figat
c646007882 Fix color grading issue with LUT texture used 2024-02-09 23:29:43 +01:00
Wojtek Figat
080202cf95 Fix crash when storage file gets deleted due to missing ref from async thread which failed to load it 2024-02-09 15:52:53 +01:00
Wojtek Figat
87c66b0168 Fix root motion preview in animation window 2024-02-09 15:38:11 +01:00
Wojtek Figat
da1b2f0c07 Fix crash when file handle was null 2024-02-09 15:37:42 +01:00
Wojtek Figat
d08843900e Add AnimationRootMotionFlags to configure root motion component extraction
Add `RootMotionMode` to support extracting root motion from animated skeleton pose center of mass

#1429 #2152
2024-02-09 15:37:29 +01:00
Wojtek Figat
f9ca69d8a9 Disable dynamic buckets in ThreadLocal on non-Desktop platforms that use fixed set of thread count 2024-02-08 10:47:55 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
eed780a0b0 Add highlighting active state in anim graph 2024-02-07 19:31:34 +01:00
Wojtek Figat
cfb8350c65 Fix anim graph debugging to handle nested graph connections highlights properly 2024-02-07 19:22:07 +01:00
Wojtek Figat
a38d1ad7cc Fix anim graph trace events debugging to include nodes path for nested graphs 2024-02-07 19:03:38 +01:00
Wojtek Figat
e75902e900 Variosu tweaks 2024-02-07 18:56:07 +01:00
Wojtek Figat
d1f40d1c47 Fix missing visibleIf attr 2024-02-07 18:53:55 +01:00
Wojtek Figat
2042525e92 Add pooling to some StringBuilder objects in build tool 2024-02-07 18:53:09 +01:00
Wojtek Figat
8441726da7 Improve support for fixed-arrays in api fields 2024-02-07 18:43:48 +01:00
Wojtek Figat
c67d352065 Refactor win32 exe icon updating
#928
2024-02-07 12:51:52 +01:00
Wojtek Figat
25ce571637 Merge branch 'nothingTVatYT-patch-1' 2024-02-07 12:23:06 +01:00
nothingTVatYT
a9259b20a4 fix off-by-one in collection range check
The check failed randomly after script reloading an dissued the following error:

```
00:19:37.789 ]: [Error] Exception has been thrown during Window.OnDraw.
Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
[ 00:19:37.805 ]: [Warning] Exception has been thrown during Window.OnUpdate. Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
Stack strace:
   at FlaxEditor.GUI.Tabs.Tabs.get_SelectedTab() in /home/me/Flax/FlaxEngine/Source/Editor/GUI/Tabs/Tabs.cs:line 242
```
2024-02-07 02:01:39 +01:00
Wojtek Figat
169024ae47 Fix new asset naming to always validate filename
#2212
2024-02-06 17:39:43 +01:00
Wojtek Figat
13a3035094 Merge branch 'MineBill-button-custom-editors' 2024-02-06 17:27:40 +01:00
Wojtek Figat
7c9218840d Format code #2149 2024-02-06 17:27:27 +01:00