[Bf-committers] python mathutils api update proposal
Matt Ebb
matt at mke3.net
Sun Feb 6 05:46:16 CET 2011
note: this doesn't seem to be in Cam's docs but it looks like
Matrix.identity() is now in place only.
Matt
On Sat, Feb 5, 2011 at 9:06 PM, Campbell Barton <ideasman42 at gmail.com> wrote:
>
> Today I finished off the changes for the proposal, for script writers,
> I did a search replace on scripts in svn:
> here are the replacements you may find handy when updating scripts.
> l = l.replace("rotation_part()", "to_3x3()")
> l = l.replace("scale_part()", "to_scale()")
> l = l.replace("translation_part()", "to_translation()")
> l = l.replace("to_quat()", "to_quaternion()")
> l = l.replace("copy().resize4x4()", "to_4x4()")
> l = l.replace("resize4x4()", "resize_4x4()")
> l = l.replace(".copy().resize2D()", ".to_2d()")
> l = l.replace(".copy().resize3D()", ".to_3d()")
> l = l.replace(".copy().resize4D()", ".to_4d()")
> l = l.replace("resize2D()", "resize_2d()")
> l = l.replace("resize3D()", "resize_3d()")
> l = l.replace("resize4D()", "resize_4d()")
> l = l.replace(".copy().invert()", ".inverted()")
> l = l.replace(".copy().transpose()", ".transposed()")
>
More information about the Bf-committers
mailing list