none of the SVertices are within the image boundary but an FEdge intersects with the image boundary. The problem was reported by edna through the BA Freestyle thread, with a .blend file for reproducing the bug. Thanks!
30 lines
834 B
C
30 lines
834 B
C
#ifndef FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H
|
|
#define FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H
|
|
|
|
#include "../BPy_UnaryPredicate1D.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include <Python.h>
|
|
|
|
extern PyTypeObject WithinImageBoundaryUP1D_Type;
|
|
|
|
#define BPy_WithinImageBoundaryUP1D_Check(v) ( PyObject_IsInstance( (PyObject *) v, (PyObject *) &WithinImageBoundaryUP1D_Type) )
|
|
|
|
/*---------------------------Python BPy_WithinImageBoundaryUP1D structure definition----------*/
|
|
typedef struct {
|
|
BPy_UnaryPredicate1D py_up1D;
|
|
} BPy_WithinImageBoundaryUP1D;
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* FREESTYLE_PYTHON_WITHINIMAGEBOUNDARYUP1D_H */
|