the last selected nurbs curve lastnu could become an invalid pointer in places, access this via functions now and store an index
rather then a pointer so if it becomes invalid it will just return a NULL pointer.
This commit is contained in:
@@ -37,6 +37,9 @@ struct BezTriple;
|
||||
struct BPoint;
|
||||
struct BezTripleNurb;
|
||||
|
||||
void set_actNurb(struct Nurb *nu);
|
||||
struct Nurb * get_actNurb( void );
|
||||
|
||||
short isNurbsel(struct Nurb *nu);
|
||||
int isNurbsel_count(struct Nurb *nu);
|
||||
void printknots(void);
|
||||
|
||||
Reference in New Issue
Block a user