Dmitri Ovodok
c9c1f03a2f
Optimize Bezier curve shape approximation
...
Using CubicBezier::pointAtPercent instead of
QPainterPath::pointAtPercent makes layout about 25% faster in some
cases.
2019-02-12 22:45:47 +03:00
Matt McClinch
88662559ca
fix #280690 : Editing slur in a score with parts leads to crash
2018-12-27 14:19:15 -05:00
anatoly-os
468a58828e
Merge pull request #4435 from MarcSabatella/280220-slur-barline
...
fix #280220 : slurs should not adjust just to avoid barlines
2018-12-20 11:39:35 +02:00
MarcSabatella
ac296b5197
fix #280220 : slurs should not avoid barlines
2018-12-18 09:19:05 -07:00
MarcSabatella
0dd864d372
fix #279880 : place articulations under slurs except at endpoints
2018-12-16 13:40:25 -07:00
MarcSabatella
413157649d
fix #279789 , fix #279777 , fix #274208 : slur layout improvements
2018-12-12 14:13:21 -07:00
Dmitri Ovodok
2fbbf5cdfc
fix #279340 : crash and incorrect middle segment length of slurs
...
Changes:
1) Reinitialize edit mode when changing the edited element.
Fixes a crash on dragging slur after increasing its size to more
than one system.
2) Correct segment type determination for slur segments.
For slurs tick2 is at the beginning of the end point unlike as
for most of other spanners.
3) Be more cautious on resetting spanner segment parent on system
destruction. No known issues related to this.
2018-12-07 19:16:00 +02:00
ws
b40daee833
fix slur offset handling and autoplace
2018-12-06 13:55:15 +01:00
MarcSabatella
7cc0cce42f
fix #279292 : honor slurMinDistance
2018-12-03 10:33:34 -07:00
Dmitri Ovodok
acb225d1e2
fix #278120 : Fix reading/writing slur/tie segments
2018-11-26 01:59:12 +02:00
Dmitri Ovodok
f42943e90b
fix #278722 : do not delete spanner segments but reuse them
2018-11-26 01:59:02 +02:00
Dmitri Ovodok
c36be96638
fix #276472 : do not move slur if it doesn't intersect staff shape
2018-11-21 15:34:20 +02:00
Dmitri Ovodok
16507e6a5b
fix #276378 : fix Y layout of double articulations
2018-11-16 18:42:50 +02:00
ws
1edd676aa7
fix #277699 Staff properties corrupted on MusicXML import after Master Palette opened
...
The problem is deep in the initialization of staff types in Staff.
This commit also tries to make handling of StaffType more "const correct" and adds some
assertions which may lead to crashes (and helps detecting bad code).
2018-11-08 15:50:00 +01:00
ws
5f4482d7c8
fix: save manual editing of slurs
2018-11-07 10:46:28 +01:00
Dmitri Ovodok
c95dfd5a40
Make it possible to record elements written to MSCX
2018-10-29 16:30:19 +02:00
ws
d77183b3bb
refactoring of Element::userOff and TextBase::offset
2018-10-18 11:56:23 +02:00
Joachim Schmitz
474e8152cd
fix #275218 : fix MSVC C4456 warnings
...
reg. a declaration shadowing a previously declared local
variable,
"Warning C4456: declaration of 'XXX' hides previous local
declaration"
2018-09-27 17:38:19 +02:00
Joachim Schmitz
b27817fe19
fix more MSVC warnings
...
* The one C4100
* The one C4189
* The two C4457
* The two C4701
* The 475 C4267, changing to size_t were easily possible, casting to
int elsewhere
* Fix GCC warnings reg. wrong printf format for a size_t, reg. unused
variables and reg. ambigous else branch, seen on Travis CI
2018-09-11 16:56:50 +02:00
Dmitri Ovodok
68a06d68b2
Do not write redundant "track2" property for SlurTie, remove obsolete read code for Slur and Tie
2018-08-16 19:10:28 +03:00
Dmitri Ovodok
104898195b
Read and write spanners using the connectors framework
...
Remove IDs for spanners
2018-08-16 19:10:28 +03:00
anatoly-os
4facafc468
fix #271529 : incorrect stem position for some noteheads in layout
...
Implemented correct notehead bbox width and origin calculations. Fixed
note and chord stems, ledger lines, beams, dots, articulation, slur and chord positions.
2018-05-05 10:34:45 +02:00
ws
af29311ec4
remove Element->_readPos
2018-04-30 16:08:25 +02:00
ws
33d1cd7fb4
rename StyleIdx -> Sid and P_ID -> Pid
2018-03-27 15:36:00 +02:00
ws
647aa6a117
new attempt in automatic slur layout
2018-03-07 10:47:15 +01:00
ws
83450394cf
fix collisions in vtest slurs-6
2018-02-22 15:56:34 +01:00
ws
367591583b
fix articulation shape
2018-01-29 15:03:49 +01:00
Werner Schweer
2210363047
update Palm Mute; fix for grace notes in drum staff
2017-11-29 09:50:02 +01:00
Werner Schweer
7365542a18
debugging option: disable slur autoplace
2017-08-16 16:59:04 +02:00
Werner Schweer
931891724d
slur layout update
2017-08-02 18:19:18 +02:00
Werner Schweer
6d301fbbf5
update spanner editing
2017-07-26 09:59:34 +02:00
Werner Schweer
a6aa63760f
fix slur/tie shape
2017-07-10 15:23:00 +02:00
Werner Schweer
c89464f8b0
fix quirks while editing slurs in staves > 1
2017-07-05 17:41:47 +02:00
Werner Schweer
0fcb94933d
add slur min distance for autoplace
2017-06-24 15:52:00 +02:00
Werner Schweer
e21398a48b
update edit mode for slurs
2017-06-24 14:32:02 +02:00
Werner Schweer
ef03af4e03
fix layout for slurs spanning pages
2017-05-23 17:23:28 +02:00
Joachim Schmitz
f0d8aab7ca
fix #187556 : Allow wide dashed slurs/ties
2017-04-13 13:54:12 +02:00
Werner Schweer
ac41fa396e
update edit infrastructure
2017-03-31 13:03:30 +02:00
Werner Schweer
d9ff5a26f6
misc. layout fixes
2017-03-14 17:00:49 +01:00
Werner Schweer
867f2582f6
move Segment::Type into SegmentType
2017-03-08 13:12:26 +01:00
Werner Schweer
0b1aea952f
layout for movements
2017-01-05 11:28:45 +01:00
Werner Schweer
660b393b98
change StaffType interface
2016-12-14 15:44:24 +01:00
Werner Schweer
6dd13e4074
hide MStaff elements
2016-12-14 15:40:26 +01:00
Werner Schweer
49250a00ce
fix incremental layout of slurs
2016-12-09 15:57:05 +01:00
Werner Schweer
c5f46bb208
rename Xml() -> XmlWriter()
2016-11-19 11:51:21 +01:00
Werner Schweer
8ca739b5e7
more style values
2016-11-18 14:29:05 +01:00
Werner Schweer
6a0fb3fb0f
fix #141226 : Can't change tie direction
2016-11-17 09:46:58 +01:00
Werner Schweer
db99ff0b15
fixes for slur autoplace
2016-11-16 08:54:26 +01:00
Werner Schweer
6ef95da0d6
first simple implementation of slur autoplace
2016-11-15 16:33:38 +01:00
lasconic
dd5fb88ccc
try to compute slur shape
2016-11-05 19:46:39 +01:00