[Bf-python] update to Apply_def.py

Campbell Barton cbarton at metavr.com
Tue Jul 4 18:30:13 CEST 2006


looking at fixfromaremature.py -it has some issues
* Yours could work with a non mesh object but its not likely the user 
would ever do that because the script is launched from the Mesh menu (in 
editmesh)
* Your script only operates on 1 object at a time whereas I have often 
needed to apply deformations onto many objects at once.
* its missing error checking if the object cant get a mesh- an empty say.
* The new object could be placed in a layer thats not seen

The script I sent dosent have any of these problems.

jmsoler at free.fr wrote:
> Selon Campbell Barton <cbarton at metavr.com>:
>
>   
>> Changed it from a mesh script to an object script and it works with non
>> mesh objects that have a display list.
>>     
>
> This was in the script 'Fix From everythings' since months .
>
>
>   


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-python mailing list