Campbell Barton
8445a56b48
use more conventional names in rigid body script.
2013-01-28 12:15:50 +00:00
Campbell Barton
fd35d42bf4
code cleanup: dont use 'bpy.context' when 'context' is available
2013-01-23 07:52:31 +00:00
Bastien Montagne
63810ffcef
Style edit (mostly), use """ for docstrings (not ''').
...
Should also fix the broken py ops tips...
2012-07-03 09:02:41 +00:00
Campbell Barton
9a51266f35
fix for align objects with non mesh objects.
2011-10-07 20:53:54 +00:00
Campbell Barton
90d19ad883
py style change only - make property definitions consistent
2011-08-19 19:25:20 +00:00
Campbell Barton
b374ab919a
import common classes from bpy.types, saves ~1000 python getattrs on startup.
2011-08-12 06:57:00 +00:00
Campbell Barton
2658949752
pep8 cleanup, also print message when attempting to run in animation player mode.
2011-07-29 01:24:03 +00:00
Campbell Barton
e882925b49
more vector order switching.
2011-07-25 09:31:39 +00:00
Campbell Barton
4f4eeb826a
style changes for operator scripts & some pep8 edits.
2011-07-25 06:40:16 +00:00
Daniel Salazar
89c062038a
Let's try default High Quality for object align, it's slow but it's simply the correct way, users can disable while tweaking the align modes and then enable again for final result IF they are working on *dense* meshes
2011-07-22 15:54:54 +00:00
Daniel Salazar
fd7825e7dc
Speedup, do only one global matrix grab per obj
2011-07-19 15:30:19 +00:00
Daniel Salazar
1191c1ead9
Object Align operator: coudn't resist and added a high quality (slower) option to get perfect alighment on complex shapes with rotation/scaling :D
...
sexy example:
http://www.pasteall.org/pic/show.php?id=15171
2011-07-19 15:07:29 +00:00
Daniel Salazar
c7d8d28939
Object Align operator now correctly computes a *global* bounding box for all objects. This makes rotated or scaled objects work like they should. Now it's still derived from object's bounding box so it will not be completly acurate on complex objects.. to solve this Id need to cycle over all verts. Don't think that's a good idea to do in py
2011-07-19 13:27:05 +00:00
Campbell Barton
b62a956cc8
cleanup for python scripts - unused vars and imports
2011-07-10 12:51:37 +00:00
Campbell Barton
2e6a02438e
move script directories for internal blender scripts.
...
ui/ --> startup/bl_ui
op/ --> startup/bl_operators
scripts/startup/ is now the only auto-loading script dir which gives some speedup for blender loading too.
~/.blender/2.56/scripts/startup works for auto-loading scripts too.
2011-03-21 12:35:49 +00:00