7c0d2ffb64
pep8 cleanup
2010-03-06 01:40:29 +00:00
29fc56b5bb
bugfix [ #21405 ] Error on loading of thumbnails from network renderer [27204]
2010-03-01 12:44:28 +00:00
0e18035f82
remove so-called security patch,
...
this has been used by various projects but needs to be justified since it wont remove paths that also resolve to the CWD, "." for instance.
2010-02-28 17:11:42 +00:00
3dd3e7321e
store vars in py operators in the instance rather then the operator classes.
2010-02-27 14:54:45 +00:00
10dbf6faee
rename extension to addon after discussion with meta-androcto & mindrones
2010-02-26 14:28:29 +00:00
03590eb8a9
allow cloth sim for linked duplicates, not many people use this but we need for using hair on linked characters, if there are bugs with this we'll need to fix so enabling for now with comments that its experemental.
2010-02-24 15:35:15 +00:00
97bdfe6f1b
pep8 cleanup + correction for external player operator return value.
2010-02-22 23:32:58 +00:00
2b9740bc3b
Made a more generic rig type for giving animators direct control over shape keys. With this rig type you can attach shape keys both to the transforms of the bone and any number custom properties on the bone.
2010-02-22 18:07:16 +00:00
bc3d96678d
bugfix [ #21233 ] Crash in pyapi, with new object.
...
pass the obdata as an argument rather then assigning later so as not to allow an invalid state.
2010-02-22 00:07:46 +00:00
b602c6b5fa
Better code to prevent loading scripts from .blender/scripts
...
Treat user defined script dir (where loading from base dir is ok) differently than system dirs, where we only want to load from specific subdirs.
2010-02-20 22:57:49 +00:00
1a07aa169e
temp workaround for blender loading 2.4x scripts in ~/.blender/scripts
2010-02-20 22:12:27 +00:00
65a4dafcff
fix for empty xyz axis text drawing ontop of everything.
2010-02-19 20:09:42 +00:00
c72ab0a39e
topology based mirror, (from apricot branch)
...
- correct errors with non-mirrored meshes
- mirror weight paint on asymmetrical meshes
2010-02-17 19:50:42 +00:00
768f20d537
update for missing docs & dont include operator classes in sphinx docs.
2010-02-16 15:01:34 +00:00
a789942219
ignore scripts that are loaded twice rather then raising an error.
2010-02-16 13:13:22 +00:00
27654953b1
Rigify:
...
Added a tail control rig.
For now, you have to manually hook the resulting controls up to a separate spline IK rig that you make by hand. Perhaps this can be automated in the future.
For anyone using this: keep in mind that you need separate armatures for the tail deformation bones and tail control bones. Otherwise you create a cyclic dependency like so:
tail deform bones <- spline object <- tail control bones
2010-02-15 16:46:24 +00:00
37858fd435
make it so an error registering/unregestering wont stop loading scripts, just print the error and continue
2010-02-15 12:43:25 +00:00
536e448e7a
[ #21141 ] boring segfault on F8/"reload scripts", 26878, backtrace
...
reloading bpy_types was causing reload to fail. also unregister all modules in the reverse order that they were loaded, so when reloading removed files done hang around.
2010-02-15 10:54:51 +00:00
677386e53a
initial support for extensions in the user preferences
...
only one script at the moment:
[#20848 ] Blender Gears for 2.5 (for ideasman42)
from Michel Anders (varkenvarken)
2010-02-14 23:33:18 +00:00
3871cb78bc
autocompete was matching import_foo as import keyword.
...
breaking autocomp. on import_scene_obj for eg.
2010-02-14 12:23:25 +00:00
39c04315e2
change python scripts so modules which register with blender have a register() function rather then making import automatically run the register functions (generally considered bad practice by python people)
2010-02-14 11:21:21 +00:00
5c9f10f673
Remove debug print
2010-02-12 22:02:10 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
8f4c340915
bpy.utils.home_paths, use this to get script paths for the user/local/system blender paths.
2010-02-11 14:08:22 +00:00
c2b2ccde45
fix for python not being able to call operators with a executuon context.
2010-02-10 11:10:38 +00:00
fb728addd2
Eh... stupid me. Left a duplicate main function in the rig type.
...
(Tail between legs, walks away shamefully.)
2010-02-03 15:44:19 +00:00
11ce6eb4d4
Added a new rig type "shape_key_transforms" that drives shape keys based on the local transforms of a single bone. Quite useful in a variety of situations.
...
Required options:
mesh: name of mesh object(s) to add/get shapekeys to/from
(if multiple objects, make a comma-separated list)
Optional options:
loc_<x/y/z>: name of the shape key to tie to translation of the bone
loc_<x/y/z>_fac: default multiplier of the bone influence on the shape key
rot_<x/y/z>: name of the shape key to tie to rotation of the bone
rot_<x/y/z>_fac: default multiplier of the bone influence on the shape key
scale_<x/y/z>: name of the shape key to tie to scale of the bone
scale_<x/y/z>_fac: default multiplier of the bone influence on the shape key
2010-02-03 15:40:56 +00:00
21f1625fd5
Updates to mouth rig. Old method didn't work well in combination with shape keys. This new method (effectively just weighting directly to the lip control bones) is much simpler, but also requires more manual weight painting to get it to look right.
2010-02-02 17:57:12 +00:00
039d087171
subtype support for properties in bpy.props.
2010-02-01 22:04:33 +00:00
7379e75e12
Fix loading python modules (like netrender)
2010-02-01 01:33:40 +00:00
fd3842f3a2
Mathutils doc improvements + other small things
...
- bpy.app moved into PyStructSequence (used by sys.float_info)
- added buildinfo into bpy.app.build_*
- bpy.ui removed (wasnt used)
- include external example files in Mathutils docs (only Mathutils and Vector are currently written)
- added support to auto document PyStructSequence's
- CMake had "'s inside all its strings.
2010-01-31 21:52:26 +00:00
95069f2909
pep8 changes
2010-01-31 14:46:28 +00:00
fbadf21b00
pep8 changes to rigify (minor warnings still there)
...
also found quite a few cases where variables were used that hadnt been defined.
2010-01-31 14:33:27 +00:00
22d8742f0d
white space commit, so the actual changes in the next commiy wont be so hard to find
2010-01-31 14:30:21 +00:00
026b5bacca
bugfix [ #20638 ] not loading script in user script directory when startup
2010-01-30 14:48:46 +00:00
ec48cbd267
utility functions is_negative_m3 & is_negative_m4, added python Mathutils access Matrix.is_negative
...
renamed Mathutils attribute wrapped -> is_wrapped
2010-01-30 13:15:39 +00:00
21b7556bf7
Add cfg folder for keyconfigs (and possibly others later) to be imported after everything else.
...
Also remove .pyc file when removing keyconfigs.
2010-01-28 21:52:07 +00:00
6f3dfe81c0
missed some files last commit.
2010-01-28 19:21:15 +00:00
18ea9b6443
move bpy.load_scripts --> bpy.utils.load_scripts
...
added sequencer strip length display in seconds
2010-01-28 11:48:06 +00:00
478dc000b3
* Mathutils attributes documented - http://www.blender.org/documentation/250PythonDoc/Mathutils.html
...
* Vector.difference() needed normalized vectors
* bpy.DEUBG -> bpy.app.debug
2010-01-27 21:33:39 +00:00
89cd4be1af
slice assignment wasnt running the properties update function (setting object layers wasnt working from py)
...
also commented operator subclassing, loosing py property order.
2010-01-27 17:23:28 +00:00
bffad18da8
[ #20046 ] 2.5 "bridge faces" tool doesn't delete original selection
...
remove this script, its not good enough, remove grease pencil retopo also.
2010-01-26 14:39:01 +00:00
fb8d6b9f7a
Rigify:
...
- Removed control-shape deformation bones from the spine rig (no longer necessary thanks to the new "custom shape at" feature).
- Various improvements to the mouth rig, including a corrective shape key for mouth-open.
- The new method of generating into the same armature object every time wasn't copying pose bone data in the process, such as rotation mode and transform locks.
2010-01-26 11:17:41 +00:00
3150e4ee12
update tagged objects in the scene after calling each operator, this makes running a set of recorded operators work as expected.
2010-01-26 08:41:16 +00:00
c91a0f8adf
make exception a bit nicer (since wiki docs dont make much sense how it was before)
2010-01-25 18:09:46 +00:00
ede3f0285d
Rigify now generates the rig into the same armature every time, so you don't have to re-hook-up things like armature modifiers, parenting, etc.
...
By default the generated rig object is named "rig". But you can add a custom "rig_object_name" property to the metarig to specify the name of the object to generate into.
2010-01-25 14:19:12 +00:00
0a0f4c9d81
Mathutils refactor & include in sphinx generated docs, (TODO, include getset'ers in docs)
...
- Mathutils.MidpointVecs --> vector.lerp(other, fac)
- Mathutils.AngleBetweenVecs --> vector.angle(other)
- Mathutils.ProjectVecs --> vector.project(other)
- Mathutils.DifferenceQuats --> quat.difference(other)
- Mathutils.Slerp --> quat.slerp(other, fac)
- Mathutils.Rand: removed, use pythons random module
- Mathutils.RotationMatrix(angle, size, axis_flag, axis) --> Mathutils.RotationMatrix(angle, size, axis); merge axis & axis_flag args
- Matrix.scalePart --> Matrix.scale_part
- Matrix.translationPart --> Matrix.translation_part
- Matrix.rotationPart --> Matrix.rotation_part
- toMatrix --> to_matrix
- toEuler --> to_euler
- toQuat --> to_quat
- Vector.toTrackQuat --> Vector.to_track_quat
2010-01-25 09:44:04 +00:00
265b9344ca
Forgot to rename use_return in this script as well.
2010-01-24 19:30:54 +00:00
9d96399eeb
- panel python template
...
- nicer syntax to capitalize words
2010-01-23 18:51:56 +00:00
3b09e73e58
- bugfix (user supplied fix) [ #20745 ] makesrna with rename error.
...
- error with last commit, length had an index arg.
2010-01-22 14:59:01 +00:00