The bug doesn't exist on Ubuntu 16.04.4 LTS (Python 2.7.12), but on Ubuntu 18.04 LTS (Python 2.7.15rc1)
It only occurs when you have no proxy mesh (alternative topology) selected. With a proxy mesh (e.g. generic female) export works fine.
How to reproduce:
Start MH.
Choose default rig.
Export MHX2 (default settings)
- Code: Select all
hiding task Skeleton
showing task Export
Write MHX2 file /home/wolgade/makehuman/v1/exports/ttttt.mhx2
Exception during event onFileSelected
Traceback (most recent call last):
File "./core/events3d.py", line 211, in callEvent
method(event)
File "./apps/gui/guiexport.py", line 112, in onFileSelected
exporter.export(gui3d.app.selectedHuman, filename)
File "plugins/9_export_mhx2/__init__.py", line 55, in export
mh2mhx2.exportMhx2(filename("mhx2"), cfg)
File "plugins/9_export_mhx2/mh2mhx2.py", line 55, in exportMhx2
meshes = [obj.mesh.clone(cfg.scale, True) for obj in objects]
File "./core/module3d.py", line 160, in clone
self.filterMaskedVerts(other, update=False)
File "./core/module3d.py", line 311, in filterMaskedVerts
inverse_uv_idx[uv_idx] = np.arange(self.texco.shape[0], dtype=np.int32)
ValueError: shape mismatch: value array of shape (21334,) could not be broadcast to indexing result of shape (14517,)