Page 1 of 1

PieTool selects the wrong pie in Version 7

Posted: Thu Apr 15, 2004 9:29 pm
by 9336586
I'm trying to use the PieTool to select the pie where the mouse is over, but it selects the wrong pie when the pie is 3D and the mouse is near the border.

To try this, just run Tee7New, in the PieTool Demo. In Tee6New, this works ok.

Bruno

Posted: Thu Apr 15, 2004 10:16 pm
by Pep
Hi Bruno,

yes, you're correct. Seems like we've modified something that has produced this new bug. I've added it on our defect list to be reviewed for the next maintenance release.

Posted: Fri Apr 16, 2004 12:47 am
by 9336586
I've tracked the problem to TeeCanvas.Calculate2DPosition. It is miscalculating the projection of the point. This is due to invalid parameters calculated in TTeeCanvas3D.CalcTrigValues.

In V6 there is a conditional compile NEWXYZ, that was applied to V7 and gives this miscalculation. I think the solution is return to the calculation of V6, removing NEWXYZ

Bruno

Posted: Fri Apr 16, 2004 5:52 am
by Pep
Hi Bruno,

ok, thanks for your comments, we'll consider them.