Commit Graph

712 Commits

Author SHA1 Message Date
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
Xiao Xiangquan ed158eeeb9 update property strings cover. 461 new items 2011-08-18 15:53:30 +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
Xiao Xiangquan 18d95a8462 fix a small bug , and update language-packs 2011-08-16 16:58:35 +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
Tamito Kajiyama 4e0b1d9177 Merged changes in the trunk up to revision 39368.
Conflicts resolved:
release/scripts/startup/bl_ui/properties_render.py
2011-08-13 23:29:16 +00:00
Xiao Xiangquan 3a8c7be9e4 code clear, insert blf_gettext.c to blf.c 2011-08-12 13:43:21 +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
Xiao Xiangquan 465c3b82fa merge with trunk r39216 2011-08-10 14:32:03 +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
Tamito Kajiyama abc2e3efd1 Added a button to the UI of "Distance from Camera" color/alpha/thickness
modifiers to fill the Range Min/Max entries by the min/max distance between
selected mesh objects and the active camera.
2011-08-05 00:51:44 +00:00
Joerg Mueller 29f214f7f3 Merging up to trunk r38834. 2011-07-29 21:28:18 +00:00
Xiao Xiangquan 287b24926f merge with trunk r38787 2011-07-29 17:42:53 +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
Xiao Xiangquan fa46278e34 merge from trunk 38379 2011-07-14 17:29:53 +00:00
Xiao Xiangquan 470a5017fb complete space outliner, space node, space nla, etc. 2011-07-13 14:41:12 +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
Xiao Xiangquan b4c02ee722 finish user preference dlg's input handles 2011-07-08 04:32:45 +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
Xiao Xiangquan 9b8538c69c 3D view, graph editor, etc. done 2011-07-02 03:17:09 +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