diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-26 03:05:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-26 03:05:13 +0400 |
commit | b7c6da39aedecb59b01ba8f833a8dc61afa89903 (patch) | |
tree | f34cf6e60b231e75376c0313fd474b4fd634c3af /source/blender/include | |
parent | 5263021aa8608252a6db44208f2bee89bdc7e4de (diff) |
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.
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BDR_editcurve.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/include/BDR_editcurve.h b/source/blender/include/BDR_editcurve.h index 9e25550ce04..4604359fcc9 100644 --- a/source/blender/include/BDR_editcurve.h +++ b/source/blender/include/BDR_editcurve.h @@ -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); |