Commit 8626b932 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed some debug output

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5348 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b1a9aa61
...@@ -78,7 +78,6 @@ void Core::slotGetAllFilters ( QStringList& _list){ ...@@ -78,7 +78,6 @@ void Core::slotGetAllFilters ( QStringList& _list){
void Core::commandLineOpen(const char* _filename, bool asPolyMesh ){ void Core::commandLineOpen(const char* _filename, bool asPolyMesh ){
commandLineFileNames_.push_back(std::pair< const char* , bool >(_filename,asPolyMesh)); commandLineFileNames_.push_back(std::pair< const char* , bool >(_filename,asPolyMesh));
std::cerr << "Open" << std::endl;
} }
void Core::commandLineScript(const char* _filename ) { void Core::commandLineScript(const char* _filename ) {
...@@ -86,18 +85,14 @@ void Core::commandLineScript(const char* _filename ) { ...@@ -86,18 +85,14 @@ void Core::commandLineScript(const char* _filename ) {
} }
void Core::slotCommandLineOpen() { void Core::slotCommandLineOpen() {
std::cerr << "1" << std::endl;
for ( uint i = 0 ; i < commandLineFileNames_.size() ; ++i ) { for ( uint i = 0 ; i < commandLineFileNames_.size() ; ++i ) {
std::cerr << i << std::endl;
if (commandLineFileNames_[i].second) if (commandLineFileNames_[i].second)
loadObject(DATA_POLY_MESH, commandLineFileNames_[i].first); loadObject(DATA_POLY_MESH, commandLineFileNames_[i].first);
else else
loadObject(commandLineFileNames_[i].first); loadObject(commandLineFileNames_[i].first);
} }
std::cerr << "2" << std::endl;
for ( uint i = 0 ; i < commandLineScriptNames_.size() ; ++i ) { for ( uint i = 0 ; i < commandLineScriptNames_.size() ; ++i ) {
std::cerr << i << std::endl;
//check if we have scripting support: //check if we have scripting support:
bool ok = false; bool ok = false;
slotPluginExists("scripting",ok); slotPluginExists("scripting",ok);
...@@ -109,7 +104,6 @@ void Core::slotCommandLineOpen() { ...@@ -109,7 +104,6 @@ void Core::slotCommandLineOpen() {
emit executeFileScript(commandLineScriptNames_[i]); emit executeFileScript(commandLineScriptNames_[i]);
} }
} }
/// Load object by guessing DataType depending on the files extension /// Load object by guessing DataType depending on the files extension
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment