Commit Graph

3813 Commits

Author SHA1 Message Date
Campbell Barton
520778163d interface + naming improvements to vertex wright modifier
- WeightVG -> Vertex Weight
- mapping_mode -> falloff_type
- nicer layout for VertexWeightModifiers add/remove options
2011-09-07 07:46:26 +00:00
Bastien Montagne
bac64b39e9 Merging r39948 through r39988 from trunk into vgroup_modifiers. 2011-09-07 05:40:12 +00:00
Sergey Sharybin
32287bebe8 New grease pencil mode: poly line drawing
- It's like sketch mode for lines, but you're specifying line knots
  by clicking on position you want to add next knot.
- View can be navigated between knots creation.
- Holding LMB down and sliding mouse will lead to new segment preview
  so it can be created more accurate.

Additional change: fixed GP->Bezier conversion. Last point used to
                   be ignored in this operator.
2011-09-06 08:30:17 +00:00
Bastien Montagne
4393df9320 VGroup Modifiers: added mapping options to proximity and edit.
*Added Smooth/Sharp/Root/etc. mappings to WeightVGEdit modifier, in addition to custom curve one.
*Added Smooth/Sharp/Root/etc. mappings to WeightVGProximity modifier, without the custom curve one!
*Factorized the common mapping code into MOD_weightvg_util.
2011-09-05 16:16:00 +00:00
Campbell Barton
2c740a9b5e rename vertex group mix "vgroup, vgroup2" to "vgroup_a, vgroup_b"
also clamp more values between 0.0 and 1.0
2011-09-05 04:53:23 +00:00
Campbell Barton
5fd8ffd242 - mask_tex_map_obj --> mask_tex_map_object
- dont allow negative min distances
2011-09-05 03:26:49 +00:00
Bastien Montagne
e4fd20c20c Merging r39652 through r39842 from trunk into vgroup_modifiers. 2011-09-01 17:49:57 +00:00
Xiao Xiangquan
981f7fcd0d merge with trunk r39834 2011-09-01 15:08:32 +00:00
Joshua Leung
f940e5fdd9 Feature Request #28449: Pose Library poses can be renamed from
Properties Editor
2011-09-01 10:56:16 +00:00
Thomas Dinges
0de9af375b 2.5 Game UI:
*Fix for clutter after pepper merge, 3 booleans in one row, is 1 too much here ;-)
2011-08-30 12:45:56 +00:00
Thomas Dinges
047e8224b1 Fix for my last commit. 2011-08-30 11:31:48 +00:00
Campbell Barton
b20c9b0ba3 minor edits, pep8 - also correct float -> double promotion for blf. 2011-08-30 10:49:58 +00:00
Thomas Dinges
6c9ee34dd8 2.5 UI Files:
* Code cleanup after Pepper merge.
2011-08-30 10:44:02 +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
5bac37f6d4 * Reverting Titlecard commit r37537
* Reverting update recent files commit r37155
* Turning reference counts into unsigned ints
* Minor things
2011-08-29 15:01:55 +00:00
Peter Schlaile
c07bd1439a == Sequencer ==
This patch adds:

* support for proxy building again (missing feature from Blender 2.49)
  additionally to the way, Blender 2.49 worked, you can select several
  strips at once and make Blender build proxies in the background (using
  the job system)
  Also a new thing: movie proxies are now build into AVI files, and
  the proxy system is moved into ImBuf-library, so that other parts
  of blender can also benefit from it.
  
* Timecode support: to fix seeking issues with files, that have
  a) varying frame rates
  b) very large GOP lengths
  c) are broken inbetween
  d) use different time code tracks
  
  the proxy builder can now also build timecode indices, which are
  used (optionally) for seeking.
  
  For the first time, it is possible, to do frame exact seeking on
  all file types.
  
* Support for different video-streams in one video file (can be
  selected in sequencer, other parts of blender can also use it,
  but UI has to be added accordingly)

* IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since
  older versions don't support the pkt_pts field, that is essential
  for building timecode indices.
  
  Windows and Mac libs are already updated, Linux-users have to build
  their own ffmpeg verions until distros keep up.
