[Bf-extensions-cvs] [8a6d66a1] master: annotation property updates

NBurn noreply at git.blender.org
Tue May 21 02:32:17 CEST 2019


Commit: 8a6d66a1db9fa5dfd3a340e82f3ddcc805170334
Author: NBurn
Date:   Mon May 20 20:31:07 2019 -0400
Branches: master
https://developer.blender.org/rBA8a6d66a1db9fa5dfd3a340e82f3ddcc805170334

annotation property updates

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

M	mesh_extra_tools/random_vertices.py
M	render_auto_tile_size.py
M	space_view3d_stored_views/properties.py

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

diff --git a/mesh_extra_tools/random_vertices.py b/mesh_extra_tools/random_vertices.py
index b21534dc..51f8be24 100644
--- a/mesh_extra_tools/random_vertices.py
+++ b/mesh_extra_tools/random_vertices.py
@@ -104,12 +104,12 @@ class MESH_OT_random_vertices(Operator):
             description="Base Multiplier of the randomization effect",
             default=1
             )
-    valmin = IntVectorProperty(
+    valmin: IntVectorProperty(
             name="Min XYZ",
             description="Define the minimum range of randomization values",
             default=(0, 0, 0)
             )
-    valmax = IntVectorProperty(
+    valmax: IntVectorProperty(
             name="Max XYZ",
             description="Define the maximum range of randomization values",
             default=(1, 1, 1)
diff --git a/render_auto_tile_size.py b/render_auto_tile_size.py
index f61839d7..d71a122d 100644
--- a/render_auto_tile_size.py
+++ b/render_auto_tile_size.py
@@ -156,7 +156,7 @@ class AutoTileSizeSettings(PropertyGroup):
     threads_error: BoolProperty(
             options={'HIDDEN'}
             )
-    num_tiles = IntVectorProperty(
+    num_tiles: IntVectorProperty(
             default=(0, 0),
             size=2,
             options={'HIDDEN'}
@@ -173,7 +173,7 @@ class AutoTileSizeSettings(PropertyGroup):
             default='',
             options={'HIDDEN'}
             )
-    prev_res = IntVectorProperty(
+    prev_res: IntVectorProperty(
             default=(0, 0),
             size=2,
             options={'HIDDEN'}
@@ -187,7 +187,7 @@ class AutoTileSizeSettings(PropertyGroup):
             size=4,
             options={'HIDDEN'}
             )
-    prev_actual_tile_size = IntVectorProperty(
+    prev_actual_tile_size: IntVectorProperty(
             default=(0, 0),
             size=2,
             options={'HIDDEN'}
diff --git a/space_view3d_stored_views/properties.py b/space_view3d_stored_views/properties.py
index 2c4adee3..78498f63 100644
--- a/space_view3d_stored_views/properties.py
+++ b/space_view3d_stored_views/properties.py
@@ -78,13 +78,13 @@ class DisplayData(PropertyGroup):
 
 
 class ViewData(PropertyGroup):
-    pov = PointerProperty(
+    pov: PointerProperty(
             type=POVData
             )
-    layers = PointerProperty(
+    layers: PointerProperty(
             type=LayersData
             )
-    display = PointerProperty(
+    display: PointerProperty(
             type=DisplayData
             )
     name: StringProperty()
@@ -111,7 +111,7 @@ class StoredViewsData(PropertyGroup):
                    ('DISPLAY', "Display", "Display settings")],
             default='VIEW'
             )
-    current_indices = IntVectorProperty(
+    current_indices: IntVectorProperty(
             size=4,
             default=[-1, -1, -1, -1]
             )



More information about the Bf-extensions-cvs mailing list