diff options
Diffstat (limited to 'release/scripts/templates/builtin_keyingset.py')
-rw-r--r-- | release/scripts/templates/builtin_keyingset.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/templates/builtin_keyingset.py b/release/scripts/templates/builtin_keyingset.py index 0b808e9cd26..19f92dc75e7 100644 --- a/release/scripts/templates/builtin_keyingset.py +++ b/release/scripts/templates/builtin_keyingset.py @@ -1,5 +1,4 @@ import bpy -from keyingsets_utils import * class BUILTIN_KSI_hello(bpy.types.KeyingSetInfo): @@ -7,7 +6,7 @@ class BUILTIN_KSI_hello(bpy.types.KeyingSetInfo): # poll - test for whether Keying Set can be used at all def poll(ksi, context): - return (context.active_object) or (context.selected_objects) + return context.active_object or context.selected_objects # iterator - go over all relevant data, calling generate() def iterator(ksi, context, ks): |