Ignore:
Timestamp:
Apr 16, 2012, 12:14:03 PM (13 years ago)
Author:
ldelgass
Message:

Remove vrutil library. Was only used for FilePath? that already exists in
R2 library (may need some fixing for windows portability though). Make
R2FilePath::getPath return a std::string so users can allocate a std::string
on the stack and not worry about deleting the string buffer returned. Also,
use std::string in R2Fonts to avoid leaking font names. Remove R2string as
it is now replaced by std::strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/ParticleSystemFactory.cpp

    r2822 r2972  
    55#include <expat.h>
    66
    7 #include <vrutil/vrFilePath.h>
     7#include <R2/R2FilePath.h>
    88
    99#include "ParticleSystemFactory.h"
     
    144144        char buff[256];
    145145        sprintf(buff, fileName.c_str(), startIndex);
    146         std::string path = vrFilePath::getInstance()->getPath(buff);
     146        std::string path = R2FilePath::getInstance()->getPath(buff);
    147147        if (path.size()) {
    148148            std::string dir;
     
    169169        }
    170170    } else {
    171         std::string path = vrFilePath::getInstance()->getPath(fileName.c_str());
     171        std::string path = R2FilePath::getInstance()->getPath(fileName.c_str());
    172172        _newParticleSystem =
    173173            new ParticleSystem(width, height, path.c_str(),
Note: See TracChangeset for help on using the changeset viewer.