Commit Graph

3550 Commits

Author SHA1 Message Date
Wojtek Figat
8cd8ae93c3 Add ObjectRadius to DrawCall to properly cull local lights and env probes in Forward Shading 2023-09-20 15:01:02 +02:00
Wojtek Figat
8bd6649510 Refactor managed array unboxing to handle case of C# array passes as object
#1415
2023-09-20 14:17:11 +02:00
Wojtek Figat
1740cbf2eb Improve process starting on mac 2023-09-20 09:21:56 +02:00
Wojtek Figat
e3cf9c05e4 Fix logging macOS process to remove redundant newlines 2023-09-20 09:06:54 +02:00
Andrew Spiering
f40657ea04 macOS support fixes
* Adding macOS FileSystemWatcher, this should allow files to be monitored and update like the other OSs
* Reworked how macOS launches processes to use NSTask which just deals with escaped and unescaped paths better
* Made a change to the ScriptsBuilder::RunBuildTool, this was adding the escaped values to the path, in reality it should be up to the underlying OS to make sure things are properly escaped, so removed those as they just end up causing issues. Also instead of appending the args to the fileName we just properly use the Arguments variable on the CreateProcessSettings
* No longer use open in order to show files in the finder, we use the proper method selectFile
* made a slight cleanup change to the MacPlatform Tick function
* Added ToNSString functions just to make that easier
* Added a ParseArguments function that will take a string and turn it into an array for NSTask
2023-09-19 20:58:12 -07:00
Wojtek Figat
7e81fdbd75 Fix crash when D3D11 backend fails to create shader due to driver failure 2023-09-19 23:45:30 +02:00
Wojtek Figat
a56ce92867 Fix crash when importing model with materials and Split Objects enabled 2023-09-19 23:07:10 +02:00
Denys
4c5168a976 Use xdg-open to open file manager in Linux
`nautilus` is GNOME file manager. Other distros might use another FM.

