Commit Graph

352 Commits

Author SHA1 Message Date
75d83a2ef3 _dotnet events 2024-05-01 18:53:16 +03:00
8a41e04641 Revert "_assetref setunsafe (unstable buggy)"
This reverts commit 89d359e0078bbec8c84cad07950ad5df6df46fc3.
2024-05-01 18:53:14 +03:00
22132d550c _assetref setunsafe (unstable buggy) 2024-05-01 18:53:14 +03:00
203cede21d Require semicolon after most engine API macros 2024-05-01 18:53:05 +03:00
e21c06e595 _asset locking 2024-05-01 18:53:04 +03:00
Wojtek Figat
cdeb9a3b15 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Content/Editor/Camera/M_Camera.flax
#	Content/Editor/CubeTexturePreviewMaterial.flax
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Content/Editor/DebugMaterials/SingleColor/Decal.flax
#	Content/Editor/DebugMaterials/SingleColor/Particle.flax
#	Content/Editor/DebugMaterials/SingleColor/Surface.flax
#	Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
#	Content/Editor/DebugMaterials/SingleColor/Terrain.flax
#	Content/Editor/DefaultFontMaterial.flax
#	Content/Editor/Gizmo/FoliageBrushMaterial.flax
#	Content/Editor/Gizmo/Material.flax
#	Content/Editor/Gizmo/MaterialWire.flax
#	Content/Editor/Gizmo/SelectionOutlineMaterial.flax
#	Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
#	Content/Editor/Highlight Material.flax
#	Content/Editor/Icons/IconsMaterial.flax
#	Content/Editor/IesProfilePreviewMaterial.flax
#	Content/Editor/Particles/Particle Material Color.flax
#	Content/Editor/Particles/Smoke Material.flax
#	Content/Editor/SpriteMaterial.flax
#	Content/Editor/Terrain/Circle Brush Material.flax
#	Content/Editor/Terrain/Highlight Terrain Material.flax
#	Content/Editor/TexturePreviewMaterial.flax
#	Content/Editor/Wires Debug Material.flax
#	Content/Engine/DefaultDeformableMaterial.flax
#	Content/Engine/DefaultMaterial.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Source/Engine/Graphics/Materials/MaterialShader.h
2024-04-23 10:30:01 +02:00
Wojtek Figat
b92fbcb3bc Add more const correctness
#2467
2024-04-22 22:53:27 +02:00
Wojtek Figat
32b15f90ab Minor improvements 2024-04-22 18:10:58 +02:00
Wojtek Figat
60e8d73079 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Renderer/RenderList.cpp
#	Source/Engine/Renderer/RenderList.h
2024-04-17 09:58:59 +02:00
Wojtek Figat
9c2c02c1cf Fix various issues found with thread sanitizer on macOS 2024-04-13 19:20:49 +02:00
Menotdan
e137d31839 Enforce Content:CloneAssetFile() running on the main thread, to avoid a bug that occurs when a particle emitter is created from one of the templates due to the creation coming from the content thread. 2024-04-11 17:37:31 -04:00
Wojtek Figat
d13621e631 Skip CloseFileHandles if file is not in use 2024-03-25 16:50:48 +01:00
Wojtek Figat
6b35c0a161 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-03-19 20:23:34 +01:00
Wojtek Figat
7545e49284 Add manual chunks loading before Binary Asset load in case content streaming flushed them out 2024-03-14 17:30:28 +01:00
Wojtek Figat
fc29d687b5 Add more insights on potentially missing asset file data chunks 2024-03-12 13:25:25 +01:00
Wojtek Figat
d719c381ea Merge remote-tracking branch 'origin/master' into 1.8 2024-03-11 23:49:33 +01:00
Wojtek Figat
d4e0023925 Fix RawDataAsset memory usage to use capacity of the bytes array instead of just size 2024-03-04 22:46:30 +01:00
Wojtek Figat
aabc9f51bb Improve #2270 by moving mehtod to cpp file 2024-02-27 11:22:10 +01:00
Wojtek Figat
fc4163524c Merge branch 'linux-plugin-fix' of https://github.com/Menotdan/FlaxEngine into Menotdan-linux-plugin-fix 2024-02-27 11:14:32 +01:00
Wojtek Figat
14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
e282717a0a Merge branch 'trash-files' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-trash-files 2024-02-23 19:55:16 +01:00
Menotdan
50e75e4e7b Fix IAssetFactory::Get() in plugins on Linux. 2024-02-22 11:21:29 -05:00
Wojtek Figat
d7dbc0fbdc Fix opening projects with PostFx material assigned in Graphics Settings
#1993
2024-02-21 20:21:45 +01:00
Wojtek Figat
10180de9c6 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Source/Editor/Utilities/EditorUtilities.cpp
#	Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
09532acf29 Fix compilation with Clang 2024-02-17 07:12:52 +01:00
Wojtek Figat
f0f8da3c09 Various fixes 2024-02-16 12:29:59 +01:00
Wojtek Figat
b5e23f0096 Improve JsonAssetReference 2024-02-15 11:46:17 +01:00
Wojtek Figat
fe7cc62728 Add JsonAssetReference type for scripting 2024-02-15 11:22:01 +01:00
Wojtek Figat
db7dfdb0b1 Add support for structure and script types in JsonAsset 2024-02-14 18:55:48 +01:00
Wojtek Figat
ebcc864b06 Fix missing file error in Content::GetAssetInfo 2024-02-14 12:47:34 +01:00
Wojtek Figat
6548ca1148 Fix JsonAsset::GetInstance to properly check base class
#2224
2024-02-13 10:43:20 +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
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
Wojtek Figat
10bed94357 Refactor engine systems to use platform time seconds rather than date time 2024-01-28 22:15:34 +01:00
Wojtek Figat
69b7a10c1f Add Stopwatch for accurate duration measuring 2024-01-28 20:31:03 +01:00
Wojtek Figat
6d6b678b29 Minor changes from porting 2024-01-18 16:03:27 +01:00
Wojtek Figat
4a8c94e9d4 Fix missing asset update when dependant asset gets saved in Editor
#1489
2023-12-27 20:57:37 +01:00
Wojtek Figat
0dd7e86537 Add better Visual Script debugger tooltips display 2023-12-16 18:14:16 +01:00
Wojtek Figat
df8418da25 Add more profiling events 2023-12-14 17:00:55 +01:00
nothingTVatYT
f65ded4501 implement MoveFileToRecycleBin on Linux 2023-12-14 15:51:20 +01:00
Wojtek Figat
e0a085adfe Add support for loading prefab instance if the root was changed or deleted
#2050
2023-12-14 10:47:22 +01:00
Wojtek Figat
ff195eeccb Fix deadlock in Asset.WaitForLoaded when loading task hangs in the loading queue for a main thread sync
#2057
2023-12-11 22:35:51 +01:00
Wojtek Figat
3749b35aba Fix crash in Content Storage async job when someone is using file storage and access cannot be freed 2023-12-07 11:18:18 +01:00
Wojtek Figat
2285116bae Remove old warnings about invalid model instance buffer 2023-12-06 00:19:48 +01:00
Wojtek Figat
1843689a88 Add various profiler events to analyze models importing workflow 2023-12-03 11:23:45 +01:00
Wojtek Figat
f61f35b259 Fix compilation regression 2023-11-24 10:53:07 +01:00