mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-02 22:34:52 -04:00
--User changes
-Draw selection circles around all selected xforms plus the current one. --Bug fixes -Add control key as a modifier to increase the amount a spinbox is changed when using right mouse drag to edit. Previously only observed shift key to decrease the value. -Change the copy/paste selected xforms shortcuts to be Ctrl+X+C and Ctrl+X+V. --Code changes -Add function Fractorium::IsXformSelected() to determine if an xform has been selected with the checkboxes.
This commit is contained in:
@ -307,7 +307,7 @@ void GLEmberController<T>::DrawAffines(bool pre, bool post)
|
||||
for (size_t i = 0; i < ember->TotalXformCount(); i++)
|
||||
{
|
||||
auto xform = ember->GetTotalXform(i);
|
||||
bool selected = dragging ? (m_SelectedXform == xform) : (m_HoverXform == xform);
|
||||
bool selected = m_Fractorium->IsXformSelected(i) || (dragging ? (m_SelectedXform == xform) : (m_HoverXform == xform));
|
||||
DrawAffine(xform, true, selected);
|
||||
}
|
||||
}
|
||||
@ -321,7 +321,7 @@ void GLEmberController<T>::DrawAffines(bool pre, bool post)
|
||||
for (size_t i = 0; i < ember->TotalXformCount(); i++)
|
||||
{
|
||||
auto xform = ember->GetTotalXform(i);
|
||||
bool selected = dragging ? (m_SelectedXform == xform) : (m_HoverXform == xform);
|
||||
bool selected = m_Fractorium->IsXformSelected(i) || (dragging ? (m_SelectedXform == xform) : (m_HoverXform == xform));
|
||||
DrawAffine(xform, false, selected);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user