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:
Maxime Curioni
2008-08-02 07:39:49 +00:00
parent 7565990db2
commit e385d69580
42 changed files with 758 additions and 145 deletions

View File

@@ -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;
}