GeSortAndSearch

On 09/03/2013 at 11:15, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R12 
Platform:   Windows  ;   Mac OSX  ; 
Language(s) :     C++  ;

---------
I have a class that extends GeSortAndSearch and implements the Compare() method.  Before I get to the point where I can test, do you think this could be a crash situtation:

 **faces** ->Sort( **faces** , numFaces, bSize);

For some reason, that makes me wonder if 'faces' calling Sort may be invalid after the Sort() call.

On 09/03/2013 at 19:36, xxxxxxxx wrote:

Disregard this query.  I just made a separate class derived from GeSortAndSearch to sort the other class.  Works beautifully! 🙂