Is there any good reason why m_controlLineOrigin coordinates are set to
-1 in ControlPainter.cpp?
This can lead to crash if you erase all controllers drawn by immediately
holding shift and clicking somewhere in ruler.
Step by step instructions:
1) Draw an empty segment
2) Open any editor
3) Add control ruler (expression, volume...)
4) Hold down SHIFT key and draw line of controlers
5) Change cursor to arrow (select tool) and select all the controllers
by sweeping around
6) Change tool into Eraser and click on an event in order to delete them all
This will crash rg because first controller is out of range.
I'd suggest changing line 47 and 48 of ControlPainter.cpp to
m_controlLineOrigin.first = 0;
m_controlLineOrigin.second = 0;
accordingly.
Vlada
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel