Commit graph

5125 commits

Author SHA1 Message Date
marauder2k7
48b512ef73 move population of image metadata to onAssetRefresh 2025-06-17 15:06:07 +01:00
marauder2k7
3d77b59b71 Update assetImporter.cpp
refresh asset so image asset can write out its image metadata
2025-06-17 14:57:18 +01:00
marauder2k7
67f217ada1 Update assetImporter.cpp
asset importing for images shouldnt execute a file copy, original file path is enough as it is relative to exe
2025-06-17 12:20:47 +01:00
marauder2k7
fc9f221ac0 Prepend symbol for image files
Prepend image filenames in imageassets with "@" symbol so expand and collapse works correctly for files relative to that asset.taml file.
2025-06-16 08:33:11 +01:00
marauder2k7
50f74368b3 various fixes around preview assets and imageassets text field
Imageasset text field now displays correctly in inspector
previews now use assets again
assetBrowser hides previewCache folder
2025-06-15 22:07:12 +01:00
Brian Roberts
dfbfe094bb
Merge pull request #1497 from Azaezel/alpha41/spamSuppression
don't trace setShaderConsts or onNewMessage callbacks
2025-06-15 10:52:45 -05:00
JeffR
4be2f05bb1 Disables the behavior for building and exporting polyLists for SceneGroups as you can just do so on the individual items, and it can cause erroneous behavior like looping if triggered improperly. 2025-06-11 00:30:36 -05:00
AzaezelX
83a3ef877e don't trace setShaderConsts or onNewMessage callbacks
they spam up the console to uselessness when using the trace(true/false) command
2025-06-09 13:35:32 -05:00
AzaezelX
2e15018ad3 minor followup to #1494
we do try and avoid auto for places that aren't mutatable patterns so folks can scan what's going on under the hood
2025-06-06 11:00:12 -05:00
Brian Roberts
ccd30a19cc
Merge pull request #1495 from Azaezel/alpha41/safeSafties
add extra safeties to safe_delete macros
2025-06-06 10:56:46 -05:00
AzaezelX
aebd497fd6 make sure device and texture manager are still around when making a deletion request of them 2025-06-06 10:56:02 -05:00
AzaezelX
2c15877d5a add extra safeties to safe_delete macros 2025-06-06 10:45:05 -05:00
Nick-IronTower
01ffdae89a GFXStateBlockDesc memory leak fix. 2025-06-06 14:52:20 +03:00
AzaezelX
a3d2d13d39 remove stray methods.
revisit loadedstate shortcutting of already loaded textures
2025-06-01 12:41:31 -05:00
Brian Roberts
f709130e72
Merge pull request #1489 from Areloch/DirectImageFileOption
Direct image file option
2025-05-31 07:18:24 -05:00
JeffR
0e6c33f78a Fixed gui editor drag and drop behavior for image, shape, and sound
Ensure BitmapFile is given a proper default
2025-05-30 20:21:13 -05:00
Brian Roberts
4ccbc37322
Merge pull request #1491 from Azaezel/alpha41/shaderConstConkOut
remove shaderconst timer clamp
2025-05-30 20:10:07 -05:00
AzaezelX
1e2b6c4e35 remove shaderconst timer clamp
looks ike the postfx shaderconst update cycle rate limiter is the source of our flickering
2025-05-30 20:01:30 -05:00
JeffR
5397c168bc Merge branch 'DirectImageFileOption' of https://github.com/Areloch/Torque3D into development 2025-05-30 00:08:29 -05:00
marauder2k7
ea751eb62f Update bitmapSTB.cpp 2025-05-30 04:00:45 +01:00
JeffR
41957cb98f Compares path and filename, excludes png in case the user swapped a dds for a png or the like 2025-05-29 16:06:04 -05:00
JeffR
029427d51c Fixes imageAsset lookup so if we're looking up a full filename path, we compare the actual full paths 2025-05-28 23:23:08 -05:00
JeffR
8ed3bab44c Re-added prefix handling for named texture lookups for image asset fields
Changed render-out of shape preview images to use png
Added filter against previewCache folder
2025-05-28 17:47:23 -05:00
AzaezelX
8bd145d54f use of get<some name> methods that already return nulls/false when attempting to load
in contexts where we would want to try first (pt2)
2025-05-28 17:45:02 -05:00
JeffR
0fa8b97f91 Reimplements ability to utilize direct file load alongside ImageAsset fields when utilizing the ImageAsset macros
Updates Asset Browser generated preview images to not utilize full assets, but just the preview image files themselves
2025-05-27 17:12:03 -05:00
AzaezelX
40974dd14b use of get<some name> methods that already return nulls/false when attempting to load
in contexts where we would want to try first
2025-05-27 17:07:08 -05:00
Brian Roberts
a43458677a
Merge pull request #1481 from Areloch/MiscFixes_20250525
Misc Fixes and improvements including updated autosave handling
2025-05-27 08:03:08 -05:00
JeffR
51a43d5be1 Fixed bad return type for AssetManager::getAssetLooseFile 2025-05-26 22:18:14 -05:00
AzaezelX
2f19db7607 overflow avoidance 2025-05-26 15:17:01 -05:00
AzaezelX
76b33ab57b unintialized variable cleanups 2025-05-26 15:16:48 -05:00
AzaezelX
6596865d92 overflow avoidance 2025-05-26 15:16:18 -05:00
AzaezelX
ddac695252 unintialized variable cleanups 2025-05-26 14:20:22 -05:00
AzaezelX
ba09744c6b volfog destructor safties 2025-05-25 23:04:10 -05:00
AzaezelX
7a97ad6099 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/sfxShanked
# Conflicts:
#	Engine/source/T3D/sfx/sfxEmitter.cpp
2025-05-25 22:09:53 -05:00
AzaezelX
9fe13d6a32 sfxEmitter destrctor safties
be more paranoid
2025-05-25 21:56:56 -05:00
Brian Roberts
fc73890ca8
Merge pull request #1480 from Azaezel/alpha1/sdlUpdate
update sdl to 2.32.6
2025-05-25 17:27:08 -05:00
JeffR
bb7ee38bf4 - Reimplements autosave logic to handle levels, subscenes and terrains in a more consistent, reliable way.
- Adds entry to RMB menu in Asset Browser to restore an asset to a backup copy taken from autosaves
- Adds reparent out-of-bounds objects button to SceneGroup inspector
- Adds ability to have SubScene have a different loading bounds from the actual subscene bounds, allowing load triggering to happen ahead of the bounds of the subscene itself
- Fixes asset importer handling of animFPS field to be the correct type
- Adds onInspect handling to GameBase allowing better handling for any game class type with editor integration
- Add getAssetLooseFileCount and getAssetLooseFile to AssetManager to be able to iterate over all loose files associated to an asset
- Add standard/default preload function def to forestItem
- Fixes handling of text placement on GuiIconButtonCtrl when text is set to the right
- Adds setGlobalCenter utility function
- Adds ability to set guiInputCtrl active state
- Matched util functions for tracking if left and right mouse buttons are down to EditTSCtrl alongside the existing middle mouse
- Add empty element sanity check to appMesh loader
- Add callback for GameBase when game is created
- Add default graphics options config for steamdeck
- Fix typo in assetImportConfig default
- Filters SceneGroup utility buttons in inspector to only show for relevent class types
2025-05-25 07:40:10 -05:00
AzaezelX
ddc1f8c1e2 update sdl to 2.32.6 2025-05-24 13:39:03 -05:00
AzaezelX
0c67f3642b clean up sfxemitter 2025-05-21 21:14:40 -05:00
AzaezelX
73af7f6c3e third case 2025-05-21 11:06:50 -05:00
AzaezelX
38de3d866c fix a couple cases of old direct references
use getBitmap(), not mBitmap
2025-05-21 11:02:31 -05:00
marauder2k7
f40c20d2f4 Update gfxGLShader.cpp
restore assertfatal if the bindPoint ==-1 as these require a location, ubo uniforms location returns -1
2025-05-21 07:16:45 +01:00
marauder2k7
ab36fe24ec fixes for opengl uniform buffer loading
This fix allows uniform buffers to be used with glsl shaders.

