Skip to content

Commit cc973ce

Browse files
committed
removed incompatibility with blender 4.3
1 parent 539c17e commit cc973ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

molecularnodes/entities/interaction/interaction.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def create_bond_material(interaction_type):
9494
principled_bsdf.inputs["Alpha"].default_value = 1
9595

9696
mat.blend_method = "CLIP"
97-
mat.shadow_method = "CLIP"
9897

9998
return mat
10099

@@ -124,7 +123,6 @@ def create_bond_objects(self, all_bonds, bond_material, interaction_type):
124123
# Creates bond objects that will be given coordinates on update
125124
bond_objects = {}
126125
for couple in all_bonds:
127-
# bond_name = f"{interaction_type.lower()[:6]}_{str(couple[0])}_{str(couple[1])}"
128126
bond_name = f"{str(couple[0])}_{str(couple[1])}"
129127
curve_data = bpy.data.curves.new(name=bond_name, type="CURVE")
130128
curve_object = bpy.data.objects.new(bond_name, curve_data)
@@ -213,7 +211,7 @@ def update_bevel_depth(self, new_depth):
213211

214212

215213
def update_bevel_depth(self, context):
216-
new_depth = self.bond_width # Get the updated value
214+
new_depth = self.bond_width
217215
scene = context.scene
218216

219217
# Loop through the entities and update their bevel depth

0 commit comments

Comments
 (0)