diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index 5b5bbeb51..1c9dd73cb 100644 --- a/io_coat3D/__init__.py +++ b/io_coat3D/__init__.py @@ -5,8 +5,8 @@ bl_info = { "name": "3D-Coat Applink", "author": "Kalle-Samuli Riihikoski (haikalle)", - "version": (4, 9, 34), - "blender": (2, 80, 0), + "version": (4, 9, 35), + "blender": (4, 1, 0), "location": "Scene > 3D-Coat Applink", "description": "Transfer data between 3D-Coat/Blender", "warning": "", diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py index 7a12a4cfc..eba7d6ac4 100644 --- a/io_coat3D/tex.py +++ b/io_coat3D/tex.py @@ -521,7 +521,7 @@ def CreateTextureLine(type, act_material, main_mat, texcoat, coat3D, notegroup, main_material.links.new(applink_tree.outputs[5], disp_node.inputs[0]) main_material.links.new(disp_node.outputs[0], out_mat.inputs[2]) - coatMat.cycles.displacement_method = 'BOTH' + coatMat.displacement_method = 'BOTH' else: if (texcoat['alpha'] != []): diff --git a/io_coat3D/texVR.py b/io_coat3D/texVR.py index 528f458cf..95556758b 100644 --- a/io_coat3D/texVR.py +++ b/io_coat3D/texVR.py @@ -659,7 +659,7 @@ def CreateTextureLine(type, act_material, main_mat, texcoat, coat3D, notegroup, main_material.links.new(applink_tree.outputs[5], disp_node.inputs[0]) main_material.links.new(disp_node.outputs[0], out_mat.inputs[2]) - coatMat.cycles.displacement_method = 'BOTH' + coatMat.displacement_method = 'BOTH' else: if (texcoat['alpha'] != []): diff --git a/real_snow.py b/real_snow.py index b60a4392f..771fec34d 100644 --- a/real_snow.py +++ b/real_snow.py @@ -6,8 +6,8 @@ bl_info = { "name": "Real Snow", "description": "Generate snow mesh", "author": "Marco Pavanello, Drew Perttula", - "version": (1, 3, 1), - "blender": (4, 0, 0), + "version": (1, 3, 2), + "blender": (4, 1, 0), "location": "View 3D > Properties Panel", "doc_url": "{BLENDER_MANUAL_URL}/addons/object/real_snow.html", "tracker_url": "https://gitlab.com/marcopavanello/real-snow/-/issues", @@ -341,7 +341,7 @@ def add_material(obj: bpy.types.Object): link.new(mapping.outputs[0], noise3.inputs[0]) link.new(coord.outputs[3], mapping.inputs[0]) # Set displacement and add material - mat.cycles.displacement_method = "DISPLACEMENT" + mat.displacement_method = "DISPLACEMENT" obj.data.materials.append(mat)