Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-02-10 22:00:44 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-02-10 22:00:44 +0300
commit3c5d5fb1cad25d75df3a3a032e86a58957311fd2 (patch)
tree7065899ee9e1a75d79b9558607827009874f212d /ui_layer_manager.py
parent039f3646b5a2a3a76fd43df1a2cf68bc0242f1c7 (diff)
parent6266b4139503bb614576f15ea4e90870ac5e597d (diff)
Merge branch 'master' into fbx_io_export_ignore_parentsfbx_io_export_ignore_parents
Conflicts: io_scene_fbx/import_fbx.py
Diffstat (limited to 'ui_layer_manager.py')
-rw-r--r--ui_layer_manager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui_layer_manager.py b/ui_layer_manager.py
index b4442d99..876e20cd 100644
--- a/ui_layer_manager.py
+++ b/ui_layer_manager.py
@@ -22,7 +22,7 @@ bl_info = {
"name": "Layer Management",
"author": "Alfonso Annarumma, Bastien Montagne",
"version": (1, 5, 2),
- "blender": (2, 72, 0),
+ "blender": (2, 76, 0),
"location": "Toolshelf > Layers Tab",
"warning": "",
"description": "Display and Edit Layer Name",
@@ -372,6 +372,7 @@ class SCENE_PT_namedlayer_layers(bpy.types.Panel):
bl_label = "Layer Management"
bl_options = {'DEFAULT_CLOSED'}
bl_category = "Layers"
+ bl_context = "objectmode"
@classmethod
def poll(self, context):
@@ -519,6 +520,7 @@ class SCENE_UL_namedlayer_groups(UIList):
class SCENE_PT_namedlayer_groups(bpy.types.Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'TOOLS'
+ bl_context = "objectmode"
bl_category = "Layers"
bl_label = "Layer Groups"
bl_options = {'DEFAULT_CLOSED'}