diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-28 13:56:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-28 13:56:42 +0300 |
commit | 0f157c6304a5f794035ccdb3087d605c61e143b7 (patch) | |
tree | 1558479c2b815dc257ef128a8a056d9aa63dbd46 /release/scripts/add_mesh_torus.py | |
parent | 0751592d7a6d8928deda318dc31cba0f5837df41 (diff) |
tooltips for some dual toggle buttons as well as tooltips from wim van hoydonck ([#8166] [python-scripts] fix for tooltips of torus primitive + newline)
Diffstat (limited to 'release/scripts/add_mesh_torus.py')
-rw-r--r-- | release/scripts/add_mesh_torus.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/release/scripts/add_mesh_torus.py b/release/scripts/add_mesh_torus.py index de2db42d482..4f759256497 100644 --- a/release/scripts/add_mesh_torus.py +++ b/release/scripts/add_mesh_torus.py @@ -51,9 +51,9 @@ def main(): if not Draw.PupBlock('Add Torus', [\ ('Major Radius:', PREF_MAJOR_RAD, 0.01, 100, 'Radius for the main ring of the torus'),\ - ('Minor Radius:', PREF_MINOR_RAD, 0.01, 100, 'Radius for the minor ring of the torus setting the thickness of the ring.'),\ - ('Major Segments:', PREF_MAJOR_SEG, 3, 256, 'Radius for the main ring of the torus'),\ - ('Minor Segments:', PREF_MINOR_SEG, 3, 256, 'Radius for the minor ring of the torus setting the thickness of the ring.'),\ + ('Minor Radius:', PREF_MINOR_RAD, 0.01, 100, 'Radius for the minor ring of the torus setting the thickness of the ring'),\ + ('Major Segments:', PREF_MAJOR_SEG, 3, 256, 'Number of segments for the main ring of the torus'),\ + ('Minor Segments:', PREF_MINOR_SEG, 3, 256, 'Number of segments for the minor ring of the torus'),\ ]): return @@ -61,4 +61,5 @@ def main(): BPyAddMesh.add_mesh_simple('Torus', verts, [], faces) -main()
\ No newline at end of file +main() + |