[Bf-blender-cvs] [522fab74a42] greasepencil-object: GP: Change control points size and remove in line
Antonioya
noreply at git.blender.org
Tue Dec 11 16:35:05 CET 2018
Commit: 522fab74a42637e62ac24bae13d89cdb7b14f77c
Author: Antonioya
Date: Tue Dec 11 16:34:57 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB522fab74a42637e62ac24bae13d89cdb7b14f77c
GP: Change control points size and remove in line
===================================================================
M source/blender/editors/gpencil/gpencil_primitive.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c
index 312fe93c85b..bd6668ca9e1 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -102,9 +102,9 @@
#define SELECT_CP2 3
#define SELECT_END 4
-#define BIG_SIZE_CTL 10
-#define MID_SIZE_CTL 15
-#define SMALL_SIZE_CTL 20
+#define BIG_SIZE_CTL 15
+#define MID_SIZE_CTL 10
+#define SMALL_SIZE_CTL 8
/* ************************************************ */
/* Core/Shared Utilities */
@@ -417,9 +417,11 @@ static void gp_primitive_line(tGPDprimitive *tgpi, tGPspoint *points2D)
a += step;
}
+#if 0 /* GPXX Do we need this? */
float color[4];
UI_GetThemeColor4fv(TH_REDALERT, color);
gp_primitive_set_cp(tgpi, tgpi->origin, color, SMALL_SIZE_CTL);
+#endif
}
}
More information about the Bf-blender-cvs
mailing list