| View previous topic :: View next topic |
| Author |
Message |
blacky
Joined: 09 Sep 2006 Posts: 3 Location: New Zealand
|
Posted: Thu Jul 01, 2010 4:15 am Post subject: Bug in Plot3D |
|
|
Executing this code on a TPlot3D release 9.7 component results in a floating point exception:
| Code: | Plot.ViewAngleX := 90;
Plot.ViewAngleZ := 0; // 0 or 270 causes the exception |
I've tried it in Delphi 2007 and Delphi 2010 and it fails the same way in both.
Temporary workaround:
| Code: | try
plot.ViewAngleX := 90;
plot.ViewAngleZ := 0
except on Exception do
end; |
Regards
Paul |
|
| Back to top |
|
 |
hlohning

Joined: 08 Sep 2006 Posts: 163 Location: Austria
|
Posted: Sat Jul 03, 2010 5:15 am Post subject: |
|
|
Thanks, Paul, for the bug report. I've added it to the bug tracking list:
http://www.lohninger.com/bugtracking.html
Your suggested workaround is perfect and does not adversely affect the component.
Regards,
Hans
P.S.: Meanwhile the bug has been fixed. The corrected code will be available with the next minor release. _________________ Hans Lohninger
Software Development Lohninger
http://www.lohninger.com/ |
|
| Back to top |
|
 |
blacky
Joined: 09 Sep 2006 Posts: 3 Location: New Zealand
|
Posted: Thu Jul 08, 2010 11:21 pm Post subject: |
|
|
Thanks Hans, for the quick response and the quick fix.
Regards
Paul |
|
| Back to top |
|
 |
|