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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/python_api/examples/bpy.types.Panel.2.py')
-rw-r--r--doc/python_api/examples/bpy.types.Panel.2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.Panel.2.py b/doc/python_api/examples/bpy.types.Panel.2.py
index 2c860e3e1a7..ee7dae5f186 100644
--- a/doc/python_api/examples/bpy.types.Panel.2.py
+++ b/doc/python_api/examples/bpy.types.Panel.2.py
@@ -9,7 +9,8 @@ import bpy
class View3DPanel:
bl_space_type = 'VIEW_3D'
- bl_region_type = 'TOOLS'
+ bl_region_type = 'UI'
+ bl_category = "Tool"
@classmethod
def poll(cls, context):