yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00556
[svn] r1457 - sega
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Wed, 20 Aug 2008 11:55:19 +0200
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
------------------------------------------------------------------------
r1457 | sega | 2008-08-08 17:07:56 +0200 (pią, 08 sie 2008) | 1 line
Changed paths:
M /trunk/gui/qt3/GLSimulationPlayerViewer.cpp
M /trunk/gui/qt3/QtSimulationPlayer.cpp
M /trunk/gui/qt3/QtSimulationPlayer.hpp
M /trunk/pkg/common/Engine/FilterEngine/FilterEngine.cpp
M /trunk/pkg/common/Engine/FilterEngine/FilterEngine.hpp
Fixed small bugs and misprints
------------------------------------------------------------------------
Index: pkg/common/Engine/FilterEngine/FilterEngine.hpp
===================================================================
--- pkg/common/Engine/FilterEngine/FilterEngine.hpp (revision 1456)
+++ pkg/common/Engine/FilterEngine/FilterEngine.hpp (revision 1457)
@@ -13,7 +13,7 @@
class FilterEngine : public DeusExMachina {
public:
/// Activation of filtration from GUI
- static bool isFilterationActivated;
+ static bool isFiltrationActivated;
/// Activation of the filter
bool isFilterActivated;
@@ -24,7 +24,7 @@
void registerAttributes()
{
-// REGISTER_ATTRIBUTE(isFilterationActivated);
+// REGISTER_ATTRIBUTE(isFiltrationActivated);
REGISTER_ATTRIBUTE(isFilterActivated);
}
Index: pkg/common/Engine/FilterEngine/FilterEngine.cpp
===================================================================
--- pkg/common/Engine/FilterEngine/FilterEngine.cpp (revision 1456)
+++ pkg/common/Engine/FilterEngine/FilterEngine.cpp (revision 1457)
@@ -8,7 +8,7 @@
#include "FilterEngine.hpp"
-bool FilterEngine::isFilterationActivated = false;
+bool FilterEngine::isFiltrationActivated = false;
FilterEngine::FilterEngine() : DeusExMachina(), isFilterActivated(false)
{
@@ -16,5 +16,5 @@
bool FilterEngine::isActivated()
{
- return FilterEngine::isFilterationActivated && isFilterActivated;
+ return FilterEngine::isFiltrationActivated && isFilterActivated;
}
Index: gui/qt3/GLSimulationPlayerViewer.cpp
===================================================================
--- gui/qt3/GLSimulationPlayerViewer.cpp (revision 1456)
+++ gui/qt3/GLSimulationPlayerViewer.cpp (revision 1457)
@@ -135,6 +135,7 @@
if(dIter->leaf().find(inputBaseName)!=0 || filesystem::extension(*dIter)==".rgb" || algorithm::ends_with(dIter->string(),".rgb.bz2") || filesystem::is_directory(*dIter) || !filesystem::exists(*dIter)) continue;
xyzNames.push_back(dIter->string());
}
+ xyzNames.sort();
} else { /* load from sqlite database */
con=shared_ptr<sqlite3x::sqlite3_connection>(new sqlite3x::sqlite3_connection(fileName));
LOG_DEBUG("Opened sqlite db "<<fileName);
Index: gui/qt3/QtSimulationPlayer.cpp
===================================================================
--- gui/qt3/QtSimulationPlayer.cpp (revision 1456)
+++ gui/qt3/QtSimulationPlayer.cpp (revision 1457)
@@ -29,7 +29,7 @@
void QtSimulationPlayer::pbStepClicked(){ glSimulationPlayerViewer->stopAnimation(); glSimulationPlayerViewer->doOneStep(); }
void QtSimulationPlayer::pbResetClicked(){ setParameters(); glSimulationPlayerViewer->reset();}
void QtSimulationPlayer::cbSaveSnapShotsToggled(bool b){ glSimulationPlayerViewer->saveSnapShots=b;}
-void QtSimulationPlayer::cbAllowFilterationToggled(bool b){ FilterEngine::isFilterationActivated=b; }
+void QtSimulationPlayer::cbAllowFiltrationToggled(bool b){ FilterEngine::isFiltrationActivated=b; }
void QtSimulationPlayer::closeEvent(QCloseEvent *e){ QtGeneratedSimulationPlayer::closeEvent(e); emit closeSignal(); }
@@ -47,6 +47,7 @@
if (!directory.empty()) leInputDirectory->setText(directory);
}
void QtSimulationPlayer::pbLoadClicked(){
+ glSimulationPlayerViewer->stride=sbStride->value();
glSimulationPlayerViewer->load(leInputConfigFile->text());
leInputBaseName->setText(glSimulationPlayerViewer->inputBaseName);
leInputDirectory->setText(glSimulationPlayerViewer->inputBaseDirectory);
Index: gui/qt3/QtSimulationPlayer.hpp
===================================================================
--- gui/qt3/QtSimulationPlayer.hpp (revision 1456)
+++ gui/qt3/QtSimulationPlayer.hpp (revision 1457)
@@ -35,7 +35,7 @@
public slots : virtual void pbStepClicked();
public slots : virtual void pbResetClicked();
- public slots : virtual void cbAllowFilterationToggled(bool b);
+ public slots : virtual void cbAllowFiltrationToggled(bool b);
protected : void closeEvent(QCloseEvent *);
// void keyPressEvent(QKeyEvent *){};