forked from bartvdbraak/blender
Whitespace tweaks
This commit is contained in:
parent
d99888d786
commit
6c37e0a442
@ -155,7 +155,7 @@ static void draw_modifier__generator(uiLayout *layout, ID *id, FModifier *fcm, s
|
|||||||
|
|
||||||
cp= data->coefficients;
|
cp= data->coefficients;
|
||||||
for (i=0; (i < data->arraysize) && (cp); i++, cp++) {
|
for (i=0; (i < data->arraysize) && (cp); i++, cp++) {
|
||||||
/* To align with first line. */
|
/* To align with first line */
|
||||||
if (i)
|
if (i)
|
||||||
uiDefBut(block, LABEL, 1, " ", 0, 0, 50, 20, NULL, 0.0, 0.0, 0, 0, "");
|
uiDefBut(block, LABEL, 1, " ", 0, 0, 50, 20, NULL, 0.0, 0.0, 0, 0, "");
|
||||||
else
|
else
|
||||||
@ -208,7 +208,7 @@ static void draw_modifier__generator(uiLayout *layout, ID *id, FModifier *fcm, s
|
|||||||
|
|
||||||
cp= data->coefficients;
|
cp= data->coefficients;
|
||||||
for (i=0; (i < data->poly_order) && (cp); i++, cp+=2) {
|
for (i=0; (i < data->poly_order) && (cp); i++, cp+=2) {
|
||||||
/* To align with first line. */
|
/* To align with first line */
|
||||||
if (i)
|
if (i)
|
||||||
uiDefBut(block, LABEL, 1, " ", 0, 0, 50, 20, NULL, 0.0, 0.0, 0, 0, "");
|
uiDefBut(block, LABEL, 1, " ", 0, 0, 50, 20, NULL, 0.0, 0.0, 0, 0, "");
|
||||||
else
|
else
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
|
||||||
#include "BLI_math.h"
|
#include "BLI_math.h"
|
||||||
#include "BLI_blenlib.h"
|
#include "BLI_blenlib.h"
|
||||||
|
|
||||||
@ -51,7 +50,6 @@
|
|||||||
|
|
||||||
#include "RNA_access.h"
|
#include "RNA_access.h"
|
||||||
|
|
||||||
|
|
||||||
#include "ED_gpencil.h"
|
#include "ED_gpencil.h"
|
||||||
|
|
||||||
#include "UI_interface.h"
|
#include "UI_interface.h"
|
||||||
@ -228,8 +226,8 @@ static void gp_drawui_layer(uiLayout *layout, bGPdata *gpd, bGPDlayer *gpl, cons
|
|||||||
/* stroke drawing options available */
|
/* stroke drawing options available */
|
||||||
typedef enum eGP_Stroke_Ops {
|
typedef enum eGP_Stroke_Ops {
|
||||||
STROKE_OPTS_NORMAL = 0,
|
STROKE_OPTS_NORMAL = 0,
|
||||||
STROKE_OPTS_V3D_OFF = 1,
|
STROKE_OPTS_V3D_OFF,
|
||||||
STROKE_OPTS_V3D_ON = 2,
|
STROKE_OPTS_V3D_ON,
|
||||||
} eGP_Stroke_Ops;
|
} eGP_Stroke_Ops;
|
||||||
|
|
||||||
/* Draw the contents for a grease-pencil panel*/
|
/* Draw the contents for a grease-pencil panel*/
|
||||||
|
Loading…
Reference in New Issue
Block a user