7493848008
3D View: remove 3D cursor
...
Use 3D cursor from the scene (was previously used for local-view).
2018-11-26 14:02:09 +11:00
fb4c2ed1a9
Fix T57892: Align Objects in Blender 2.8 Alpha 2 last Builds.
...
Needed some update for API changes...
2018-11-20 22:14:00 +01:00
4b6fa4d897
PyAPI: update scripts for matrix multiply operator
...
Operators:
- add torus
- align objects
- bake physics
- make dupli faces
- smart project
Templates:
- 3D view ray cast
Other:
- Methods for bones/edit-bones
2018-08-12 15:22:58 +10:00
09aa799e53
PyAPI: Use annotations for RNA definitions
...
- Logical use of fields since they define type information.
- Avoids using ordered-dict metaclass.
Properties using regular assignments will print a warning and load,
however the order is undefined.
2018-07-11 22:18:09 +02:00
532c8ac583
Cleanup: pep8 function indentation
2018-06-26 19:58:56 +02:00
58ba89b5be
Fix T54075: Align Objects fails w/ empty mesh
2018-02-15 11:33:47 +11:00
6981861fcf
Cleanup: Python context access
...
Avoid access from bpy when it's already declared.
2018-02-07 15:47:54 +11:00
ad7fb1c028
Cleanup: Python imports
...
Split over lines to diff more easily.
2017-11-29 18:05:41 +11:00
76e7c039ec
Fix T52140: Align objects centers using origin for text
...
The issue was caused by operator redo which frees all object's evaluated data,
including bounding box. This bounding box can not be reconstructed properly
without full curve evaluation (need to at least convert font to nurbs, which is
not cheap already).
2017-09-13 17:40:11 +05:00
7cb2974182
Cleanup: imports, indentation, long lines
2017-03-25 11:07:48 +11:00
9bdda427e6
PyAPI: remove bpy.utils.register_module()
...
In preparation for it being removed, see: T47811
2017-03-18 20:03:24 +11:00
c783e65762
Fix/add some tooltips to 'Object Align' operator options.
2016-08-17 21:24:13 +02:00
ef7791ff20
Fix for object align not using local view cursor
2016-02-26 08:21:29 +11:00
c07a11b83b
Fix object align crash (use-after-free)
2015-06-03 13:42:44 +10:00
847ec075eb
Cleanup: pep8
2015-05-17 17:26:01 +10:00
b50c6e3f6f
Object Align Operator: Make it use modifiers in high quality bounding box calculation
2015-05-01 16:17:23 -06:00
8445a56b48
use more conventional names in rigid body script.
2013-01-28 12:15:50 +00:00
fd35d42bf4
code cleanup: dont use 'bpy.context' when 'context' is available
2013-01-23 07:52:31 +00:00
63810ffcef
Style edit (mostly), use """ for docstrings (not ''').
...
Should also fix the broken py ops tips...
2012-07-03 09:02:41 +00:00
9a51266f35
fix for align objects with non mesh objects.
2011-10-07 20:53:54 +00:00
90d19ad883
py style change only - make property definitions consistent
2011-08-19 19:25:20 +00:00
b374ab919a
import common classes from bpy.types, saves ~1000 python getattrs on startup.
2011-08-12 06:57:00 +00:00
2658949752
pep8 cleanup, also print message when attempting to run in animation player mode.
2011-07-29 01:24:03 +00:00
e882925b49
more vector order switching.
2011-07-25 09:31:39 +00:00
4f4eeb826a
style changes for operator scripts & some pep8 edits.
2011-07-25 06:40:16 +00:00
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
fd7825e7dc
Speedup, do only one global matrix grab per obj
2011-07-19 15:30:19 +00:00
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
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
b62a956cc8
cleanup for python scripts - unused vars and imports
2011-07-10 12:51:37 +00:00
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