mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-02 22:34:52 -04:00
Fix bug when using rotation with strips by adding a new member to Ember named m_RotCenterY which is a copy of the original center value since the center value gets changed when using strips.
Change PaletteList Count() member to Size() to be consistent with other code. Remove PaletteImage option, it's unused. Improve documentation for some other options. Make ComposePath() always return a unique string. Add Random Palette and Random Adjustment buttons. Another attempt at solving the locale bug with the affine adjustment combo boxes.
This commit is contained in:
@ -633,7 +633,7 @@ void GLEmberController<T>::MouseMove(QMouseEvent* e)
|
||||
v2T v2 = rotMat.TransformVector(v1);
|
||||
|
||||
ember->m_CenterX = v2.x;
|
||||
ember->m_CenterY = v2.y;
|
||||
ember->m_CenterY = ember->m_RotCenterY = v2.y;
|
||||
m_FractoriumEmberController->SetCenter(ember->m_CenterX, ember->m_CenterY);//Will restart the rendering process.
|
||||
}
|
||||
else if (m_DragState == DragRotateScale)//Rotating and scaling the whole image.
|
||||
|
Reference in New Issue
Block a user