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-04-16 12:48:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-16 12:48:49 +0400
commit83c540189691afce0557b1588121564f615e4275 (patch)
tree28e8a215a0425dcb7f946cc60f811cbcc598bdec /source/blender/src/transform.c
parent6b2a65a3b6d75e5d599717ef8b48eff6275dbbdb (diff)
replace magic numbers with constants for (G.vd->persp), view naming was also using persp as a flag which worked but isnt correct.
Diffstat (limited to 'source/blender/src/transform.c')
-rw-r--r--source/blender/src/transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c
index 15773b239a6..13d6c8260e3 100644
--- a/source/blender/src/transform.c
+++ b/source/blender/src/transform.c
@@ -262,7 +262,7 @@ void setTransformViewMatrices(TransInfo *t)
Mat4One(t->viewinv);
Mat4One(t->persmat);
Mat4One(t->persinv);
- t->persp = 0; // ortho
+ t->persp = V3D_ORTHO;
}
calculateCenter2D(t);