povray addon issue while loading an heightfield #50510

Closed
opened 2017-01-23 20:48:29 +01:00 by Walter Perdan · 10 comments

System Information
Operating system and graphics card: Ubuntu 16.04 linux64 Nvidia GT540M

Blender Version
2.78a

Short description of error

try to add a PovRay heightfield object into te scene, you will receive an error:

at line 1103 in primitives.py 'os' name is not defined.

How to fix:

i simply added

import os

at the top of primitives.py

thank's!

**System Information** Operating system and graphics card: Ubuntu 16.04 linux64 Nvidia GT540M **Blender Version** 2.78a **Short description of error** try to add a PovRay heightfield object into te scene, you will receive an error: ``` at line 1103 in primitives.py 'os' name is not defined. ``` How to fix: i simply added ``` import os ``` at the top of primitives.py thank's!
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @kalwalt

Added subscriber: @kalwalt
Member

Added subscriber: @TheOnlyJoey

Added subscriber: @TheOnlyJoey
Joey Ferwerda self-assigned this 2017-01-24 16:04:03 +01:00
Member

Thanks for the report.
I don't know if the povray plugin is actively maintained, but I am happy to fix it for you.
Can you provide me with a heightfield object so I can test this?

Thanks for the report. I don't know if the povray plugin is actively maintained, but I am happy to fix it for you. Can you provide me with a heightfield object so I can test this?
Author

yes, i attach a .png file, let me know how it goes. Anyway i didn't used so much the pov ray addon but i find this bug so i filed the issue.

Thank's in advance!
ps_height_1k.png

yes, i attach a .png file, let me know how it goes. Anyway i didn't used so much the pov ray addon but i find this bug so i filed the issue. Thank's in advance! ![ps_height_1k.png](https://archive.blender.org/developer/F439628/ps_height_1k.png)

Added subscriber: @MauriceRaybaud

Added subscriber: @MauriceRaybaud

Hi, many thanks for the report! Bug is now solved locally and will be committed on next update in a few days.

Hi, many thanks for the report! Bug is now solved locally and will be committed on next update in a few days.
Author

Thank's a lot! Happy to help you!

Walter

Thank's a lot! Happy to help you! Walter
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Has been fixed as part of r6f40579d5bd2 please try with latest buildbot.
Closing.

Has been fixed as part of r6f40579d5bd2 please try with latest buildbot. Closing.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#50510
No description provided.