diff options
| author | Matthias Rauter <matthias.rauter@qt.io> | 2024-01-29 11:56:23 +0100 |
|---|---|---|
| committer | Matthias Rauter <matthias.rauter@qt.io> | 2024-02-07 20:04:16 +0100 |
| commit | c7773aaaf7bb3fad6164dd62bc3be6ec09e1c8d3 (patch) | |
| tree | aaf43c5e3bc43700536a2c26c51709c001ff99ab /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | 72308ce2076aef3b663aa769e32e71d4b0bf645c (diff) | |
Remove nested paths during intersection solving
Nested paths that were neither generating a new hole or a new filling
resulted in double filling of some areas. The previous workaround
was to force the intersectionSolver to generate a new path, however,
which is computational expensive and does not allow to check for
changes.
This patch introduces a dedicated function to remove superfluos
nested subpaths. It should be faster than the previous solution and
allows to track changes to the path.
With this patch, the intersectionSolver returns true only if the path
was changed.
Pick-to: 6.7
Change-Id: I16919f20b4e5460ddd729e8be7703fb2879c3190
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
