Commit Graph

16 Commits

Author SHA1 Message Date
Campbell Barton
506e692263 fix [#24804] filetring of files doesnt work for import/export 2010-11-19 10:33:44 +00:00
Campbell Barton
f48f8d3bbc FBX Export, small changes made while looking into reported bug. (no functional changes)
- Warn for armature deformed meshes which are scaled, these don't work quite the same as in blender, reported as [#24663].
- Use matrix.decompose() to convert a matrix to loc/rot/scale.
- get vert/edge/face lists for each mesh only once.
- faster euler rad -> deg conversion function.
2010-11-16 04:32:35 +00:00
Campbell Barton
efcf1ac357 fix for matrix * vector rotation order. 2010-11-16 03:11:22 +00:00
Campbell Barton
070f38a6d0 bugfix [#24696] Export OBJ - Selection Only toggle button has the wrong default state.
Added convenience function to operators, 'as_keywords()', so operator settings can be passed directly to a function as keyword arguments.

The problem in this case was that dictionary access to operator properties was not returning rna-property defaults, so as_keywords() ensures all defaults are set.
2010-11-15 13:11:40 +00:00
Campbell Barton
8503bcde23 bugfix for exporting an FBX animation for an object that was the child of an armature deformed mesh. 2010-11-02 01:12:00 +00:00
Campbell Barton
0e588cbf10 use __slots__ for fbx exporter classes, no functional change. 2010-11-02 00:39:07 +00:00
Campbell Barton
3e4a2c7219 bugfix [#19096] FBX doubly rotated
bug was infact that un-animated bones pose transformations were not exported.
2010-09-24 11:08:55 +00:00
Campbell Barton
afc58c3bea a few bugfixes since porting from 2.4x and from rna renaming. 2010-09-24 09:39:32 +00:00
Campbell Barton
485bd68634 remove 2.4x commented lines 2010-09-24 09:15:24 +00:00
Campbell Barton
12628b197d bugfix [#23935] Exporting to Unity3d .fbx Blender 2.5 2010-09-22 12:36:54 +00:00
Campbell Barton
868fdd80a2 use is rather then == when comparing against None. 2010-09-18 10:43:32 +00:00
Thomas Dinges
cd4fb20b73 Patch [#23759] more replace self.properties.foo --> self.foo for bf-extensions/trunk/py/scripts
by Filiciss Muhgue (filiciss). Thanks a lot!

Part 1: Trunk, second part of patch will be committed to Extensions.
2010-09-10 23:39:43 +00:00
Campbell Barton
115b256738 ran through pep8 checker 2010-09-07 15:17:42 +00:00
Campbell Barton
d0c54d3d0e use set as a suffix (matches operators)
- set_frame() --> frame_set()
 - set_context_pointer() --> context_pointer_set()

material adding works for curves and metaballs, new function to remove materials.

materials.link() didnt well fit how this is used elsewhere
 - order matters
 - it can be linked more than once.
 - remove(material), isnt that useful since you need to manage indicies.

... use list style functions instead. materials.append(mat) / materials.pop(index)
2010-09-03 07:25:37 +00:00
Campbell Barton
a89c526a92 finished moving importers and exporters into python packages (as proposed on the mailing list).
- made operator dir's into python packages
- lazy loading of module which do the actual import and export (faster blender load times)
- general maintanance and small fixes.
- bugfix for exporting x3d materials
- leak fix for exporting 3ds
2010-09-01 12:11:34 +00:00
Campbell Barton
66a4de07e0 excuse the noise, adding type's in format package names. 2010-09-01 03:06:28 +00:00