Fix a couple of minor issues

This commit is contained in:
wmayer 2012-03-01 15:47:40 +01:00
parent 0e7df97961
commit e67a6e518c
2 changed files with 4 additions and 0 deletions

View File

@ -643,8 +643,10 @@ void PythonConsole::printPrompt(PythonConsole::Prompt mode)
{
case PythonConsole::Incomplete:
cursor.insertText(QString::fromAscii("... "));
break;
case PythonConsole::Complete:
cursor.insertText(QString::fromAscii(">>> "));
break;
default:
break;
}

View File

@ -34,6 +34,7 @@
#include <Base/Writer.h>
#include <Base/Reader.h>
#include <Base/Interpreter.h>
#include <Base/Sequencer.h>
#include "Core/Builder.h"
#include "Core/MeshKernel.h"
@ -1181,6 +1182,7 @@ MeshObject* MeshObject::createMeshFromList(Py::List& list)
}
}
Base::EmptySequencer seq;
std::auto_ptr<MeshObject> mesh(new MeshObject);
//mesh->addFacets(facets);
mesh->getKernel() = facets;