** This is part of the CTSim program
** Copyright (c) 1983-2001 Kevin Rosenberg
**
-** $Id: views.cpp,v 1.126 2001/03/04 22:30:20 kevin Exp $
+** $Id: views.cpp,v 1.127 2001/03/05 20:29:23 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
}
} else {
#if HAVE_WXTHREADS
- if (theApp->getUseBackgroundTasks() || theApp->getNumberCPU() > 1) {
+ if (theApp->getUseBackgroundTasks()) {
ProjectorSupervisorThread* pProjector = new ProjectorSupervisorThread (this, m_iDefaultNDet,
m_iDefaultNView, sGeometry.c_str(), m_iDefaultNSample, dRotationRadians,
m_dDefaultFocalLength, m_dDefaultCenterDetectorLength, m_dDefaultViewRatio, m_dDefaultScanRatio, os.str().c_str());
<< m_iDefaultRasterNSamples;;
#if HAVE_WXTHREADS
- if (theApp->getUseBackgroundTasks() || theApp->getNumberCPU() > 1) {
+ if (theApp->getUseBackgroundTasks()) {
RasterizerSupervisorThread* pThread = new RasterizerSupervisorThread (this, m_iDefaultRasterNX, m_iDefaultRasterNY,
m_iDefaultRasterNSamples, m_dDefaultRasterViewRatio, os.str().c_str());
if (pThread->Create() != wxTHREAD_NO_ERROR) {
delete pReconstructor;
} else {
#if HAVE_WXTHREADS
- if (theApp->getUseBackgroundTasks() || theApp->getNumberCPU() > 1) {
+ if (theApp->getUseBackgroundTasks()) {
ReconstructorSupervisorThread* pReconstructor = new ReconstructorSupervisorThread (this,
m_iDefaultNX, m_iDefaultNY, optFilterName.c_str(),
m_dDefaultFilterParam, optFilterMethodName.c_str(), m_iDefaultZeropad, optFilterGenerationName.c_str(),