Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
kicad
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
KiCad
KiCad Source Code
kicad
Commits
89ed0974
Commit
89ed0974
authored
1 year ago
by
dsa-t
Browse files
Options
Downloads
Patches
Plain Diff
Fix a crash in PNS zone sync when there's more outlines than triangulated polygons.
Fixes
#17351
(cherry picked from commit
b56ee20e
)
parent
ddec1d53
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Pipeline
#1214232825
passed
1 year ago
Stage: build
Stage: test
Stage: report
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pcbnew/router/pns_kicad_iface.cpp
+2
-2
2 additions, 2 deletions
pcbnew/router/pns_kicad_iface.cpp
with
2 additions
and
2 deletions
pcbnew/router/pns_kicad_iface.cpp
+
2
−
2
View file @
89ed0974
...
...
@@ -1274,9 +1274,9 @@ bool PNS_KICAD_IFACE_BASE::syncZone( PNS::NODE* aWorld, ZONE* aZone, SHAPE_POLY_
if
(
!
layers
[
layer
]
)
continue
;
for
(
int
outline
=
0
;
outline
<
poly
->
Outline
Count
();
outline
++
)
for
(
int
polyId
=
0
;
polyId
<
poly
->
TriangulatedPoly
Count
();
polyId
++
)
{
const
SHAPE_POLY_SET
::
TRIANGULATED_POLYGON
*
tri
=
poly
->
TriangulatedPolygon
(
outline
);
const
SHAPE_POLY_SET
::
TRIANGULATED_POLYGON
*
tri
=
poly
->
TriangulatedPolygon
(
polyId
);
for
(
size_t
i
=
0
;
i
<
tri
->
GetTriangleCount
();
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
Markus Kasten
@markus-k
mentioned in issue
#17419 (closed)
·
1 year ago
mentioned in issue
#17419 (closed)
mentioned in issue #17419
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment