
If you look at the latest changelog you'll see that the Python interface underwent huge, breaking changes.
So check the exporter first.
IMO.

Really looking forward to when it's stable.
It seems they have changed something in mathutils.Matrix.line 4610, in get_parent_matrix
if not ob.parent: return mathutils.Matrix([1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0
,0,1])
TypeError: mathutils.Matrix(): expects no args or 2-4 numeric sequences
Actually they look more like 4 numeric lists to me. Sure, lists are sequences, but maybe it expects a different type of sequence? Does changing the square brackets into round parentheses do anything?racoon wrote: It seems they have changed something in mathutils.Matrix.
Does anybody know a fix for this ??
As far as I understand [1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1] are 4 numeric sequences, or not?
Code: Select all
mathutils.Matrix(((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1)))
Code: Select all
((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1))
Code: Select all
(1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1)
Code: Select all
ogre export-> D:\Models\untitled.scene
--------------- exporting root -> <bpy_struct, Object("SurfSphere")>
Traceback (most recent call last):
File "D:\Blender\2.56\scripts\addons\addon_ogreDotScene.py", line 4109, in exe
cute
def execute(self, context): self.ogre_export( self.filepath, context ); ret
urn {'FINISHED'}
File "D:\Blender\2.56\scripts\addons\addon_ogreDotScene.py", line 4395, in ogr
e_export
xmlparent=nodes
File "D:\Blender\2.56\scripts\addons\addon_ogreDotScene.py", line 4418, in _no
de_export
o = _ogre_node_helper( doc, ob, objects )
File "D:\Blender\2.56\scripts\addons\addon_ogreDotScene.py", line 4616, in _og
re_node_helper
mat = get_parent_matrix(ob, objects).invert() * ob.matrix_world
File "D:\Blender\2.56\scripts\addons\addon_ogreDotScene.py", line 4610, in get
_parent_matrix
if not ob.parent: return mathutils.Matrix(((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,
0,0,1)))
RuntimeError: matrix(): row and column sizes must be between 2 and 4
location:<unknown location>:-1
location:<unknown location>:-1
In Google Project, hg is exclusive with svn, and git is not supported : but it is not hard to use if you know git !Pforce wrote:Great work, thanks for the fixes! One question: does google code enable you to use svn or git at the same time with hg. I guess that would get quite confusing. I'd love git there but I guess I need to learn hg to get involved