Commit Graph

10454 Commits

Author SHA1 Message Date
Wojtek Figat
66678fc219 Fix log spam from TypeEditor if type is missing 2023-08-16 22:27:17 +02:00
Wojtek Figat
dd8e05ed49 Add C#-only types for Variant value storage from 0cb049167b 2023-08-16 22:27:03 +02:00
3e33c63957 Optimize actor pasting performance with huge amount of actors
- Name lookups are cached to avoid checking the name from same Actor multiple times
- Avoid getting actor children multiple times for same parent
2023-08-16 20:24:19 +03:00
Wojtek Figat
0cb049167b Add NewValue/DeleteValue to Variant for owned value storage 2023-08-16 18:29:59 +02:00
017b45d674 Use mutex over atomic operations in Delegate 2023-08-16 17:39:08 +03:00
Wojtek Figat
18b47257fd Add **Behavior Tree** asset type and editing 2023-08-16 13:26:33 +02:00
Wojtek Figat
f8dc59d670 Change Debug to be static 2023-08-16 13:10:58 +02:00
Wojtek Figat
81622c92ae Add ReadOnly to CustomEditorPresenter 2023-08-16 13:09:50 +02:00
Chandler Cox
8e1cac7d2f Add to be able to choose sloppy mesh simplification or not in model import settings for LODs. 2023-08-15 21:34:07 -05:00
Wiktor Kocielski
a3063258e5 Add ability to clean patch caches 2023-08-15 12:35:32 +03:00
Chandler Cox
6e5f693459 Small change to allow other platforms to use fullscreen and windowed in WindowMode function 2023-08-14 18:25:19 -05:00
Chandler Cox
cfd11a7e77 Add borderless window on Windows platform and add easy function in Screen class to change window mode. 2023-08-14 18:11:05 -05:00
Wojtek Figat
95fdcf01be Codestyle fix 2023-08-14 18:53:11 +02:00
Wojtek Figat
b3fc7b3b68 Merge branch 'locked_focus' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-locked_focus 2023-08-14 18:46:48 +02:00
Wojtek Figat
9f7fd42677 Codestyle fix 2023-08-14 18:44:21 +02:00
Wojtek Figat
7da93ad68d Merge branch 'feature/1151-play-mode-refactor-cleanup' of https://github.com/envision3d/FlaxEngine into envision3d-feature/1151-play-mode-refactor-cleanup 2023-08-14 18:42:05 +02:00
Wojtek Figat
1948a84301 Add crash to soft-return if managed event bind target object native instance is gone
#1278
2023-08-14 18:40:03 +02:00
Wojtek Figat
f1d46979b3 Merge branch 'navigationfix' of https://github.com/Withaust/FlaxEngine into Withaust-navigationfix 2023-08-14 18:31:08 +02:00
Wojtek Figat
06d8ff02b3 Merge branch 'foreignobject' of https://github.com/Withaust/FlaxEngine into Withaust-foreignobject 2023-08-14 18:29:10 +02:00
Wojtek Figat
0e2d1b6ad2 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-14 18:14:59 +02:00
Wojtek Figat
87bc486c8b Merge branch 'postfxmaterial_marshalling_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-postfxmaterial_marshalling_fix 2023-08-14 18:10:17 +02:00
5e3018817c Fix marshalling issue with PostFxMaterialSettings Materials 2023-08-14 18:25:48 +03:00
Wojtek Figat
55ca419aba Merge branch 'paste-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-paste-fix 2023-08-14 16:18:44 +02:00
Wojtek Figat
66042845e4 Codestyle fixe 2023-08-14 16:13:55 +02:00
Wojtek Figat
4e81f80495 Merge branch 'replicationfix' of https://github.com/Withaust/FlaxEngine into Withaust-replicationfix 2023-08-14 16:03:27 +02:00
Wojtek Figat
3197479cc0 Merge branch 'object_destroynow_csharp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-object_destroynow_csharp 2023-08-14 15:51:45 +02:00
Wojtek Figat
860dce487f Codestyle fixes 2023-08-14 15:47:24 +02:00
Wojtek Figat
6af6afc6a4 Merge branch 'managedhandlepool_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedhandlepool_refactor 2023-08-14 15:43:57 +02:00
Wojtek Figat
d5245f6a8c Merge branch 'managedarray_pool_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedarray_pool_cache 2023-08-14 15:39:44 +02:00
Wojtek Figat
342ec4c3c2 Merge branch 'arraytype_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-arraytype_cache 2023-08-14 15:36:27 +02:00
Wojtek Figat
13e0582ef2 Codestyle fixes 2023-08-14 15:36:19 +02:00
Wojtek Figat
238ff38bf2 Merge branch 'invoker_ret_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-invoker_ret_refactor 2023-08-14 15:31:50 +02:00
Wojtek Figat
838af2bcbe Merge branch 'unboxvalue_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unboxvalue_fixes 2023-08-14 15:28:24 +02:00
Wojtek Figat
5ae27a0e92 Code style fix 2023-08-14 15:25:12 +02:00
Wojtek Figat
212aba4375 Merge branch 'mclass_method_iter' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-mclass_method_iter 2023-08-14 15:24:47 +02:00
Wojtek Figat
22a1f433a1 Merge branch 'intellisense_stdcpp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-intellisense_stdcpp 2023-08-14 15:09:00 +02:00
Wojtek Figat
430a4eb57f Merge branch 'commonvalue' of https://github.com/Withaust/FlaxEngine into Withaust-commonvalue 2023-08-14 15:03:47 +02:00
Wojtek Figat
19f14919c0 Allow modifying surface node archetype reference 2023-08-14 13:11:42 +02:00
Wojtek Figat
da44babb03 Add ignoring types with CompilerGeneratedAttribute in Editor 2023-08-14 13:11:00 +02:00
53b1d0dd85 Optimize ScriptingObject managed initialization 2023-08-13 23:56:27 +03:00
cd56101aa3 Expose Object::DeleteObjectNow as Object.DestroyNow in managed scripting 2023-08-13 23:46:38 +03:00
0008123e76 Cache ManagedDictionary types and helper method thunks 2023-08-13 23:15:06 +03:00
d4d404ac0b Optimize native interop marshallers runtime type checking 2023-08-13 22:28:56 +03:00
1b0976d99b Refactor ManagedHandlePool
Weak handles are now stored in one sets of dictionarys synchronized with
other threads. This so far seems the fastest way to manage the
dictionaries for now.
2023-08-13 22:14:37 +03:00
65de284a66 Optimize managed method invokers return value marshalling 2023-08-13 22:10:07 +03:00
d9ee8f4665 Cache pooled ManagedArray managed handles 2023-08-13 21:56:52 +03:00
27e1401fc7 Slightly improve MClass::GetMethod method iteration
Check the number of parameters first before expensive string comparison
2023-08-13 21:54:44 +03:00
1254af8bbb Optimize UnboxValue performance, safety and memory usage
- Avoids unnecessary boxing of the converted values by storing them in
unmanaged memory.
- Wrap ToNative-method in a delegate and cache it
- Fixes returning address to unpinned memory by pinning POD-types for
a short period of time.
2023-08-13 21:53:42 +03:00
44b70d87e5 Cache MakeArrayType results in native interop 2023-08-13 21:42:40 +03:00
e6878942f9 Fix missing C++ standard version in VC++ projects intellisense options 2023-08-13 21:33:17 +03:00