Commit ef29dabf authored by charras's avatar charras

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).
parent bee0d118
...@@ -7,10 +7,10 @@ email address. ...@@ -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. ...@@ -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>
================================================================================ ================================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment