Commit fbbd9fd5 authored by Mike Kremer's avatar Mike Kremer

Removed tr() from scriptInfo signal. Added some missing createBackups. Everything should work now.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9761 383ad7c9-94d9-4d36-a494-682f7c89f535
parent dd1cbdad
......@@ -178,7 +178,9 @@ void SmootherPlugin::simpleLaplace(int _iterations) {
mesh->update_normals();
emit updatedObject( o_it->id(), UPDATE_GEOMETRY );
// Create backup
emit createBackup(o_it->id(), "Simple Smoothing");
} else if ( o_it->dataType( DATA_POLY_MESH ) ) {
......@@ -256,7 +258,9 @@ void SmootherPlugin::simpleLaplace(int _iterations) {
}
// Show script logging
emit scriptInfo(tr("simpleLaplace(%1)").arg(_iterations));
emit scriptInfo("simpleLaplace(" + QString::number(_iterations) + ")");
emit updateView();
}
......
......@@ -80,7 +80,7 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface, LoggingI
void scriptInfo(QString _functionName);
// BackupInterface
void createBackup(int _objectId, QString _description);
void createBackup( int _id , QString _name );
public:
......
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