[Bf-blender-cvs] [5e8cd30db1b] greasepencil-object: GP: Restore origin point for Lines

Antonioya noreply at git.blender.org
Tue Dec 11 17:21:09 CET 2018


Commit: 5e8cd30db1b991286581866b6e18b9e4bb3d58cd
Author: Antonioya
Date:   Tue Dec 11 17:21:01 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB5e8cd30db1b991286581866b6e18b9e4bb3d58cd

GP: Restore origin point for Lines

Maybe is good tohave where is the origin of the 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 56ed792b9b9..01b97c10e65 100644
--- a/source/blender/editors/gpencil/gpencil_primitive.c
+++ b/source/blender/editors/gpencil/gpencil_primitive.c
@@ -438,11 +438,9 @@ 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