On Thu, Nov 17, 2011 at 4:47 AM, Campbell Barton <[email protected]> wrote: > On Thu, Nov 17, 2011 at 4:28 AM, Ejner Fergo <[email protected]> wrote: >> Hi Campbell, >> >> Thank you for committing the patch! >> >> I've been looking more into the (local) rotation problem in Nuke & >> Houdini. Turns out a small change is needed on line 404, but the >> change is also needed for lamps, so posted the changes here: >> http://www.pasteall.org/26478 >> >> Basically Vector((0.0, 1.0, 0.0)) needs to be Vector((0.0, 0.0, 0.0)). > > This looks wrong, the vector is being used as an axis for another > rotation matrix, passing a zero length axis to Matrix.Rotation > probably just makes the matrix a unit matrix.
correction, Matrix.Rotation(rot, 3, Vector((0,0,0))) definitely gives an identity matrix. _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
