8 years agoBGE Animations: Shape drivers are now working again.
Mitchell Stokes [Thu, 30 Jun 2011 19:33:13 +0000 (19:33 +0000)]
BGE Animations: Shape drivers are now working again.

8 years agoLight color parameter animation export support.
Sukhitha Prabhath Jayathilake [Thu, 30 Jun 2011 18:24:45 +0000 (18:24 +0000)]
Light color parameter animation export support.

8 years agoAnimation Channels Filtering Refactor - Part 5
Joshua Leung [Thu, 30 Jun 2011 13:56:47 +0000 (13:56 +0000)]
Animation Channels Filtering Refactor - Part 5

Channels can now be used as "animation containers" to be filtered
further to obtain a set of subsidiary channels (i.e. F-Curves
associated with some summary channel).

The main use of this is that object and scene summary channels can now
be defined without defining the filtering logic in three different
places - once for channel filtering, once for drawing keyframes in
action editor, and once for editing these keyframes.

An indirect consequence of this, is that the "Only selected channels"
option in Timeline will now result in only the keyframes for a
selected bones getting shown (when enabled), instead of all keyframes
for the active object. This was requested by Lee during Durian, and is
something which has only become possible as a result of this commit.

8 years agoBugfixes:
Joshua Leung [Thu, 30 Jun 2011 04:38:27 +0000 (04:38 +0000)]
* After changing driver target settings, the driver F-Curves now have
their "disabled" flags cleared, so that they will be updated
immediately instead of needing a manual "Update Dependencies" flush
* Little comment tweak to appease my text editor

8 years agoTweak to the toggle to show/hide datablock filtering items in
Joshua Leung [Thu, 30 Jun 2011 01:13:15 +0000 (01:13 +0000)]
Tweak to the toggle to show/hide datablock filtering items in
animedit headers

8 years agoSome tweaks to naming of channels in animation editors - thanks Matt
Joshua Leung [Thu, 30 Jun 2011 01:07:03 +0000 (01:07 +0000)]
Some tweaks to naming of channels in animation editors - thanks Matt
* F-Curves no longer show the name of the datablock of the property
they affect if this is an ID-block. For example, transform curves for
a cube won't get the "... (Cube)" suffix anymore. In these cases, it's
relatively clear that these belong to the parent datablock, so doing
this should be fine (and reduces clutter).

However, for non-id data (i.e. subsurf modifier settings) or bones,
this info still gets shown. In these cases, there is some ambiguity.

* "ActiveAct: <...>" is no longer shown for NLA action channels (i.e.
just the name of the action gets shown). This should make it easier to
see at a glance what action is being used.

8 years agoCreated UI and Group Property for Motion Capture constraints, to be used to fix up...
Benjy Cook [Wed, 29 Jun 2011 14:29:52 +0000 (14:29 +0000)]
Created UI and Group Property for Motion Capture constraints, to be used to fix up animation after retargeting

8 years agoAnimation Editors - Small Visual Tweaks for Usability
Joshua Leung [Wed, 29 Jun 2011 13:00:19 +0000 (13:00 +0000)]
Animation Editors - Small Visual Tweaks for Usability

== Datablock filters in the headers are now hidden by default ==
This has been done because users were generally not frequently
toggling these, so quick access vs screen-estate cost wasn't really
worth it to have these always showing and taking up space on the

Usage notes:
- To show these again, click on the "Filter more..." toggle.
- The "Filter more..." button DOES NOT affect whether those filters

Design notes:
- I tried many other button/icon combinations, but those were either
too space-hogging, vague, or had wrong button order.
- I also tried putting a box around these, but there was too much
- The ordering of the filters has also been modified a bit so that the
group/fcurve-name filters occur earlier in the list, given that
they're used more frequently

== Graph Editor - Use Fancy Drawing ==
Renamed this option to "Use High Quality Drawing" as suggested by
Matt. "Fancy" isn't really descriptive enough.

== Icons for Mode Dropdowns ==
The mode dropdowns in the DopeSheet and Graph Editors now have icons.
- These were important enough (compared to the auto-snap mode) that
some visual decoration was perhaps warranted.
- It makes it easier to see at a glance what mode the view is in

