Commit Graph

3745 Commits

Author SHA1 Message Date
Wojtek Figat
9731d76a94 Merge branch 'unloaded_assembly_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unloaded_assembly_fix 2023-09-22 12:54:22 +02:00
Wojtek Figat
97be8b572f Merge branch 'shader-division' of https://github.com/MineBill/FlaxEngine into MineBill-shader-division 2023-09-22 12:53:16 +02:00
Wojtek Figat
62c2008cbc Fix crash in C# JobSystem.Dispatch due to GC collecting Delegate object 2023-09-22 12:50:50 +02:00
Wojtek Figat
a0de513a43 Optimize updating scripts tick arrays 2023-09-22 12:37:35 +02:00
Wojtek Figat
31b3f56ddb Fix visibility of some internal NativeInterop methods for game bindings 2023-09-22 12:37:13 +02:00
davevanegdom
5fc9176ce7 Removed customization for "Normal" and "TextColor" 2023-09-21 23:18:46 +02:00
7d69abadb7 Fix script reload crash with .NET libraries 2023-09-21 19:44:01 +03:00
davevanegdom
80a3bb2ae2 Replaced string color lookups 2023-09-21 17:10:49 +02:00
davevanegdom
21c742bd8a Customizable statusbar 2023-09-21 14:54:57 +02:00
MineBill
8f668c8506 Ensure floating numbers are formatted with enough precision 2023-09-21 12:39:19 +03:00
Andrew Spiering
d4c71b5fd9 Launching Rider on macOS
* Fixing issues where when the editor would try and launch rider on an M1/2 machine it would not properly open because it was the wrong architecture which is now resolved because open will do the right thing
* Making the ParseArgs function a little more resilient against escaped arguments
2023-09-20 23:16:38 -07:00
Red Kitsune
74acc93c0c Add XML comments 2023-09-21 01:03:35 +02:00
Chandler Cox
ffbd14ad49 Fix right clicking on source folder to sometimes select non-visible child. 2023-09-20 15:35:36 -05:00
fea296bcbb Fix white window flickering in context menus 2023-09-20 22:00:16 +03:00
Menotdan
2b1266147c Add new condition from split object bugfix on master. 2023-09-20 11:02:19 -04:00
Wojtek Figat
3ede4c2192 Fix typo 2023-09-20 16:02:24 +02:00
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
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