THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/10/2010 at 15:27, xxxxxxxx wrote:
This is what I use to allocate and insert joints:
BaseObject *pBone = BaseObject::Alloc(Ojoint); joints[i].ob = pBone; // save for AddJoint later doc->InsertObject( pBone, pParent, pLast );
The objects sent to AddJoint are of type "Ojoint". All pointers are valid.
I still don't know why I'm getting -1?
Is the jointlist dynamically resized whenever a new joint binding is added?
I don't have to create the jointlist myself before adding a joint?
This must be some kind of bug.
Can someone post the source code conditions where AddJoint returns -1?
This is very frustrating.