2011-08-28 14:46:03 +00:00
Joerg Mueller
b4b046995b * Removing mocap GSoC (is an addon already).
* Fixing ffmpeg-0.8 errors.
* Fixing Ketsji paths.
* Removing DoSound from BGE.
* Fixing audio scene update to use only current scene objects.
2011-08-28 14:21:44 +00:00
Sergey Sharybin
752cb7485d Do not show confirm message when creating text block from menu. 2011-08-27 12:01:01 +00:00
Campbell Barton
a9dea3afe9 correct missing bpy doc references. 2011-08-26 18:48:48 +00:00
Campbell Barton
291ae8822d executing operators that changed the context from the console wasnt returning an operator set/flag. 2011-08-25 17:59:37 +00:00
Campbell Barton
9a9513a9f0 fix for 3 bugs in bone renaming
- renaming a bone could crash if the area had to spaces in it (reported by Sebastian Koenig).
- renaming bones wouldn't  update inactive 3d views locked bone names.
- selecting locked bones in the UI didnt work in editmode.
2011-08-23 19:58:15 +00:00
Bastien Montagne
e890469073 Merging r39486 through r39651 from trunk into vgroup_modifiers. 2011-08-23 12:45:35 +00:00
Thomas Dinges
4740dce4ec Revert a part of 39385.
Vertex Select Button got somehow into the Mesh panel.
2011-08-22 22:26:25 +00:00
Joerg Mueller
f0d5abfcb2 Merging trunk up to r39637. 2011-08-22 20:31:46 +00:00
Morten Mikkelsen
6a374d266d glsl and render support for derivative maps 2011-08-22 19:57:54 +00:00
Joerg Mueller
a71c215f22 3D Audio GSoC:
Final GSoC commit.

