Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25975] Quaternion/Vector.negated() isn't available

Date:
2011-02-08 04:02
Priority:
3
State:
Closed
Submitted by:
Filiciss Muhgue (filiciss)
Assigned to:
Campbell Barton (campbellbarton)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Quaternion/Vector.negated() isn't available
Detailed description
return value of Quaternion/Vector.negate() had changed to none at commit 34647.
but, negated() isn't available.

Followup

Message
  • Date: 2011-02-08 04:39
  • Sender: Campbell Barton
  • vec.negated() is not needed, just use -vec.
    However for quaternions -quat wasn't possible, added r34709.

    note, you can do vec.__neg__() if you need to use a function call.
    closing.
 

Attached Files:

Name Date Download
sample-negate().blend 2011-02-08 04:02 Download

Changes:

Field Old Value Date By
status_idOpen2011-02-08 04:39campbellbarton
close_dateNone2011-02-08 04:39campbellbarton
assigned_tonone2011-02-08 04:39campbellbarton
StatusNew2011-02-08 04:39campbellbarton
File Added14923: sample-negate().blend2011-02-08 04:02filiciss