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-30 05:59:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-30 05:59:15 +0400
commitda2d4904af51507fc211a0101f8e33306135e76a (patch)
tree9d1ebfecb33182bd90b14f2c811f487bcfc0bba4 /source/blender/src/view.c
parent6af06ecdd2b748507e3dad41055fdf41253b7493 (diff)
bugfix
* scene.object.context and scene.object.selected had broken get_item funcs so scene.object.context[i] returned the wrong object. * aligning the view to an object (numpad*key), did not disable the ortho view grid. * long standing problem where opening a relative image would fail with no message. BLI_convertstringcode was returning a path with /../../'s that need to be cleaned before the path could be read, the path was also invalid from unix shell so its not a blender path reading problem.
Diffstat (limited to 'source/blender/src/view.c')
-rw-r--r--source/blender/src/view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/view.c b/source/blender/src/view.c
index 2904ca60a12..1e45f2bf3e0 100644
--- a/source/blender/src/view.c
+++ b/source/blender/src/view.c
@@ -1448,6 +1448,8 @@ void obmat_to_viewmat(Object *ob, short smooth)
float bmat[4][4];
float tmat[3][3];
+ G.vd->view= 0; /* dont show the grid */
+
Mat4CpyMat4(bmat, ob->obmat);
Mat4Ortho(bmat);
Mat4Invert(G.vd->viewmat, bmat);