diff options
author | NBurn <7nburn@gmail.com> | 2019-01-18 00:48:54 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-18 00:48:54 +0300 |
commit | aeabdc02a83a976b2f594cd66873c6d2b537e669 (patch) | |
tree | 3ac5922be25219ab666aae4b8d04002bce2e70a6 /space_view3d_3d_navigation.py | |
parent | ba97e19e5b3df449784a4cc4ed89ce7b511ec3e4 (diff) |
Update Add-ons class properties to annotations
This should take care of most of the class property conversions to
use the new annotation format (colon instead of equals) for
assignment. There may still be a few edge cases that were missed.
Diffstat (limited to 'space_view3d_3d_navigation.py')
-rw-r--r-- | space_view3d_3d_navigation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/space_view3d_3d_navigation.py b/space_view3d_3d_navigation.py index b1a85c82..5705db9d 100644 --- a/space_view3d_3d_navigation.py +++ b/space_view3d_3d_navigation.py @@ -94,7 +94,7 @@ class PanUpViewsAll(Operator): bl_label = "Pan View" bl_description = "Pan the 3D View" - panning = StringProperty( + panning: StringProperty( default="PANUP", options={"HIDDEN"} ) @@ -339,7 +339,7 @@ class NavAddonPreferences(AddonPreferences): # when defining this in a submodule of a python package. bl_idname = __name__ - category = StringProperty( + category: StringProperty( name="Tab Category", description="Choose a name for the category of the panel", default="Display", |