[Bf-extensions-cvs] [65ad12e] master: Fix: updated for new tabs
Eugenio Pignataro
noreply at git.blender.org
Mon Jan 6 16:02:58 CET 2014
Commit: 65ad12e379c054e1a07a98254ed76bc7b74e34e4
Author: Eugenio Pignataro
Date: Mon Jan 6 12:02:44 2014 -0300
https://developer.blender.org/rBAC65ad12e379c054e1a07a98254ed76bc7b74e34e4
Fix: updated for new tabs
===================================================================
M oscurart_mesh_cache_tools.py
===================================================================
diff --git a/oscurart_mesh_cache_tools.py b/oscurart_mesh_cache_tools.py
index 64f459c..7bf07e4 100644
--- a/oscurart_mesh_cache_tools.py
+++ b/oscurart_mesh_cache_tools.py
@@ -16,12 +16,20 @@ import sys
import os
import struct
-class OscEPc2ExporterPanel(bpy.types.Panel):
- """Creates a Panel in the Object properties window"""
+class View3DMCPanel():
+ bl_space_type = 'VIEW_3D'
+ bl_region_type = 'TOOLS'
+
+class OscEPc2ExporterPanel(View3DMCPanel, bpy.types.Panel):
+ """
bl_label = "Mesh Cache Tools"
bl_idname = "Mesh Cache Tools"
bl_space_type = 'VIEW_3D'
bl_region_type = 'TOOLS'
+ """
+ bl_category = "Mesh Cache Tools"
+ #bl_context = "objectmode"
+ bl_label = "Mesh Cache Tools"
def draw(self, context):
layout = self.layout
More information about the Bf-extensions-cvs
mailing list