[Bf-blender-cvs] [18960c08fde] master: UI: Custom Properties - Rename properties to remove "Use/Is"

Dalai Felinto noreply at git.blender.org
Fri Jun 17 10:08:25 CEST 2022


Commit: 18960c08fde76dcd839e323d60b5775101229937
Author: Dalai Felinto
Date:   Thu Jun 16 16:50:03 2022 +0200
Branches: master
https://developer.blender.org/rB18960c08fde76dcd839e323d60b5775101229937

UI: Custom Properties - Rename properties to remove "Use/Is"

There is no need to have use/is in the final name. This is implicitly
represented by the checkbox already.

This does not change the Python API, only the names we show in the user
interface.

* Is Library Overridable -> Library Overridable
* Use Soft Limits -> Soft Limits

Differential Revision: https://developer.blender.org/D15217

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

M	release/scripts/startup/bl_operators/wm.py

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

diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 0eaada7249b..50fc6bad720 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1352,7 +1352,7 @@ class WM_OT_properties_edit(Operator):
         items=rna_custom_property_type_items,
     )
     is_overridable_library: BoolProperty(
-        name="Is Library Overridable",
+        name="Library Overridable",
         description="Allow the property to be overridden when the data-block is linked",
         default=False,
     )
@@ -1363,7 +1363,7 @@ class WM_OT_properties_edit(Operator):
     # Shared for integer and string properties.
 
     use_soft_limits: BoolProperty(
-        name="Use Soft Limits",
+        name="Soft Limits",
         description=(
             "Limits the Property Value slider to a range, "
             "values outside the range must be inputted numerically"



More information about the Bf-blender-cvs mailing list