Icon choices:
- In some cases, the icons seem like quite a natural fit IMO (i.e.
outliner<->dopesheet, key<->shapekey editor, grease pencil, fcurve
- Action Editor uses an "object" icon to indicate that this is object-
level only for now (though I hope to find a way to address this
soon/later). This will be kept like this until then.
- There isn't any icon for drivers, so after trying a few
alternatives, I settled on area-link icon, since it ties together two
entities using some link.

8 years agoCompiler warning fixes
Joshua Leung [Wed, 29 Jun 2011 05:07:12 +0000 (05:07 +0000)]
Compiler warning fixes

8 years agoActions can now be made single-user from the Outliner
Joshua Leung [Wed, 29 Jun 2011 04:34:20 +0000 (04:34 +0000)]
Actions can now be made single-user from the Outliner

* Use the same method as from unlinking actions to do this.
* Split off the make single-user code used for the ID-browser into a
function in blenkernel which can be used elsewhere. Getting materials
to also work using this method proved to be a bit too tricky (due to
the whole messy ob vs obdata situation), so I haven't done that.

8 years agoBGE Animations: Moving the BL_Action::IsDone() implementation from the header file...
Mitchell Stokes [Wed, 29 Jun 2011 02:45:08 +0000 (02:45 +0000)]
BGE Animations: Moving the BL_Action::IsDone() implementation from the header file to the source file.

8 years agoBGE Animations: Beginning work on layer blending. Blending armature actions works...
Mitchell Stokes [Wed, 29 Jun 2011 02:42:46 +0000 (02:42 +0000)]
BGE Animations: Beginning work on layer blending. Blending armature actions works, but needs more testing. Also, currently the mode is forced to ADD and the weight to 1.

8 years agoBGE Animations: Fixing a bug with priority and non continuous animations.
Mitchell Stokes [Wed, 29 Jun 2011 01:53:17 +0000 (01:53 +0000)]
BGE Animations: Fixing a bug with priority and non continuous animations.

8 years agoBGE Animations: Adding blendin for Shape Actions.
Mitchell Stokes [Wed, 29 Jun 2011 01:05:12 +0000 (01:05 +0000)]
BGE Animations: Adding blendin for Shape Actions.

8 years agoSet Edit bone roll on Armature Import.
Sukhitha Prabhath Jayathilake [Tue, 28 Jun 2011 19:30:00 +0000 (19:30 +0000)]
Set Edit bone roll on Armature Import.
+ Light->Color Sid for testing.

8 years agoAction-Management from Outliner - Unlinking Actions
Joshua Leung [Tue, 28 Jun 2011 11:21:12 +0000 (11:21 +0000)]
Action-Management from Outliner - Unlinking Actions

It is now possible to use the Outliner for managing the active action
of an ID-block (provided that it appears in the Outliner), which
should be a bit better than having to go through the NLA Editor.

So far, this only allowing unlinking actions, using some existing
operators. To use:
1) Navigate through the Outliner tree to find the
Object/Material/Lamp/etc. that the animation belongs to. (NOTE: this
doesn't work in Datablocks mode, but should in the normal "All Scenes"
and related modes)
2) Expand the "Animation" entry below this
3) Right-click on the Action entry below this, and select "Unlink"
from the RMB menu

In the process, I've fixed problems with some data-blocks not showing
their animation data in Outliner.

8 years agoOutliner Bugfixes:
Joshua Leung [Tue, 28 Jun 2011 05:17:17 +0000 (05:17 +0000)]
Outliner Bugfixes:
* Mesh Animation-Data was not shown. Other data types would get this

* Added attempted fix for the problem where when you try to expand the
last item in a RNA list or so, you often end up expanding the first
item (and then have to close and try again, at which point the expand
works as you expected the first time round). More testing needed, but
seems to work better already

8 years agoRefactoring code for filtering actions
Joshua Leung [Tue, 28 Jun 2011 05:02:00 +0000 (05:02 +0000)]
Refactoring code for filtering actions
- This is still quite convoluted unfortunately...
- I can't quite figure out what a bug note I left in the code was
about anymore. Removed.

