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:
authorThomas Dinges <blender@dingto.org>2011-08-27 17:38:53 +0400
committerThomas Dinges <blender@dingto.org>2011-08-27 17:38:53 +0400
commitf4768033d876ed23567a71a2897c19c46753f788 (patch)
treed17f64037cd6035e20880585db5528cb185490b9 /object_cloud_gen.py
parentd744270e737d5ecb192897e94549fde45405c469 (diff)
Addon UI Cleanup, Part 2
* You only have to do layout.prop if you want 1 property, no need for row then! * Use col, row, sub as variable names, not colsub, rowsub, row2 etc please. * Povray Addon: Still used a lot of splits, you need no split when you only have 1 column!
Diffstat (limited to 'object_cloud_gen.py')
-rw-r--r--object_cloud_gen.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/object_cloud_gen.py b/object_cloud_gen.py
index a97f47bb..a6308683 100644
--- a/object_cloud_gen.py
+++ b/object_cloud_gen.py
@@ -321,26 +321,21 @@ class VIEW3D_PT_tools_cloud(bpy.types.Panel):
WhatToDo = getActionToDo(active_obj)
if WhatToDo == 'DEGENERATE':
-
col.operator("cloud.generate_cloud", text="DeGenerate")
elif WhatToDo == 'CLOUD_CONVERT_TO_MESH':
-
col.operator("cloud.generate_cloud", text="Convert to Mesh")
elif WhatToDo == 'NO_SELECTION_DO_NOTHING':
-
col.label(text="Select one or more")
col.label(text="objects to generate")
col.label(text="a cloud.")
elif WhatToDo == 'CLOUD_DO_NOTHING':
-
col.label(text="Must select")
col.label(text="bound box")
elif WhatToDo == 'GENERATE':
-
col.operator("cloud.generate_cloud", text="Generate Cloud")
col.prop(context.scene, "cloud_type")