T3D 1.2 - ArrayObject Sort - Desc Parameter is inverted - LOGGED (THREED-3178)
by elvince · in Torque 3D Professional · 01/22/2012 (8:14 am) · 0 replies
Hi,
In ArrayObject, it is said:
@param descending [optional] True for descending sort, false for ascending sortn
If you call ArrayObj.Sort(True) which should be descending (highest value to lowest) you get the opposite.
How to reproduce:
Construct array object with 3 item which value are 1,2,3 and try the sort function
Fix: Change the documentation to the correct description
In ArrayObject, it is said:
@param descending [optional] True for descending sort, false for ascending sortn
If you call ArrayObj.Sort(True) which should be descending (highest value to lowest) you get the opposite.
How to reproduce:
Construct array object with 3 item which value are 1,2,3 and try the sort function
Fix: Change the documentation to the correct description
About the author