Jump to content
The Dark Mod Forums
Sign in to follow this  
R Soul

OBJ export bug (and solution)

Recommended Posts

HI all.

 

I tried to export some terrain as obj, but when the centering option was enabled I got an error about an object not being defined on line 228.

 

The line is this:

vert -= Vector3(xcenter, ycenter, zcenter)

It should be this:

vert -= dr.Vector3(xcenter, ycenter, zcenter)
  • Like 1

Share this post


Link to post
Share on other sites

That affects the OBJ exporter in the script menu, doesn't it? I'll fix that line in Git, thanks for the heads up!

Share this post


Link to post
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.

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.

Sign in to follow this  

×
×
  • Create New...