fixed a potential bug in fill zone.

Tried to fix a problem under Vista and Window 7 in fill zone: sometimes Pcbnew crashes.
Could be a bug in Kbool (see changelog).
This commit is contained in:
charras 2010-01-03 16:53:21 +00:00
parent bee0d118f0
commit ef29dabf9b
1 changed files with 5 additions and 5 deletions

View File

@ -7,10 +7,10 @@ email address.
================================================================================ ================================================================================
++pcbnew ++pcbnew
- fixed a potential bug in a fill zone function: AddClearanceAreasPolygonsToPolysList() - fixed a potential bug in a fill zone function: AddClearanceAreasPolygonsToPolysList()
- Try to fix a problem with AddClearanceAreasPolygonsToPolysList() in Window Vista a Window 7 - Try to fix a problem with AddClearanceAreasPolygonsToPolysList() under Window Vista and Window 7
This is perhaps a problem in kbool library This is perhaps a problem in kbool library
(a bug in Bool_Engine destructor ? (a bug in Bool_Engine destructor ?)
Its happens when: It happens when:
- a lot of polygon corners are added in group A - a lot of polygon corners are added in group A
- nothing in group B - nothing in group B
- No operation asked in kbool engine ( that also has a bug if an operation is asked - No operation asked in kbool engine ( that also has a bug if an operation is asked
@ -22,8 +22,8 @@ email address.
- No problem under XP and Linux. - No problem under XP and Linux.
-Workaround: -Workaround:
Leave the group A void if group B is void. Leave the group A void if group B is void.
I am not sure this fix the problem. I am not sure this change fix the problem.
Just its solves this problem with 2 samples boards that crash Pcbnew without this change. Just it solves this problem with 2 samples boards that crash Pcbnew without this change.
2010-Jan-01 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr> 2010-Jan-01 UPDATE Jean-Pierre Charras <jean-pierre.charras@gipsa-lab.inpg.fr>
================================================================================ ================================================================================