Browse Source

corrected shape path

Johxz 8 years ago
parent
commit
39e5fe689b
2 changed files with 4 additions and 4 deletions
  1. 1 1
      Engine/source/T3D/shapeImage.cpp
  2. 3 3
      Engine/source/ts/tsShapeConstruct.cpp

+ 1 - 1
Engine/source/T3D/shapeImage.cpp

@@ -189,7 +189,7 @@ ShapeBaseImageData::ShapeBaseImageData()
    lightRadius = 10.f;
    lightRadius = 10.f;
    lightBrightness = 1.0f;
    lightBrightness = 1.0f;
 
 
-   shapeName = "core/art/shapes/noshape.dts";
+   shapeName = "core/shapes/noshape.dts";
    shapeNameFP = "";
    shapeNameFP = "";
    imageAnimPrefix = "";
    imageAnimPrefix = "";
    imageAnimPrefixFP = "";
    imageAnimPrefixFP = "";

+ 3 - 3
Engine/source/ts/tsShapeConstruct.cpp

@@ -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("tools/shapes/unit_capsule.dts");
+String TSShapeConstructor::smCubeShapePath("tools/shapes/unit_cube.dts");
+String TSShapeConstructor::smSphereShapePath("tools/shapes/unit_sphere.dts");
 
 
 ResourceRegisterPostLoadSignal< TSShape > TSShapeConstructor::_smAutoLoad( &TSShapeConstructor::_onTSShapeLoaded );
 ResourceRegisterPostLoadSignal< TSShape > TSShapeConstructor::_smAutoLoad( &TSShapeConstructor::_onTSShapeLoaded );
 ResourceRegisterUnloadSignal< TSShape > TSShapeConstructor::_smAutoUnload( &TSShapeConstructor::_onTSShapeUnloaded );
 ResourceRegisterUnloadSignal< TSShape > TSShapeConstructor::_smAutoUnload( &TSShapeConstructor::_onTSShapeUnloaded );