diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-03-28 23:40:09 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-03-28 23:40:49 +0300 |
commit | a24f52c51cff4e11a65298363de8cb0fa7260814 (patch) | |
tree | 3f5bc7da5cc25509d5a8ff38de86615410d621dd | |
parent | a882debee0800049e36639bfb3af115e72791b0c (diff) |
Fix T75088: Add tooltips for custom properties
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 335a2a633cd..6e3b883aa8a 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1147,22 +1147,26 @@ rna_property = StringProperty( rna_min = FloatProperty( name="Min", + description="Minimum value of the property", default=-10000.0, precision=3, ) rna_max = FloatProperty( name="Max", + description="Maximum value of the property", default=10000.0, precision=3, ) rna_use_soft_limits = BoolProperty( name="Use Soft Limits", + description="Limits the Property Value slider to a range, values outside the range must be inputed numerically", ) rna_is_overridable_library = BoolProperty( name="Is Library Overridable", + description="Allow the property to be overridden when the Data-Block is linked", default=False, ) @@ -1177,6 +1181,7 @@ rna_vector_subtype_items = ( class WM_OT_properties_edit(Operator): + """Edit the attributes of the property""" bl_idname = "wm.properties_edit" bl_label = "Edit Property" # register only because invoke_props_popup requires. @@ -1468,6 +1473,7 @@ class WM_OT_properties_edit(Operator): class WM_OT_properties_add(Operator): + """Add your own property to the data-block""" bl_idname = "wm.properties_add" bl_label = "Add Property" bl_options = {'UNDO', 'INTERNAL'} |