10 years agoSmall bugfix for prior commit - Removing constraints no longer causes an error
Benjy Cook [Sat, 16 Jul 2011 13:48:43 +0000 (13:48 +0000)]
Small bugfix for prior commit - Removing constraints no longer causes an error

10 years agoKeyframing Motion capture properties now works for the Point constraint. Also, Floor...
Benjy Cook [Sat, 16 Jul 2011 13:36:47 +0000 (13:36 +0000)]
Keyframing Motion capture properties now works for the Point constraint. Also, Floor constraint has been implemented, using Object's raycasting function in Python

10 years agoBugfix [#27157] keyframing a constrained bone does not work as before
Joshua Leung [Sat, 16 Jul 2011 06:46:39 +0000 (06:46 +0000)]
Bugfix [#27157] keyframing a constrained bone does not work as before

Visual Keyframing was broken by r.34685, which used another method
which, at the time, appeared to work perfectly fine. Apparently not.

Also, extend/fixed visual keying to work for axis-angle rotations too.
Needs some testing, but should probably work

10 years agoBGE Animations: Updating the python docs.
Mitchell Stokes [Sat, 16 Jul 2011 05:29:15 +0000 (05:29 +0000)]
BGE Animations: Updating the python docs.

10 years agoBGE Animations: Some updates to the Python api:
Mitchell Stokes [Sat, 16 Jul 2011 05:25:15 +0000 (05:25 +0000)]
BGE Animations: Some updates to the Python api:
  * Adding methods KX_GameObject.stopAction() and KX_GameObject.isPlayingAction().
  * Made all layer arguments optional. This means I had to change setActionFrame(layer, frame) to setActionFrame(frame, layer=0). This seems a little backwards to me, but I guess that's what you get with optional arguments. Also, this will break existing scripts.
  * Made sure to check user supplied layer values on all action methods. Previously this was only done for playAction().
  * Fixed a few newline issues.

10 years agoBugfix: Retargeting now works when user rig bones are not connected to their parents.
Benjy Cook [Fri, 15 Jul 2011 10:07:02 +0000 (10:07 +0000)]
Bugfix: Retargeting now works when user rig bones are not connected to their parents.

10 years agoBugfix: Baking mocap constraints now works for user created IK bones
Benjy Cook [Thu, 14 Jul 2011 13:26:23 +0000 (13:26 +0000)]
Bugfix: Baking mocap constraints now works for user created IK bones

10 years agoBGE Animations: Now animations are only updated based on the set animation speed...
Mitchell Stokes [Thu, 14 Jul 2011 07:03:33 +0000 (07:03 +0000)]
BGE Animations: Now animations are only updated based on the set animation speed. This offers a significant performance increase (about 2x fps in my animation stress tests) for cases such as the defaults: 60fps logic and 30fps animations. This means that animations now only have to be updated half the time. I've also added Animations as a profiling category. This is the time spent in Blender's animation code, and not in the BL_ShapeDeformer (the mesh deformation). I'd like the add the deformation too, but right now it's counted in the rasterizer, and I don't see an obviously clean way to have it counted as animation instead. I'll investigate more.

10 years ago3D Audio GSoC:
Joerg Mueller [Thu, 14 Jul 2011 05:56:47 +0000 (05:56 +0000)]
3D Audio GSoC:
MSVC compile fixes.

10 years agoFixed Color animation import( support for Maya )
Sukhitha Prabhath Jayathilake [Wed, 13 Jul 2011 16:53:36 +0000 (16:53 +0000)]
Fixed Color animation import( support for Maya )

10 years ago3D Audio GSoC:
Joerg Mueller [Wed, 13 Jul 2011 12:16:45 +0000 (12:16 +0000)]
3D Audio GSoC:
* Fixed a warning in AUD_DoubleReader.cpp
* Removed some unneeded includes
* Fixed a bug resulting in a crash when stopping a sound
* Fixed a bug where a NaN resulted in a horrible memory error
* Fixed a typo bug which caused crackling in audio playback and export
* Added memory debugging code (ifdefed)

10 years agoBugfix: DopeSheet + Graph Editors were referring to wrong operator for
Joshua Leung [Wed, 13 Jul 2011 12:02:39 +0000 (12:02 +0000)]
Bugfix: DopeSheet + Graph Editors were referring to wrong operator for
their "Duplicate Keys" menu entry

10 years ago3D Audio GSoC:
Joerg Mueller [Tue, 12 Jul 2011 13:11:00 +0000 (13:11 +0000)]
3D Audio GSoC:
Software 3D Audio implementation.

10 years agoMerging trunk up to r38329.
Joerg Mueller [Tue, 12 Jul 2011 13:09:22 +0000 (13:09 +0000)]
Merging trunk up to r38329.

10 years agocorrection to cursor enum and make GHOST_SystemX11's convertXKey into a static function.
Campbell Barton [Tue, 12 Jul 2011 12:53:23 +0000 (12:53 +0000)]
correction to cursor enum and make GHOST_SystemX11's convertXKey into a static function.

10 years agoTimeline Drawing - Time cursor draws extra wide in timeline so that
Joshua Leung [Tue, 12 Jul 2011 12:13:23 +0000 (12:13 +0000)]
Timeline Drawing - Time cursor draws extra wide in timeline so that
keyframe lines are wrapped up nicely by it

Ideally it could be made so that it only became wide when it is on a
frame with a keyframe, though that could end up causing performance
problems, so this will have to do (if a bit "chunky" looking at

10 years agoBugfix [#27548] Timeline view - 2D drawing issues
Joshua Leung [Tue, 12 Jul 2011 12:04:27 +0000 (12:04 +0000)]
Bugfix [#27548] Timeline view - 2D drawing issues

* Keyframe lines were being drawn too short when frame number box was
enabled. The code for drawing this was modifying the View2D view-space
to get it's stuff in the right place, but the timeline code was not
accounting for this.

* In order to make the time ticks more visible outside the frame
range, I've moved the start/end frame drawing stuff in timeline to
occur after the grid drawing, and to draw semi-transparent, just like
the preview range curtains in the other animation editors

10 years agoNLA Drawing - More prominent communication of the "solo" feature
Joshua Leung [Tue, 12 Jul 2011 11:27:35 +0000 (11:27 +0000)]
NLA Drawing - More prominent communication of the "solo" feature

* When a track is being solo'd, all other channels for that block are
drawn darker
* Strips in non-solo tracks are drawn flat shaded instead of with
* Mute toggles are hidden (they wouldn't affect the result)

10 years agoCMake fixes for r38303 (splitting up the outliner code).
Mitchell Stokes [Tue, 12 Jul 2011 10:09:14 +0000 (10:09 +0000)]
CMake fixes for r38303 (splitting up the outliner code).

10 years agoRNA: fix some text datablock property UI names.
Brecht Van Lommel [Tue, 12 Jul 2011 09:30:40 +0000 (09:30 +0000)]
RNA: fix some text datablock property UI names.

10 years agoNLA Drawing Tweak - New icons for "solo" toggles
Joshua Leung [Tue, 12 Jul 2011 07:03:25 +0000 (07:03 +0000)]
NLA Drawing Tweak - New icons for "solo" toggles

Added some new star icons for the "solo" toggles in NLA editor.
Unfortunately they look a tad scruffy alongside some of the other
icons, although they should hopefully turn out to be more descriptive
(especially when combined with some drawing tweaks I've got in the

10 years agoBugfix [#27650] graph editor -> drivers -> Delete Channels (X) deletes
Joshua Leung [Tue, 12 Jul 2011 03:59:06 +0000 (03:59 +0000)]
Bugfix [#27650] graph editor -> drivers -> Delete Channels (X) deletes
wrong entries if obdata selected

In this case, the problem was that there were some lingering F-Curves
that were unselected by still had "active" flags set (a problem caused
by the old filtering channel visible vs list visible bug). Now,
"active" flag is treated separately from "selected" flag (bringing
this back into line with bones), leaving no confusion.

10 years agoBugfix #27881: Motion paths don't correctly update with pose sliding
Joshua Leung [Tue, 12 Jul 2011 03:02:53 +0000 (03:02 +0000)]
Bugfix #27881: Motion paths don't correctly update with pose sliding

10 years agoFurther Outliner code cleanup - Split out tree building stuff for ID
Joshua Leung [Mon, 11 Jul 2011 13:36:38 +0000 (13:36 +0000)]
Further Outliner code cleanup - Split out tree building stuff for ID
blocks and Objects from add_element

These two chunks were significantly large that they really needed to
be placed into their own functions to allow for easier source

10 years ago== The great Outliner code split up ==
Joshua Leung [Mon, 11 Jul 2011 10:59:53 +0000 (10:59 +0000)]
== The great Outliner code split up ==

As per my proposal (
committers/2011-July/032553.html), I've split outliner.c into several
new files based on the purpose of the relevant code.

* outliner_tree.c - building outliner structure
* outliner_draw.c - outliner drawing (including toggle buttons and
their handling)
* outliner_edit.c - all operators for toggling stuff, and/or hotkey
accessed operators. Also KeyingSet and Driver operators go here
* outliner_tools.c - all operators and callbacks used for handling RMB
click on items
* outliner_select.c - stuff for selecting rows, and handling the
active/selected toggling stuff

In a few cases, the split hasn't been totally clear-cut due to cross-
dependencies and other spaghetti. However, in a few cases, I have
managed to remove the need for some of the prototypes that were needed
in the past by judicious reshuffling of functions, which also makes it
easier to actually find what you're looking for.

10 years agoFix #27928: avi raw writing failure, after earlier bugfix for big file sizes.
Brecht Van Lommel [Mon, 11 Jul 2011 09:47:13 +0000 (09:47 +0000)]
Fix #27928: avi raw writing failure, after earlier bugfix for big file sizes.

10 years agoFix #27930: many modifiers crashed when used on a lattice with a vertex group.
Brecht Van Lommel [Mon, 11 Jul 2011 09:15:20 +0000 (09:15 +0000)]
Fix #27930: many modifiers crashed when used on a lattice with a vertex group.

10 years agoFix #27912: crash after mesh.materials.pop().
Brecht Van Lommel [Mon, 11 Jul 2011 09:08:08 +0000 (09:08 +0000)]
Fix #27912: crash after mesh.materials.pop().

10 years agoFix #27921: optimal display with 2 subsurf modifiers fails.
Brecht Van Lommel [Mon, 11 Jul 2011 09:05:10 +0000 (09:05 +0000)]
Fix #27921: optimal display with 2 subsurf modifiers fails.

10 years agomake python3.3 compatible, __class__ is no longer in the class methods namespace.
Campbell Barton [Mon, 11 Jul 2011 05:50:49 +0000 (05:50 +0000)]
make python3.3 compatible, __class__ is no longer in the class methods namespace.

10 years agoFix for [#27398] Particle systems with animated groups render incorrectly in viewport
Janne Karhu [Sun, 10 Jul 2011 23:49:59 +0000 (23:49 +0000)]
Fix for [#27398] Particle systems with animated groups render incorrectly in viewport
* Hmph.. depsgraph and group duplication == illogical.

10 years agoFix for [#27293] Group Instance of particle system is rendered wrong
Janne Karhu [Sun, 10 Jul 2011 23:24:15 +0000 (23:24 +0000)]
Fix for [#27293] Group Instance of particle system is rendered wrong
* Silly mul_m4_v3 had turned into a mul_m4_v4 at some point!

10 years ago-OpenEXR fixed so enabling if user has enabled
Antony Riakiotakis [Sun, 10 Jul 2011 20:04:56 +0000 (20:04 +0000)]
-OpenEXR fixed so enabling if user has enabled
-Added Iex to lib list, was causing link time errors

10 years agorun WM_exit(C) when blender as a python module exits
Campbell Barton [Sun, 10 Jul 2011 18:54:02 +0000 (18:54 +0000)]
run WM_exit(C) when blender as a python module exits

10 years agoFix #27926: autokey not working with auto IK, broke this with an earlier bugfix.
Brecht Van Lommel [Sun, 10 Jul 2011 18:21:40 +0000 (18:21 +0000)]
Fix #27926: autokey not working with auto IK, broke this with an earlier bugfix.

10 years agoFix for [#27289] Hair: Render Option - Object does not point objects to end of "hair...
Janne Karhu [Sun, 10 Jul 2011 17:30:31 +0000 (17:30 +0000)]
Fix for [#27289] Hair: Render Option - Object does not point objects to end of "hair path"
* Objects are now always rotated in the directions of the hair paths
* Secondary fix: particle size wasn't updated for hair particles, so dupliobject size couldn't be change after the hair was edited

10 years agofix for various python bugs and remove unused var.
Campbell Barton [Sun, 10 Jul 2011 17:26:15 +0000 (17:26 +0000)]
fix for various python bugs and remove unused var.

10 years agoFix for [#26873] Animated displacement modifier on an object doesn't work with hair...
Janne Karhu [Sun, 10 Jul 2011 17:04:56 +0000 (17:04 +0000)]
Fix for [#26873] Animated displacement modifier on an object doesn't work with hair particle objects
* Noise is now considered an animated texture as it changes with every frame
* Converted a few places in particles code to use the particle system's own random table instead of BLI_frand.

10 years agocleanup for python scripts - unused vars and imports
Campbell Barton [Sun, 10 Jul 2011 12:51:37 +0000 (12:51 +0000)]
cleanup for python scripts - unused vars and imports

10 years ago(no commit message)
Sukhitha Prabhath Jayathilake [Sun, 10 Jul 2011 07:34:11 +0000 (07:34 +0000)]

10 years agoBug Fix.
Sukhitha Prabhath Jayathilake [Sun, 10 Jul 2011 06:21:39 +0000 (06:21 +0000)]
Bug Fix.

10 years agoSome optimizations and coding style improvements across the retargeting and constrain...
Benjy Cook [Sat, 9 Jul 2011 21:52:25 +0000 (21:52 +0000)]
Some optimizations and coding style improvements across the retargeting and constraint scripts

10 years agofix for NULL pointer usages
Campbell Barton [Sat, 9 Jul 2011 19:59:32 +0000 (19:59 +0000)]
fix for NULL pointer usages

10 years ago(no commit message)
Sukhitha Prabhath Jayathilake [Sat, 9 Jul 2011 19:33:02 +0000 (19:33 +0000)]

10 years agofix for using uninitialized value in gpu_shader_material
Campbell Barton [Sat, 9 Jul 2011 19:16:32 +0000 (19:16 +0000)]
fix for using uninitialized value in gpu_shader_material

10 years agofix [#27683] Blender hangs when baking a particle system when a driver is present
Campbell Barton [Sat, 9 Jul 2011 17:41:39 +0000 (17:41 +0000)]
fix [#27683] Blender hangs when baking a particle system when a driver is present

10 years agoWrong tooltip for OBJECT_OT_make_links_scene() operator.
Ton Roosendaal [Sat, 9 Jul 2011 17:09:28 +0000 (17:09 +0000)]
Wrong tooltip for OBJECT_OT_make_links_scene() operator.

10 years agoBugfix #27761
Ton Roosendaal [Sat, 9 Jul 2011 17:03:35 +0000 (17:03 +0000)]
Bugfix #27761

Material nodes: when no output node was active, it sets one.
Not common to happen anymore, only for deleting output nodes
without clicking on nodes.

10 years agoghost multi-test builds again, now uses BLF font library
Campbell Barton [Sat, 9 Jul 2011 16:18:15 +0000 (16:18 +0000)]
ghost multi-test builds again, now uses BLF font library

10 years agoImprovements to import system. Ability to include more parameters.
Sukhitha Prabhath Jayathilake [Sat, 9 Jul 2011 15:15:17 +0000 (15:15 +0000)]
Improvements to import system. Ability to include more parameters.

10 years agoFix #27888: Render artifacts in 2.58.1
Sergey Sharybin [Sat, 9 Jul 2011 15:10:12 +0000 (15:10 +0000)]
Fix #27888: Render artifacts in 2.58.1

It was a regression introduced in rev36301. Average normal calcilation
used to fail due to triangular faces which are too slight.

Do not use triangles with too small area for average normal calculation.

10 years agofix [#27915] Relax Pose crashes blender on bone with ChildOf constraint in linked rig
Campbell Barton [Sat, 9 Jul 2011 14:33:28 +0000 (14:33 +0000)]
fix [#27915] Relax Pose crashes blender on bone with ChildOf constraint in linked rig

10 years agoFox #27866: Curve handle snaps/locks when it shouldnt
Sergey Sharybin [Sat, 9 Jul 2011 14:22:52 +0000 (14:22 +0000)]
Fox #27866: Curve handle snaps/locks when it shouldnt

It was a precision error in calchandleNurb. Do not align handles
along handle which si too short.

10 years agoCtrl-R sets rotation mode for Pose Bones
Joshua Leung [Sat, 9 Jul 2011 01:14:07 +0000 (01:14 +0000)]
Ctrl-R sets rotation mode for Pose Bones

10 years agoCompiler warning fix
Joshua Leung [Sat, 9 Jul 2011 01:11:09 +0000 (01:11 +0000)]
Compiler warning fix

10 years ago== GPU Buffers ==
Nicholas Bishop [Fri, 8 Jul 2011 19:58:02 +0000 (19:58 +0000)]
== GPU Buffers ==

This patch attempts to clean up and document the GPU buffers
code. There are a few bug fixes as well.

Patch reviewed here:


* Bugfix: make GPU_buffer_copy_normal convert from shorts to floats
  correctly, also fixed the use of cached face normal CustomData.

* Bugfix: changed the `mat_nr' field of GPUBufferMaterial from char to

* Changed color buffer setup to not alloc a temporary copy of color
  data, just passes the MCol data in directly.

* Changed the GPU buffer pool code to make clearer what operates
  specifically on the global pool.

* Lots of refactoring for GPU_drawobject_new; should operate mostly
  the same (except got rid of one unecessary allocation), just split
  into more functions and without macros now.

* Converted some #defines into enumerations.

* Made some stuff private, pulled out of header file.

* Deleted unused function GPU_buffer_pool_free_unused().

* Removed GPU_interleaved_setup and related #defines. (I think this
  was used for editmode VBOs, but those were disabled.)

* Added lots of comments.

* Added a few comments in the code signed `--nicholas' to note places
  where I am unsure about design or usage, would be good to address
  these better.

* Code formatting changed to be more consistent with the rest of

* Renamed some fields and variables to be more consistent with
  Blender's naming conventions.

* Renamed some fields and variables to use more descriptive names,
  e.g. renamed `redir' to `mat_orig_to_new'.

* Removed print outs with DEBUG_VBO -- don't feel too strongly about
  this one, just not used elsewhere in Blender, could be easily added
  back if others disagree though.

* Moved the PBVH drawing code down to the bottom of the file, before
  was sitting in the middle of the other VBO code

10 years agoFix #27897: mesh with negative scale disappears while sculpting, clipping
Brecht Van Lommel [Fri, 8 Jul 2011 15:58:00 +0000 (15:58 +0000)]
Fix #27897: mesh with negative scale disappears while sculpting, clipping
planes were wrong in that case.

10 years agoFix #26962: softbody collision doesn't respect subsurf+displace modifiers.
Brecht Van Lommel [Fri, 8 Jul 2011 13:22:58 +0000 (13:22 +0000)]
Fix #26962: softbody collision doesn't respect subsurf+displace modifiers.

Softbody was still using a flag to determine if it should use the final or
deform derivedmesh, but this wans't exposed in the UI. Others systems use the
collision modifier, now softbody uses it also to get vertices and faces, but
with own collision code.

10 years agoConstraints RNA - More Head/Tail stuff
Joshua Leung [Fri, 8 Jul 2011 12:48:43 +0000 (12:48 +0000)]
Constraints RNA - More Head/Tail stuff

Added for Damped Track and Locked Track constraints

10 years agoFix #27900: file browser filter, sort, .. parameters were not saved. This is
Brecht Van Lommel [Fri, 8 Jul 2011 12:22:48 +0000 (12:22 +0000)]
Fix #27900: file browser filter, sort, .. parameters were not saved. This is
useful if you have a screen setup with a file browser editor.

10 years agoFix #27891: IK stretch gives inaccurate results. Tweaked translation segment
Brecht Van Lommel [Fri, 8 Jul 2011 12:18:54 +0000 (12:18 +0000)]
Fix #27891: IK stretch gives inaccurate results. Tweaked translation segment
convergence weight a bit to match angles better at typical scales.

10 years agoDeleting Grease Pencil layers from Action-Editor works again
Joshua Leung [Fri, 8 Jul 2011 11:57:25 +0000 (11:57 +0000)]
Deleting Grease Pencil layers from Action-Editor works again

10 years agoFix #27902: autokey bones with individual origins transform not working.
Brecht Van Lommel [Fri, 8 Jul 2011 11:43:35 +0000 (11:43 +0000)]
Fix #27902: autokey bones with individual origins transform not working.

10 years agoLimit Distance contraint can now use Head/Tail setting for bone
Joshua Leung [Fri, 8 Jul 2011 10:25:26 +0000 (10:25 +0000)]
Limit Distance contraint can now use Head/Tail setting for bone
targets too

10 years agoBGE Animations: Adding constants for the action play modes to bge.logic:
Mitchell Stokes [Fri, 8 Jul 2011 07:32:45 +0000 (07:32 +0000)]
BGE Animations: Adding constants for the action play modes to bge.logic:

10 years agoBGE Animations: Fixing a crash when animating non-armature objects that didn't have...
Mitchell Stokes [Fri, 8 Jul 2011 07:31:40 +0000 (07:31 +0000)]
BGE Animations: Fixing a crash when animating non-armature objects that didn't have shape keys.

10 years agoexample of Physics Constraints module :)
Dalai Felinto [Fri, 8 Jul 2011 06:51:12 +0000 (06:51 +0000)]
example of Physics Constraints module :)
+ some small fixes in other docs.

A topic for later(soon?), I think we should name the modules according to the rest of Blender modules. So instead of:
Game Engine bge.logic Module

We would have it:
Game Logic (bge.logic)

10 years agoNLA - Adding new actionclip strips no longer appends "Act: " to the
Joshua Leung [Fri, 8 Jul 2011 03:31:40 +0000 (03:31 +0000)]
NLA - Adding new actionclip strips no longer appends "Act: " to the
start of the names. It should be clear enough what they are without

10 years agofix issue raised by [#27819] Unwrap Menu (U) -> Lightmap Pack throws Python Exception...
Campbell Barton [Fri, 8 Jul 2011 03:07:51 +0000 (03:07 +0000)]
fix issue raised by [#27819] Unwrap Menu (U) -> Lightmap Pack throws Python Exception.   But use a different fix.

10 years agopatch [#27885] bge.constraints documentation
Campbell Barton [Fri, 8 Jul 2011 02:59:25 +0000 (02:59 +0000)]
patch [#27885] bge.constraints documentation
by Solano Felicio (solano)

10 years agofix for example
Campbell Barton [Thu, 7 Jul 2011 21:14:36 +0000 (21:14 +0000)]
fix for example

10 years agoAdd ED_object_pose_armature to stubs.c. This should fix compilation
Sergey Sharybin [Thu, 7 Jul 2011 21:02:31 +0000 (21:02 +0000)]
Add ED_object_pose_armature to stubs.c. This should fix compilation
issues with blenderplayer.

10 years agoAdded baking/unbaking functionality to constraint system. Retargeting now adds/manage...
Benjy Cook [Thu, 7 Jul 2011 20:46:35 +0000 (20:46 +0000)]
Added baking/unbaking functionality to constraint system. Retargeting now adds/manages 2 new NLA Tracks as planned. Modified bl_operatores/ slightly to use it instead of creating my own bake function (now supports baking to a specific action, vs always creating a new one), but this does not break using the function in the old way.

10 years agobge.texture doc, needed whitespace to format correctly.
Campbell Barton [Thu, 7 Jul 2011 19:35:55 +0000 (19:35 +0000)]
bge.texture doc, needed whitespace to format correctly.

10 years agosome corrections to bge.texture docs
Campbell Barton [Thu, 7 Jul 2011 19:23:51 +0000 (19:23 +0000)]
some corrections to bge.texture docs

10 years agoCamera clipend animation export
Sukhitha Prabhath Jayathilake [Thu, 7 Jul 2011 18:40:46 +0000 (18:40 +0000)]
Camera clipend animation export

10 years agoFixed Camera Ortho scale animation import
Sukhitha Prabhath Jayathilake [Thu, 7 Jul 2011 16:56:56 +0000 (16:56 +0000)]
Fixed Camera Ortho scale animation import

10 years agoMerging trunk up to r38193.
Joerg Mueller [Thu, 7 Jul 2011 16:34:19 +0000 (16:34 +0000)]
Merging trunk up to r38193.

10 years agoAllow pose matrix to be set for Benjy Cook's GSOC project.
Campbell Barton [Thu, 7 Jul 2011 16:09:57 +0000 (16:09 +0000)]
Allow pose matrix to be set for Benjy Cook's GSOC project.
this uses the same function as pose mode snapping.

10 years agoAnimation Goodie: Cyclic "Extrapolation" can be toggled from the "Set
Joshua Leung [Thu, 7 Jul 2011 13:59:28 +0000 (13:59 +0000)]
Animation Goodie: Cyclic "Extrapolation" can be toggled from the "Set
Extrapolation" tool again

Added "Make Cyclic" and "Clear Cyclic" options to "Set Extrapolation"
tool (found from Channels menu) in Animation Editors. These options
simply add or remove (respectively) Cycles FModifiers from the
selected F-Curves, making them have cyclic extrapolation with a single
click, instead of having to go through the FModifiers UI (or Graph-
Editor only "Add FModifier" operator), which should make it easier to
do this apparently common chore.

10 years agoFix compile with scons, after thread commit in r38185
Nathan Letwory [Thu, 7 Jul 2011 13:57:20 +0000 (13:57 +0000)]
Fix compile with scons, after thread commit in r38185

10 years agoGrease Pencil ActEdit Mode: Filtering Cleanup
Joshua Leung [Thu, 7 Jul 2011 11:29:36 +0000 (11:29 +0000)]
Grease Pencil ActEdit Mode: Filtering Cleanup

* Ported filtering code for Grease Pencil frames editing to the newer-
style refactored stuff
* Decoupled active status of layers from selection status, bringing
this into line with everything else again

10 years agoFix part of #26811: absolute shape keys should not show influence value in list.
Brecht Van Lommel [Thu, 7 Jul 2011 11:01:36 +0000 (11:01 +0000)]
Fix part of #26811: absolute shape keys should not show influence value in list.

10 years agoThe Blenderplayer wasn't freeing GPU_Textures since according to BLI_threads, GPU_fre...
Mitchell Stokes [Thu, 7 Jul 2011 10:37:46 +0000 (10:37 +0000)]
The Blenderplayer wasn't freeing GPU_Textures since according to BLI_threads, GPU_free_image() was never being called from the main thread. Calling BLI_threadapi_init() when the Blenderplayer starts sets the current thread as the main thread and solves the problem.

10 years agoTiny tweak: hierarchy lines in outliner were nearly invisible. Color is
Ton Roosendaal [Thu, 7 Jul 2011 09:56:06 +0000 (09:56 +0000)]
Tiny tweak: hierarchy lines in outliner were nearly invisible. Color is
blend between backdrop and text color (black), made it blend 0.4 instead
of 0.2

10 years agoNLA Drawing - Second attempt at providing options for streamlining the
Joshua Leung [Thu, 7 Jul 2011 05:28:09 +0000 (05:28 +0000)]
NLA Drawing - Second attempt at providing options for streamlining the
view for transforming strips

When the "Include animation data blocks with no NLA data" toggle
(action icon) is off, action lines are only shown if they have
keyframes. So when this option is off, only NLA blocks that have NLA
tracks will be shown, and of those, only those which currently have an
active action with keyframes will have their red action lines shown.

Combined with the vertical-space tweak when show control curves is
turned off, this should be good enough for most cases.

10 years agoNLA Strips cannot have their actions changed while the "tweakmode" is
Joshua Leung [Thu, 7 Jul 2011 05:17:36 +0000 (05:17 +0000)]
NLA Strips cannot have their actions changed while the "tweakmode" is
on, otherwise things could screw up

10 years agoRemove unnecessary line from previous commit which slipped through
Joshua Leung [Thu, 7 Jul 2011 04:47:47 +0000 (04:47 +0000)]
Remove unnecessary line from previous commit which slipped through

10 years agoPatch [#23682] Add sort+move to bone group list in panel
Joshua Leung [Thu, 7 Jul 2011 04:31:53 +0000 (04:31 +0000)]
Patch [#23682] Add sort+move to bone group list in panel

Thanks  Torsten Rupp (rupp)   for the patch!

This patch adds the abilities to sort the bone group list in the
properties panel and to move bone groups up/down in the list (similar
like for vertex groups)

10 years agoBGE Animations: Removing unused code and adding some more comments.
Mitchell Stokes [Thu, 7 Jul 2011 03:53:24 +0000 (03:53 +0000)]
BGE Animations: Removing unused code and adding some more comments.

10 years agoOutliner RMB Menu - AnimData mangement
Joshua Leung [Thu, 7 Jul 2011 03:35:48 +0000 (03:35 +0000)]
Outliner RMB Menu - AnimData mangement

* When clicking on "Animation" items in the Outliner, there's now a
menu containing from which you can change the action used, and
refresh/delete all drivers.

* Moved action-setting logic for AnimData actions to a single utility
function in anim_sys, since this was starting to be done in too many
places already.

* Fixed Outliner refresh bug after changing the active action

10 years ago[#27854] Collada import doesn't handle UVW mapping
Nathan Letwory [Wed, 6 Jul 2011 21:37:31 +0000 (21:37 +0000)]
[#27854] Collada import doesn't handle UVW mapping
Reported by David Roy
Patch by Brecht van Lommel

UV import code wasn't taking possible stride into account (always assuming stride==2), thus reading UV coords totally wrong.

10 years agoMerging trunk up to r38167.
Joerg Mueller [Wed, 6 Jul 2011 20:26:56 +0000 (20:26 +0000)]
Merging trunk up to r38167.

10 years agocamera ortho_scale (COLLADA xmag ) animation export
Sukhitha Prabhath Jayathilake [Wed, 6 Jul 2011 19:00:40 +0000 (19:00 +0000)]
camera ortho_scale (COLLADA xmag ) animation export

10 years agoCamera lens animation import.
Sukhitha Prabhath Jayathilake [Wed, 6 Jul 2011 18:34:01 +0000 (18:34 +0000)]
Camera lens animation import.

10 years agoCamera lens animation Identifying
Sukhitha Prabhath Jayathilake [Wed, 6 Jul 2011 18:09:36 +0000 (18:09 +0000)]
Camera lens animation Identifying

10 years agocamera lens (COLLADA xfov ) animation export
Sukhitha Prabhath Jayathilake [Wed, 6 Jul 2011 17:41:14 +0000 (17:41 +0000)]
camera lens (COLLADA xfov ) animation export

10 years agoThe material index did not work when FSAA was turned on.
Jeroen Bakker [Wed, 6 Jul 2011 16:08:24 +0000 (16:08 +0000)]
The material index did not work when FSAA was turned on.
The information was written in the temp exr files, but was not read back.
After checking I saw that the pass was not merged back in the rendercore.

After adding this it worked. tested with all FSAA settings.

10 years agopep8 compliance for python scripts
Benjy Cook [Wed, 6 Jul 2011 14:20:38 +0000 (14:20 +0000)]
pep8 compliance for python scripts

10 years agoChanged creation of original location targets to be created only if needed for IK...
Benjy Cook [Wed, 6 Jul 2011 14:19:54 +0000 (14:19 +0000)]
Changed creation of original location targets to be created only if needed for IK (i.e. user's decision)