forked from bartvdbraak/blender
typo/style edits
This commit is contained in:
parent
a6f3e15d6e
commit
26ca0008ee
@ -683,8 +683,8 @@ static void addtail(volatile localListBase *listbase, void *vlink)
|
||||
{
|
||||
struct localLink *link = vlink;
|
||||
|
||||
/* for a generic API general error checks here is fine but
|
||||
* the use here they will never be NULL */
|
||||
/* for a generic API error checks here is fine but
|
||||
* the limited use here they will never be NULL */
|
||||
#if 0
|
||||
if (link == NULL) return;
|
||||
if (listbase == NULL) return;
|
||||
@ -702,8 +702,8 @@ static void remlink(volatile localListBase *listbase, void *vlink)
|
||||
{
|
||||
struct localLink *link = vlink;
|
||||
|
||||
/* for a generic API general error checks here is fine but
|
||||
* the use here they will never be NULL */
|
||||
/* for a generic API error checks here is fine but
|
||||
* the limited use here they will never be NULL */
|
||||
#if 0
|
||||
if (link == NULL) return;
|
||||
if (listbase == NULL) return;
|
||||
|
@ -189,7 +189,8 @@ static int rast_scan_fill(struct r_fill_context *ctx, struct poly_vert *verts, i
|
||||
* If the number of verts specified to render as a polygon is less than 3,
|
||||
* return immediately. Obviously we cant render a poly with sides < 3. The
|
||||
* return for this we set to 1, simply so it can be distinguished from the
|
||||
* next place we could return, /home/guest/blender-svn/soc-2011-tomato/intern/raskter/raskter.cwhich is a failure to allocate memory.
|
||||
* next place we could return, /home/guest/blender-svn/soc-2011-tomato/intern/raskter/raskter.
|
||||
* which is a failure to allocate memory.
|
||||
*/
|
||||
if (num_verts < 3) {
|
||||
return(1);
|
||||
@ -384,8 +385,8 @@ static int rast_scan_fill(struct r_fill_context *ctx, struct poly_vert *verts, i
|
||||
int PLX_raskterize(float (*base_verts)[2], int num_base_verts,
|
||||
float *buf, int buf_x, int buf_y)
|
||||
{
|
||||
int i; /* i: Loop counter. */
|
||||
struct poly_vert *ply; /* ply: Pointer to a list of integer buffer-space vertex coordinates. */
|
||||
int i; /* i: Loop counter. */
|
||||
struct poly_vert *ply; /* ply: Pointer to a list of integer buffer-space vertex coordinates. */
|
||||
struct r_fill_context ctx = {0};
|
||||
|
||||
/*
|
||||
|
@ -651,7 +651,7 @@ static EnumPropertyItem prop_group_op_types[] = {
|
||||
{0, "UNLINK", 0, "Unlink Group", ""},
|
||||
{1, "LOCAL", 0, "Make Local Group", ""},
|
||||
{2, "LINK", 0, "Link Group Objects to Scene", ""},
|
||||
{3, "INSTANCE", 0, "Instance Group in Scene", ""},
|
||||
{3, "INSTANCE", 0, "Instance Groups in Scene", ""},
|
||||
{4, "TOGVIS", 0, "Toggle Visible Group", ""},
|
||||
{5, "TOGSEL", 0, "Toggle Selectable", ""},
|
||||
{6, "TOGREN", 0, "Toggle Renderable", ""},
|
||||
|
Loading…
Reference in New Issue
Block a user