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:
authorCampbell Barton <ideasman42@gmail.com>2008-05-01 22:46:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-01 22:46:50 +0400
commit3eac2b2faa5748c319352367c0dd6b7d6c358fe2 (patch)
tree9a17c787df27b673ca821183ae3afe053df25a44 /source/blender/src/view.c
parentbe303d0f8e62b269c55e4d9dd34c35ae6c1c8d46 (diff)
fix for [#10148] 3D preview render does not update on mouse rotate and pan
(own fault when replacing magic numbers)
Diffstat (limited to 'source/blender/src/view.c')
-rw-r--r--source/blender/src/view.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/view.c b/source/blender/src/view.c
index 8498917b54e..163a116371d 100644
--- a/source/blender/src/view.c
+++ b/source/blender/src/view.c
@@ -974,8 +974,10 @@ void viewmove(int mode)
/* these limits are in toets.c too */
if(G.vd->dist<0.001*G.vd->grid) G.vd->dist= 0.001*G.vd->grid;
if(G.vd->dist>10.0*G.vd->far) G.vd->dist=10.0*G.vd->far;
+
+ if(G.vd->persp==V3D_ORTHO || G.vd->persp==V3D_CAMOB) preview3d_event= 0;
}
- if(G.vd->persp==V3D_ORTHO || G.vd->persp==V3D_CAMOB) preview3d_event= 0;
+
mvalo[0]= mval[0];