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>2003-12-01 01:29:54 +0300
committerTon Roosendaal <ton@blender.org>2003-12-01 01:29:54 +0300
commit1bef6829e234ede2373627826ae7074ead539fde (patch)
tree9cbd968e205f968efad943ec92fb9fee1d3b9e6e
parent5691b4d1db606e6fd2deb5ae1d5c62f7f25cfd2b (diff)
- added initializers for scaling button panels in view3d and ipo...
this was never done because of file read do_versions() did it! but creating an ipowin where never was one before showed error.
-rw-r--r--source/blender/src/space.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/space.c b/source/blender/src/space.c
index b44a38d7a17..655b7b61c32 100644
--- a/source/blender/src/space.c
+++ b/source/blender/src/space.c
@@ -1467,6 +1467,7 @@ void initview3d(ScrArea *sa)
BLI_addhead(&sa->spacedata, vd); /* addhead! not addtail */
vd->spacetype= SPACE_VIEW3D;
+ vd->blockscale= 0.7;
vd->viewquat[0]= 1.0;
vd->viewquat[1]= vd->viewquat[2]= vd->viewquat[3]= 0.0;
vd->persp= 1;
@@ -1677,6 +1678,8 @@ void initipo(ScrArea *sa)
BLI_addhead(&sa->spacedata, sipo);
sipo->spacetype= SPACE_IPO;
+ sipo->blockscale= 0.7;
+
/* sipo space loopt van (0,-?) tot (??,?) */
sipo->v2d.tot.xmin= 0.0;
sipo->v2d.tot.ymin= -10.0;