Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2009-01-14 15:26:45 +0300
committerTon Roosendaal <ton@blender.org>2009-01-14 15:26:45 +0300
commitea2d6fe0d082b9069adfd72b704560937df3d855 (patch)
treedf06dc078d4852c91b988e2d91c2e2808fb86491 /source/blender/editors/transform/transform_orientations.c
parent07e85b265de672a4018cdefe14082576d92a763c (diff)
2.5
Another one back: editcurve.c - removed global editNurb everywhere (cu->editnurb now has listbase with edit data) - also added 'active bpoint' and 'active nurb' in Curve struct - editmode in/out works, mouse/border select works
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index 158ef47d0af..bd0a97240a0 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -599,14 +599,14 @@ int getTransformOrientation(bContext *C, float normal[3], float plane[3], int ac
}
}
} /* end editmesh */
- else if ELEM3(obedit->type, OB_CURVE, OB_SURF, OB_FONT)
+ else if ELEM(obedit->type, OB_CURVE, OB_SURF)
{
- extern ListBase editNurb; /* BOOO! go away stupid extern */
+ Curve *cu= obedit->data;
Nurb *nu;
BezTriple *bezt;
int a;
- for (nu = editNurb.first; nu; nu = nu->next)
+ for (nu = cu->editnurb->first; nu; nu = nu->next)
{
/* only bezier has a normal */
if((nu->type & 7) == CU_BEZIER)