diff options
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index a1d6a9d13cb..4e042d8ede5 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -3710,25 +3710,25 @@ static void tekenhandlesN(Nurb *nu, short sel) if( (bezt->f2 & SELECT)==sel) { fp= bezt->vec[0]; - cpack(col[bezt->h1]); + cpack(col[(int)bezt->h1]); glVertex3fv(fp); glVertex3fv(fp+3); - cpack(col[bezt->h2]); + cpack(col[(int)bezt->h2]); glVertex3fv(fp+3); glVertex3fv(fp+6); } else if( (bezt->f1 & SELECT)==sel) { fp= bezt->vec[0]; - cpack(col[bezt->h1]); + cpack(col[(int)bezt->h1]); glVertex3fv(fp); glVertex3fv(fp+3); } else if( (bezt->f3 & SELECT)==sel) { fp= bezt->vec[1]; - cpack(col[bezt->h2]); + cpack(col[(int)bezt->h2]); glVertex3fv(fp); glVertex3fv(fp+3); } |