Commit e59026b8 authored by Matthias Möller's avatar Matthias Möller

- better init feedback

- reinit is not necessary if unary modules changed

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15678 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7966fdd7
This diff is collapsed.
......@@ -169,7 +169,20 @@ private :
DecimaterToolbarWidget* tool_;
//saves the decimater and the object id
std::vector< std::pair<ptr::shared_ptr<BaseDecimaterType>, int > > decimater_objects_;
struct DecimaterInit
{
ptr::shared_ptr<BaseDecimaterType> decimater;
int objId;
ModAspectRatioH hModAspectRatio;
ModEdgeLengthH hModEdgeLength;
ModHausdorffH hModHausdorff;
ModIndependentH hModIndependent;
ModNormalDeviationH hModNormalDeviation;
ModNormalFlippingH hModNormalFlipping;
ModQuadricH hModQuadric;
ModRoundnessH hModRoundness;
};
std::vector< ptr::shared_ptr<DecimaterInit> > decimater_objects_;
QIcon* toolIcon_;
private slots:
......@@ -199,6 +212,7 @@ private slots:
void slotMixedCounterValueChanged(double);
void slotMixedSliderValueChanged(int);
void slotDisableDecimation();
//===========================================================================
/** @name Scripting Functions
......
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