Jump to content

[Solved] Using the Tower of Babel Blender Exporter with Fog/Mist


SpaceToast
 Share

Recommended Posts

Does anyone have experience using the Tower of Babel exporter with the Mac version of Blender? My test scenes fail with the following log error (in both Bforartists and the "mainline" Blender app). Is there perhaps a file-writing peculiarity under OS-X? I'm too weak at Python to dig any deeper before reaching out, I'm afraid...

[snip]
========= Writing of files started =========
========= An error was encountered =========
  File "/Users/me/Library/Application Support/Bforartists/2.79/scripts/addons/tower-of-babel/js_exporter.py", line 177, in execute
    self.to_script_file()
  File "/Users/me/Library/Application Support/Bforartists/2.79/scripts/addons/tower-of-babel/js_exporter.py", line 217, in to_script_file
    self.world.initScene_script(file_handler, typescript_file_handler, self.needPhysics, self)
  File "/Users/me/Library/Application Support/Bforartists/2.79/scripts/addons/tower-of-babel/world.py", line 84, in initScene_script
    file_handler.write(indent + 'scene.fogMode = ' + self.fogMode + ';\n')
ERROR:  Can't convert 'int' object to str implicitly
========= end of processing =========
elapsed time:  0 min, .0047 secs

 

test_scene.blend

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...