8 years agoSmall bug fixes:
Joshua Leung [Mon, 27 Jun 2011 13:04:21 +0000 (13:04 +0000)]
Small bug fixes:
* Removing the last of the owner/ownertype stuff. The bulk of this
stuff was removed in Part3 of the refactor, but it seems I forgot to
actually remove these struct members at the end of that.
* Texture datablocks without animdata aren't skipped immediately
anymore. This could lead to texture nodetrees on animdata-less
textures getting skipped.

8 years agoSome bugfixing and tweaking for retargeting. Script works now regardless of world...
Benjy Cook [Mon, 27 Jun 2011 12:48:30 +0000 (12:48 +0000)]
Some bugfixing and tweaking for retargeting. Script works now regardless of world transform on performer and end user rigs. This breaks stride bone functionality, will be addressed in next commit

8 years agoAdded more IK functionality to UI. You can now toggle IK for selected bones.
Benjy Cook [Mon, 27 Jun 2011 12:46:53 +0000 (12:46 +0000)]
Added more IK functionality to UI. You can now toggle IK for selected bones.

8 years agoTexture Nodes AnimEdit support
Joshua Leung [Mon, 27 Jun 2011 04:46:03 +0000 (04:46 +0000)]
Texture Nodes AnimEdit support

8 years agoBugfix: Selecting nodes now updates animation editors
Joshua Leung [Mon, 27 Jun 2011 04:24:59 +0000 (04:24 +0000)]
Bugfix: Selecting nodes now updates animation editors

Noticed while testing the material nodes commit

8 years agoAnimChannelFiltering - Material Nodes support
Joshua Leung [Mon, 27 Jun 2011 03:54:33 +0000 (03:54 +0000)]
AnimChannelFiltering - Material Nodes support

Animation for Material nodes is now shown in Animation Editors :)

8 years agoAdded IK functionality to retargeting. If rig contains an IK constraint, in addition...
Benjy Cook [Sun, 26 Jun 2011 19:54:29 +0000 (19:54 +0000)]
Added IK functionality to retargeting. If rig contains an IK constraint, in addition to FK retarget it will place and keyframe the IK targets correctly

8 years agoset_pose function completed. Algorithms to be checked.
Sukhitha Prabhath Jayathilake [Sun, 26 Jun 2011 18:56:06 +0000 (18:56 +0000)]
set_pose function completed. Algorithms to be checked.

(Still not the desired results )

8 years agopose channel -> pose matrix import ( in progress )
Sukhitha Prabhath Jayathilake [Sun, 26 Jun 2011 15:35:02 +0000 (15:35 +0000)]
pose channel -> pose matrix import ( in progress )

8 years agoAnimChannels Filtering Refactor - Part 4
Joshua Leung [Sun, 26 Jun 2011 14:50:19 +0000 (14:50 +0000)]
AnimChannels Filtering Refactor - Part 4

This commit is aimed at cleaning up the filtering code by changing the
filtering idiom/pattern used. While the old code used a "check then
do" approach, the new code does a "grab then assimilate".

The main benefits are that:
* the code duplication that used to exist has now been removed, making
it easier to add new channel types for data
* a recursive "peeking" ability now means that the old problems with
data existing deep in the tree (i.e. figuring out whether a channel
should be shown based on whether it will have any descendents) should
now work much better than before.

In the process, I've found and fixed a few previously unnoticed bugs
with how some channels were constructed, so hopefully things work a
bit better now.

* Action-Group filtering stuff hasn't been refactored yet. This was
causing some grief in the past, so I still need to check this
* Material Nodes support (missing in trunk) should be easy to slot in
now :)

8 years agoSome bugfixing and coding styles changes suggested by ideasman_42.
Benjy Cook [Sat, 25 Jun 2011 23:50:50 +0000 (23:50 +0000)]
Some bugfixing and coding styles changes suggested by ideasman_42.

8 years agoFixed issues with unit conversion and animation channels.
Sukhitha Prabhath Jayathilake [Sat, 25 Jun 2011 07:23:23 +0000 (07:23 +0000)]
Fixed issues with unit conversion and animation channels.

8 years agoBugfixing and modification to ensure functionality when called from UI. Related to...
Benjy Cook [Fri, 24 Jun 2011 17:11:54 +0000 (17:11 +0000)]
Bugfixing and modification to ensure functionality when called from UI. Related to previous commit, 37796.

