try to load shapes during preload

it's half the point of the protocol
This commit is contained in:
AzaezelX 2025-07-06 19:51:55 -05:00
parent c138d838bb
commit e8ccb3443a
18 changed files with 63 additions and 71 deletions

View file

@ -97,7 +97,7 @@ bool PhysicsDebrisData::preload( bool server, String &errorStr )
if ( server ) return true;
if ( mShapeAsset.notNull() )
if ( getShape() )
{
// Create a dummy shape to force the generation of shaders and materials
// during the level load and not during gameplay.