//========================================================================
void Gimmick::CreateUserSettingsDirectory()
{
- if (! boost::filesystem::is_directory( GetUserSettingsDirectory() ) )
+ //JCP settings dir 02/10/2009
+ const std::string settingsdirectory = GetUserSettingsDirectory();
+ bool isdir = boost::filesystem::is_directory( settingsdirectory );
+ if (! isdir )
{
GimmickMessage(1,"Directory '"<<GetUserSettingsDirectory()<<"' "
<< "does not exist : creating it"<<std::endl);
wxBoxSizer *topsizer = new wxBoxSizer(wxVERTICAL);
- // previewer
-
+ // previewer
mInteractor = new crea::creawxVTKRenderWindowInteractor(this,-1);
mInteractor->UseCaptureMouseOn();