diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2014-10-13 17:55:26 +0400 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2014-10-13 17:55:26 +0400 |
commit | 9edfa1364971d41424644ad9499f80187ebaa553 (patch) | |
tree | f4cd71456f1c546bf4b57706e2090557ee885207 /mesh_bsurfaces.py | |
parent | 77c3275cf83478352240740b80739747dca9fe0c (diff) |
fix warnings with UI description
Diffstat (limited to 'mesh_bsurfaces.py')
-rw-r--r-- | mesh_bsurfaces.py | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py index 501221f2..c0cb91e5 100644 --- a/mesh_bsurfaces.py +++ b/mesh_bsurfaces.py @@ -160,40 +160,40 @@ def get_strokes_type(main_object): class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator): bl_idname = "gpencil.surfsk_add_surface" bl_label = "Bsurfaces add surface" - bl_description = "Generates surfaces from grease pencil strokes, bezier curves or loose edges." + bl_description = "Generates surfaces from grease pencil strokes, bezier curves or loose edges" bl_options = {'REGISTER', 'UNDO'} edges_U = bpy.props.IntProperty(name = "Cross", - description = "Number of face-loops crossing the strokes.", + description = "Number of face-loops crossing the strokes", default = 1, min = 1, max = 200) edges_V = bpy.props.IntProperty(name = "Follow", - description = "Number of face-loops following the strokes.", + description = "Number of face-loops following the strokes", default = 1, min = 1, max = 200) cyclic_cross = bpy.props.BoolProperty(name = "Cyclic Cross", - description = "Make cyclic the face-loops crossing the strokes.", + description = "Make cyclic the face-loops crossing the strokes", default = False) cyclic_follow = bpy.props.BoolProperty(name = "Cyclic Follow", - description = "Make cyclic the face-loops following the strokes.", + description = "Make cyclic the face-loops following the strokes", default = False) loops_on_strokes = bpy.props.BoolProperty(name = "Loops on strokes", - description = "Make the loops match the paths of the strokes.", + description = "Make the loops match the paths of the strokes", default = False) automatic_join = bpy.props.BoolProperty(name = "Automatic join", - description = "Join automatically vertices of either surfaces generated by crosshatching, or from the borders of closed shapes.", + description = "Join automatically vertices of either surfaces generated by crosshatching, or from the borders of closed shapes", default = False) join_stretch_factor = bpy.props.FloatProperty(name = "Stretch", - description = "Amount of stretching or shrinking allowed for edges when joining vertices automatically.", + description = "Amount of stretching or shrinking allowed for edges when joining vertices automatically", default = 1, min = 0, max = 3, @@ -3237,7 +3237,7 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator): class GPENCIL_OT_SURFSK_edit_strokes(bpy.types.Operator): bl_idname = "gpencil.surfsk_edit_strokes" bl_label = "Bsurfaces edit strokes" - bl_description = "Edit the grease pencil strokes or curves used." + bl_description = "Edit the grease pencil strokes or curves used" def execute(self, context): @@ -3546,7 +3546,7 @@ class CURVE_OT_SURFSK_reorder_splines(bpy.types.Operator): class CURVE_OT_SURFSK_first_points(bpy.types.Operator): bl_idname = "curve.surfsk_first_points" bl_label = "Bsurfaces set first points" - bl_description = "Set the selected points as the first point of each spline." + bl_description = "Set the selected points as the first point of each spline" bl_options = {'REGISTER', 'UNDO'} @@ -3693,32 +3693,32 @@ def register(): bpy.types.Scene.SURFSK_cyclic_cross = bpy.props.BoolProperty( name="Cyclic Cross", - description="Make cyclic the face-loops crossing the strokes.", + description="Make cyclic the face-loops crossing the strokes", default=False) bpy.types.Scene.SURFSK_cyclic_follow = bpy.props.BoolProperty( name="Cyclic Follow", - description="Make cyclic the face-loops following the strokes.", + description="Make cyclic the face-loops following the strokes", default=False) bpy.types.Scene.SURFSK_keep_strokes = bpy.props.BoolProperty( name="Keep strokes", - description="Keeps the sketched strokes or curves after adding the surface.", + description="Keeps the sketched strokes or curves after adding the surface", default=False) bpy.types.Scene.SURFSK_automatic_join = bpy.props.BoolProperty( name="Automatic join", - description="Join automatically vertices of either surfaces generated by crosshatching, or from the borders of closed shapes.", + description="Join automatically vertices of either surfaces generated by crosshatching, or from the borders of closed shapes", default=True) bpy.types.Scene.SURFSK_loops_on_strokes = bpy.props.BoolProperty( name="Loops on strokes", - description="Make the loops match the paths of the strokes.", + description="Make the loops match the paths of the strokes", default=True) bpy.types.Scene.SURFSK_precision = bpy.props.IntProperty( name="Precision", - description="Precision level of the surface calculation.", + description="Precision level of the surface calculation", default=2, min=1, max=100) |