Skip to content

Commit

Permalink
removed incompatibility with blender 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBaGar committed Feb 3, 2025
1 parent 539c17e commit cc973ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions molecularnodes/entities/interaction/interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def create_bond_material(interaction_type):
principled_bsdf.inputs["Alpha"].default_value = 1

mat.blend_method = "CLIP"
mat.shadow_method = "CLIP"

return mat

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


def update_bevel_depth(self, context):
new_depth = self.bond_width # Get the updated value
new_depth = self.bond_width
scene = context.scene

# Loop through the entities and update their bevel depth
Expand Down

0 comments on commit cc973ce

Please sign in to comment.