Commit Graph

133 Commits

Author SHA1 Message Date
Daniel Salazar
b02f78ed02 Using multiline descriptions like this:
"""                                                                                              
    Fixes the most common causes of gimbal lock in the fcurves of                                    
    the active bone.                                                                                 
    """
is causing bad glitches (boxy characters) on the tooltips..
2010-02-14 07:05:50 +00:00
Joseph Eagar
a81030a95e Added a euler filter script, to filter out discontineouities in euler curves (e.g. where curves randomly have -/+ multiples of 360 offsets in sections). To use, select a curve in the fcurve editor and do Channel->Discontinuity (Euler) Filter. Note, will only work on euler rotation curves, won't do anything on anything else. 2010-02-14 03:18:43 +00:00
Daniel Salazar
8f0b1acae2 Align Objects operator: Added align relative to Active object 2010-02-13 23:29:26 +00:00
Campbell Barton
081c1205a3 correct fsf address 2010-02-12 13:34:04 +00:00
Campbell Barton
912fdcacab button to save edited textures in texture paint 2010-02-12 11:34:25 +00:00
Daniel Salazar
bb4f77ffe3 Align Objects operator: added selection center as align center 2010-02-12 05:02:29 +00:00
Daniel Salazar
6b01ab5e23 Align Objects operator: adds option to align relative to 3D cursor as
well as Scene Origin
2010-02-12 01:03:22 +00:00
Daniel Salazar
f0e873cabe New Align Objects operator. Currently it has very little functionality but
already does alignment operations that are very hard to do manually
2010-02-11 23:27:34 +00:00
Daniel Salazar
bc5f81ee3c Clean up of tooltips in py operators and better operator name for
randomize transform
2010-02-11 23:13:47 +00:00
Campbell Barton
157a694607 - select active camera operator
- calling menu use exec rather then invoke
2010-02-11 21:17:05 +00:00
Daniel Salazar
526da4f686 Killing more dots! 2010-02-10 22:18:00 +00:00
Daniel Salazar
c2b8626856 Fix for bug [#21015] Render Panel Presets do not remember fields
setting. New presets will remember field settings but I didnt change
existing presets since I think this could be dangerous.
2010-02-10 16:43:43 +00:00
Campbell Barton
19b5cc3d16 make dupliface rotation was wrong. 2010-02-10 16:40:02 +00:00
Campbell Barton
358c956637 make dupliface operator (access from object menu)
scene.object.link() now returns the new ObjectBase
2010-02-10 16:10:47 +00:00
Daniel Salazar
6d833bced2 Better default resolutions for UV Sphere and Torus primitives (nice square
faces)
Torus is generated flat shaded like the rest of primitives for easier
tweaking of resolution and consistency with the rest of the primitives
2010-02-09 21:05:59 +00:00
Joerg Mueller
6c8e3e303d 2.5 Audio:
- Python script to crossfade two sound strips in the sequencer
- Fix for the libsamplerate code producing awful audio when resampling sequencer strips
- Changed default resampler to a linear one (as temporary workaround for a bug that seems to be in the samplerate code)
- Fix for the OpenAL device to return a more accurate playback position
2010-02-08 14:43:44 +00:00
Joshua Leung
f99d06bc83 Patch #21011: Tweaks to Sky/Atmosphere presets
Patch by Daniel Salazar - ZanQdo

- Do not change save the distance factor since this is not relevant as a preset, it should stay at what ever the user
set it to work with that particular scene
- fixed a tooltip
2010-02-07 22:26:37 +00:00
Campbell Barton
6d38010cc5 sunsky presets
* Mountain: low turbidity, well-defined sun, blue-ish (high sun energy)
* Desert: high turbidity (dust), big, diluted sun, red-ish
* Classic: average turbidity (water vapor), small, diluted sun.

also fixed a bug with saving string presets
2010-02-07 13:56:36 +00:00
Joshua Leung
3fb8939870 Patch/Bugfix #20997: Recent commit to object_randomize_transform.py by Cam added some garbage to a variable name making the script fail
Patch by Daniel Salazar (ZanQdo)
2010-02-07 11:53:00 +00:00
Campbell Barton
a1d2b84222 patch [#20910] Support for exporting UV layouts to EPS files
also improved this so visible UVs are exported unless 'All UVs' is enabled, taking into account local-view and mesh face selection.
2010-02-05 15:20:12 +00:00
Campbell Barton
2973ffbb49 add menus for vertex group and shape key panels, functionality wasnt communicated well with icons and getting cluttered.
also made 'transfer shape' script copy into the active object to match 'join as shape', which was quite confusing before.
2010-02-05 14:29:05 +00:00
Campbell Barton
02dc4e9748 shape key transfer
- use the shape key basis for applying relative vertex locations
2010-02-02 12:04:03 +00:00
Campbell Barton
039d087171 subtype support for properties in bpy.props. 2010-02-01 22:04:33 +00:00
Campbell Barton
7bd3d1213a shape key transfer fix.
workaround for the vert locations not being relyable, use the base shape key rather then the verts to calculate the offsets.
2010-02-01 15:09:35 +00:00
Campbell Barton
95069f2909 pep8 changes 2010-01-31 14:46:28 +00:00
Campbell Barton
27f715052a minor corrections to scripts 2010-01-29 15:20:25 +00:00
Campbell Barton
e85a023480 bugfix [#19681] adjusting the settings of the 'add torus' tool in edit mode 2010-01-29 15:19:19 +00:00
Campbell Barton
ccfd67a8d0 missed updating reload scripts 2010-01-28 17:50:50 +00:00
Matt Ebb
904665f15b [#20728] "Export UV Layout" overwrites existing files (without feedback)
The 'save over' popup was only appearing based on a string comparison of the operator name ("Save"). Changed this to use a hidden operator property: "check_existing". Python operators must 
have this property for the file selector confirmation too.

This property can also be set to false, to prevent checking for existing files, useful in the File->Save menu item to prevent the dangerously missable confirmation popup.
2010-01-27 02:20:24 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
f0d89a041f bugfix [#20774] ctrl+alt+f switches to Object mode if you are in local view 2010-01-22 21:57:41 +00:00
Campbell Barton
09424badda bugfix [#20726] "Export UV Layout" creates invalid SVG files
- use xml.sax.saxutils.escape() to give an XML compatible string.
- in some cases material indicies could be invalid. use the default material rather then throwing an error.
2010-01-20 11:08:50 +00:00
Campbell Barton
9396bb2da9 - AIX ifdef's so windows works, cant test but this seems the most used define. might need to add to buildsystem config.
- transform default scale was too hight, calls to random were inconsistant. (fault of own modif's)
- cmake openal include was added twice on recent commit.
2010-01-19 15:57:02 +00:00
Campbell Barton
c02b26e463 convert rotations into radians (not scale) 2010-01-19 09:51:09 +00:00
Campbell Barton
8ae76d7249 pep8 compliance for Randomize objects loc/rot/scale.
- scale min -1 to 1 rather then -100 to 100
- default precision for float props to 2.
2010-01-19 09:36:40 +00:00
Campbell Barton
98312235b0 own error from changes to this script.
need to call random.uniform() even if its not used to give pradictable randomization.
2010-01-19 09:24:39 +00:00
Campbell Barton
849024df83 patch [#20724] Randomize Loc Rot Size py operator for B2.5
written from scratch by Daniel Salazar (zanqdo). added own modifications.

New property type
 bpy.props.FloatVectorProperty(), only difference with float is it takes a 'size' argument and optional 'default' sequence of floats.

moved bpy.props.* functions out of bpy_rna.c into their own C file.
2010-01-19 00:59:36 +00:00
Campbell Barton
3ff987c46a bugfix [#20688] Mesh with no materials fails to export UV layout 2010-01-15 12:21:33 +00:00
Campbell Barton
aed721e01c [#20685] Fixed: cleaned up descriptions, removed unrelated comments in code
from Jaevixa McNomera (jaevixa)
2010-01-15 10:02:02 +00:00
Matt Ebb
085795e356 Fix [#20514] In sculpting mode is possible to use page down/up to exceed the actual multiresolution level 2010-01-15 05:00:02 +00:00
Campbell Barton
6f8ee9b0f9 patch [#20673] Fixed descriptions in Torus mesh controls, and added some requested controls
from Jaevixa McNomera (jaevixa)
2010-01-14 22:45:56 +00:00
Campbell Barton
dd9b6cbddd uv layout svg files were not importing into inkscape or firefox (gimp worked) 2010-01-14 14:33:05 +00:00
Campbell Barton
f8518a9b26 UV layout
- set the width of the line to be 1 pixel
- add the object name onto the blendfile name.
2010-01-14 14:26:39 +00:00
Campbell Barton
231d29ccce Join as UVs.... (copies matching UVs to another object with the same topology)
nice that it uses foreach_get/set for fast array copying from python.

note: this is getting out of hand, we beed some central panel/interface for copying mesh data about - shapes, UVs weights etc. at the moment they are accessed from all different places.
2010-01-14 14:06:27 +00:00
Campbell Barton
27dc5be730 - when the image is available export the SVG with the pixel width and height, saves typing into the gimp each time.
- option to only export selected faces.
- add in some metadata from the scene
2010-01-13 19:53:34 +00:00
Campbell Barton
ef5ab2b8e9 UV Layout export, writes an SVG, uses material colors. 2010-01-13 19:00:18 +00:00
Campbell Barton
58f13d469e UV mirror tool (copies UVs from one side of the mesh to the other)
WIP, suffers from editmode bug where editmode python tools cant have redo-options set. and needs options for precission.
2010-01-13 17:58:26 +00:00
Campbell Barton
c723251cc0 rename rig types not to have generic in the name (Cessens decission) 2010-01-10 18:59:32 +00:00
Campbell Barton
08c9ecb3b0 RNA/Py API
change how data is added. eg.
 bpy.data.add_mesh(name) --> bpy.data.meshes.new(name)
 bpy.data.remove_lamp(lamp) --> bpy.data.lamps.remove(lamp)


image and texture stil use add_* funcs
2010-01-09 23:44:01 +00:00