Added Hair Child Support 
note: rendersteps seem closer to BI with power of 3 rather than 2 as said in the UI Py tooltip.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4246 96b784f8-4ae3-dd11-aff7-0030488c597c
fixed vertex weight handling of more than 3 bone weights, that milkshape cannot support.

indirect part of the reported issue:
http://www.blender.org/forum/viewtopic.php?t=26251

now, vertex weights will sorted according the weight. in case of more than 3 weights, less important ones will be skipped on export.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4248 96b784f8-4ae3-dd11-aff7-0030488c597c
fix: now, using 'object.matrix_basis' instead of 'object.matrix_local' during export for applying transform.

that will calculate parented object correctly.
related to issue reported by Shadoh.
http://www.blender.org/forum/viewtopic.php?t=26251

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4249 96b784f8-4ae3-dd11-aff7-0030488c597c
fix: potentially division by zero in case of no weights

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4250 96b784f8-4ae3-dd11-aff7-0030488c597c
OBJ now exports blenders ngons.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4252 96b784f8-4ae3-dd11-aff7-0030488c597c
triangulate works again


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4253 96b784f8-4ae3-dd11-aff7-0030488c597c
add NGon importer support


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4254 96b784f8-4ae3-dd11-aff7-0030488c597c
fix for UV export


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4255 96b784f8-4ae3-dd11-aff7-0030488c597c
skip calculating tessfaces for export. they are not needed.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4256 96b784f8-4ae3-dd11-aff7-0030488c597c
fix/workaround for character encoding ('ascii' is used for now, it should be 'cp1252' finally, but there are issues with printing on system console and struct.pack or io.FileIO.write)

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4257 96b784f8-4ae3-dd11-aff7-0030488c597c
fixed missing model comment.

and tiny other things e.g.
fix: sum of weights sometimes reaches only 99% instead of 100%
mod: come # comments - year to 2013
mod: ui of importer - joint size bit closer to other item

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4258 96b784f8-4ae3-dd11-aff7-0030488c597c
On startup bpy.data.filepath is not accessible, preventing proper addon enabling.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4260 96b784f8-4ae3-dd11-aff7-0030488c597c
fix for x3d failing to load meshes when some faces were invalid.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4267 96b784f8-4ae3-dd11-aff7-0030488c597c
add missing modifier lookups


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4271 96b784f8-4ae3-dd11-aff7-0030488c597c
add button to initialize armature layers, since this isn't allowed on draw anymore.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4272 96b784f8-4ae3-dd11-aff7-0030488c597c
minor code cleanup


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4273 96b784f8-4ae3-dd11-aff7-0030488c597c
Fix [#34253] UIList resize, resizes wrong list II/II

When using default UI_UL_list, one should always spully a custom ID, else collision inside an area are quite likely...

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4274 96b784f8-4ae3-dd11-aff7-0030488c597c
add check for 'None' textures


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4276 96b784f8-4ae3-dd11-aff7-0030488c597c
Bunch of bug fixes.

The biggest fixes relate to keeping ID data modification out of
draw methods.  This was breaking Rigify with the current API.

Secondary fix was to move widget meshes to match the bones, even
if the widget meshes already exist.  It's nice for when the user
is progressively tweaking the metarig.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4277 96b784f8-4ae3-dd11-aff7-0030488c597c
Rigify bugfix: deleted WGT objects now get properly replaced on generation.

WGT objects were sticking around even when the user deleted them
since they were being used by the bones for visual appearance.  This
meant that if the user deleted the WGT objects in order for Rigify
to regenerate them the next time around, Rigify would fail.

Rigify now checks for this circumstance and handles it appropriately.


git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4278 96b784f8-4ae3-dd11-aff7-0030488c597c