Commit graph

6167 commits

Author SHA1 Message Date
JeffR
0bdacb8795 Testing just disabling gfx device enumeration in test mode 2023-07-23 14:42:13 -05:00
JeffR
86cc940a5c Merge branch 'SDLUpdate_2_28_1' of https://github.com/Areloch/Torque3D into development 2023-07-23 12:23:08 -05:00
Brian Roberts
8a23392c97
Merge pull request #1063 from Areloch/CICD_GFXDevice_Fix
This implements a fix to an issue with the CICD that causes a segfault.
2023-07-23 07:50:14 -05:00
Areloch
368b687043 This implements a fix to an issue with the CICD that causes a segfault.
The fix adds a sanity check to the D3D and GL device enumeration function that exits early if there's no registered display from the OS(implying it's running in commandline).
With newer versions of SDL, attempting to enumerate the GL device causes a segfault because the OS will return back a valid context, but the context isn't actually valid. So when tested against, it crashes. Avoiding enumerating the device when you're not in a position to render works around the issue.

TODO: If the machine is running in terminal-only mode, and thus has no valid render context, but still has a monitor plugged into the machine, it can sidestep the sanity check and still result in a segfault. Need a more robust check for that circumstance in a future fix.
2023-07-23 01:04:29 -05:00
Brian Roberts
2c2d378191
Merge pull request #1054 from Azaezel/alpha41/particleOrderOps
define particles then emitters
2023-07-20 12:43:35 -05:00
AzaezelX
a0f2f2bf06 define particles then emitters
saves a re-execution attempt
2023-07-20 08:54:52 -05:00
Brian Roberts
45673a8b9e
Merge pull request #1051 from Azaezel/alpha41/gtestCheck
gtest tweaks
2023-07-19 11:14:57 -05:00
Brian Roberts
9d89e015e7
Merge pull request #1053 from marauder2k9-torque/GLBorder
Add border color and clamp to border
2023-07-19 11:10:41 -05:00
marauder2k7
e0119efbb5 move border to gfxglstateblock 2023-07-19 16:33:01 +01:00
marauder2k7
63b2aba467
Apply suggestions from code review 2023-07-19 15:41:24 +01:00
marauder2k7
e325902bac init commit 2023-07-19 13:36:14 +01:00
Areloch
ae108d0411
Merge pull request #1052 from Areloch/GFXDeviceNullCheckFix
Adds a logical check for when we try and check for found adapters
2023-07-17 21:55:01 -05:00
JeffR
38b81eb804 Adds a logical check for when we try and check for found adapters, so if we're defined to use a Null device, we can skip looking around 2023-07-17 21:12:46 -05:00
AzaezelX
e0fa082cf9 sleep for an actual tick (also do so between dfiletouch and isfile on the off chance the o/s is choking) 2023-07-13 18:43:01 -05:00
AzaezelX
dfd3e65ba4 gtest tweaks
refactor concurency test conu=sumer thread runner to generate timeouts at excessive attempts (32ms*runlength)
threadsafefreelist reporting augs
scripttest object name conflict resolutions
skip testing platform window creation if no monitor was found
2023-07-13 17:16:50 -05:00
JeffR
083d2175ea Updates the SDL library to the latest standard bugfix release 2023-07-13 15:20:29 -05:00
Areloch
cb766f2878
Merge pull request #1033 from marauder2k9-torque/GuiInspectorFields
Add multi dimensional entries to inspector
2023-07-07 22:59:27 -05:00
Brian Roberts
69311822d2
Merge pull request #1041 from Azaezel/alpha41/setEuler
add setEulerRotation to pair with getEulerRotation for sceneobjects
2023-07-07 13:11:21 -05:00
Brian Roberts
a9f52d9eeb
Merge pull request #1045 from GoldenThumbs/fixhdr_gl
OpenGL fixes for HDR post effect
2023-07-07 10:26:11 -05:00
Samuel Skiff
cde584253d OpenGL fixes for HDR post effect 2023-07-07 00:51:11 -05:00
marauder2k7
b0e02d6380 Merge remote-tracking branch 'upstream/development' into GuiInspectorFields 2023-07-04 07:15:27 +01:00
marauder2k7
f127b084ce Add 2d value types
- TypePoint2F and TypePoint2I now display as multi dimensional
2023-07-04 07:15:03 +01:00
AzaezelX
061c25686d add setEulerRotation to pair with getEulerRotation for sceneobjects 2023-07-03 15:14:17 -05:00
Brian Roberts
7f18baa345
Merge pull request #1037 from Azaezel/alpha41/localizationUtils
localization utility methods
2023-07-03 15:10:33 -05:00
marauder2k7
22f8e46288 Copy and Paste
Copy and paste buttons added for multi dimensional fields
No longer name conflict errors coming up.
2023-07-03 20:59:16 +01:00
marauder2k7
4abd6d6bc2 Merge remote-tracking branch 'upstream/development' into GuiInspectorFields 2023-07-03 19:19:14 +01:00
AzaezelX
5e6a95866a localization utiity methods
to better adress https://github.com/TorqueGameEngines/Torque3D/issues/1036
2023-06-22 17:52:32 -05:00
Brian Roberts
cf233367a8
Merge pull request #1034 from Azaezel/alpha41/TreeUnTrimming
fix forest element inspector
2023-06-17 15:14:58 -05:00
AzaezelX
fd758b1736 fix forest element inspector 2023-06-17 11:31:32 -05:00
marauder2k7
5527207805 AngAxis toEuler
Add Euler set and to functions to AngAxis.
Removes the need to use a matrix
2023-06-13 15:11:28 +01:00
marauder2k7
a4e2bfe34e Commit before cleanup
-TypeRotationMatrix working as designed
no more funny business on focus.
2023-06-11 22:37:08 +01:00
marauder2k7
cbe2bd4c7b Conversions
Commit from Azaezel to fix the naming of inspector fields.
TypeMatrixField still messes around on first responder, we know these functions convert angAxis to eul properly and from eul to angAxis but when the data comes to TypeMatrix it changes.... weird issue is weird.
2023-06-11 21:59:03 +01:00
marauder2k7
92920dbcd9 Change to GuiTextEditSliderCtrl
Change dimension elements to a guiTextEditSliderCtrl
add a button to copy all elements of the multi dimension class to the platform clipboard
2023-06-10 21:30:58 +01:00
marauder2k7
0a7550eeba Update guiInspectorTypes.cpp 2023-06-10 18:15:03 +01:00
marauder2k7
639ca1c03a Update profiles.ed.tscript
missing profiles
2023-06-10 17:00:09 +01:00
marauder2k7
e6dbe0a860 Add multi dimensional entries to inspector
-Added 3 new classes
GuiInspectorType2DValue - 2 dimensional value
GuiInspectorType3DValue - 3 dimensional value
GuiInspectorType4DValue - 4 dimensional value

