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>2007-10-08 21:37:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-10-08 21:37:04 +0400
commitc53593972687c62705c6827f7f20fbc50bd8a539 (patch)
treefb215afb6af771101455a5cfe0b5fdaceaf67dc8 /source/blender/src/space.c
parent0b9f1be4647461583bfed611990e3d96faac9102 (diff)
gridsubdiv was not initialized properly
Diffstat (limited to 'source/blender/src/space.c')
-rw-r--r--source/blender/src/space.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index 6577421078d..923a2ae010e 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -2620,6 +2620,8 @@ static void initview3d(ScrArea *sa)
vd->far= 500.0f;
vd->grid= 1.0f;
vd->gridlines= 16;
+ vd->gridsubdiv = 10;
+
vd->lay= vd->layact= 1;
if(G.scene) {
vd->lay= vd->layact= G.scene->lay;