Blender Git Commit Log

Git Commits -> Revision 09e4fa8

Revision 09e4fa8 by Campbell Barton (master)
December 12, 2006, 10:38 (GMT)
simple change, made
Changed...
me = NMesh.GetRaw(ob.data.name)
To
me = NMesh.GetRaw(ob.getData(name_only=1))

The line above converts the entire mesh to a python thick wrapper just to get its name, then only to that that same mesh again??
A lot of older scripts did this but theres no reason to do it.

in most (all?) cases..
me = ob.data - should be ok, but theres a subtle difference and I dont want to break anything.

xfig_export, xsi_export and videoscape_export need error checking too.

Commit Details:

Full Hash: 09e4fa8f6a2e46631a74ab74cecc319349b67313
SVN Revision: 9294
Parent Commit: 848d3ae
Lines Changed: +19, -20

9 Modified Paths:

/release/scripts/bpymodules/meshtools.py (+1, -2) (Diff)
/release/scripts/disp_paint.py (+4, -4) (Diff)
/release/scripts/envelope_symmetry.py (+2, -2) (Diff)
/release/scripts/nendo_export.py (+2, -2) (Diff)
/release/scripts/truespace_export.py (+2, -2) (Diff)
/release/scripts/uvpaint.py (+1, -1) (Diff)
/release/scripts/videoscape_export.py (+2, -2) (Diff)
/release/scripts/xfig_export.py (+2, -2) (Diff)
/release/scripts/xsi_export.py (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021