[Bf-extensions-cvs] [6f0deb3b] master: Add descriptions to properties in Object Scatter addon

Jacques Lucke noreply at git.blender.org
Tue Feb 5 17:05:31 CET 2019


Commit: 6f0deb3b89dd17458d0079bd97b183758fb4e80e
Author: Jacques Lucke
Date:   Tue Feb 5 16:46:33 2019 +0100
Branches: master
https://developer.blender.org/rBA6f0deb3b89dd17458d0079bd97b183758fb4e80e

Add descriptions to properties in Object Scatter addon

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

M	object_scatter/ui.py

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

diff --git a/object_scatter/ui.py b/object_scatter/ui.py
index 94d97a9c..075daba4 100644
--- a/object_scatter/ui.py
+++ b/object_scatter/ui.py
@@ -35,14 +35,16 @@ ScatterSettings = namedtuple("ScatterSettings",
 class ObjectScatterProperties(bpy.types.PropertyGroup):
     seed: IntProperty(
         name="Seed",
-        default=0
+        default=0,
+        description="Change it to get a different scatter pattern",
     )
 
     density: FloatProperty(
         name="Density",
         default=10,
         min=0,
-        soft_max=50
+        soft_max=50,
+        description="The amount of objects per unit on the line",
     )
 
     radius: FloatProperty(
@@ -51,14 +53,16 @@ class ObjectScatterProperties(bpy.types.PropertyGroup):
         min=0,
         soft_max=5,
         subtype='DISTANCE',
-        unit='LENGTH'
+        unit='LENGTH',
+        description="Maximum distance of the objects to the line",
     )
 
     scale: FloatProperty(
         name="Scale",
         default=0.3,
         min=0.00001,
-        soft_max=1
+        soft_max=1,
+        description="Size of the generated objects",
     )
 
     random_scale_percentage: FloatProperty(
@@ -67,7 +71,8 @@ class ObjectScatterProperties(bpy.types.PropertyGroup):
         min=0,
         max=100,
         subtype='PERCENTAGE',
-        precision=0
+        precision=0,
+        description="Increase to get a larger range of sizes",
     )
 
     rotation: FloatProperty(
@@ -77,14 +82,16 @@ class ObjectScatterProperties(bpy.types.PropertyGroup):
         max=math.pi * 2,
         soft_max=math.pi / 2,
         subtype='ANGLE',
-        unit='ROTATION'
+        unit='ROTATION',
+        description="Maximum rotation of the generated objects",
     )
 
     normal_offset: FloatProperty(
         name="Normal Offset",
         default=0,
         soft_min=-1.0,
-        soft_max=1.0
+        soft_max=1.0,
+        description="Distance from the surface",
     )
 
     def to_settings(self):



More information about the Bf-extensions-cvs mailing list