fix tracker url
[blender-addons-contrib.git] / particle_hair_lab.py
index c09bd097b6fac86266e1d3653400bebcc9e9c621..249f7df11888d6c6041424929bbfc51d8e549320 100644 (file)
@@ -21,12 +21,12 @@ bl_info = {
     "author": "Ondrej Raha(lokhorn), meta-androcto",
     "version": (0,5),
     "blender": (2, 6, 0),
-    "api": 42149,
     "location": "View3D > Tool Shelf > Grass Preset Panel",
     "description": "Creates particle grass with material",
     "warning": "",
-    "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/Scripts/Object/grass_Lab",
-    "tracker_url": "",
+    "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Object/Hair_Lab",
+    "tracker_url": "https://projects.blender.org/tracker/index.php?"\
+        "func=detail&aid=30238",
     "category": "Object"}
 
 
@@ -49,7 +49,7 @@ class saveSelectionPanel(bpy.types.Panel):
     bl_region_type = 'TOOLS'
 
     bl_label = "Selection Save"
-    bl_options = {"DEFAULT_CLOSED"}
+    bl_options = {'DEFAULT_CLOSED'}
     bl_context = "particlemode"
     
 
@@ -63,10 +63,9 @@ class saveSelectionPanel(bpy.types.Panel):
 class grassLabPanel(bpy.types.Panel):
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'TOOLS'
-
     bl_label = "Grass Lab"
     bl_context = "objectmode"
-    
+    bl_options = {'DEFAULT_CLOSED'}  
 
     def draw(self, context):
         active_obj = bpy.context.active_object
@@ -100,7 +99,7 @@ class saveSelection(bpy.types.Operator):
     
     def execute(self, context):
         
-        return {"FINISHED"}
+        return {'FINISHED'}
 """
 class testScene1(bpy.types.Operator):
     bl_idname = "grass.switch_back"
@@ -113,7 +112,7 @@ class testScene1(bpy.types.Operator):
         scene = bpy.context.scene
         bpy.data.scenes.remove(scene)
         
-        return {"FINISHED"}
+        return {'FINISHED'}
         
         
 class testScene2(bpy.types.Operator):
@@ -200,7 +199,7 @@ class testScene2(bpy.types.Operator):
         bpy.ops.mesh.primitive_uv_sphere_add(size=0.1)
         bpy.ops.object.shade_smooth()
                
-        return {"FINISHED"}
+        return {'FINISHED'}
 
 
 class Generategrass(bpy.types.Operator):
@@ -524,10 +523,9 @@ class Generategrass(bpy.types.Operator):
 class HairLabPanel(bpy.types.Panel):
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'TOOLS'
-
     bl_label = "Hair Lab"
     bl_context = "objectmode"
-    
+    bl_options = {'DEFAULT_CLOSED'}    
 
     def draw(self, context):
         active_obj = bpy.context.active_object
@@ -561,7 +559,7 @@ class saveSelection(bpy.types.Operator):
     
     def execute(self, context):
         
-        return {"FINISHED"}
+        return {'FINISHED'}
 """
 class testScene3(bpy.types.Operator):
     bl_idname = "hair.switch_back"
@@ -574,7 +572,7 @@ class testScene3(bpy.types.Operator):
         scene = bpy.context.scene
         bpy.data.scenes.remove(scene)
         
-        return {"FINISHED"}
+        return {'FINISHED'}
         
         
 class testScene4(bpy.types.Operator):
@@ -659,7 +657,7 @@ class testScene4(bpy.types.Operator):
 # add sphere
         bpy.ops.mesh.primitive_uv_sphere_add(size=0.1)
         bpy.ops.object.shade_smooth()       
-        return {"FINISHED"}
+        return {'FINISHED'}
 
 
 class GenerateHair(bpy.types.Operator):
@@ -977,10 +975,9 @@ class GenerateHair(bpy.types.Operator):
 class FurLabPanel(bpy.types.Panel):
     bl_space_type = 'VIEW_3D'
     bl_region_type = 'TOOLS'
-
     bl_label = "Fur Lab"
     bl_context = "objectmode"
-    
+    bl_options = {'DEFAULT_CLOSED'}    
 
     def draw(self, context):
         active_obj = bpy.context.active_object
@@ -1014,7 +1011,7 @@ class saveSelection(bpy.types.Operator):
     
     def execute(self, context):
         
-        return {"FINISHED"}
+        return {'FINISHED'}
 """
 class testScene5(bpy.types.Operator):
     bl_idname = "fur.switch_back"
@@ -1027,7 +1024,7 @@ class testScene5(bpy.types.Operator):
         scene = bpy.context.scene
         bpy.data.scenes.remove(scene)
         
-        return {"FINISHED"}
+        return {'FINISHED'}
         
         
 class testScene6(bpy.types.Operator):
@@ -1112,7 +1109,7 @@ class testScene6(bpy.types.Operator):
 # add sphere
         bpy.ops.mesh.primitive_uv_sphere_add(size=0.1)
         bpy.ops.object.shade_smooth()       
-        return {"FINISHED"}
+        return {'FINISHED'}
 
 
 class GenerateFur(bpy.types.Operator):