Blender Git Loki

Git Commits -> Revision 30d3a57

Revision 30d3a57 by Tamito Kajiyama (master)
May 16, 2013, 23:49 (GMT)
Fix for Freestyle built-in style module sketchy_multiple_parameterization.py not working correctly.
Suitable for inclusion in 2.67a.

Logical AND, OR and XOR operations on freestyle.Nature instances gave an error in some cases.
The updated C implementation of these bitwise operations is intended to reproduce the following Python implementation:

class Nature(int):
def __and__(self, other):
return Nature(int(self) & int(other))
def __or__(self, other):
return Nature(int(self) | int(other))
def __xor__(self, other):
return Nature(int(self) ^ int(other))

The problem report was by plasmasolutions on IRC, thanks a lot!

Commit Details:

Full Hash: 30d3a57eb757633aee2ef2a316ec3ddb2f668c70
SVN Revision: 56867
Parent Commit: 616bc9d
Lines Changed: +10, -17

1 Modified Path:

/source/blender/freestyle/intern/python/BPy_Nature.cpp (+10, -17) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021