[Bf-docboard-svn] bf-manual: [9927] trunk/blender_docs/manual/files/data_blocks.rst: Custom Properties: Add boolean type

Aaron Carlisle noreply at blender.org
Thu Feb 2 03:05:08 CET 2023


Revision: 9927
          https://developer.blender.org/rBM9927
Author:   Blendify
Date:     2023-02-02 03:05:07 +0100 (Thu, 02 Feb 2023)
Log Message:
-----------
Custom Properties: Add boolean type

rBef68a37e5d55e17adf4cc8e3349eaf0243dbf15e

Modified Paths:
--------------
    trunk/blender_docs/manual/files/data_blocks.rst

Modified: trunk/blender_docs/manual/files/data_blocks.rst
===================================================================
--- trunk/blender_docs/manual/files/data_blocks.rst	2023-02-02 01:44:10 UTC (rev 9926)
+++ trunk/blender_docs/manual/files/data_blocks.rst	2023-02-02 02:05:07 UTC (rev 9927)
@@ -400,17 +400,11 @@
       These special float arrays can be set in the *Subtype* selector.
    :Integer: A numeric value without any decimals e.g. 1, 2, 3, or 4.
    :Integer Array: A collection of multiple integer data types e.g. ``[1, 2, 3, 4]`` .
+   :Boolean: A data type that has two possible values e.g. ``True`` or ``False``.
+   :Boolean Array: A collection of boolean values  e.g. ``[True, False, True]``
    :String: A sequence of characters such as "Some Text".
    :Python: Edit a Python data type directly, used for unsupported data types.
 
-   .. note::
-
-      Boolean values must be handled as integers and only work
-      when using *Min*/*Max* values that are integers and that are no more than 1 apart.
-
-      At this point, the Boolean values will still look like integers but behave like
-      a Boolean having one lower, off, value and a higher, on, value.
-
 Array Length
    The number of elements in the array.
    Note that if the array length is greater than 7 you cannot directly edit its elements,
@@ -421,7 +415,8 @@
    This name is also used to access the property via Python.
 
 Default Value
-   This sets the default value of the property used by the *Reset to Default Value* operator.
+   This sets the default value of the property used by the
+   :ref:`Reset to Default Value <bpy.ops.ui.reset_default_button>` operator.
 
    .. warning::
 



More information about the Bf-docboard-svn mailing list