edit to Ton's recent commit, r34177, only use the far clipping as PET max when not...
authorCampbell Barton <ideasman42@gmail.com>
Mon, 10 Jan 2011 05:40:41 +0000 (05:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 10 Jan 2011 05:40:41 +0000 (05:40 +0000)
source/blender/editors/transform/transform.c

index 4ef8b80..65e58d8 100644 (file)
@@ -741,7 +741,7 @@ int transformEvent(TransInfo *t, wmEvent *event)
                        case TFM_MODAL_PROPSIZE_UP:
                                if(t->flag & T_PROP_EDIT) {
                                        t->prop_size*= 1.1f;
-                                       if(t->spacetype==SPACE_VIEW3D)
+                                       if(t->spacetype==SPACE_VIEW3D && t->persp != RV3D_ORTHO)
                                                t->prop_size= MIN2(t->prop_size, ((View3D *)t->view)->far);
                                        calculatePropRatio(t);
                                }
@@ -981,7 +981,7 @@ int transformEvent(TransInfo *t, wmEvent *event)
                case PADPLUSKEY:
                        if(event->alt && t->flag & T_PROP_EDIT) {
                                t->prop_size *= 1.1f;
-                               if(t->spacetype==SPACE_VIEW3D)
+                               if(t->spacetype==SPACE_VIEW3D && t->persp != RV3D_ORTHO)
                                        t->prop_size= MIN2(t->prop_size, ((View3D *)t->view)->far);
                                calculatePropRatio(t);
                        }