[Bf-blender-cvs] [32dca36afb1] blender2.8: Cleanup: Use annotation for the new class

Sergey Sharybin noreply at git.blender.org
Tue Nov 6 09:57:54 CET 2018


Commit: 32dca36afb1824eacfbebfcc70ed54eaeaaf8550
Author: Sergey Sharybin
Date:   Tue Nov 6 09:57:03 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB32dca36afb1824eacfbebfcc70ed54eaeaaf8550

Cleanup: Use annotation for the new class

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

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

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

diff --git a/release/scripts/startup/bl_operators/constraint.py b/release/scripts/startup/bl_operators/constraint.py
index cf70022ed48..61b1f7737af 100644
--- a/release/scripts/startup/bl_operators/constraint.py
+++ b/release/scripts/startup/bl_operators/constraint.py
@@ -44,7 +44,7 @@ class CONSTRAINT_OT_remove_target(Operator):
     bl_label = "Remove Target"
     bl_options = {'UNDO', 'INTERNAL'}
 
-    index = IntProperty()
+    index: IntProperty()
 
     def execute(self, context):
         tgts = context.constraint.targets



More information about the Bf-blender-cvs mailing list