soc-2008-mxcurioni: Made crucial corrections to stabilize the system. Most of the original styles are supported: stroke attributes are correctly taken into account, Python shaders are supported. Added SamplingShader.
This commit is contained in:
@@ -167,14 +167,14 @@ PyObject * CurvePoint___copy__( BPy_CurvePoint *self ) {
|
||||
|
||||
PyObject * CurvePoint_A( BPy_CurvePoint *self ) {
|
||||
if( SVertex *A = self->cp->A() )
|
||||
return BPy_SVertex_from_SVertex( *A );
|
||||
return BPy_SVertex_from_SVertex_ptr( A );
|
||||
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
PyObject * CurvePoint_B( BPy_CurvePoint *self ) {
|
||||
if( SVertex *B = self->cp->B() )
|
||||
return BPy_SVertex_from_SVertex( *B );
|
||||
return BPy_SVertex_from_SVertex_ptr( B );
|
||||
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user