Quote:
Originally Posted by martin53
That line was one suspect for me, too. The name of the variable suggests it. But it comes from RT_YStats(), which allows a prefix to write several statistics variables in one pass; and the suffix yMax is for YPlaneMax() - nothing with a fractional part.
|
I've just taken a look at source and think not possible that RT_YStats returns anything other than Int for yMax, flags really should be checked for valid return results, I dont like the checking for VarExist instead. Perhaps fGY_yMax is assigned float elsewhere in script.
EDIT: Suggest removal of 'round()' temp fixes, as they will hide cause of error, better to find than hide.
Also suggest m53 uses same version AWB as users to avoid confusion with line numbers.