Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/python/BPy_Convert.cpp
| Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
| #include "Iterator/BPy_orientedViewEdgeIterator.h" | #include "Iterator/BPy_orientedViewEdgeIterator.h" | ||||
| #include "../stroke/StrokeRep.h" | #include "../stroke/StrokeRep.h" | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| using namespace Freestyle; | |||||
| using namespace Freestyle::Geometry; | |||||
| /////////////////////////////////////////////////////////////////////////////////////////// | /////////////////////////////////////////////////////////////////////////////////////////// | ||||
| //============================== | //============================== | ||||
| // C++ => Python | // C++ => Python | ||||
| //============================== | //============================== | ||||
| PyObject *PyBool_from_bool(bool b) | PyObject *PyBool_from_bool(bool b) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 747 Lines • Show Last 20 Lines | |||||