[Bf-extensions-cvs] [12cecc7] master: Added "Modulo" and "Absolute" math operations
Bartek Skorupa
noreply at git.blender.org
Wed Aug 13 16:46:59 CEST 2014
Commit: 12cecc760801c9f7a104741f2d136983431fd14a
Author: Bartek Skorupa
Date: Wed Aug 13 16:46:56 2014 +0200
Branches: master
https://developer.blender.org/rBA12cecc760801c9f7a104741f2d136983431fd14a
Added "Modulo" and "Absolute" math operations
1. "NWBatchChangeNodes" class was missing two operations: "Modulo" and
"Absolute".
2. Order of operations was not up to date.
===================================================================
M node_efficiency_tools.py
===================================================================
diff --git a/node_efficiency_tools.py b/node_efficiency_tools.py
index 1328fb2..48d1d50 100644
--- a/node_efficiency_tools.py
+++ b/node_efficiency_tools.py
@@ -19,7 +19,7 @@
bl_info = {
"name": "Node Wrangler (aka Nodes Efficiency Tools)",
"author": "Bartek Skorupa, Greg Zaal",
- "version": (3, 10),
+ "version": (3, 11),
"blender": (2, 71, 0),
"location": "Node Editor Properties Panel or Ctrl-Space",
"description": "Various tools to enhance and speed up node-based workflow",
@@ -337,8 +337,8 @@ blend_types = [
# used list, not tuple for easy merging with other lists.
operations = [
('ADD', 'Add', 'Add Mode'),
- ('MULTIPLY', 'Multiply', 'Multiply Mode'),
('SUBTRACT', 'Subtract', 'Subtract Mode'),
+ ('MULTIPLY', 'Multiply', 'Multiply Mode'),
('DIVIDE', 'Divide', 'Divide Mode'),
('SINE', 'Sine', 'Sine Mode'),
('COSINE', 'Cosine', 'Cosine Mode'),
@@ -353,6 +353,8 @@ operations = [
('ROUND', 'Round', 'Round Mode'),
('LESS_THAN', 'Less Than', 'Less Than Mode'),
('GREATER_THAN', 'Greater Than', 'Greater Than Mode'),
+ ('MODULO', 'Modulo', 'Modulo Mode'),
+ ('ABSOLUTE', 'Absolute', 'Absolute Mode'),
]
# in NWBatchChangeNodes additional types/operations. Can be used as 'items' for EnumProperty.
More information about the Bf-extensions-cvs
mailing list