www.sdlsuite.com Forum Index www.sdlsuite.com
Discussion of technical aspects of the SDL Component Suite
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug in Plot3D

 
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> ChartPack
View previous topic :: View next topic  
Author Message
blacky



Joined: 09 Sep 2006
Posts: 6
Location: New Zealand

PostPosted: Thu Jul 01, 2010 3:15 am    Post subject: Bug in Plot3D Reply with quote

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
View user's profile Send private message Visit poster's website
hlohning



Joined: 08 Sep 2006
Posts: 277
Location: Austria

PostPosted: Sat Jul 03, 2010 4:15 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
blacky



Joined: 09 Sep 2006
Posts: 6
Location: New Zealand

PostPosted: Thu Jul 08, 2010 10:21 pm    Post subject: Reply with quote

Thanks Hans, for the quick response and the quick fix.
Regards
Paul
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.sdlsuite.com Forum Index -> ChartPack All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group