Currently camera.scale() is cast to an integer and then used as a divisor
in Canvas::DrawGlobalGrid. If camera.scale() is less than 1 this will cause
a Floating Point Exception. The provide patch changes the order of the cast
by performing floating point division and then casting the result to an
integer.
Richard Vaughan
Stage
None
Public
|
Date: 2009-10-27 19:12 The changes have been made in SVN trunk. |
|
Date: 2009-10-27 19:12 applied in trunk - thanks for the fix. |
| Filename | Description | Download |
|---|---|---|
| canvas_patch.txt | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| resolution_id | None | 2009-10-27 19:12 | rtv |
| File Added | 348425: canvas_patch.txt | 2009-10-27 18:51 | richardedwards |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use