[Bf-blender-cvs] [b5f8c9d33e3] greasepencil-object: Cleanup: Replace () with {}
Antonio Vazquez
noreply at git.blender.org
Fri May 11 16:16:51 CEST 2018
Commit: b5f8c9d33e3910fadd7a167d00a1a3158d64e063
Author: Antonio Vazquez
Date: Fri May 11 16:16:42 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBb5f8c9d33e3910fadd7a167d00a1a3158d64e063
Cleanup: Replace () with {}
===================================================================
M release/scripts/startup/bl_ui/properties_grease_pencil_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index a8fc14d4b90..ed18be29933 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -788,7 +788,7 @@ class GreasePencilDataPanel:
if context.gpencil_data is None:
return False
- if context.space_data.type in ('VIEW_3D', 'PROPERTIES'):
+ if context.space_data.type in {'VIEW_3D', 'PROPERTIES'}:
if context.space_data.context == 'DATA':
if context.object.type != 'GPENCIL':
return False
More information about the Bf-blender-cvs
mailing list