Ran script to remove trailing spaces and tabs
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
/* -*-c++-*- Present3D - Copyright (C) 1999-2006 Robert Osfield
|
||||
/* -*-c++-*- Present3D - Copyright (C) 1999-2006 Robert Osfield
|
||||
*
|
||||
* This software is open source and may be redistributed and/or modified under
|
||||
* This software is open source and may be redistributed and/or modified under
|
||||
* the terms of the GNU General Public License (GPL) version 2.0.
|
||||
* The full license is in LICENSE.txt file included with this distribution,.
|
||||
*
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* include LICENSE.txt for more details.
|
||||
*/
|
||||
|
||||
@@ -126,7 +126,7 @@ void PickEventHandler::doOperation()
|
||||
osgDB::FilePathList& paths = osgDB::getDataFilePathList();
|
||||
if (!paths.empty())
|
||||
{
|
||||
#ifdef _WIN32
|
||||
#ifdef _WIN32
|
||||
std::string delimintor(";");
|
||||
#else
|
||||
std::string delimintor(":");
|
||||
@@ -175,7 +175,7 @@ void PickEventHandler::doOperation()
|
||||
// rendering anything new before the new window opens.
|
||||
OpenThreads::Thread::microSleep(500000); // half second sleep.
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
case(osgPresentation::LOAD):
|
||||
@@ -195,7 +195,7 @@ void PickEventHandler::doOperation()
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (requiresJump())
|
||||
{
|
||||
OSG_NOTICE<<"Requires jump "<<_relativeJump<<", "<<_slideNum<<", "<<_layerNum<<std::endl;
|
||||
@@ -206,7 +206,7 @@ void PickEventHandler::doOperation()
|
||||
int previousLayer = SlideEventHandler::instance()->getActiveLayer();
|
||||
int newSlide = previousSlide + _slideNum;
|
||||
int newLayer = previousLayer + _layerNum;
|
||||
if (newLayer<0)
|
||||
if (newLayer<0)
|
||||
{
|
||||
newLayer = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user