Geometry.c - rewrote my python box-packer algo in C,
authorCampbell Barton <ideasman42@gmail.com>
Tue, 20 Mar 2007 07:23:09 +0000 (07:23 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 20 Mar 2007 07:23:09 +0000 (07:23 +0000)
commita51477093b93fdbca69b47165012c762c46c7e34
tree2f6d626a46c3c2825d8991373a61f977d2d47c63
parent1ebc28bead0c28a505cc972b355b5515c0394b4e
Geometry.c - rewrote my python box-packer algo in C,
packing 2400 rectanges is about 38x faster.

Use the C implimentation in uvcalc_lightmap and uvcalc_smart_project

Blender.c - filename returning None raises errors with existing scripts, just return "" so string functions on the filename dont raise an error.
release/scripts/uvcalc_lightmap.py
release/scripts/uvcalc_smart_project.py
source/blender/python/api2_2x/Blender.c
source/blender/python/api2_2x/Geometry.c
source/blender/python/api2_2x/Geometry.h
source/blender/python/api2_2x/doc/Geometry.py