Skip to content

Commit

Permalink
Fix divide blend mode (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
TiberiumFusion committed Apr 23, 2023
1 parent 2aa813a commit 346566e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shape_key_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
bl_info = {
"name": "Shape Key Tools",
"author": "TiberiumFusion",
"version": (2, 2, 1, 1),
"version": (2, 2, 1, 2),
"blender": (2, 78, 0), # This is a guess... I think it was 2.77 or 2.78 that added some of the operators/api we need. Definitely no earlier than 2.75, since that is when support for custom icons was added.
"location": "View3D (Object Mode) > Tool Shelf > Tools > Shape Key Tools",
"description": "Tools for working with shape keys beyond Blender's limited abilities.",
Expand Down
2 changes: 1 addition & 1 deletion shape_key_tools/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def MergeAndBlendShapeKeys(obj, shapeKey1Name, shapeKey2Name, destination, blend

# Divide
elif (blendMode == "divide"):
newDelta = lowerDelta * upperDelta
newDelta = lowerDelta / upperDelta

# Overwrite
elif (blendMode == "over"):
Expand Down

0 comments on commit 346566e

Please sign in to comment.