multiplayer decals and art/core filepaths fixes

This commit is contained in:
Duion 2015-12-27 00:39:52 +01:00
parent aa6d9b8ec2
commit 79c6a25050
3 changed files with 7 additions and 6 deletions

View file

@ -284,6 +284,7 @@ void DecalData::unpackData( BitStream *stream )
Parent::unpackData( stream );
stream->read( &lookupName );
assignName(lookupName);
stream->read( &size );
stream->read( &materialName );
_updateMaterial();

View file

@ -42,9 +42,9 @@ using namespace Torque;
S32 GFXTextureManager::smTextureReductionLevel = 0;
String GFXTextureManager::smMissingTexturePath("core/art/missingTexture");
String GFXTextureManager::smUnavailableTexturePath("core/art/unavailable");
String GFXTextureManager::smWarningTexturePath("core/art/warnmat");
String GFXTextureManager::smMissingTexturePath("art/core/missingTexture");
String GFXTextureManager::smUnavailableTexturePath("art/core/unavailable");
String GFXTextureManager::smWarningTexturePath("art/core/warnMat");
GFXTextureManager::EventSignal GFXTextureManager::smEventSignal;

View file

@ -74,9 +74,9 @@ EndImplementEnumType;
//-----------------------------------------------------------------------------
String TSShapeConstructor::smCapsuleShapePath("core/art/shapes/unit_capsule.dts");
String TSShapeConstructor::smCubeShapePath("core/art/shapes/unit_cube.dts");
String TSShapeConstructor::smSphereShapePath("core/art/shapes/unit_sphere.dts");
String TSShapeConstructor::smCapsuleShapePath("art/core/shapes/unit_capsule.dts");
String TSShapeConstructor::smCubeShapePath("art/core/shapes/unit_cube.dts");
String TSShapeConstructor::smSphereShapePath("art/core/shapes/unit_sphere.dts");
ResourceRegisterPostLoadSignal< TSShape > TSShapeConstructor::_smAutoLoad( &TSShapeConstructor::_onTSShapeLoaded );
ResourceRegisterUnloadSignal< TSShape > TSShapeConstructor::_smAutoUnload( &TSShapeConstructor::_onTSShapeUnloaded );