Commit Graph

647 Commits

Author SHA1 Message Date
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
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
Campbell Barton a1abdf1c1c fix [#27778] Set Bone Flags - No Scale - Toggle seems not to work.
Toggling options on the selection is better done as a generic operator.
Replace ARMATURE_OT_flags_set and POSE_OT_flags_set with WM_OT_context_collection_boolean_set and use menus to access it with specific settings.

This way its easy make a key shortcut which toggles any boolean on any collection - sequences, metaballs, objects, bones etc.
2011-06-27 07:51:52 +00:00
Xiao Xiangquan 79c129647e right panel done 2011-06-24 04:22:27 +00:00
Campbell Barton fd60b73b7b fix [#27742] Smart UV project no longer works in 2.58
failed with active, unselected objects.
2011-06-24 04:12:01 +00:00
Campbell Barton 3cf2e6b7dc fix [#27747] Modal operator in Special Menu (W) ignores continues grab 2011-06-24 03:59:41 +00:00
Xiao Xiangquan b429af10d0 merge from trunk #37722 2011-06-24 03:30:50 +00:00
Joerg Mueller 11c0ee5c76 Merged with trunk r37717. 2011-06-21 21:10:36 +00:00
Campbell Barton eaae38551f pep8 compliance 2011-06-21 17:17:51 +00:00
Campbell Barton 6a039f1a5c fix [#27707] Script error for UVs->Copy Mirrored UV coords 2011-06-21 02:16:22 +00:00
Joerg Mueller 207911bdb3 Merge with trunk r37677 2011-06-20 22:55:18 +00:00
Xiao Xiangquan 9a2f36b50f handle SpaceType and UserPref popups 2011-06-20 10:07:46 +00:00
Campbell Barton 3ede710a3c fix for baking actions for objects with no animation data. 2011-06-16 07:48:22 +00:00
Campbell Barton b09bb948ee fix [#27658] Bake action operator error on non armature objects
add support for baking object transformations too, also add option to clear constraints (off by default).
2011-06-15 06:25:05 +00:00
Campbell Barton 62ba2d4c68 Changes to quick explode
- fix python error when the object had an empty material slot
- initialize start frame from the current frame
- set frame range to 300000 max (which is blenders own maximum)
- mesh order was arbitrary, instead use selected -> active, removed invert option.

also fix for missing include in bpy_extras.view3d_utils
2011-06-15 00:16:30 +00:00