T63854: Grease Pencil strokes appear too thick in the viewport when using texture mode
There was an arbitrary size limit of 4 pixels.
This commit is contained in:
@@ -42,7 +42,7 @@ void main()
|
||||
else {
|
||||
float size = (ProjectionMatrix[3][3] == 0.0) ? (thickness / (gl_Position.z * defaultpixsize)) :
|
||||
(thickness / defaultpixsize);
|
||||
finalThickness = max(size * objscale, 4.0); /* minimum 4 pixels */
|
||||
finalThickness = max(size * objscale, 1.0); /* minimum 1 pixel */
|
||||
}
|
||||
|
||||
/* for wireframe override size and color */
|
||||
|
||||
Reference in New Issue
Block a user