[Bf-committers] Patch for adding pack/unpack to Blender module in python api

Pablo caedes at sindominio.net
Sat Oct 22 20:55:16 CEST 2005


I created a patch for Blender module in the blender python api that adds
some functions for packing/unpacking.

The patch is at the patch tracker:

It only deals with files Blender.c doc/Blender.py and Sound.h in
source/blender/python/api2_2x. (i had to add the python Sound type in
the header).

This functionality is important for scripts that also pack the images or
samples for other engines/editors, as when dealing with a packed file
there is no other way of extracting the data from the blend file from
python scripts.

I'm working with the blender2crystal exporter, and it would use this
functionality (now users have to remember to unpack first).



More information about the Bf-committers mailing list