mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-05 15:54:50 -04:00
0.4.0.9 Beta 07/27/2014
0.4.0.9 Beta 07/27/2014 --User Changes Properly set tab order on all controls. Calculate and report iters/second in the final render dialog. Immediately draw yellow dot on xform mouse down on previously unselected xform. --Bug Fixes Fix GlynnSim1, GlynnSim2, GlynnSim3 and juliaNab by ensuring the first argument to pow() is >= 0. Ensure OpenCL platform and device combo boxes in the final render dialog expand as needed. --Code Changes Make VariationTreeSpinbox take its parent VariationTreeWidgetItem as a constructor argument. This makes SetupVariationTree() and VariationSpinBoxValueChanged() more efficient. Make Interference2 and ho use fabs().
This commit is contained in:
@ -21,10 +21,12 @@ public:
|
||||
/// Constructor that takes a pointer to a QTreeWidget as the parent
|
||||
/// and passes it to the base.
|
||||
/// </summary>
|
||||
/// <param name="id">The ID of the variation this widget will represent</param>
|
||||
/// <param name="parent">The parent widget</param>
|
||||
VariationTreeWidgetItem(QTreeWidget* parent = 0)
|
||||
VariationTreeWidgetItem(eVariationId id, QTreeWidget* parent = 0)
|
||||
: QTreeWidgetItem(parent)
|
||||
{
|
||||
m_Id = id;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -32,13 +34,16 @@ public:
|
||||
/// and passes it to the base.
|
||||
/// This is used for making sub items for parametric variation parameters.
|
||||
/// </summary>
|
||||
/// <param name="id">The ID of the variation this widget will represent</param>
|
||||
/// <param name="parent">The parent widget</param>
|
||||
VariationTreeWidgetItem(QTreeWidgetItem* parent = 0)
|
||||
VariationTreeWidgetItem(eVariationId id, QTreeWidgetItem* parent = 0)
|
||||
: QTreeWidgetItem(parent)
|
||||
{
|
||||
m_Id = id;
|
||||
}
|
||||
|
||||
virtual ~VariationTreeWidgetItem() { }
|
||||
eVariationId Id() { return m_Id; }
|
||||
|
||||
private:
|
||||
/// <summary>
|
||||
@ -86,4 +91,6 @@ private:
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
eVariationId m_Id;
|
||||
};
|
Reference in New Issue
Block a user