micalov Posted February 5, 2012 Share Posted February 5, 2012 Hi, Started modifying the vanilla "Thismachine" mesh to look more like an m14/m1a rifle, but every time I try to export I get a ZeroDivisionError: float division error. Full error below: Blender NIF Scripts 2.5.5 (running on Blender 249, PyFFI 2.1.5)Traceback (most recent call last): File "C:\Users\Mica\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\nif_common.py", line 1227, in gui_button_event self.gui_exit() File "C:\Users\Mica\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\bpymodules\nif_common.py", line 1579, in gui_exit self.callback(**self.config) File "C:\Users\Mica\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\export\export_nif.py", line 4538, in config_callback exporter = NifExport(**config) File "C:\Users\Mica\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\export\export_nif.py", line 285, in __init__ self.decompose_srt(ob.getMatrix('localspace')) File "C:\Users\Mica\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\export\export_nif.py", line 3300, in decompose_srt b_rot = b_scale_rot * (1.0 / b_scale)ZeroDivisionError: float division Google did not seem to give any good idea about what the problem was, also tried re-installing nifscripts/python/blender but no luck. So any one able to help/know what the problem is? I have also uploaded the blend file to Mediafire If some one can help? Cheers micalov Link to comment Share on other sites More sharing options...
razorpony Posted February 5, 2012 Share Posted February 5, 2012 Mica when you're in Object mode, try pressing 'A' twice to highlight everything then press 'CTRL-A' to apply scale and rotation to object data. After that it exported fine for me. RP Link to comment Share on other sites More sharing options...
micalov Posted February 5, 2012 Author Share Posted February 5, 2012 Thanks allot Razor, spent most the night trying to figure out the problem, no one seemed to know and google not useful at all :( I owe you a beer, but until then hopefully some Kudos will do :D Link to comment Share on other sites More sharing options...
Recommended Posts