As a common ground we can use `xdg-open` which is a part of `freedesktop.org` and should be available almost everywhere.
2023-09-19 16:50:17 +02:00
Wojtek Figat
49a6b5734a Fix crash when setting material instance base material before it's loaded 2023-09-19 14:14:57 +02:00
Wojtek Figat
255e47fa1e Fix crash due to invalid message in Assimp 2023-09-19 14:00:37 +02:00
Wojtek Figat
bb5ff740bf Update recastnavigation lib to 1.6 2023-09-19 13:34:32 +02:00
Wojtek Figat
0083ebd887 Fix missing C# static fields in native scripting api 2023-09-19 09:32:37 +02:00
Wojtek Figat
10dc06be9b Fix crash if OpenAL internal device name is all whitespaces 2023-09-18 19:23:10 +02:00
Wojtek Figat
3c28fbe44c Merge branch 'slider-thumb-highlighting' of https://github.com/Tryibion/FlaxEngine into Tryibion-slider-thumb-highlighting 2023-09-18 17:29:41 +02:00
Wojtek Figat
b8a626c95d Merge branch 'dotnet8_compat_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet8_compat_fix 2023-09-18 17:27:02 +02:00
Wojtek Figat
3381751c54 Merge branch 'hostfxr_msg' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-hostfxr_msg 2023-09-18 17:24:57 +02:00
Wojtek Figat
502af0b67a Merge branch 'editor_module_lookup_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_module_lookup_fix 2023-09-18 15:16:07 +02:00
Wojtek Figat
1de8581e6d Merge branch 'macos-rider-support' of https://github.com/wackoisgod/FlaxEngine into wackoisgod-macos-rider-support 2023-09-18 12:18:27 +02:00
Wojtek Figat
79bf226fe1 Codestyle fix 2023-09-18 12:11:28 +02:00
Andrew Spiering
3ac00b1e4e Fixing a crash when generic classes spanned across different assemblies
This code attempts to resolve an issue where if you had a class in Assembly A and it was generic and you had a class that inherited from it in Assembly B it would not properly resolve these classes, also added an error check for if I was not able to find the TypeIndex then log it and return thus also preventing a crash when it goes to resolve the NativeType
2023-09-17 20:37:37 -07:00
Andrew Spiering
76945b9144 MacOS Rider Support
* Adding in code to properly look for rider on macOS
* Also fixing an issue in the macOS CreateProcess where spaces where not properly escaped for popen(which one should likely use NSTask long term)
2023-09-17 14:56:22 -07:00
Andrew Spiering
bdd182f3da Fixing x64 editor/runtime on arm64 macs
* This allows for a much more broader check for the dotnet sdk runtime to support running x64 binaries on arm64
2023-09-16 18:23:27 -07:00
Chandler Cox
dabbd7bc6a Add highlighting when mouse is over slider thumb. 2023-09-16 11:46:36 -05:00
9a7fb82738 Fix tests 2023-09-16 18:39:01 +03:00
785943bef8 Add missing marshaller methods for compatibility 2023-09-16 16:00:12 +03:00
f114301e97 Improve hostfxr error messages 2023-09-16 15:03:09 +03:00
2d2bfd9cd1 Include EditorModules in Assembly lookup paths 2023-09-16 14:15:09 +03:00
Wojtek Figat
722133165b Fix marshalling Array<Variant> as object[] (C# codegen error) 2023-09-14 13:18:52 +02:00
Wojtek Figat
2a8e35d1ff Format code #1292 2023-09-12 14:38:23 +02:00
Wojtek Figat
097d26f8cb Codestyle fix #1262 2023-09-12 14:21:27 +02:00
Wojtek Figat
6ece66b018 Merge branch 'input-editors' of https://github.com/Tryibion/FlaxEngine into Tryibion-input-editors 2023-09-12 14:09:49 +02:00
Wojtek Figat
3170142171 Merge branch 'lods' of https://github.com/Tryibion/FlaxEngine into Tryibion-lods 2023-09-12 13:56:42 +02:00
Wojtek Figat
44eba3fdae Fix missing xml comment line from #1291 2023-09-12 13:54:01 +02:00
Wojtek Figat
4cae6e50d5 Merge branch 'layeraddition' of https://github.com/Withaust/FlaxEngine into Withaust-layeraddition 2023-09-12 13:52:23 +02:00
Wojtek Figat
7b4c8e391a Minor optimization for clearing collider from simulation events cache 2023-09-12 13:50:50 +02:00
Wojtek Figat
c10658c3fc Fix deserialization, add more docs and tweaks to #1345 2023-09-12 13:50:22 +02:00
Wojtek Figat
1591da75ac Merge branch 'physics-settings' of https://github.com/Tryibion/FlaxEngine into Tryibion-physics-settings 2023-09-12 13:03:04 +02:00
Wojtek Figat
639149b63b Fix crash when toggling WheeledVehicle active state
#1351
2023-09-12 11:41:33 +02:00
Wojtek Figat
48d4a51c1b Fix crash when boxing native array to managed value 2023-09-11 15:06:26 +02:00
Wojtek Figat
1134cfa6a6 Fix using ManagedDictionary when item value type is array
#1305
2023-09-11 15:05:46 +02:00
Wojtek Figat
9afa98e905 Fix Random Range nodes in CPU particles/script graphs when using int
#1341
2023-09-11 13:59:10 +02:00
Wojtek Figat
fb27606541 Add missing Particle Scale getter node to Particle Emitter graph
#1343
2023-09-11 13:54:44 +02:00
Wojtek Figat
716e643f2a Fix applying prefab changes to nesting prefab instances
#1256
2023-09-10 21:07:41 +02:00
Wojtek Figat
a4312590e7 Fix debug draw leftover from 9da686cd52
#1369 #1365
2023-09-10 13:34:46 +02:00
Wiktor Kocielski
8008f05d64 Merge branch 'master' into layeraddition 2023-09-10 13:39:31 +03:00
Wojtek Figat
9da686cd52 Improve #1369 for #1365 2023-09-10 11:58:54 +02:00
Wojtek Figat
3962285b87 Merge branch 'master' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-master 2023-09-10 11:44:34 +02:00
Wojtek Figat
53deeff116 Missing change from 9291295a4d 2023-09-10 11:33:08 +02:00
Wojtek Figat
9291295a4d Fix Dictionary and HashSet iterators to prevent unwanted data copies
#1361
2023-09-10 11:25:36 +02:00
Wojtek Figat
9d031fadc0 Merge branch 'resizedelegate' of https://github.com/Withaust/FlaxEngine into Withaust-resizedelegate 2023-09-10 11:12:19 +02:00