Commit Graph

6369 Commits

Author SHA1 Message Date
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
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
4ce1f31f12 Enable optimizations for Editor module in Development builds 2023-08-13 21:30:40 +03:00
3df044d07b Add build option to change code optimization level in C# modules 2023-08-13 21:29:38 +03:00
Wojtek Figat
bb8f098714 Add reroute node usage to Visject only if surface type allows it 2023-08-13 19:14:57 +02:00
Wojtek Figat
ae4bce7a68 Add Visject surface boxes and connections drawing customization via style 2023-08-13 19:14:23 +02:00
Wiktor Kocielski
f44156eb80 Remove another unnecessary exposed CommonValue.h 2023-08-13 09:02:43 +03:00
Wiktor Kocielski
1413da189e NetworkReplicator::ResolveForeignObject 2023-08-13 06:39:35 +03:00
Ruan Lucas
be33fc6018 improv scroll locked focus 2023-08-11 22:31:12 -04:00
Wiktor Kocielski
b35065ab3f Fix annoying error that happens due to an oversight 2023-08-12 03:58:28 +03:00
Ruan Lucas
db806ad500 fix for large worlds 2023-08-11 08:28:28 -04:00
Ruan Lucas
645977f148 add scroll to focus 2023-08-10 22:41:48 -04:00
Ruan Lucas
f2072028d4 change default key 2023-08-10 22:31:03 -04:00
Ruan Lucas
aa3dd14bfc add locked focus 2023-08-10 22:24:55 -04:00
Wojtek Figat
e27f1a8a41 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-10 18:34:27 +02:00
Wojtek Figat
09be2375f6 Merge branch 'GoaLitiuM-skip_postprocess_pass' 2023-08-10 12:05:00 +02:00
Wojtek Figat
7e75b9ad78 Merge branch 'skip_postprocess_pass' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-skip_postprocess_pass 2023-08-10 12:04:52 +02:00
Wojtek Figat
a2b338f704 Merge branch 'GoaLitiuM-load_library_fix' 2023-08-10 11:59:23 +02:00
Wojtek Figat
6da1a61726 Merge branch 'load_library_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-load_library_fix 2023-08-10 11:59:17 +02:00
Wojtek Figat
33512fd19b Merge branch 'GoaLitiuM-alc_reload_fix' 2023-08-10 11:56:24 +02:00
Wojtek Figat
85eb3541eb Merge branch 'alc_reload_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-alc_reload_fix 2023-08-10 11:56:17 +02:00
Wojtek Figat
ef1e89848f Merge branch 'Withaust-particleeffectfix' 2023-08-10 11:53:30 +02:00
Wojtek Figat
71c273d8f6 Merge branch 'particleeffectfix' of https://github.com/Withaust/FlaxEngine into Withaust-particleeffectfix 2023-08-10 11:53:20 +02:00
Wojtek Figat
cd949382cb Merge branch 'GoaLitiuM-vspreview_build_fix' 2023-08-10 11:48:59 +02:00
Wojtek Figat
9853181600 Merge branch 'vspreview_build_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-vspreview_build_fix 2023-08-10 11:48:51 +02:00
9d8105e3f3 Separate managed assembly unloading and scripting ALC reinitialization
Fixes an issue with multiple managed assemblies unloading and releasing
all cached data before native resources were fully released in other
assemblies.
2023-08-08 17:39:31 +03:00
Wiktor Kocielski
47c6e54406 Fix exposed public CommonValue inclusion 2023-08-08 08:45:14 +03:00
envision3d
b9ffb950f3 Refactor and more appropriately organize logic
- move play logic to simulation module
- update play hotkey to call play game/scene delegate function
- link hotkey tooltip text to inputOptions
2023-08-06 13:11:45 -05:00
Wojtek Figat
1958adb126 Add AI module to engine 2023-08-04 13:19:03 +02:00
Wojtek Figat
73bbe63c1e Missing change for 05d477d6c8 2023-08-04 13:10:36 +02:00
Wojtek Figat
05d477d6c8 Add SelectionChanged public event for VisjectSurface and properly invoke it only when selection actually changes 2023-08-04 12:52:54 +02:00
Wojtek Figat
b5fa5fa68e Add SerializableScriptingObject for easier serialization of scripting objects in gameplay or content 2023-08-04 10:11:58 +02:00
Wojtek Figat
cab1d8cac4 Fix missing Visject CM groups auto-expanding if enabled 2023-08-03 16:29:07 +02:00
Wojtek Figat
c0d32a99b0 Refactor Visject surface nodes cache to reuse between graphs 2023-08-03 15:44:02 +02:00
Wojtek Figat
bb96f2cd6d Add GroupArchetype to Visject nodes spawn query check 2023-08-03 14:53:02 +02:00
Wiktor Kocielski
ec3b921a4f Fix navigation rebuilding 2023-08-02 05:17:49 +03:00
fe87eb96e6 Skip post processing when tonemapping and camera artifacts are disabled 2023-08-01 20:20:34 +03:00
db56284ca4 Fix WindowsPlatform::LoadLibrary to not modify the string parameter 2023-08-01 20:19:10 +03:00
Wojtek Figat
8dc98174cf Minor tweaks 2023-08-01 14:14:27 +02:00
Wojtek Figat
869649e5ed Merge remote-tracking branch 'origin/master' into 1.7 2023-08-01 14:05:49 +02:00
Wojtek Figat
94386d24ab Minor tweaks 2023-08-01 10:27:31 +02:00
Wojtek Figat
f29cd1b7b8 Simplify code #1275 2023-08-01 10:03:47 +02:00
Wojtek Figat
453d326303 Merge branch 'Withaust-gridscale' 2023-08-01 10:01:37 +02:00