Просмотр исходного кода

prune testcode interfering with animations within the same models

AzaezelX 5 лет назад
Родитель
Сommit
b5c08ad0a7
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      Engine/source/ts/tsShapeConstruct.cpp

+ 0 - 6
Engine/source/ts/tsShapeConstruct.cpp

@@ -402,12 +402,6 @@ bool TSShapeConstructor::onAdd()
    if ( !Parent::onAdd() )
       return false;
 
-   static const U32 bufSize = 512;
-   char* buf = Con::getReturnBuffer(bufSize);
-   Platform::makeFullPathName(mShapePath, buf, bufSize, NULL);
-
-   mShapePath = buf;
-
    // Prevent multiple objects pointing at the same shape file
    TSShapeConstructor* tss = findShapeConstructor( mShapePath );
    if ( tss )