8 years agoUI and bugfixing for mocap retargeting. Still a WIP, UI/py work will modified to...
Benjy Cook [Fri, 24 Jun 2011 17:05:53 +0000 (17:05 +0000)]
UI and bugfixing for mocap retargeting. Still a WIP, UI/py work will modified to fit coding styles in the future.

8 years agoown patch [#27752] Python Callback (Scriptlink functionality)
Campbell Barton [Fri, 24 Jun 2011 16:54:30 +0000 (16:54 +0000)]
own patch [#27752] Python Callback (Scriptlink functionality)

 * adds which contains lists, each for an event type:
   render_pre, render_post, load_pre, load_post, save_pre, save_post
 * each list item needs to be a callable object which takes 1 argument (the ID).
 * callbacks are cleared on file load.

 def MyFunc(scene): print("Callback:", data)

 * This patch adds a generic C callback api which is currently only used by python.
 * Unlike python callbacks these are not cleared on file load.

8 years agomove callbacks file out of intern (only contains 1 function but re-using it for new...
Campbell Barton [Fri, 24 Jun 2011 15:10:34 +0000 (15:10 +0000)]
move callbacks file out of intern (only contains 1 function but re-using it for new callback api)

8 years agoFirst commit to make "Style" settings saved in startup.blend
Ton Roosendaal [Fri, 24 Jun 2011 14:00:15 +0000 (14:00 +0000)]
First commit to make "Style" settings saved in startup.blend

Usage currently is limited to:
- Panel text, widget text and label text style:
  point size, shadow effects

Setting individual fonts to these is not possible yet, it uses the
default for it.

Access goes via outliner now; check "User Preferences". UI team could
add this in userpref scripts :)

8 years ago3D Audio GSoC:
Joerg Mueller [Fri, 24 Jun 2011 06:39:03 +0000 (06:39 +0000)]
3D Audio GSoC:
Fixes for crashes reported by Moguri.

8 years agofree_bvhtree_from_mesh was incorrectly useing sizeof() when clearing memory.
Campbell Barton [Fri, 24 Jun 2011 05:34:03 +0000 (05:34 +0000)]
free_bvhtree_from_mesh was incorrectly useing sizeof() when clearing memory.

8 years agofix [#27742] Smart UV project no longer works in 2.58
Campbell Barton [Fri, 24 Jun 2011 04:12:01 +0000 (04:12 +0000)]
fix [#27742] Smart UV project no longer works in 2.58
failed with active, unselected objects.

8 years agofix [#27747] Modal operator in Special Menu (W) ignores continues grab
Campbell Barton [Fri, 24 Jun 2011 03:59:41 +0000 (03:59 +0000)]
fix [#27747] Modal operator in Special Menu (W) ignores continues grab

8 years agofix [#27746] Black and White Render doesn't work and/or Saves as a Blank screen
Campbell Barton [Fri, 24 Jun 2011 03:49:56 +0000 (03:49 +0000)]
fix [#27746] Black and White Render doesn't work and/or Saves as a Blank screen
convert to grayscale when saving renders rather then only writing the red channel.

8 years agoW special menu for changing orthographic camera lens scale was missing
Daniel Salazar [Fri, 24 Jun 2011 03:41:07 +0000 (03:41 +0000)]
W special menu for changing orthographic camera lens scale was missing

btw continues grab doesn't work with this modal ops.. whats up?

8 years agoBGE Animations: Removing no longer used code and variables.
Mitchell Stokes [Fri, 24 Jun 2011 00:31:13 +0000 (00:31 +0000)]
BGE Animations: Removing no longer used code and variables.

8 years agoBGE Animations: Making BL_Action::SetFrame() not so dependent on timing. This should...
Mitchell Stokes [Thu, 23 Jun 2011 23:19:39 +0000 (23:19 +0000)]
BGE Animations: Making BL_Action::SetFrame() not so dependent on timing. This should smooth out things like setActionFrame().

8 years agoBGE Animations: For KX_GameObject.setActionFrame(layer, frame), frame should be a...
Mitchell Stokes [Thu, 23 Jun 2011 23:18:53 +0000 (23:18 +0000)]
BGE Animations: For KX_GameObject.setActionFrame(layer, frame), frame should be a float, not a short.

8 years agoBGE Animations: Exposing KX_GameObject's GetActionFrame() and SetActionFrame() to...
Mitchell Stokes [Thu, 23 Jun 2011 22:44:24 +0000 (22:44 +0000)]
BGE Animations: Exposing KX_GameObject's GetActionFrame() and SetActionFrame() to Python. KX_GameObject.setActionFrame() seems to still have some issues, which I suspect to be a timing thing. I may need to find a better way to set the local time.

8 years agorevert commit 27133: Committing patch [#27133] "Fix for for Object Color in BGE"...
Dalai Felinto [Thu, 23 Jun 2011 22:29:02 +0000 (22:29 +0000)]
revert commit 27133: Committing patch [#27133] "Fix for for Object Color in BGE" by Kupoman
This was causing a lot of backward compatibility problems and side effects.

It has to be done properly, linked with Material ObjectColor shader_flag or at least the TF OBCOLOR (which apparently worked at some point so I've been told).
If you need to use OBCOLOR simply keyframe the obcolor and it will work as before.

8 years agoBGE Animations: Shape Action Actuators are now converted to Action Actuators and...
Mitchell Stokes [Thu, 23 Jun 2011 22:23:46 +0000 (22:23 +0000)]
BGE Animations: Shape Action Actuators are now converted to Action Actuators and new Shape Action Actuators cannot be created.

8 years agoBGE Animations: Adding the concept of priority back. Priority is handled on a per...
Mitchell Stokes [Thu, 23 Jun 2011 22:12:49 +0000 (22:12 +0000)]
BGE Animations: Adding the concept of priority back. Priority is handled on a per layer basis.

8 years agoBGE Animations: Making the play modes for the Acton Actuator behave more like they...
Mitchell Stokes [Thu, 23 Jun 2011 22:00:54 +0000 (22:00 +0000)]
BGE Animations: Making the play modes for the Acton Actuator behave more like they have in the past. The only one that still needs work now is Flipper. Property, Loop End, Loop Stop, Play, and Ping Pong should all now be behaving as they used to.

8 years agoGHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
Brecht Van Lommel [Thu, 23 Jun 2011 19:55:47 +0000 (19:55 +0000)]
GHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
and into GHOST. Also fixes a problem where e.g. the user preferences window
would not open under the mouse cursor correctly.

8 years agoBGE Animations: Adding shape actions to BL_Action. This means Shape Actions now work...
Mitchell Stokes [Thu, 23 Jun 2011 19:49:53 +0000 (19:49 +0000)]
BGE Animations: Adding shape actions to BL_Action. This means Shape Actions now work through the Action actuator. I still need to handle blendin for shape actions though.

8 years agoFix typo in addon user preferences menu.
Brecht Van Lommel [Thu, 23 Jun 2011 19:42:54 +0000 (19:42 +0000)]
Fix typo in addon user preferences menu.

8 years agoBGE Animations: BL_Action now creates a PointerRNA only when constructed instead...
Mitchell Stokes [Thu, 23 Jun 2011 19:20:28 +0000 (19:20 +0000)]
BGE Animations: BL_Action now creates a PointerRNA only when constructed instead of on each Update() call.

8 years agoBGE Animations: Making shape actions work again:
Mitchell Stokes [Thu, 23 Jun 2011 19:09:09 +0000 (19:09 +0000)]
BGE Animations: Making shape actions work again:
  * BL_DeformableGameObject is no longer responsible for handling keys, BL_ShapeDeformer is
  * BL_ShapeDeformer also creates a copy of the key on construction and puts it back on the mesh when destructed. This avoids us permanently modifying Blender data.
  * I'm not too fond of clearing out the key every frame, but this works and I can't think of another alternative at the moment (something may be possible with some key juggling)

8 years agoMore flexible size options for particle billboards. This adds scale factors for width...
Lukas Toenne [Thu, 23 Jun 2011 18:59:47 +0000 (18:59 +0000)]
More flexible size options for particle billboards. This adds scale factors for width and height of billboards, relative to the particle size. It's useful when the particle size is primarily used for collision and the like, so the billboard appearance can be adjusted independently. Also allows non-square billboards.
In addition the billboards can be scaled by the particle velocity with optional head and tail factors (similar to line drawing options). This allows for pseudo-motionblur effects.

8 years agoMerge with trunk r37757.
Joerg Mueller [Thu, 23 Jun 2011 17:30:56 +0000 (17:30 +0000)]
Merge with trunk r37757.

8 years agoRemove unnecessary check. OpenAL, SDL, JACK don't depend on samplerate.
Nathan Letwory [Thu, 23 Jun 2011 17:29:18 +0000 (17:29 +0000)]
Remove unnecessary check. OpenAL, SDL, JACK don't depend on samplerate.

8 years agofix for building mingw in debug mode
Campbell Barton [Thu, 23 Jun 2011 16:33:59 +0000 (16:33 +0000)]
fix for building mingw in debug mode

8 years agoallow building with ffmpeg but not aud
Campbell Barton [Thu, 23 Jun 2011 16:10:48 +0000 (16:10 +0000)]
allow building with ffmpeg but not aud

8 years agocorrection to recent commit & made ffmpeg includes only add when enabled.
Campbell Barton [Thu, 23 Jun 2011 15:58:41 +0000 (15:58 +0000)]
correction to recent commit & made ffmpeg includes only add when enabled.

8 years agomistake in own commit.
Campbell Barton [Thu, 23 Jun 2011 15:12:05 +0000 (15:12 +0000)]
mistake in own commit.

8 years agocmake option to build without an audio library.
Campbell Barton [Thu, 23 Jun 2011 09:27:56 +0000 (09:27 +0000)]
cmake option to build without an audio library.

8 years agofix for function before definition in own recent commit.
Campbell Barton [Thu, 23 Jun 2011 07:50:28 +0000 (07:50 +0000)]
fix for function before definition in own recent commit.

8 years ago3D Audio GSoC:
Joerg Mueller [Thu, 23 Jun 2011 07:16:06 +0000 (07:16 +0000)]
3D Audio GSoC:
- Fixes for MSVC compiling.
- Fix for ffmpeg audio export with timebase, which fixes vorbis encoding (the only codec using this).

8 years agoMerge with trunk r 37746.
Joerg Mueller [Thu, 23 Jun 2011 07:14:37 +0000 (07:14 +0000)]
Merge with trunk r 37746.

8 years agochecks in rna range functions that the max value cant be less than the min.
Campbell Barton [Thu, 23 Jun 2011 06:13:21 +0000 (06:13 +0000)]
checks in rna range functions that the max value cant be less than the min.
also fix for invalid rage for FILE_OT_filenum.

8 years agofix for building on arch linux with ffmpeg version:
Campbell Barton [Thu, 23 Jun 2011 06:11:13 +0000 (06:11 +0000)]
fix for building on arch linux with ffmpeg version:

8 years agofix [#27726] Driven properties not checked for legal UI bounds
Campbell Barton [Thu, 23 Jun 2011 05:58:44 +0000 (05:58 +0000)]
fix [#27726] Driven properties not checked for legal UI bounds

The rna set function clamps to the property range however properties with range functions were ignored when set by python or the animation system.

Now call the range function for ints and floats when setting.

8 years agoBugfixes for recent commits:
Joshua Leung [Wed, 22 Jun 2011 13:30:59 +0000 (13:30 +0000)]
Bugfixes for recent commits:
* Insert Key on Selected Channels in Action Editor was broken
* Transform/Select All tools in Action Editor were broken as result of
filtering changes.
* Set Visibility operator, when used from Graph Editor now does
similar things to the TabKey lock/unlock operator with regards to the
flags it uses for filtering

8 years agoBugfix [#21276] The Tab key is not working in the Graph Editor when
Joshua Leung [Wed, 22 Jun 2011 12:54:26 +0000 (12:54 +0000)]
Bugfix [#21276] The Tab key is not working in the Graph Editor when
the list of animated curves is closed

At long last, this old bludger can be put out to pasture. I figured it
would involve some of the visibility-filtering stuff I added, but this
required a bit extra effort than anticipated.

8 years agoupdate automatic rna changelog
Campbell Barton [Wed, 22 Jun 2011 12:05:24 +0000 (12:05 +0000)]
update automatic rna changelog

8 years agoAnimation Channel Filtering Refactor - Part 3 (Visibility Flag Split)
Joshua Leung [Wed, 22 Jun 2011 11:41:26 +0000 (11:41 +0000)]
Animation Channel Filtering Refactor - Part 3 (Visibility Flag Split)

* This (big) commit is aimed at cleaning up the filtering flags used
by the animation channel filtering code. The list of filtering flags
has been growing a bit "organically" since it's humble origins for use
in the Action Editor some 3 years (IIRC) ago now during a weekend
hackathon. Obviously, some things have ended up tacked on, while
others have been the product of other flag options. Nevertheless, it
was time for a bit of a spring clean!

* Most notably, one area where the system outgrown its original design
for the Action Editor was in terms of the "visibility" filtering flag
it was using. While in the Action Editor the concept of what channels
to include was strictly dictated by whether the channel hierarchy
showed it, in the Graph Editor this is not always the case. In other
words, there was a difference between the data the channels
represented being visible and the channels for that data being visible
in the hierarchy.

Long story short: this lead to bug report [#27076] (and many like it),
where if you selected an F-Curve, then collapsed the Group it was in,
then even after selecting another F-Curve in another Group, the
original F-Curve's properties would still be shown in the Properties
Region. The good news is that this commit fixes this issue right away!

* More good news will follow, as I start checking on the flag usage of
other tools, but I'm committing this first so that we have a stable
reference (of code similar to the old buggy stuff) on which we can
fall back to later to find bugs (should they pop up).

Anyways, back to the trenches!

8 years agocmake was installing .bfont.ttf in ~/.blender/VER/config, use ~/.blender/VER instead...
Campbell Barton [Wed, 22 Jun 2011 08:43:01 +0000 (08:43 +0000)]
cmake was installing .bfont.ttf in ~/.blender/VER/config, use ~/.blender/VER instead (as with scons)

8 years agosplit cmake check configuration out
Campbell Barton [Wed, 22 Jun 2011 05:30:06 +0000 (05:30 +0000)]
split cmake check configuration out

8 years agoMerged with trunk r37717.
Joerg Mueller [Tue, 21 Jun 2011 21:10:36 +0000 (21:10 +0000)]
Merged with trunk r37717.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:39:41 +0000 (20:39 +0000)]
3D Audio GSoC:
- Sequencer dynamics: Now it's possible to change the output channels and the resampling quality also increased (previously maximum quality was 44,1 kHz)
- Changed two buffers to use ffmpeg allocation, not sure if that helps somehow.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:35:09 +0000 (20:35 +0000)]
3D Audio GSoC:
Adapting all readers to maximally support dynamic resampling/rechanneling, introducing a DynamicIIRFilter for example.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:32:25 +0000 (20:32 +0000)]
3D Audio GSoC:
Removing unneeded AUD_ResampleFactory.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:29:02 +0000 (20:29 +0000)]
3D Audio GSoC:
- Converting AUD_SampleRate to a double
- Removing AUD_DefaultMixer
- Introducing AUD_ResampleReader as base class for all resampling readers.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:25:48 +0000 (20:25 +0000)]
3D Audio GSoC:
Dynamic resampling for libsamplerate and linear resampling.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:24:40 +0000 (20:24 +0000)]
3D Audio GSoC:
- Implemented a nice rechanneling solution with unofficial speaker arrangement standards similar to what OpenAL soft has
- Renamend AUD_Channel in the C API to AUD_Handle
- Removed the unlogical 7.2 speaker configuration, that's a hardware only config

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:21:43 +0000 (20:21 +0000)]
3D Audio GSoC:
- Created Handle classes
- Changed Reference counting completely
- Fixing some streaming bugs
- Completely disabled OpenAL Buffered Factories (they were unused anyway)

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:14:53 +0000 (20:14 +0000)]
3D Audio GSoC:
Streaming improved.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:14:07 +0000 (20:14 +0000)]
3D Audio GSoC:
Memory bug fix.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:13:27 +0000 (20:13 +0000)]
3D Audio GSoC:
Buffer.assureSize - a function that should long have been there.

8 years ago3D Audio GSoC:
Joerg Mueller [Tue, 21 Jun 2011 20:12:39 +0000 (20:12 +0000)]
3D Audio GSoC:
Code cleanup: rewriting some functions to static methods.

8 years agoBump version in Doxyfile.
Nathan Letwory [Tue, 21 Jun 2011 19:31:06 +0000 (19:31 +0000)]
Bump version in Doxyfile.

8 years agopep8 compliance
Campbell Barton [Tue, 21 Jun 2011 17:17:51 +0000 (17:17 +0000)]
pep8 compliance

8 years agoupdate cmake checker to ignore file list and add some headers to the source list.
Campbell Barton [Tue, 21 Jun 2011 17:00:34 +0000 (17:00 +0000)]
update cmake checker to ignore file list and add some headers to the source list.

8 years agoNew 2.58 splash image. Thanks Rogério Perdiz! v2.58
Ton Roosendaal [Tue, 21 Jun 2011 16:54:34 +0000 (16:54 +0000)]
New 2.58 splash image. Thanks Rogério Perdiz!
(Judge committee Sebastian_K && FrancoisGFX)

8 years agoUpping the release number to 2.58
Ton Roosendaal [Tue, 21 Jun 2011 16:38:28 +0000 (16:38 +0000)]
Upping the release number to 2.58

8 years agoSnapping/Project
Martin Poirier [Tue, 21 Jun 2011 15:28:13 +0000 (15:28 +0000)]

Disable editmesh as target if proportional edit is on (that was messed up incorrectly in revision 33233)

8 years ago1 pixel tweak to have outliner icons + selection circles align
Ton Roosendaal [Tue, 21 Jun 2011 13:02:21 +0000 (13:02 +0000)]
1 pixel tweak to have outliner icons + selection circles align
for default DPI. Problem now is that icons/text are scaling
and drawing with pixel units, whilst other items draw subpixel.
This makes not every dpi size result in perfect aligning yet.

8 years agoFix for [#26939] Hair Combing intersects emitter when combed fast
Janne Karhu [Tue, 21 Jun 2011 11:15:37 +0000 (11:15 +0000)]
Fix for [#26939] Hair Combing intersects emitter when combed fast
* Hair combing now uses substeps to apply the combing when the mouse movement exceeds 0.2 of the brush radius.
* This could make combing a bit slower on fast mouse movements, but the increase in combing quality is definitely worth it.

8 years agopy api: make all classes __init__ functions in a readonly state, except for operators.
Campbell Barton [Tue, 21 Jun 2011 08:09:42 +0000 (08:09 +0000)]
py api: make all classes __init__ functions in a readonly state, except for operators.

In bug [#27701], the panels __init__ function (which runs on every draw), was adding new rna properties.

8 years agoallow rna to set vertex parent indices, blender checks for invalid values on access.
Campbell Barton [Tue, 21 Jun 2011 07:41:49 +0000 (07:41 +0000)]
allow rna to set vertex parent indices, blender checks for invalid values on access.
build blenderplayer by default on linux with scons.

8 years agocorrect FSF address, as pointed out by Dave Plater
Campbell Barton [Tue, 21 Jun 2011 05:01:54 +0000 (05:01 +0000)]
correct FSF address, as pointed out by Dave Plater

8 years agofix for PLY import using directory only select, operators which define 'files' but...
Campbell Barton [Tue, 21 Jun 2011 04:03:26 +0000 (04:03 +0000)]
fix for PLY import using directory only select, operators which define 'files' but not 'filename' or 'filepath' would use the directory selector.

also made code less confusing.

8 years agoAnimFiltering Code Cleanups - Part 2
Joshua Leung [Tue, 21 Jun 2011 04:01:51 +0000 (04:01 +0000)]
AnimFiltering Code Cleanups - Part 2

* Changed all int's to size_t's, where the int's were used for size of
channel list returned
* Object vs Base is now passed to filtering functions - was relic from
old owner/ownertype code which required access to bases
* Found bug in NLA code where filter was being overwritten and then
used again as input for some other function unintentionally
* Found bug where trying to select a NLA strip would crash if lamp
data was around

8 years agoBugfix: Fix for autokey menu in Timeline
Joshua Leung [Tue, 21 Jun 2011 02:31:12 +0000 (02:31 +0000)]
Bugfix: Fix for autokey menu in Timeline

The mode items were only enabled correctly when auto-keyframing was