minor cleanup

- remove / comment unused python vars
- replace mul_v3_fl(somevec, -1.0f); with negate_v3(somevec);
This commit is contained in:
Campbell Barton
2011-11-16 16:38:37 +00:00
parent 0566694f6e
commit 4d9766aacf
13 changed files with 35 additions and 64 deletions

View File

@@ -106,7 +106,7 @@ def operator_path_is_undo(context, data_path):
# luckily we don't do this!
#
# When we cant find the data owner assume no undo is needed.
data_path_head, data_path_sep, data_path_tail = data_path.rpartition(".")
data_path_head = data_path.rpartition(".")[0]
if not data_path_head:
return False