[Bf-blender-cvs] [67ad664] wiggly-widgets: Show mesh context face map panel for all render engines
Julian Eisel
noreply at git.blender.org
Sat Nov 28 00:07:33 CET 2015
Commit: 67ad664996b28c4fad3785c4eeced6cab6f631ce
Author: Julian Eisel
Date: Sat Nov 28 00:06:03 2015 +0100
Branches: wiggly-widgets
https://developer.blender.org/rB67ad664996b28c4fad3785c4eeced6cab6f631ce
Show mesh context face map panel for all render engines
Dunno why this should be hidden in other engines (vertex groups do this too).
===================================================================
M release/scripts/startup/bl_ui/properties_data_mesh.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py
index 6004c29..77b2be4 100644
--- a/release/scripts/startup/bl_ui/properties_data_mesh.py
+++ b/release/scripts/startup/bl_ui/properties_data_mesh.py
@@ -243,9 +243,8 @@ class DATA_PT_face_maps(MeshButtonsPanel, Panel):
@classmethod
def poll(cls, context):
- engine = context.scene.render.engine
obj = context.object
- return (obj and obj.type == 'MESH' and (engine in cls.COMPAT_ENGINES))
+ return (obj and obj.type == 'MESH')
def draw(self, context):
layout = self.layout
More information about the Bf-blender-cvs
mailing list