mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 21:24:55 -04:00
--Bug fixes
-Only allow editing affines via key press when affines are actually shown. --Code changes -Fix up from Michel's merge.
This commit is contained in:
@ -523,8 +523,8 @@ void GLWidget::paintGL()
|
||||
}
|
||||
|
||||
//Affine drawing.
|
||||
bool pre = m_Fractorium->DrawPreAffines();
|
||||
bool post = m_Fractorium->DrawPostAffines();
|
||||
bool pre = m_Fractorium->DrawPreAffines();
|
||||
bool post = m_Fractorium->DrawPostAffines();
|
||||
this->glEnable(GL_BLEND);
|
||||
this->glEnable(GL_LINE_SMOOTH);
|
||||
this->glEnable(GL_POINT_SMOOTH);
|
||||
@ -1757,8 +1757,8 @@ void GLWidget::DrawAffineHelper(int index, float circleWidth, float lineWidth, b
|
||||
template <typename T>
|
||||
int GLEmberController<T>::UpdateHover(const v3T& glCoords)
|
||||
{
|
||||
bool pre = m_Fractorium->DrawPreAffines();
|
||||
bool post = m_Fractorium->DrawPostAffines();
|
||||
bool pre = m_Fractorium->DrawPreAffines();
|
||||
bool post = m_Fractorium->DrawPostAffines();
|
||||
int i = 0, bestIndex = -1;
|
||||
T bestDist = 10;
|
||||
auto ember = m_FractoriumEmberController->CurrentEmber();
|
||||
|
Reference in New Issue
Block a user