Small issue with uniform buffers not being initialized correctly.
2025-05-21 07:10:54 +01:00
AzaezelX
c7275300fb dial back a case of stringtable over use 2025-05-20 14:01:03 -05:00
marauder2k7
d128e0aa97 Update CMakeLists.txt 2025-05-20 16:48:23 +01:00
marauder2k7
78667ca43f Update ScriptTest.cpp
use case insensitive tests when interacting with script
2025-05-20 16:14:53 +01:00
Brian Roberts
86029683d3
Merge pull request #1474 from marauder2k9-torque/SDL2_OpenAL_Backend
Use SDL2 Backend with OpenAL
2025-05-20 08:31:49 -05:00
marauder2k7
0dc61d214c Update CMakeLists.txt
revert CoreAudio to default for mac build
2025-05-20 13:08:01 +01:00
marauder2k7
906484cf22 Update CMakeLists.txt 2025-05-20 12:35:27 +01:00
marauder2k7
87514151c4 Use SDL2 Backend with OpenAL
This change implements openal to use the sdl2 backend.

The main change in this is in openal-soft cmakeLists.txt it was not using our custom finders to find sdl2 for us before and so it had to be changed to a list append instead of a set. This needs to be remembered for future updates to openal
2025-05-20 12:13:10 +01:00