Sculpt/2.5:
authorNicholas Bishop <nicholasbishop@gmail.com>
Thu, 30 Jul 2009 22:24:05 +0000 (22:24 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Thu, 30 Jul 2009 22:24:05 +0000 (22:24 +0000)
* Fix for bug reported by Brian Staub, sculpt on transformed objects wasn't working.

source/blender/editors/space_view3d/view3d_select.c

index 54e556b58ed5cea26fb50f7fdd1863faacda0a12..c1fbb67617921ef3de9e48414b4f6b93f9dca9d8 100644 (file)
@@ -127,7 +127,7 @@ void view3d_get_transformation(ViewContext *vc, Object *ob, bglMats *mats)
        float cpy[4][4];
        int i, j;
 
-       Mat4MulMat4(cpy, vc->rv3d->viewmat, ob->obmat);
+       Mat4MulMat4(cpy, ob->obmat, vc->rv3d->viewmat);
 
        for(i = 0; i < 4; ++i) {
                for(j = 0; j < 4; ++j) {