* Bugfix: Negative frames crashed
* Bugfix: JOS sample buffer size prediction error (wasted memory)
* Optimisation: for JOS upsampling (around 12 % difference measured here)
* Optimisation: Better filter for JOS resampling
* Bugfix: Error in relative 3D audio code.
* Removed Attenuation
* Bugfix: Multiple scenes in BGE lead to errors, BGE audio now all relative, to support multiple scenes.
2011-08-22 18:59:56 +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
Joshua Leung
a594196dc0 Bugfix: "Filters" toggle was being shown in Action Editor too, where
it was irrelevant
2011-08-22 02:30:43 +00:00
Joshua Leung
06ae5e4825 Reshuffling DopeSheet filter icons so that they appear more obviously
related to each other
2011-08-22 02:14:39 +00:00
Campbell Barton
90d19ad883 py style change only - make property definitions consistent 2011-08-19 19:25:20 +00:00
Jason Hays
c58fb76f1a Merged 39338-39558 2011-08-19 17:15:30 +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
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
Bastien Montagne
58af2c36ac vgroup_modifiers: Removed (commented out, for now) addtionnal mapping/clamping options in WeightVGEdit mod, leaving the only curve mapping stuff.
Also, updated all three modifiers with new foreachTexLink walking func.
2011-08-17 13:07:51 +00:00
Bastien Montagne
236a94268e Merging r39199 through r39485 from trunk into vgroup_modifiers. 2011-08-17 11:11:43 +00:00
Benjy Cook
78b147fbc2 Commenting and pep8 compliance 2011-08-17 10:13:24 +00:00
Benjy Cook
0b7911cf0a Small change that improves usability to advanced retargeting 2011-08-16 19:12:36 +00:00
Thomas Dinges
2cece7b221 Bugfix for [#28258] [UV editor] missing snapping option.
*Added back "snap_target" as we had in 2.4x.

I removed the "snap_element" though, as only Vertex Snapping is supported in the UV Image Editor.
2011-08-16 17:43:39 +00:00
Xiao Xiangquan
18d95a8462 fix a small bug , and update language-packs 2011-08-16 16:58:35 +00:00
Joerg Mueller
87efb89901 Py fix for trunk to pepper merge. 2011-08-16 14:43:04 +00:00
Joerg Mueller
23807d1fb4 Merging trunk up to r39447. 2011-08-16 14:11:58 +00:00
Daniel Salazar
f0259542e1 Front/Back togles should not disable when curve is 2D and bevel object is used
http://www.pasteall.org/pic/show.php?id=16449
2011-08-16 12:37:23 +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
Joshua Leung
cbbbf31315 Restoring "Clear User Transforms" operator
This can now be found as Pose -> Clear Transforms -> Reset Unkeyed, or
via the operator search (known by its old name there)
2011-08-15 13:24:53 +00:00
Benjy Cook
c8ae881b61 Added option to each retargeted bone to fix twist issues caused by variable bone rolls and unknown axis differences. Also made retarget operator a single undo 2011-08-15 10:18:02 +00:00
Benjy Cook
3237f39243 Small fix to autoloop due to changes in utility function by animation stitching 2011-08-15 10:17:04 +00:00
Campbell Barton
551e8bc72c py api - optional sep argument for bpy_extra.io_utils.unique_name() since for some formats '.' is an invalid char. 2011-08-15 04:58:19 +00:00
Sergey Sharybin
8490d646b7 Fixing bug with editing keymaps when filter is enabled. 2011-08-14 09:12:43 +00:00
Campbell Barton
0b23d378fb fix [#28225] Solidify Modifier creates wrong results when vertex group is attached
infact this is not really a bug, irrespective zero vertex group weights gave overlapping geometry which isn't useful, add an option to set the thickness factor for zero weighted verts.
2011-08-14 06:43:58 +00:00
Campbell Barton
fc128c970b - recently restored sequencer change data operator didnt reset the offsets after a hard cut, causing the new data to be trimmed.
- add change data operator to strip panel next to image file properties since editing every image manually isnt really usable.
- added new sequencer operator "Clear Offsets" (Alt+O), useful to reset the start/end frames around the strip data.
2011-08-14 03:59:22 +00:00
Benjy Cook
2fef8f13f0 Added argument to retargeting - step size. Allows retargeting every other 'step' frame, useful for previewing or faster retargeting. 2011-08-13 18:46:34 +00:00
Thomas Dinges
65d9d2e3e0 2.6 UI Files:
* Code cleanup in the space_*.py files.
* Removed layout.column() statement in _MT_ panels, they are useless.
* Only define variables at the beginning of a function!
2011-08-13 17:52:13 +00:00
Benjy Cook
aaeb498c26 Added a small operator to ease mapping. When used, the hierarchy mapping field is filled with the currently selected (pose) bone. 2011-08-13 11:09:42 +00:00
Mitchell Stokes
c5ef9b62c1 BGE Animations: Adding an option to let users choose whether or not to lock animation updates to the framerate. If this option is enabled, animations are only updated at the same speed as the animation framerate. This can give a significant speed up in performance, but at the cost of smoothness in animations. I'm defaulting this behavior to off for now, which is the behavior seen in trunk. 2011-08-12 20:53:29 +00:00
Benjy Cook
24b18fd154 More work on Advanced Retargeting and some stride bone bugs 2011-08-12 18:10:31 +00:00
Jason Hays
c57d64468b Merged 39257-39338 2011-08-12 15:48:08 +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
8fd246cb70 add bpy.types as a module for convenient imports, eg:
from bpy.types import Menu
2011-08-12 06:31:39 +00:00
Campbell Barton
ada88c8d8e sequencer todo: change sequence added back (C key)
split up into operators
- change effect input
- change effect type
- change file data

Change plugin is not ported back yet.
2011-08-12 06:08:22 +00:00
Benjy Cook
f1a8c26aa3 Additional work on animation stitching, now with auto-guess capability. Only a few bugs left, regarding animations translation 2011-08-11 16:46:27 +00:00
Benjy Cook
05b7ccb736 Optimizations following intensive profiling of retarget and other lengthy functions. Retargeting now takes ~30% less time 2011-08-11 14:50:19 +00:00
Benjy Cook
87e9c0ffaa Advanced Retargeting option: If the end user armature is complex, on the level of Sintel/Mancandy rigs, the user is requested to mark Advanced Retargeting, and constraints will be semi automatically configured to retarget the animation and then Retargeting will bake and remove these constraints 2011-08-11 13:47:49 +00:00
Joerg Mueller
fee7337249 3D Audio GSoC:
Adding a mono flag to mixdown non-mono sounds for 3D audio.

* Added mono sound loading.
* Bugfix: AUD_COMPARE_SPECS usage was wrong.
* Bugfix: JOS resampler = instead of ==.
* Bugfix: Change of a sound should apply settings in AUD_SequencerHandle.
* Bugfix: Memory leak when canceling open sound operator.
2011-08-11 11:41:24 +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
Benjy Cook
fba1f50d0a Mostly finished implementation of animation stitching, with lock bone functionality, allowing the user to choose a bone that maintains its position during the blend 2011-08-10 20:37:57 +00:00
Benjy Cook
1eaeaf8cd8 Fix for previous commit, now a fake user flag is added when switching between retargeted animations, so they don't get lost on save 2011-08-10 20:36:52 +00:00
Benjy Cook
b5d556d432 Initial programming of stitch animation operator. WIP 2011-08-10 18:41:04 +00:00
Benjy Cook
8afad10f98 Continued changes to storing of retargeted animation data, making it possible to easily switch between all retargeted clips, and stitch them with the future operator 2011-08-10 18:40:14 +00:00
Jason Hays
e21ba299d6 Merged 39182-39257 2011-08-10 15:55:33 +00:00
Xiao Xiangquan
465c3b82fa merge with trunk r39216 2011-08-10 14:32:03 +00:00
Nathan Letwory
3758f125fc Fix for incorrect parameter amount. 2011-08-10 09:30:45 +00:00
Campbell Barton
036077ebc6 fix for error in template 2011-08-10 09:16:35 +00:00
Campbell Barton
0207d9ce27 style change, harmless changes while looking into bug [#28196] 2011-08-09 19:59:01 +00:00
Campbell Barton
22694c993a fix [#28186] textboxes properties not animatable 2011-08-09 14:50:40 +00:00
Campbell Barton
da6bc69ca9 fix [#28191] Exception when enabling a script for a newer Blender build 2011-08-09 14:16:22 +00:00
Joerg Mueller
a672ab5e73 3D Audio GSoC:
Improved waveform drawing in the sequencer.

* Drawing the waveform of a sequencer strip is now independent from whether the sound is cached or not.
* Improved drawing of the waveform in the sequencer (especially speed!).
* Making it possible to vertically zoom more in the sequencer to better see the waveform for lipsync.
* Fixed a bug which crashed blender on loading a sound file via ffmpeg.
2011-08-09 14:10:32 +00:00
Thomas Dinges
2dfc51388c Blender 2.59:
* Update the readme file
* Update link to release logs, they point to http://www.blender.org/development/release-logs/blender-259/ now
2011-08-09 07:33:51 +00:00
Bastien Montagne
97d4240911 Merging r38818 through r39198 from trunk into vgroup_modifiers. 2011-08-08 21:28:51 +00:00
Bastien Montagne
e2c24bac6c vgroup_modifiers: Now clamping output values to [0.0, 1.0] range (and added min/max mapping values for Prowimity modif). 2011-08-08 21:12:51 +00:00
Jason Hays
26301bfea8 Merged 38822-39182 2011-08-08 14:01:21 +00:00
Benjy Cook
60eec89cda Created property systems for multiple retargets on a single armature, for this type of use and animation stitching. Also contains some placeholder UI and code for animation stitching. 2011-08-08 11:09:56 +00:00
Campbell Barton
64a298645f report error on installign keymaps rather then raising an exception. 2011-08-08 09:09:44 +00:00
Campbell Barton
24acf58fc4 quiet harmless py resource warning - file opened but not closed. 2011-08-08 09:01:09 +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
daab78bc61 Merging trunk up to r39145. 2011-08-07 15:25:06 +00:00
Joshua Leung
022e815fbd Sound clip NLA Strips for Nexyon
These are basically just for specifying when a speaker should fire off
it's soundclip, and as such, many NLA operations are irrelevant for
it. They can only be specified on object-level for speaker objects.

I've still got some UI tweaks I'll need to work on in order for these
to be able to be added even when the speaker doesn't have any NLA
tracks yet. (EDIT: while typing this, I had an idea for how to do
this, but that'll be for next commit). In the mean time, you'll need
to add a single keyframe for the object, snowflake that action and
delete the NLA strip before you can start editing.
2011-08-07 12:27:20 +00:00
Campbell Barton
38280ba38e fix [#28172] Cannot restore Add-ons tab in user preferences after a failed attempt to install an add-on.
non utf8 addons would make the addon UI vanish, now give a message in the console and UI.
2011-08-07 04:55:58 +00:00
Joerg Mueller
c334bf69a7 3D Audio GSoC:
Mixdown functionality.

* Mixdown possible via libsndfile and ffmpeg!
* Fixed some ffmpeg deprecation warnings
* Mixdown UI only shows working Container, Codec and Format combinations!
* Minor bugs and warnings fixed
2011-08-06 17:57:20 +00:00
Brecht Van Lommel
e6e4c7ef8b KEYMAP REFACTORING
Diff Keymaps

User edited keymaps now no longer override the builtin keymaps entirely, but
rather save only the difference and reapply those changes. This means they can
stay better in sync when the builtin keymaps change. The diff/patch algorithm
is not perfect, but better for the common case where only a few items are changed
rather than entire keymaps The main weakness is that if a builtin keymap item
changes, user modification of that item may need to be redone in some cases.

Keymap Editor

The most noticeable change here is that there is no longer an "Edit" button for
keymaps, all are editable immediately, but a "Restore" buttons shows for keymaps
and items that have been edited. Shortcuts for addons can also be edited in the
keymap editor. 

Addons

Addons now should only modify the new addon keyconfiguration, the keymap items
there will be added to the builtin ones for handling events, and not get lost
when starting new files. Example code of register/unregister:

km = wm.keyconfigs.addon.keymaps.new("3D View", space_type="VIEW_3D")
km.keymap_items.new('my.operator', 'ESC', 'PRESS')

km = wm.keyconfigs.addon.keymaps["3D View"]
km.keymap_items.remove(km.keymap_items["my.operator"])

Compatibility

The changes made are not forward compatible, i.e. if you save user preferences
with newer versions, older versions will not have key configuration changes that
were made.
2011-08-05 20:45:26 +00:00
Campbell Barton
db319f8544 move the ndof menu into the userpref's since it adjusts preferences, also renamed VIEW3D_MT_ndof_settings -> USERPREF_MT_ndof_settings since it has no view3d specific settings. 2011-08-05 14:53:13 +00:00
Campbell Barton
ad7ea2f892 get a tad more vertical space in the toolbar. 2011-08-05 09:04:11 +00:00
Benjy Cook
9a9330d88c Post Retarget fixes - added an Update Constraints button, that recalculates all fixes. Useful for when the user makes some external change to the animation 2011-08-05 08:44:16 +00:00
Benjy Cook
63c7bacc7b Updated Vector/Matrix multiplication to new order as required by mathutils 2011-08-05 08:41:16 +00:00
Benjy Cook
b5e55ff44b Small fix to Path Editing - now mute's original forward motion curve 2011-08-05 08:40:06 +00:00
Benjy Cook
ecd4b86982 Initial coding of path editing operator. Still needs some work, but all the basic functionality is there. Select a path and the stride bone (as active) and it will reparameterize the path to propel the armature forward in the same magnitude of the original 2011-08-03 22:26:59 +00:00
Benjy Cook
0031950a74 Fixed issue with IK toggle buttons and added operators for the new limit rotation functions 2011-08-03 18:17:33 +00:00
Benjy Cook
ab3fc2fa5c Added functions for toggling DOF Constraints on user rig based on range of motion in motion capture clip. Limit Rotation constraints are added based on the min and max of each DOF of each bone in its local space 2011-08-03 18:16:32 +00:00
Benjy Cook
b9039168fe Fixed coding style to conform to pep8 2011-08-03 18:13:44 +00:00
Kent Mein
79c87852d2 Add .py extension if it is missing from keymap file.
This is for bug #28141
While not really a bug, it makes it a lot easyer to use if it 
has the exension.  (Isn't hidden from the user when they try to load it...)

Kent
2011-08-03 17:58:06 +00:00
Joerg Mueller
fde1dc0fb2 Speaker Object icons, thanks Phil Gosch. 2011-08-03 13:34:49 +00:00
Joerg Mueller
eb9d591898 * Merging trunk up to r38981.
* Fixing a minor issue in a previous commit.
2011-08-03 12:44:52 +00:00
Joerg Mueller
6d7490632f 3D Audio GSoC:
* Minor audaspace library improvements.
* Considering location, velocity and orientation in AUD_SequencerReader and AUD_SequencerHandle.
* Bugfix: Maximum and Minimum volume weren't used before in the software device.
* Bugfix: Adding speaker objects via info space crashed.
* Listener settings now get updated in the audio system.
2011-08-03 09:25:40 +00:00
Campbell Barton
a10245a1fa fix [#28151] export OBJ don't save the extension
also correct some typos
2011-08-03 05:32:07 +00:00
Thomas Dinges
4fc56e39bd Patch by oenvoyage - olivier amrein, thanks a lot!
* Material Diffuse Ramp was not greyed out when shadeless was enabled.
2011-08-02 18:56:03 +00:00
Campbell Barton
6a37c24115 fix for xvid encoding preset giving a python error 2011-08-02 17:40:27 +00:00
Benjy Cook
2f2a95efb8 Sane defaults for post-retarget fix's framing, and ui bugfix (active icon was showing opposite of real active state) 2011-08-02 17:10:01 +00:00
Benjy Cook
827f92497e Other bone functionality coded for point post retarget fix. You can now set the point to be offset from a second bone, i.e. follow other bone's path 2011-08-02 17:08:49 +00:00
Kent Mein
9026dc6ee4 Fixed a few small typos.
Kent
2011-08-02 17:00:44 +00:00
Xiao Xiangquan
79656a65e0 finish handle for properties_XXX scripts 2011-08-02 16:51:50 +00:00
Joerg Mueller
4e8e502c02 Merging trunk up to r38932. 2011-08-02 12:16:06 +00:00
Campbell Barton
08426ec2e7 fix [#28148] User Preferences Scripts Path not working 2011-08-02 10:21:25 +00:00
Campbell Barton
70b4758ff8 Made wmNDOFMotionData use a vector rather then xyz members, makes it nicer to use with math functions.
ndof_to_angle_axis and ndof_to_quat now use math functions.
2011-08-02 07:08:22 +00:00
Mike Erwin
dc2609da3d svn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-08-02 01:01:56 +00:00
Joerg Mueller
3e85ec432e 3D Audio GSoC:
Adds new speaker object type.

Notes:
* Needs some nice icons
* Quickily review by Joshua Leung (5 mins)
* Properties UI updated (with help of Thomans Dinges)
* Speakers have their own theme color
* No real audio functionality yet.
* Minor bug regarding lamps/lattices fixed in interface_templates.c

I personality tested:
* Creation, Deletion, Duplication
* Saving, Loading
* Library linking (incl. make local)
* Tracking
* Dope Sheet, Outliner
* Animation
* Drawing (incl. Theme)
2011-08-01 11:44:20 +00:00
Campbell Barton
2f3685615f fix for template 2011-08-01 06:55:05 +00:00
Campbell Barton
2620bd0ade fix for error in recent commit. 2011-07-31 12:46:34 +00:00
Campbell Barton
f4293067c1 py api: sphinx doc corrections, pep8 cleanup and style edits, also added __all__ to some modules which were missing it. 2011-07-31 03:15:37 +00:00
Nicholas Bishop
6c3bb8b903 EditMesh-based skin node drawing 2011-07-31 02:03:48 +00:00
Nicholas Bishop
ccf186017a Added stub for Skin modifier UI 2011-07-31 02:03:33 +00:00
Joerg Mueller
29f214f7f3 Merging up to trunk r38834. 2011-07-29 21:28:18 +00:00
Benjy Cook
ce1c78e18b Changed name of Mocap constraints to mocap fixes, for user clarity. 2011-07-29 18:23:16 +00:00
Jason Hays
5b6da0c1d1 Merged 38568-38822 2011-07-29 17:57:46 +00:00
Xiao Xiangquan
287b24926f merge with trunk r38787 2011-07-29 17:42:53 +00:00
Jason Hays
566d936179 'Fix Deforms' op added to weight paint tools to smooth (remove/reduce) spiking caused by bones by altering vgroup weights
--it's still really simplistic (and slow!) so don't try fixing an entire mesh! xD
Also, don't use it on a mesh with a mirror modifier yet, just noticed that it does both vertices instead of one.

Minor UI text update for Vertex Masking
2011-07-29 17:36:49 +00:00
Bastien Montagne
ce20487fa7 Merging r38765 through r38817 from trunk into vgroup_modifiers. 2011-07-29 13:45:22 +00:00
Nathan Letwory
24def76ac8 svn merge -r38753:38813 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-29 07:58:03 +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
Thomas Dinges
336a47cdcf * Code cleanup
A row with alignment for 1 property = useless: ;-)
2011-07-28 18:19:15 +00:00
Joerg Mueller
bd6ca0570e 3D Audio GSoC:
Implemented basic audio animation.

* AnimatableProperty: Propper cache writing and spline interpolation for reading (the solution for stair steps in audio animation)
* Animatable properties so far are: volume, pitch, panning
* Users note: Changing the pitch of a sound results in wrong seeking, due to the resulting playback length difference.
* Users note: Panning only works for mono sources, values are in the range [-2..2], this basically controls the angle of the sound, 0 is front, -1 left, 1 right and 2 and -2 are back. Typical stereo panning only supports [-1..1].
* Disabled animation of audio related ffmpeg output parameters.
* Scene Audio Panel: 3D Listener settings also for Renderer, new Volume property (animatable!), Update/Bake buttons for animation problems, moved sampling rate and channel count here
2011-07-28 13:58:59 +00:00
Sergey Sharybin
2dc826f083 New option for multires modifier: Subdivide UVs
Enabled by default and also enabled for older filesm so
there should be no regressions.

In some cases it's useful to not use subdivided uvs for multires.
2011-07-28 11:16:10 +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
b71ccf3e06 fix error in writing dupligroups for X3D export, may have effected other exporters too. 2011-07-28 07:10:39 +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
fb99e23205 minor cleanup of rna
- use an rna enum-set for proximity vert/edge/face options.
- rename some flags.
- better conform to rna naming conventions.
2011-07-28 01:38:48 +00:00
Bastien Montagne
b830c0e394 Merging r38740 through r38764 from trunk into vgroup_modifiers. 2011-07-27 18:57:57 +00:00
Nathan Letwory
73a9ce7ec0 svn merge -r38558:38752 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-27 07:42:53 +00:00
Campbell Barton
46cea37266 fix [#28066] Unchecking 'self project' messes up 'Snap to Vertex'
this option is useful for all non-grid snapping modes (when in editmode) so make available in those cases too.
2011-07-27 07:22:31 +00:00
Thomas Dinges
9a250bea61 Fix part of [#28088] bad button spacing with layout engine for menu items.
* Fixed a cut off text. 
* small cleanup
2011-07-26 20:05:17 +00:00
Bastien Montagne
07dc73fa31 Merging r38694 through r38739 from trunk into vgroup_modifiers 2011-07-26 18:28:43 +00:00
Campbell Barton
9e1a553127 set the development cycle to 'beta'. 2011-07-26 07:41:14 +00:00
Campbell Barton
71692e802f py api:
- added menu templates
- move template menu into the header of the text editor (so users will find more easily)
- updated mathutils examples, switching the order of multiplication.
2011-07-26 07:39:00 +00:00
Mitchell Stokes
1f65b3b1a8 BGE Animations: Adding a new choice for vertex deformation for armatures, which can be found in the Armature's Skeleton panel by the Deform options. Before only Blender's armature_deform_verts() was used. Now users can choose a vertex deformation function that is optimized for the BGE. At the moment it is mostly a copy of armature_deform_verts() with various chunks of code removed, and the BLI_math code was replaced with Eigen2. In my test scene, the new function offered about a 40% improvement over armature_deform_verts() (17~19ms rasterizer to 11~12ms). The only current limitation that I'm aware of if that B-Bone segments are not supported in the BGE version, and I will probably leave it out. I would like to also limit the BGE version to 4 weights to make things easier for a GPU version, but this may just make things slower (sorting weights to find the top 4). 2011-07-26 06:10:05 +00:00
Bastien Montagne
1e2e080853 Adding WeightVG modifiers code. Still some points to tweak, though.
NOTE : Haven’t yet tested build with scons, will do asap (unless someone else does :) ).
2011-07-25 15:27:01 +00:00