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>2005-05-04 19:13:25 +0400
committerTon Roosendaal <ton@blender.org>2005-05-04 19:13:25 +0400
commit6db7d23b5fb7c028c205ba2d7db404665d204b4b (patch)
treed876815683bc70615db4db68a07b1780b3cea073 /source/blender/src/transform_manipulator.c
parent3b2c30dae44c953332b37483634a6222ad214d18 (diff)
On click-release for Manipulator handles, without moving mouse, it will
stick to transform() until another mouse press (or ESC etc)
Diffstat (limited to 'source/blender/src/transform_manipulator.c')
-rw-r--r--source/blender/src/transform_manipulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/transform_manipulator.c b/source/blender/src/transform_manipulator.c
index 1e8916bfc99..4cb7263582e 100644
--- a/source/blender/src/transform_manipulator.c
+++ b/source/blender/src/transform_manipulator.c
@@ -162,7 +162,7 @@ static void stats_pose(ListBase *lb, float *normal, float *plane)
/* centroid, boundbox, of selection */
/* returns total items selected */
-static int calc_manipulator(ScrArea *sa)
+int calc_manipulator_stats(ScrArea *sa)
{
extern ListBase editNurb;
View3D *v3d= sa->spacedata.first;
@@ -1318,7 +1318,7 @@ void BIF_draw_manipulator(ScrArea *sa)
if(G.moving==0) {
v3d->twflag &= ~V3D_DRAW_MANIPULATOR;
- totsel= calc_manipulator(sa);
+ totsel= calc_manipulator_stats(sa);
if(totsel==0) return;
v3d->twflag |= V3D_DRAW_MANIPULATOR;