group faces by SetFaceColor

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 01 January 2013   #61
Hey denis, i was actually using the sort struct routine in earnest and discovered a smallish bug in the code. If you not noticed it yet heres the fix


 	Array* theArray = (Array*)arg_list[0];

	Array* theArray = (Array*)arg_list[0];
 	if(theArray->size == 0)  return Integer::intern(0);

you need bum out early if passed an empty array, no need for nasty mxs ** system exception **
Old 01 January 2013   #62
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 02:53 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.