FBX export: Huge refactor of 'Model' part of the code, and fix exporting instances when org objects are not selected.

'Model' data (which can be Blender Object, DupliObject or Bone/PoseBone) are now
wrapped in an ObjectWrapper class that present the same API in all cases.
Hopefully this will make that part of the code easier to follow (and maintain/troublefix).

Also made var names a bit more consistent.

Note all this makes export slightly slower in worst cases (many actions to check against objects),
about 15% it seems. But tha 'export all actions' code need some more attention, maybe it's
possible to enhance its performances?
This commit is contained in:
Bastien Montagne 2014-05-09 13:19:27 +02:00
parent 7c873a00e9
commit 4f1fd99bef
1 changed files with 494 additions and 350 deletions

File diff suppressed because it is too large Load Diff