Campbell Barton
7500f4cd48
fix for misc py errors + some pep8 edits.
2011-09-08 05:42:44 +00:00
Campbell Barton
b20c9b0ba3
minor edits, pep8 - also correct float -> double promotion for blf.
2011-08-30 10:49:58 +00:00
Joerg Mueller
43ab8e8624
* Merge trunk up to r39790.
...
* Subversion bump (also for init_userdef_do_versions).
* Minor fix for compilation without ffmpeg.
2011-08-30 08:22:03 +00:00
Campbell Barton
d049a722fe
fix [ #28413 ] bpy.ops.nla.bake can't bake from frame 0
2011-08-30 04:13:48 +00:00
Joerg Mueller
f0d5abfcb2
Merging trunk up to r39637.
2011-08-22 20:31:46 +00:00
Campbell Barton
5394cabe24
remove workaround for bug in python 3.2.0 loading web pages on *nix
2011-08-22 11:54:40 +00:00
Campbell Barton
1324173e99
pep8 edits and change '!= None' to 'is not None'
2011-08-22 09:01:49 +00:00
Campbell Barton
aa7545b0ea
patch [ #28320 ] Small change to trunk needed for Motion Capture Addon - GSoC 2011 - Pepper Branch
...
from Benjy Cook (benjycook)
2011-08-22 08:47:48 +00:00
Campbell Barton
90d19ad883
py style change only - make property definitions consistent
2011-08-19 19:25:20 +00:00
Campbell Barton
feb8318143
fix for undo issues with generic, multi-purpose WM_OT_context* operators, operators now check if they modify certain ID data (not screne, wm, brush or scene) and only do undo in those cass.
...
- Zkey to switch shading was pushing undo's.
- Wkey to interactively edit camera, lamp settings wasnt doing an undo push when it should.
- Toggling settings (such as bone boolean options) now skips an undo push if there are no items selected.
2011-08-18 16:01:11 +00:00
Campbell Barton
aa4d5ccbed
more minor changes to wm.py, get data_path's once at the start of each func and some minor style changes.
2011-08-18 15:25:18 +00:00
Campbell Barton
2bd016fe3f
formatting edits, no functional changes.
2011-08-18 12:20:10 +00:00
Joerg Mueller
23807d1fb4
Merging trunk up to r39447.
2011-08-16 14:11:58 +00:00
Campbell Barton
65ca89180a
fix [ #28227 ] join_uv and bake work wrong
...
added back ability to unwrap all selected mesh objects.
2011-08-15 16:25:05 +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
ef18ec335f
svn merge -r39145:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-11 05:04:01 +00:00
Campbell Barton
0207d9ce27
style change, harmless changes while looking into bug [ #28196 ]
2011-08-09 19:59:01 +00:00
Campbell Barton
22d2764d50
use static sets rather then tuples, python optimizes this case.
...
minor change to lightmap unpack collecting unique meshes.
2011-08-08 05:21:37 +00:00
Campbell Barton
0160901c90
- update X3D and FBX testing checksums
...
- building with GHOST/SDL now adds the PREFIX
- image.external_edit operator errors out if the filepath isnt set (was annoying and loaded gimp while running tests)
2011-08-08 03:31:25 +00:00
Joerg Mueller
29f214f7f3
Merging up to trunk r38834.
2011-07-29 21:28:18 +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
722474a7ea
fix [ #28095 ] Select Pattern don't select all the bone in edit mode
...
& some style changes.
2011-07-28 07:55:09 +00:00
Campbell Barton
e2522cead2
report an error when user blender versions other then 2.4x for animation playback.
2011-07-28 05:09:31 +00:00
Campbell Barton
e882925b49
more vector order switching.
2011-07-25 09:31:39 +00:00
Campbell Barton
799714fbc9
minor edits to animation playback operator
...
- remove own copyright from script
- print command before executing (helps troubleshooting)
2011-07-25 07:14:54 +00:00
Campbell Barton
4f4eeb826a
style changes for operator scripts & some pep8 edits.
2011-07-25 06:40:16 +00:00
Campbell Barton
6065390f4c
fix for DingTo's recent commit with the animation player, it ignored the case where the player is not an absolute path but found in the users $PATH (as is common on *nix systems).
...
now try and execute player, reporting the exception rather then checking the player file exists.
also made some pep8-80 style edits.
2011-07-25 06:38:21 +00:00
Campbell Barton
a07d7edb82
swap vertor multiplication order for add torus.
2011-07-25 06:09:39 +00:00
Campbell Barton
d4552034c6
edits to quick effects scripts
...
- use uv layer data api rather then operator.
- switch vector rotation order.
- made some style changes, use 80 width.
2011-07-25 05:54:32 +00:00
Campbell Barton
3e91de7ffd
External image operators.
...
- use bpy.data.is_saved (was using a workaround from when before this attribute was added)
- fixed a bug where editing relative paths could fail.
2011-07-25 05:10:44 +00:00
Campbell Barton
ced8f1dffc
deprecate multiplication orders:
...
vector * matrix
vector *= matrix
vector * quaternion
vector *= quaternion
Use the reverse order instead, enable WITH_ASSERT_ABORT in cmake to promote the warnings into errors.
2011-07-25 01:44:19 +00:00
Thomas Dinges
39edc53558
2.5 External animation player:
...
* Fixed an error when "Custom" was used and the path was empty (variable reference before assignment)
* The Operator now raises an error if there is no path or the path given is not available.
2011-07-23 21:45:22 +00:00
Joerg Mueller
682cc63161
Merging with trunk up to r38631.
2011-07-23 16:34:30 +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
Joerg Mueller
4532bd731d
Merge with trunk up to r38584.
2011-07-21 21:11:58 +00:00
Campbell Barton
4ad43aaf16
added bpy.path.basename because "//" prefix breaks os.path.basename.
2011-07-20 08:10:01 +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
ce00a32f05
fix [ #27996 ] Smart UV Unwrap Still Results in Overlaps
...
real fix this time :S, I thought using old code from 2.4x would fix but quaternion needed to be inverted.
2011-07-18 06:44:41 +00:00
Joerg Mueller
d9cf985730
Merging trunk up to r38329.
2011-07-12 13:09:22 +00:00
Campbell Barton
dbc9e36f72
make python3.3 compatible, __class__ is no longer in the class methods namespace.
2011-07-11 05:50:49 +00:00
Campbell Barton
b62a956cc8
cleanup for python scripts - unused vars and imports
2011-07-10 12:51:37 +00:00
Campbell Barton
357afe06bc
fix issue raised by [ #27819 ] Unwrap Menu (U) -> Lightmap Pack throws Python Exception. But use a different fix.
2011-07-08 03:07:51 +00:00
Benjy Cook
46f938e70b
Added baking/unbaking functionality to constraint system. Retargeting now adds/manages 2 new NLA Tracks as planned. Modified bl_operatores/nla.py slightly to use it instead of creating my own bake function (now supports baking to a specific action, vs always creating a new one), but this does not break using the function in the old way.
2011-07-07 20:46:35 +00:00
Joerg Mueller
3f3c6f5f1f
Merging from trunk up to r38119.
2011-07-05 13:54:25 +00:00
Campbell Barton
dcd8933b95
quick explode failed if executed with no active object
2011-07-01 13:26:20 +00:00
Campbell Barton
590682bac1
uv mirror poll function wasnt checking UV's were available on the mesh.
2011-07-01 13:25:00 +00:00
Campbell Barton
66b565a376
improve error report [ #27775 ] External Image Editor Preference does not work
...
also correct tooltip typo.
2011-06-30 04:32:59 +00:00
Campbell Barton
b4682414c2
fix [ #27787 ] Smart UV Unwrap Results in Overlaps
...
added optional face area weighting (from 2.4x) since this can result in overlapping faces.
2011-06-28 06:51:55 +00:00