Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-11-24 01:29:42 +0300
committerMaurice Raybaud <mauriceraybaud@hotmail.fr>2019-11-24 01:29:42 +0300
commit3dadd9c96ae18484a4e45f3ec41a7642c579a561 (patch)
tree76bd0783ded1f995fe1018ea0d16011ab0695c18 /render_povray
parent8fff300d00ec306c28d80d49559536bd9abac741 (diff)
pov: fixed loft primitive
More post 2.8 api fix
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/__init__.py2
-rw-r--r--render_povray/primitives.py4
-rw-r--r--render_povray/ui.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index b1a4b159..c68ddf07 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -27,7 +27,7 @@ bl_info = {
"Constantin Rahn, "
"Silvio Falcinelli",
"version": (0, 1, 0),
- "blender": (2, 80, 0),
+ "blender": (2, 81, 0),
"location": "Render Properties > Render Engine > Persistence of Vision",
"description": "Persistence of Vision integration for blender",
"wiki_url": "https://archive.blender.org/wiki/index.php/"
diff --git a/render_povray/primitives.py b/render_povray/primitives.py
index f2ea49c8..ef2da230 100644
--- a/render_povray/primitives.py
+++ b/render_povray/primitives.py
@@ -505,7 +505,7 @@ class POVRAY_OT_loft_add(bpy.types.Operator):
loftData = bpy.data.curves.new('Loft', type='CURVE')
loftData.dimensions = '3D'
loftData.resolution_u = 2
- loftData.show_normal_face = False
+ # loftData.show_normal_face = False # deprecated in 2.8
n=props.loft_n
thick = props.loft_thick
side = props.loft_rings_side
@@ -1126,7 +1126,7 @@ class POVRAY_OT_height_field_add(bpy.types.Operator, ImportHelper):
hf_tex = bpy.data.textures.new('%s_hf_image'%im_name, type = 'IMAGE')
hf_tex.image = img
mat = bpy.data.materials.new('Tex_%s_hf'%im_name)
- hf_slot = mat.texture_slots.create(-1)
+ hf_slot = mat.pov_texture_slots.create(-1)
hf_slot.texture = hf_tex
#layers = 20*[False]
#layers[0] = True
diff --git a/render_povray/ui.py b/render_povray/ui.py
index d462f70e..7fb9c27a 100644
--- a/render_povray/ui.py
+++ b/render_povray/ui.py
@@ -1768,7 +1768,7 @@ class MATERIAL_PT_strand(MaterialButtonsPanel, Panel):
col.prop(tan, "width_fade")
ob = context.object
if ob and ob.type == 'MESH':
- col.prop_search(tan, "uv_layer", ob.data, "uv_textures", text="")
+ col.prop_search(tan, "uv_layer", ob.data, "tessface_uv_textures", text="")
else:
col.prop(tan, "uv_layer", text="")
col.separator()