Jump to content


Photo

OBJ export bug (and solution)


  • Please log in to reply
1 reply to this topic

#1 R Soul

R Soul

    Member

  • Member
  • PipPip
  • 63 posts

Posted 31 December 2017 - 10:16 AM

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)

  • HMart likes this

#2 greebo

greebo

    Heroic Coder

  • Root
  • 16001 posts

Posted 31 December 2017 - 12:11 PM

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






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users