Joshua Leung [Sun, 7 Aug 2011 12:27:20 +0000 (12:27 +0000)]
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.
Joerg Mueller [Sun, 7 Aug 2011 11:54:58 +0000 (11:54 +0000)]
3D Audio GSoC:
* Pepper depends on ffmpeg 0.7.1 or higher now, windows and mac build systems set to ffmpeg-0.8
* Fixed orientation retrieval in OpenAL device code.
* Added stopAll() method to AUD_IDevice (also for Python) and call it on BGE exit
* Changed BGE to use audaspace via native C++ instead over the C API.
* Made AUD_SequencerFactory and AUD_SequencerEntry thread safe.
* Changed sound caching into a flag which fixes problems on file loading, especially with undo.
* Removed unused parameter from sound_mute_scene_sound
* Fixed bug: changing FPS didn't update the sequencer sound positions.
* Fixed bug: Properties of sequencer strips weren't set correctly.
* Minor warning fixes.
Joerg Mueller [Sun, 7 Aug 2011 06:22:50 +0000 (06:22 +0000)]
3D Audio GSoC:
Added a NULLHandle to prevent a crash in Python API when the device is the NULLDevice.
Mitchell Stokes [Sun, 7 Aug 2011 04:57:23 +0000 (04:57 +0000)]
BGE Animations: The IPO conversion code relied on objects having an adt, but this isn't always the case. object->adt can be NULL, which causes a crash. Now BL_InterpolatorLists are cached by action instead of adt.
Joerg Mueller [Sat, 6 Aug 2011 17:57:20 +0000 (17:57 +0000)]
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
Joshua Leung [Sat, 6 Aug 2011 07:01:07 +0000 (07:01 +0000)]
Graph Editor "Active Keyframe" settings
This commit makes some tweaks to the way that the "active keyframe"
settings in the Properties region in the Graph Editor work (for the
better, hopefully).
Basically, the problem was that previously, these were clunky and non-
intuitive to use, since they were just directly displaying the RNA
properties for those keyframes for editing purposes. But due to
limitations of RNA (i.e. from a RNA pointer to a keyframe, you
couldn't see which F-Curve you came from), several things were
impossible, notably:
1) Doing proper updates, including validating that the handles are in
a valid state - that requires access to the F-Curve to provide to the
F-Curve-based curve validity checking functions
2) Having the values of the keyframes display in whatever unit that
the property the F-Curve affects displays as - for this, you once
again need to know the F-Curve in order to resolve the property that
it affects; also the fact that only a single unit could be set for RNA
properties further limited things
This commit basically gets around these problems by moving away from a
layout-engine based approach to one where we attach custom update
callbacks and also override the units of the y-co widgets when
creating the widgets for these, thus allowing the buttons to work in
the ways that animators expect.
Sukhitha Prabhath Jayathilake [Sat, 6 Aug 2011 06:11:31 +0000 (06:11 +0000)]
Material ray trace transparency animation COLLADA export.
Mitchell Stokes [Sat, 6 Aug 2011 00:35:16 +0000 (00:35 +0000)]
BGE Animations: Making the ping pong mode for action actuators behave more like trunk. The behavior is a lot closer, but there are still differences when interrupting a ping pong action. I'm still trying to decide if these are acceptable differences as they don't look all that simple to fix.
Sukhitha Prabhath Jayathilake [Fri, 5 Aug 2011 18:32:39 +0000 (18:32 +0000)]
create_4x4_source function
Sukhitha Prabhath Jayathilake [Fri, 5 Aug 2011 17:19:31 +0000 (17:19 +0000)]
Joshua Leung [Fri, 5 Aug 2011 12:17:49 +0000 (12:17 +0000)]
Timeline UI Nitpicks:
* "Only Selected channels" -> "Only Selected Channels"
* Use Keying Set icon for "only keying set" toggle for autokeying
Joshua Leung [Fri, 5 Aug 2011 11:31:41 +0000 (11:31 +0000)]
Bugfix [#28106] Missing 3D view update after copy of constraints
Joshua Leung [Fri, 5 Aug 2011 11:23:28 +0000 (11:23 +0000)]
Assorted loose ends for auto-clamped handles work
* Tweaked order of handle types to make it easier to find Auto/Auto-
clamped in the list
* Fixed a number of places which were still just checking for auto-
handles when they should have included auto-clamped too, including
handle rotation
Benjy Cook [Fri, 5 Aug 2011 08:44:16 +0000 (08:44 +0000)]
Post Retarget fixes - added an Update Constraints button, that recalculates all fixes. Useful for when the user makes some external change to the animation
Benjy Cook [Fri, 5 Aug 2011 08:41:16 +0000 (08:41 +0000)]
Updated Vector/Matrix multiplication to new order as required by mathutils
Benjy Cook [Fri, 5 Aug 2011 08:40:06 +0000 (08:40 +0000)]
Small fix to Path Editing - now mute's original forward motion curve
Joerg Mueller [Fri, 5 Aug 2011 07:01:54 +0000 (07:01 +0000)]
3D Audio GSoC:
JOS Resampler: Fix for windows...
Mitchell Stokes [Fri, 5 Aug 2011 01:21:08 +0000 (01:21 +0000)]
BGE Animations: Moving the do_versions code for the actuators back into the "put compatibility code here until next subversion bump" block. It got sucked into the 2.58.1 block during a merge sometime.
Joshua Leung [Thu, 4 Aug 2011 14:19:35 +0000 (14:19 +0000)]
Clarifying tooltips on userpref keyframing options
These probably still need a good review (based on discussions I've had
with animators), but this should be a good stop-gap measure in the
mean time
Joshua Leung [Thu, 4 Aug 2011 14:13:05 +0000 (14:13 +0000)]
Bassam Feature Request: "Auto Clamped" handles can now be set per
handle/key
This used to be a weird per-curve setting which would happen to get
applied/work correctly if handles were set to "auto", and was a source
of constant confusion for both old and new animators. The main effect
of this handle-type/option was really to just ensure that auto-handles
stayed horizontal, instead of tilting as the keys were moved.
This commit simply changes this from a per-curve to per
keyframe/handle setting.
Joshua Leung [Thu, 4 Aug 2011 14:06:30 +0000 (14:06 +0000)]
Bugfix: Setting of new default settings for new Graph Editors was done
in wrong place, leading to loss of settings everytime the view changed
(i.e. after open/saving)
Joerg Mueller [Thu, 4 Aug 2011 13:47:15 +0000 (13:47 +0000)]
3D Audio GSoC:
Implementation of Julius O. Smith's resampling algorithm for high quality audio resampling.
The filter currently is a sinc filter with a 0.9 cutt-off and windowed by a kaiser window (beta = 10).
Also includes minor changes in the linear resampler.
Joerg Mueller [Thu, 4 Aug 2011 07:12:03 +0000 (07:12 +0000)]
3D Audio GSoC:
* versioning stuff for btheme->tv3d.speaker
* separating object.c speaker functions in own source file
Thanks Brecht for the suggestions.
Benjy Cook [Wed, 3 Aug 2011 22:26:59 +0000 (22:26 +0000)]
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
Sukhitha Prabhath Jayathilake [Wed, 3 Aug 2011 19:12:18 +0000 (19:12 +0000)]
Find all key frames for baked animation export.
Benjy Cook [Wed, 3 Aug 2011 18:17:33 +0000 (18:17 +0000)]
Fixed issue with IK toggle buttons and added operators for the new limit rotation functions
Benjy Cook [Wed, 3 Aug 2011 18:16:32 +0000 (18:16 +0000)]
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
Benjy Cook [Wed, 3 Aug 2011 18:13:44 +0000 (18:13 +0000)]
Fixed coding style to conform to pep8
Joerg Mueller [Wed, 3 Aug 2011 13:34:49 +0000 (13:34 +0000)]
Speaker Object icons, thanks Phil Gosch.
Joerg Mueller [Wed, 3 Aug 2011 12:44:52 +0000 (12:44 +0000)]
* Merging trunk up to r38981.
* Fixing a minor issue in a previous commit.
Sergey Sharybin [Wed, 3 Aug 2011 11:47:03 +0000 (11:47 +0000)]
Switch slave_pack to use new FFmpeg for windows.
Sergey Sharybin [Wed, 3 Aug 2011 11:10:19 +0000 (11:10 +0000)]
Switch windows buildbot to new FFmpeg 0.8.1.
Hope it'll work because i haven't got buildbot slave by hand.
Sergey Sharybin [Wed, 3 Aug 2011 10:50:21 +0000 (10:50 +0000)]
- Move list of FFmpeg DLLs to be installed from SConstruct
to conficuration variable BF_FFMPEG_DDL.
This would allow to use different FFmpeg in buildbot.
- Added some 3DMOUSE variables to list of command line options.
Now 3dmouse related-settings can be set from command line.
Campbell Barton [Wed, 3 Aug 2011 09:28:16 +0000 (09:28 +0000)]
fix [#27965] VSE: no visual feedback on locked strips
added xpm -> opengl stipple conversion script.
Joerg Mueller [Wed, 3 Aug 2011 09:25:40 +0000 (09:25 +0000)]
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.
Sergey Sharybin [Wed, 3 Aug 2011 09:07:30 +0000 (09:07 +0000)]
- Switch linux buildbot to FFmpeg-0.8.1
- Enable FFmpeg for blenderplayer for linux buildbot.
Campbell Barton [Wed, 3 Aug 2011 08:02:32 +0000 (08:02 +0000)]
fix [#28135] Edge slide changes UV
Sergey Sharybin [Wed, 3 Aug 2011 07:30:24 +0000 (07:30 +0000)]
- Do not add GHOST_NDOFManager.cpp to list of sources if
NDOF is disabled in CMake.
- Added "default" section to switch in sendMotionEvent.
It's what strict gcc rules don't like much and it's
And it's good practice in general, imo.
Nathan Letwory [Wed, 3 Aug 2011 07:08:28 +0000 (07:08 +0000)]
Debug print removed.
Mike Erwin [Wed, 3 Aug 2011 06:42:55 +0000 (06:42 +0000)]
removed attempted WITH_BF_3DMOUSE detection, fixed just one indention (left the others in their ugly new state)
Campbell Barton [Wed, 3 Aug 2011 06:30:19 +0000 (06:30 +0000)]
add note in scene.frame_current that frace_set() updates animation data.
Campbell Barton [Wed, 3 Aug 2011 06:27:44 +0000 (06:27 +0000)]
whitespace edits.
Campbell Barton [Wed, 3 Aug 2011 05:32:07 +0000 (05:32 +0000)]
fix [#28151] export OBJ don't save the extension
also correct some typos
Mike Erwin [Wed, 3 Aug 2011 05:01:55 +0000 (05:01 +0000)]
compensate for lack of 3D mouse calibration on Windows
Joshua Leung [Wed, 3 Aug 2011 01:22:31 +0000 (01:22 +0000)]
Animation channels can now be renamed by Ctrl-Clicking on them, as in
the Outliner
Channels which can be renamed include:
- Scenes, Objects, World, Material, Texture, etc. (i.e. "ID-blocks",
or the dark and light blue channels)
- Action Groups (green channels)
- Action expanders (i.e. "CubeAction", "WorldAction", etc.)
- Grease Pencil stuff
Channels which CANNOT be renamed, as they mostly use hardcoded values
or otherwise include:
- Drivers expander
- FCurves (they don't technically have a "name"; what is shown is just
a user-friendly representation of their rna_paths)
Nathan Letwory [Tue, 2 Aug 2011 23:52:07 +0000 (23:52 +0000)]
typo fix.
Nathan Letwory [Tue, 2 Aug 2011 23:49:07 +0000 (23:49 +0000)]
Compile fix.
Mike Erwin [Tue, 2 Aug 2011 22:50:06 +0000 (22:50 +0000)]
ndof changes: turned off 3D mouse during transform, removed timing bug in image/uv, added option for zoom axis (up/down vs. forward/backward)
Thomas Dinges [Tue, 2 Aug 2011 18:56:03 +0000 (18:56 +0000)]
Patch by oenvoyage - olivier amrein, thanks a lot!
* Material Diffuse Ramp was not greyed out when shadeless was enabled.
Nathan Letwory [Tue, 2 Aug 2011 18:33:39 +0000 (18:33 +0000)]
Simple argument to be able to explicitely tell the bitness you want to build Blender in.
python scons\scons.py BF_BITNESS=32
python scons\scons.py BF_BITNESS=64
So from now on for Windows you don't have to run a specific win32 or win64 Python version
to get the Blender version you want. If you omit the BF_BITNESS flag the bitness as per
Python version will be used as before.
Note that this is an argument, so works *only* on the command-line, not in your user-config.py
Sergey Sharybin [Tue, 2 Aug 2011 18:16:48 +0000 (18:16 +0000)]
Changes for buildbot rules to use propper spnav library path.
Sergey Sharybin [Tue, 2 Aug 2011 17:59:43 +0000 (17:59 +0000)]
More flexible configuration for 3dmouse library for scons.
Needed for release environment and buildbot.
Buildbot rules would be updated with next commit after
environment will be tested.
Campbell Barton [Tue, 2 Aug 2011 17:40:27 +0000 (17:40 +0000)]
fix for xvid encoding preset giving a python error
Kent Mein [Tue, 2 Aug 2011 17:35:07 +0000 (17:35 +0000)]
Fixes an issue with OSX Lion
Also cleaned up the python detection for OSX
Kent
Benjy Cook [Tue, 2 Aug 2011 17:10:01 +0000 (17:10 +0000)]
Sane defaults for post-retarget fix's framing, and ui bugfix (active icon was showing opposite of real active state)
Benjy Cook [Tue, 2 Aug 2011 17:08:49 +0000 (17:08 +0000)]
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
Kent Mein [Tue, 2 Aug 2011 17:00:44 +0000 (17:00 +0000)]
Fixed a few small typos.
Kent
Nathan Letwory [Tue, 2 Aug 2011 14:45:35 +0000 (14:45 +0000)]
typo fix
Joerg Mueller [Tue, 2 Aug 2011 12:16:06 +0000 (12:16 +0000)]
Merging trunk up to r38932.
Campbell Barton [Tue, 2 Aug 2011 10:56:09 +0000 (10:56 +0000)]
unit arg for FloatVectorProeprty
Nathan Letwory [Tue, 2 Aug 2011 10:50:22 +0000 (10:50 +0000)]
Don't include NDOF files when disabled.
Nathan Letwory [Tue, 2 Aug 2011 10:39:46 +0000 (10:39 +0000)]
Some more silencing. Enable with BF_GHOST_DEBUG
Nathan Letwory [Tue, 2 Aug 2011 10:26:20 +0000 (10:26 +0000)]
Indentation changes
Campbell Barton [Tue, 2 Aug 2011 10:21:25 +0000 (10:21 +0000)]
fix [#28148] User Preferences Scripts Path not working
Nathan Letwory [Tue, 2 Aug 2011 10:20:47 +0000 (10:20 +0000)]
Properly disable NDOF code when WITH_INPUT_NDOF is not define.
Nathan Letwory [Tue, 2 Aug 2011 09:36:44 +0000 (09:36 +0000)]
whitespace
Nathan Letwory [Tue, 2 Aug 2011 09:18:21 +0000 (09:18 +0000)]
Debug print removed.
Nathan Letwory [Tue, 2 Aug 2011 09:12:58 +0000 (09:12 +0000)]
Don't show NDOF guide by default.
Nathan Letwory [Tue, 2 Aug 2011 09:09:07 +0000 (09:09 +0000)]
Turn off ndof button debug
Nathan Letwory [Tue, 2 Aug 2011 09:07:24 +0000 (09:07 +0000)]
tabs -> spaces
Nathan Letwory [Tue, 2 Aug 2011 09:06:55 +0000 (09:06 +0000)]
3D Mouse support on for windows/msvc by default.
Campbell Barton [Tue, 2 Aug 2011 08:12:50 +0000 (08:12 +0000)]
no functional changes.
style edits, also renamed ndof_to_angle_axis --> ndof_to_axis_angle
Campbell Barton [Tue, 2 Aug 2011 07:49:34 +0000 (07:49 +0000)]
add back timer based redraw, not sure why this was removed r38908.
Zealous redraws now use commented define.
Campbell Barton [Tue, 2 Aug 2011 07:08:22 +0000 (07:08 +0000)]
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.
Jiri Hnidek [Tue, 2 Aug 2011 07:02:40 +0000 (07:02 +0000)]
- Blender could be build with scons again.
Campbell Barton [Tue, 2 Aug 2011 06:40:40 +0000 (06:40 +0000)]
replace WM_OT_ndof_menu with a key->menu assignment.
Campbell Barton [Tue, 2 Aug 2011 06:32:53 +0000 (06:32 +0000)]
more cmake/x11 edits
- added includes for spnav
- added FindSpacenav.cmake which allows using spacenav from a nonstandard path.
- remove NDOF_LIBPATH, use a full library path instead.
Campbell Barton [Tue, 2 Aug 2011 05:52:27 +0000 (05:52 +0000)]
NDOF related edits
- fix for building without NDOF on X11
- quiet some warnings
Mitchell Stokes [Tue, 2 Aug 2011 05:49:11 +0000 (05:49 +0000)]
BGE Animations: Fixing a crash when an fcurve actuator is found, but the object doesn't have animation data (adt).
Guillermo S. Romero [Tue, 2 Aug 2011 05:31:32 +0000 (05:31 +0000)]
SVN maintenance.
Mike Erwin [Tue, 2 Aug 2011 04:28:05 +0000 (04:28 +0000)]
3D mouse support from merwin-spacenav branch
Campbell Barton [Tue, 2 Aug 2011 02:28:37 +0000 (02:28 +0000)]
don't include fcurve modifiers when getting an actions frame range.
could too easily give a range of 600,000 which would make exporters hang.
Mike Erwin [Tue, 2 Aug 2011 01:01:56 +0000 (01:01 +0000)]
svn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
Mitchell Stokes [Mon, 1 Aug 2011 23:02:10 +0000 (23:02 +0000)]
BGE Animations: BGEDeformVerts() now handles normals instead of relying on BL_MeshDeformer::RecalcNormals(), which BlenderDeformVerts() still uses. As expected, the BGEDeformVerts() version isn't as accurate, but it avoids a sqrt per vertex. This gives about a 15~20% improvement in time spent on the rasterizer in my test scene, which resulted in about 5 more fps. However, the main reason for the new normal code is it will be easier to do on the GPU (doesn't rely on neighbor information).
Joerg Mueller [Mon, 1 Aug 2011 11:44:20 +0000 (11:44 +0000)]
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)
Campbell Barton [Mon, 1 Aug 2011 08:53:57 +0000 (08:53 +0000)]
fix [#28061] Texture (paint) bleeding on edges
respect clamp u/v image options.
Campbell Barton [Mon, 1 Aug 2011 06:55:05 +0000 (06:55 +0000)]
fix for template
Campbell Barton [Mon, 1 Aug 2011 06:50:24 +0000 (06:50 +0000)]
fix [#28112] Vertex paint crash
Campbell Barton [Mon, 1 Aug 2011 06:11:41 +0000 (06:11 +0000)]
add sse flags for cmake/msvc
Campbell Barton [Mon, 1 Aug 2011 05:25:30 +0000 (05:25 +0000)]
fix, uvproject modifier wasn't copying the uv layer name,
also edit var names from recent commit to better fit with other functions.
Campbell Barton [Mon, 1 Aug 2011 02:58:44 +0000 (02:58 +0000)]
replace dutch variable name 'aantal' with 'tot'
Campbell Barton [Mon, 1 Aug 2011 02:52:08 +0000 (02:52 +0000)]
fix for failure to create curve knots when both endpoint and bezier U were enabled.
use default when invalid settings given.
removed odd/annoying bit shifting of the flagu/v for such basic function made code hard to understand and would fail if new flags were added.
Mike Erwin [Sun, 31 Jul 2011 22:59:36 +0000 (22:59 +0000)]
support for older SpacePilot (sans Pro), minor tidying
Janne Karhu [Sun, 31 Jul 2011 16:26:02 +0000 (16:26 +0000)]
Bug fix: loading a file that had particles using a dupligroup from a liblinked file without the library file being present crashed
Campbell Barton [Sun, 31 Jul 2011 12:46:34 +0000 (12:46 +0000)]
fix for error in recent commit.
Campbell Barton [Sun, 31 Jul 2011 12:43:41 +0000 (12:43 +0000)]
fix for material slot removal (r38879)
- The object ID was being passed to the data_delete_material_index_id() from object_remove_material_slot(), rather then the object data. (so the material slot fix wouldnt run in that case).
- add support for fixing text object materials too.
Dalai Felinto [Sun, 31 Jul 2011 11:21:48 +0000 (11:21 +0000)]
reverting part of #38876 (whitespace edits)
the new if/else nesting introduced in the previous commit makes no sense.
(since I was here I add a comment for extrainfo and did some small cleanup)
Dalai Felinto [Sun, 31 Jul 2011 11:12:38 +0000 (11:12 +0000)]
bugfix [#28111] material.pop breaks mt->mat_nr
create a new parameter for materials.pop() to not remove material slot.
this way the mat_nr is still the old one.
for the default behaviour we now have material remapping (i.e. data_delete_material_index_id(id, index)).
This new function is brought from the material_slot remove function.
Campbell Barton [Sun, 31 Jul 2011 07:58:50 +0000 (07:58 +0000)]
when converting curves from poly -> nurbs, dont enable Bezier-U flag.
Not sure why this was enabled, possibly from copy/paste with bezier->nurbs code?
If you have meny poly lines there was no nice way to convert these into a smoothed nurbs curve.
Ran into this when trying to convert generated ivy into smooth nurbs.
Campbell Barton [Sun, 31 Jul 2011 07:54:24 +0000 (07:54 +0000)]
whitespace edits, had odd space/tab mix