Commit Graph

4593 Commits

Author SHA1 Message Date
GoaLitiuM 96d880df6a Fix crash in SceneAnimationPlayer 2023-09-28 22:06:07 +03:00
GoaLitiuM 58445f04c4 Fix potential incorrect null checks in FlaxEngine.Objects
The null-conditional operator checks for reference equality of the
Object, but doesn't check the validity of the unmanaged pointer. This
check is corrected in cases where the object was not immediately
returned from the bindings layer and may have been destroyed earlier.
2023-09-28 22:05:58 +03:00
mafiesto4 58b9d76d24 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Editor/Viewport/PrefabWindowViewport.cs
#	Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-28 20:42:54 +02:00
Tryibion 9694522b4e Change to use enum value. 2023-09-28 13:25:56 -05:00
mafiesto4 139e6d0d1f Improve #1514 to share code for tooltip position wrapping 2023-09-28 20:16:57 +02:00
mafiesto4 b242820132 Merge branch 'tooltip-move' of https://github.com/Tryibion/FlaxEngine into Tryibion-tooltip-move 2023-09-28 19:59:59 +02:00
mafiesto4 e319b4dedc Minor optimization for PhysX events cleanup 2023-09-28 19:37:08 +02:00
mafiesto4 82b2f46b48 Post-merge tweaks for #1312 2023-09-28 19:21:06 +02:00
mafiesto4 279528a30d Merge branch 'marshalling_scriptingobject_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-marshalling_scriptingobject_changes
# Conflicts:
#	Source/Engine/Engine/NativeInterop.Unmanaged.cs
#	Source/Engine/Scripting/Runtime/DotNet.cpp
2023-09-28 18:41:20 +02:00
mafiesto4 d71c171412 Cleanup code in #1367 and fix api compatibility, revert joint changes 2023-09-28 13:10:58 +02:00
mafiesto4 3b94792f2e Merge branch 'BugFixes' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-BugFixes
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2023-09-28 12:28:19 +02:00
mafiesto4 15377acc25 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-28 12:01:34 +02:00
mafiesto4 98d5769558 Fix performance bug in Development/Release builds due to incorrect draw calls batching (uninitialized memory) 2023-09-28 10:59:09 +02:00
mafiesto4 b7e871ecfd Minor tweaks 2023-09-28 10:58:29 +02:00
MZ 2cc6e80958 Checked my working. 2023-09-28 16:07:38 +10:00
MZ 299f68ebfe Vert color deduplication check 2023-09-28 16:00:31 +10:00
Luke Schneider ad28a3fdbf Better light theme (Style) support, and a Default light theme (as a secondary option)
1) Added ForegroundViewport as a new color.  It is used in the main game viewport (ViewportWidgetButton), and the viewport for rendering of particles and materials.  It is needed because the default foreground in a Light theme is black, but black does not work well in a viewport.  A new color seemed appropriate.

2) Fixed the profiler window to use the Foreground color in multiple text elements, instead of Color.White (or no default TitleColor).  This includes  the Row class, Asset class, SingleChart class, Timeline Class, and more.

3) Added a second theme/Style (DefaultLight) to include with the engine.  It uses RGB float values because those were easier to transfer from the saved values that I had created (and they're easier for me to edit if necessary).  I tried to emulate how the Default theme is created/loaded/etc as closely as possible.
2023-09-27 21:54:34 -05:00
GoaLitiuM bcccb71373 Show full exception message in error message box for managed exceptions 2023-09-28 00:25:26 +03:00
mafiesto4 9a5165ebdd Merge branch 'mutex_delegate_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-mutex_delegate_fixes 2023-09-27 22:42:23 +02:00
ontrigger 249ded3d1f fix incorrect link 2023-09-27 22:12:21 +03:00
mafiesto4 2f9c601678 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-27 17:32:47 +02:00
mafiesto4 b00156f519 Add some improvements to particles editing
#1395
2023-09-27 13:04:44 +02:00
mafiesto4 e5e37f3a41 Add android_native_app_glue.h to be included in engine package 2023-09-27 11:31:52 +02:00
Tryibion d14dc56b5c Change name to AxisValueChanged. 2023-09-26 10:26:06 -05:00
Tryibion 9b48d1feb8 Update comments 2023-09-26 10:04:08 -05:00
Tryibion 071a73c6d9 Add AxisChanged event to InputAxis. 2023-09-26 10:03:34 -05:00
Tryibion 3a9dd3f8f8 Small wording change 2023-09-26 09:41:41 -05:00
Tryibion ed2dd7211a Add back depriciated Triggered event. 2023-09-26 09:40:30 -05:00
GoaLitiuM e8088f42ac Fix string use-after-free while loading managed assemblies 2023-09-26 17:37:53 +03:00
Tryibion eeab9774a9 Add easily getting action state 2023-09-26 09:31:23 -05:00
Tryibion ea1da0481f Change input event to trigger different input states. 2023-09-26 08:35:10 -05:00
mafiesto4 a919130434 Merge branch 'ui-adds' of https://github.com/Tryibion/FlaxEngine into Tryibion-ui-adds 2023-09-26 10:47:24 +02:00
mafiesto4 3b26d1e0ea Merge branch 'patch-13' of https://github.com/stefnotch/FlaxEngine into stefnotch-patch-13 2023-09-26 10:46:05 +02:00
mafiesto4 6621e70ae7 Add objects replication and RPC stats table to Network Profiler 2023-09-26 10:33:12 +02:00
stefnotch 1bc7ad5e9d Update SerializeAttribute.cs 2023-09-26 10:30:57 +02:00
Menotdan 0f53c486ed Fixed formatting to match master branch 2023-09-26 00:05:50 -04:00
Menotdan fdf760f483 Merge branch 'master' of https://github.com/Menotdan/FlaxEngine into material_import
Merge Upstream Changes.
2023-09-25 23:51:34 -04:00
ontrigger 2d37e59e73 completely remove SmoothingScale 2023-09-26 00:51:44 +03:00
ontrigger 056d8d5b6c don't animate when scrollbar is held 2023-09-25 23:46:16 +03:00
ontrigger a18d2d0eba remove logging 2023-09-25 23:35:52 +03:00
ontrigger 9667848c96 make scrolling duration based and deprecate SmoothingScale 2023-09-25 23:28:29 +03:00
mafiesto4 da47088250 Add conditional profiling in Editor (run only when using Profiler window) 2023-09-25 18:34:07 +02:00
mafiesto4 216a5e9f92 Add support for displaying all active Network Peer stats in Editor Profiler tab 2023-09-25 16:49:18 +02:00
mafiesto4 c374127de1 Fix error when loading project on non-ASCII path
#1439
2023-09-25 16:34:01 +02:00
mafiesto4 96b6313acb Fix crash when loading C# assembly from non-ASNSI path
#1439
2023-09-25 16:30:24 +02:00
mafiesto4 d7b5a582f2 Merge branch 'fix-rightclick-source' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-rightclick-source 2023-09-25 15:46:43 +02:00
mafiesto4 212a2e1ded Format code from recent PRs 2023-09-25 15:42:23 +02:00
mafiesto4 1b9d61b408 Merge branch 'TextBox-ControlBackspaceSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-TextBox-ControlBackspaceSupport 2023-09-25 15:34:40 +02:00
mafiesto4 2fb1778801 Merge branch 'ContainerControl-ShiftTabSupport' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-ContainerControl-ShiftTabSupport 2023-09-25 15:31:23 +02:00
mafiesto4 4fd8697082 Working improvements from docs PR 2023-09-25 11:11:56 +02:00