[Bf-extensions-cvs] [35c53e1b] master: Adds Dimension: Changed fill mode

Spivak Vladimir cwolf3d noreply at git.blender.org
Tue Sep 3 23:19:47 CEST 2019


Commit: 35c53e1bacae48cab18b69302ad548a361cb54e4
Author: Spivak Vladimir (cwolf3d)
Date:   Wed Sep 4 00:19:10 2019 +0300
Branches: master
https://developer.blender.org/rBAC35c53e1bacae48cab18b69302ad548a361cb54e4

Adds Dimension: Changed fill mode

===================================================================

M	add_dimension.py

===================================================================

diff --git a/add_dimension.py b/add_dimension.py
index 33dd7479..c501e1ea 100644
--- a/add_dimension.py
+++ b/add_dimension.py
@@ -43,7 +43,7 @@ def addText(string = '', loc = ((0, 0, 0)), textsize = 1, align = 'CENTER', offs
     tcu = bpy.data.curves.new(string + 'Data', 'FONT')
     text = bpy.data.objects.new(string + 'Text', tcu)
     tcu.body = string
-    tcu.fill_mode = 'NONE'
+    tcu.fill_mode = 'BOTH'
     tcu.align_x = align
     tcu.size = textsize
     tcu.offset_y = offset_y
@@ -1524,7 +1524,7 @@ def createCurve(vertArray, self, align_matrix):
 
     # set curveOptions
     newCurve.dimensions = '2D'
-    newCurve.fill_mode = 'NONE'    
+    newCurve.fill_mode = 'BOTH'    
     newSpline.use_cyclic_u = True
     newSpline.use_endpoint_u = True



More information about the Bf-extensions-cvs mailing list