[Bf-blender-cvs] [30cfbec6e26] greasepencil-object: UI: Remove deprecated property
Antonio Vazquez
noreply at git.blender.org
Tue Nov 7 11:08:39 CET 2017
Commit: 30cfbec6e2671d2efbaf31c905ed5b267d4fbfca
Author: Antonio Vazquez
Date: Tue Nov 7 11:08:30 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB30cfbec6e2671d2efbaf31c905ed5b267d4fbfca
UI: Remove deprecated property
The OBJECT mode was removed as property.
===================================================================
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 b3f1baae194..638df4904dd 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -1042,9 +1042,8 @@ class GreasePencilDataPanel:
return False
if context.space_data.type in ('VIEW_3D', 'PROPERTIES'):
- if ts.grease_pencil_source == 'OBJECT':
- if context.space_data.context != 'DATA':
- return False
+ if context.space_data.context != 'DATA':
+ return False
if context.space_data.context == 'DATA':
if context.object.type != 'GPENCIL':
More information about the Bf-blender-cvs
mailing list