diff --git a/render_povray/__init__.py b/render_povray/__init__.py index b1a4b1593cc9607d33aac0de0642701eaff5f4ae..c68ddf079e76c24d17e74e106b5c490b2d792b33 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 f2ea49c88f00a087f20ae27ad197dd9c32ac3821..ef2da2301554a4ea75b8114223f36b6fc6548719 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 d462f70e3c99d83755e5668872b1375d8d367919..7fb9c27a692045a1d485436436d55f67226bb991 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()