Commit Graph

3728 Commits

Author SHA1 Message Date
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
Andrej Stojkovikj
35ee890f9f Fix in typo, should be length instead of magnitude 2023-09-19 19:33:25 +02:00
Andrej Stojkovikj
cb460af264 Revert last feature since feature already exists 2023-09-19 19:29:59 +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
Andrej Stojkovikj
8930c7ba56 Implemented static functions for length and length squared for Vectors 2023-09-19 16:09:18 +02:00
Andrej Stojkovikj
3f299f4cf6 Just in case change type cast for other variables as well 2023-09-19 15:57:33 +02:00
Andrej Stojkovikj
e1f528ec9a Fix SmoothDamp missed type casting for Vector2 2023-09-19 15:48:16 +02:00
Andrej Stojkovikj
4e44002259 Fix SmoothDamp missed type casting for Vector 3 2023-09-19 15:47:38 +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
Red Kitsune
7c0546c68d After CR changes 2023-09-19 00:21:56 +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
Andrej Stojkovikj
831500faa7 Fix type definition for Vector2 and Vector3 2023-09-17 23:16:08 +02:00
Red Kitsune
5cc3e40902 Implemented better missing script handling 2023-09-17 20:28:34 +02: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
Andrej Stojkovikj
d87a60de48 Naming scheme for Vector2 fix 2023-09-16 22:27:12 +02:00
Andrej Stojkovikj
7a73c04688 SmoothDamp implementation for Vector2 and Vector3 2023-09-16 21:18:00 +02: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
Ruan Lucas
23b6b93726 add collision type to model importer 2023-09-15 19:13:32 -04:00
Menotdan
451900b7ee Merge branch 'FlaxEngine:master' into material_import 2023-09-15 02:17:34 -04:00
Wojtek Figat
722133165b Fix marshalling Array<Variant> as object[] (C# codegen error) 2023-09-14 13:18:52 +02:00
Wiktor Kocielski
d389348260 Add View Layers button & Reset/Disable/Copy/Paste buttons to View Flags/Debug View & Camera RenderFlags/RenderView addition 2023-09-13 12:17:34 +03: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