Added GuiInspectorTypePoint3F for 3 dimensional positions.
Added GuiInspectorTypeMatrixRotation for object rotation. Translates rotation to degrees atm. Input from this is not accounted for just yet.
2023-06-10 16:50:59 +01:00
Brian Roberts
06e4ce01a9
Merge pull request #1024 from Azaezel/alpha41/TypeHints
add TypeHints for scenetree viewing
2023-06-02 10:46:33 -05:00
Brian Roberts
b481dc5db9
Merge pull request #1021 from ohmtal/development
FreeBSD ready reloaded
2023-06-02 10:46:16 -05:00
Brian Roberts
687fd97ce0
Merge pull request #1025 from Azaezel/alpha41/unsignedunmangle
fix strrepeat <0
2023-06-02 10:46:04 -05:00
AzaezelX
f79c6280b3 fix strrepeat <0 2023-05-25 18:38:45 -05:00
AzaezelX
361ea5286e set typehint for spawners to the spawndatablock 2023-05-24 19:58:34 -05:00
AzaezelX
b1f118898e add TypeHints for inspector viewing
typehints operate as an additional label for a given class in the inspector, allowing one to specify what class-entry to use as a tag
examples: Prefab displays prefab filename
TSStatic displays the used shape asset name
SFXEmitter displays the played sound asset
GameBase derivatives display the datablock used
2023-05-23 12:35:07 -05:00
Brian Roberts
cc3c2c53ae
Merge pull request #1023 from Azaezel/alpha41/mInvLerp
inverse lerp function
2023-05-22 12:08:17 -05:00
Brian Roberts
0e087ffb7f
Merge pull request #1022 from Azaezel/alpha41/matrixDumpSafety
account for null dumpmatix captions
2023-05-22 12:08:04 -05:00
AzaezelX
c5afb407db inverse lerp function 2023-05-21 12:10:33 -05:00
AzaezelX
a03586a5fe account for null dumpmatix captions 2023-05-18 10:19:30 -05:00
XXTH
ed1402cbd3 better cpu count guess 2023-05-12 13:47:55 +02:00
XXTH
4a0c4a69f0 added comments 2023-05-12 13:32:01 +02:00
XXTH
cb47c2849c disabled PosixCPU info for freebsd
added sdlCPUInfo
2023-05-12 13:17:35 +02:00
XXTH
a81c6ebd06 clean up 2023-05-12 11:42:06 +02:00