9 years agoAnimation Exporter clean up.
Sukhitha Prabhath Jayathilake [Tue, 16 Aug 2011 17:17:13 +0000 (17:17 +0000)]
Animation Exporter clean up.

9 years agoFinalizing.
Sukhitha Prabhath Jayathilake [Tue, 16 Aug 2011 16:03:37 +0000 (16:03 +0000)]

9 years agoPy fix for trunk to pepper merge.
Joerg Mueller [Tue, 16 Aug 2011 14:43:04 +0000 (14:43 +0000)]
Py fix for trunk to pepper merge.

9 years agoMerging trunk up to r39447.
Joerg Mueller [Tue, 16 Aug 2011 14:11:58 +0000 (14:11 +0000)]
Merging trunk up to r39447.

9 years agominor fix, armature selection outline was not being drawn for non-active, selected...
Campbell Barton [Tue, 16 Aug 2011 13:46:51 +0000 (13:46 +0000)]
minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode.

9 years agoturns out recent commit made 'make' on its own fail.
Campbell Barton [Tue, 16 Aug 2011 13:45:17 +0000 (13:45 +0000)]
turns out recent commit made 'make' on its own fail.

9 years agoremove support for deprecated Vector() * Matrix(), eventually this will be added...
Campbell Barton [Tue, 16 Aug 2011 13:10:46 +0000 (13:10 +0000)]
remove support for deprecated Vector() * Matrix(), eventually this will be added back as row_vector_multiplication bu to avoid confusion for a bit just disable it altogether so script authors get an error on use and update their scripts.

9 years agoadd numpad key input for ghost/sdl
Campbell Barton [Tue, 16 Aug 2011 13:07:46 +0000 (13:07 +0000)]
add numpad key input for ghost/sdl

9 years ago3D Audio GSoC:
Joerg Mueller [Tue, 16 Aug 2011 13:00:55 +0000 (13:00 +0000)]
3D Audio GSoC:
Code documentation.

* Fix: rlint for MSVC.
* Minor other small fixes/changes.

9 years agoFront/Back togles should not disable when curve is 2D and bevel object is used
Daniel Salazar [Tue, 16 Aug 2011 12:37:23 +0000 (12:37 +0000)]
Front/Back togles should not disable when curve is 2D and bevel object is used

9 years agoConvenience targets for project files:
Campbell Barton [Tue, 16 Aug 2011 10:34:52 +0000 (10:34 +0000)]
Convenience targets for project files:

Project Files for IDE's
  * project_qtcreator - QtCreator Project Files
  * project_netbeans  - NetBeans Project Files
  * project_eclipse   - Eclipse CDT4 Project Files

9 years agoFix #28273: Crash playing with Follow path+Bevel+Material
Sergey Sharybin [Tue, 16 Aug 2011 10:31:28 +0000 (10:31 +0000)]
Fix #28273: Crash playing with Follow path+Bevel+Material

Crash was caused by old refactor of displists.
Added additional check to makeDispListCurveTypes.

9 years ago'make help' message for the convenience makefile which lists optional targets.
Campbell Barton [Tue, 16 Aug 2011 10:01:19 +0000 (10:01 +0000)]
'make help' message for the convenience makefile which lists optional targets.

9 years agoadded cmake configureation presets, so on *nix systems you can do...
Campbell Barton [Tue, 16 Aug 2011 09:36:15 +0000 (09:36 +0000)]
added cmake configureation presets, so on *nix systems you can do...

 # minal blender with debug info
 make debug lite

 # blender with no ui
 make headless

 # blender as a python module
 make bpy

9 years ago2.6 Node Muting:
Thomas Dinges [Tue, 16 Aug 2011 08:40:25 +0000 (08:40 +0000)]
2.6 Node Muting:
* Removing check if Node is in between, so in-/output nodes can be muted as well. Useful for example if you want to temporarily mute a file output node.

9 years agoBugfix [#28267] keyframed values for shapekeys of copied objects are
Joshua Leung [Tue, 16 Aug 2011 01:02:26 +0000 (01:02 +0000)]
Bugfix [#28267] keyframed values for shapekeys of copied objects are

Shapekey actions weren't getting copied when their owner data was.

This was due to the IMO totally convoluted way in which the duplicate
action flags have been set up:
- the function to copy animdata takes a param to specify whether
actions are copied or not, but this is never touched (i.e. this always
just gets FALSE passed in)
- instead, we jump around in hoops later figuring out whether the
userpref wants copying to occur, then fixing up the links

IIRC, part of this may be due to a desire/need to not duplicate
actions when dealing with NodeTree copies for multi-threaded
rendering, but at the expense of complicating everything else.

9 years ago3D Audio GSoC:
Joerg Mueller [Mon, 15 Aug 2011 21:50:09 +0000 (21:50 +0000)]
3D Audio GSoC:
High quality resampling on mixdown, linear for playback.

* Lots of improvements and fixes for the JOS resampler, now it works fine!
* High quality filter coefficients for the JOS resampler (sorry for the 5 MB source file).
* Fix for GE orientation bug. Note: moto uses x,y,z,w quaternion storage, while rest of blender uses w,x,y,z.
* Minor changes/fixes.

9 years agothe diffuse kernel I had first picked for dilation turned out to be not as great...
Morten Mikkelsen [Mon, 15 Aug 2011 17:55:25 +0000 (17:55 +0000)]
the diffuse kernel I had first picked for dilation turned out to be not as great as I first thought. This kernel is a more basic one (trite but true)

9 years agopatch [#22523] Expose Object.parentinv matrix via RNA
Campbell Barton [Mon, 15 Aug 2011 17:29:07 +0000 (17:29 +0000)]
patch [#22523] Expose Object.parentinv matrix via RNA
from Balajee R C (balajeerc)

9 years agoWindow was losing focus when switching from full screen via Alt+F11
Alexander Kuznetsov [Mon, 15 Aug 2011 16:26:37 +0000 (16:26 +0000)]
Window was losing focus when switching from full screen via Alt+F11
Fixes [#28243]

9 years agofix [#28227] join_uv and bake work wrong
Campbell Barton [Mon, 15 Aug 2011 16:25:05 +0000 (16:25 +0000)]
fix [#28227] join_uv and bake work wrong
added back ability to unwrap all selected mesh objects.

9 years agoCode cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused
Brecht Van Lommel [Mon, 15 Aug 2011 16:18:04 +0000 (16:18 +0000)]
Code cleanup: add UNUSED_FUNCTION macro to avoid warning messages about unused

9 years agoRemove message "Info: Config directory with "startup.blend" file not found."
Brecht Van Lommel [Mon, 15 Aug 2011 16:12:39 +0000 (16:12 +0000)]
Remove message "Info: Config directory with "startup.blend" file not found."

There's no reason to have it really, this situation is totally normal, and it
means a terminal window is opened on Windows as long as you haven't saved any
default settings yet.

9 years agoFix #27718: driving modifier properties was missing updates, fixed depsgraph.
Brecht Van Lommel [Mon, 15 Aug 2011 14:05:04 +0000 (14:05 +0000)]
Fix #27718: driving modifier properties was missing updates, fixed depsgraph.

9 years agoRestoring "Clear User Transforms" operator
Joshua Leung [Mon, 15 Aug 2011 13:24:53 +0000 (13:24 +0000)]
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)

9 years agoFix #28162: texture properties didn't show correct texture datablock chooser
Brecht Van Lommel [Mon, 15 Aug 2011 13:17:39 +0000 (13:17 +0000)]
Fix #28162: texture properties didn't show correct texture datablock chooser
in a particular setup with two nested material nodes. Material active texture
was looking also recursively into material node, but this was already done
outside of this function.

9 years agoFix #27803: editing texture did not update compositing nodes using that texture.
Brecht Van Lommel [Mon, 15 Aug 2011 12:07:52 +0000 (12:07 +0000)]
Fix #27803: editing texture did not update compositing nodes using that texture.

9 years agoRemove some unused code + warning fix
Joshua Leung [Mon, 15 Aug 2011 11:51:42 +0000 (11:51 +0000)]
Remove some unused code + warning fix

9 years ago"Select Grouped" by Keying Set for Bones
Joshua Leung [Mon, 15 Aug 2011 11:34:29 +0000 (11:34 +0000)]
"Select Grouped" by Keying Set for Bones

9 years agoSelect by Keying Set...
Joshua Leung [Mon, 15 Aug 2011 10:37:26 +0000 (10:37 +0000)]
Select by Keying Set...
* Split off code to refresh relative/builtin KeyingSets for the
current context before they get used to a separate function.
* Hooked this up to a new PyAPI/RNA function: KeyingSet.refresh().
Call this before checking the paths that a Keying Set has, especially
if it is not "absolute"

* Added option for "Select Grouped" operator (for Objects), which will
select all objects affected by the active Keying Set. This is probably
more useful for absolute KeyingSets, where changing the selection is
less likely to affect the result.
- The equivalent for bones is currently still in development, but is
likely to be more useful for animators, where rigs are the primary
animation entities they deal with

9 years agoAdded option to each retargeted bone to fix twist issues caused by variable bone...
Benjy Cook [Mon, 15 Aug 2011 10:18:02 +0000 (10:18 +0000)]
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

9 years agoSmall fix to autoloop due to changes in utility function by animation stitching
Benjy Cook [Mon, 15 Aug 2011 10:17:04 +0000 (10:17 +0000)]
Small fix to autoloop due to changes in utility function by animation stitching

9 years agoFix #28202: deactivating keymap items not saving properly.
Brecht Van Lommel [Mon, 15 Aug 2011 10:03:17 +0000 (10:03 +0000)]
Fix #28202: deactivating keymap items not saving properly.

9 years agopy api - optional sep argument for bpy_extra.io_utils.unique_name() since for some...
Campbell Barton [Mon, 15 Aug 2011 04:58:19 +0000 (04:58 +0000)]
py api - optional sep argument for bpy_extra.io_utils.unique_name() since for some formats '.' is an invalid char.

9 years agoworkaround [#28250] Append dialogue will ask to create new directory inside a .blend
Campbell Barton [Mon, 15 Aug 2011 04:11:55 +0000 (04:11 +0000)]
workaround [#28250] Append dialogue will ask to create new directory inside a .blend

directory button isnt library aware, for now disable it when a libraries loaded.

9 years agocomment unused lines.
Campbell Barton [Mon, 15 Aug 2011 03:41:31 +0000 (03:41 +0000)]
comment unused lines.

9 years agoblender extra parameter animation import ( on hold );
Sukhitha Prabhath Jayathilake [Sun, 14 Aug 2011 16:15:41 +0000 (16:15 +0000)]
blender extra parameter animation import ( on hold );

9 years agoMatrix transformation animation import for other objects under the new system.
Sukhitha Prabhath Jayathilake [Sun, 14 Aug 2011 16:14:32 +0000 (16:14 +0000)]
Matrix transformation animation import for other objects under the new system.

9 years agoCleanup
Sukhitha Prabhath Jayathilake [Sun, 14 Aug 2011 16:13:35 +0000 (16:13 +0000)]

9 years agofix for bug where changing movie filepaths would reset the strip length.
Campbell Barton [Sun, 14 Aug 2011 14:43:11 +0000 (14:43 +0000)]
fix for bug where changing movie filepaths would reset the strip length.
also fixed possible & unlikely buffer overflow.

9 years agopatch [#28247] Fix for: [#28236] Separate By Materials fails when some materials...
Campbell Barton [Sun, 14 Aug 2011 12:02:01 +0000 (12:02 +0000)]
patch [#28247] Fix for: [#28236] Separate By Materials fails when some materials "available" to the mesh are unassigned
from Alex Fraser (z0r)

9 years agofix for fix r39388, this added checkboxes to buttons which are not supposed to have...
Campbell Barton [Sun, 14 Aug 2011 11:38:17 +0000 (11:38 +0000)]
fix for fix r39388, this added checkboxes to buttons which are not supposed to have them.
now only add checkboxes when the background is not emboss - which works for menus but will work in more general cases too.

9 years agoadd in asserts for when array/non array RNA funcions are used incorrectly, would...
Campbell Barton [Sun, 14 Aug 2011 10:28:18 +0000 (10:28 +0000)]
add in asserts for when array/non array RNA funcions are used incorrectly, would have made previous fix a lot easier to find.
also remove unused argument from RNA_property_array_check.

9 years agoBugfix [#28244] Setting vector handle in fcurve can fail
Joshua Leung [Sun, 14 Aug 2011 10:19:21 +0000 (10:19 +0000)]
Bugfix [#28244] Setting vector handle in fcurve can fail

So apparently this was a regression from 2.4x, since vector handles
were one of the handle types which could be set independently for each
handle (vs both needing to be the same, for example, Auto Handles)

9 years agofix [#28245] Checkboxes in menu items fail for boolean arrays.
Campbell Barton [Sun, 14 Aug 2011 10:17:41 +0000 (10:17 +0000)]
fix [#28245] Checkboxes in menu items fail for boolean arrays.
2 bugs with displaying boolean arrays.

9 years agoFixing bug with editing keymaps when filter is enabled.
Sergey Sharybin [Sun, 14 Aug 2011 09:12:43 +0000 (09:12 +0000)]
Fixing bug with editing keymaps when filter is enabled.

9 years agopatch [#28246] Fix for [#28240]: selecting more than one object in the outliner with...
Campbell Barton [Sun, 14 Aug 2011 08:39:13 +0000 (08:39 +0000)]
patch [#28246] Fix for [#28240]: selecting more than one object in the outliner with "shift left mouse" doesn't work anymore
from Alex Fraser (z0r)

9 years agofix [#28225] Solidify Modifier creates wrong results when vertex group is attached
Campbell Barton [Sun, 14 Aug 2011 06:43:58 +0000 (06:43 +0000)]
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.

9 years agoShow dopesheet summary for new DopeSheet editors
Joshua Leung [Sun, 14 Aug 2011 04:55:52 +0000 (04:55 +0000)]
Show dopesheet summary for new DopeSheet editors

While I originally made these so that they wouldn't be on by default
due to concerns over the filtering used for these leading to reduced
framerates/interactive speed, I'd since found while doing some
profiling that this isn't the case.

Rather, decreased framerates were more likely to stem from trying to
perform the checks necessary for the long-keyframe drawing when many
"child" channels are involved (affecting other channels too).

So, since these are generally useful, they are now enabled by default

9 years agobugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto
Dalai Felinto [Sun, 14 Aug 2011 04:37:53 +0000 (04:37 +0000)]
bugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-Kanto

9 years ago- recently restored sequencer change data operator didnt reset the offsets after...
Campbell Barton [Sun, 14 Aug 2011 03:59:22 +0000 (03:59 +0000)]
- 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.

9 years agoAdded argument to retargeting - step size. Allows retargeting every other 'step'...
Benjy Cook [Sat, 13 Aug 2011 18:46:34 +0000 (18:46 +0000)]
Added argument to retargeting - step size. Allows retargeting every other 'step' frame, useful for previewing or faster retargeting.

9 years ago2.6 UI Files:
Thomas Dinges [Sat, 13 Aug 2011 17:52:13 +0000 (17:52 +0000)]
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!

9 years agotransform matrix animation import fix.
Sukhitha Prabhath Jayathilake [Sat, 13 Aug 2011 16:22:14 +0000 (16:22 +0000)]
transform matrix animation import fix.

9 years agolight parameter export expansion.
Sukhitha Prabhath Jayathilake [Sat, 13 Aug 2011 16:21:41 +0000 (16:21 +0000)]
light parameter export expansion.

9 years agoLight blender profile param sid addressing
Sukhitha Prabhath Jayathilake [Sat, 13 Aug 2011 16:20:28 +0000 (16:20 +0000)]
Light blender profile param sid addressing

9 years agorunning bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.
Campbell Barton [Sat, 13 Aug 2011 14:24:53 +0000 (14:24 +0000)]
running bpy.ops.render.render('INVOKE_DEFAULT') would crash blender.

9 years ago2.6 Release Cycle begin:
Thomas Dinges [Sat, 13 Aug 2011 13:45:03 +0000 (13:45 +0000)]
2.6 Release Cycle begin:

Idea is to set it to alpha for the first 3 weeks (B-Con1)
Beta for B-Con 2 and 3
RC for B-Con 4
Release for B-Con 5

9 years agoAdded a small operator to ease mapping. When used, the hierarchy mapping field is...
Benjy Cook [Sat, 13 Aug 2011 11:09:42 +0000 (11:09 +0000)]
Added a small operator to ease mapping. When used, the hierarchy mapping field is filled with the currently selected (pose) bone.

9 years agoindex_to_framebuffer (used for mesh selection) was being called 3x times per call...
Campbell Barton [Sat, 13 Aug 2011 09:22:14 +0000 (09:22 +0000)]
index_to_framebuffer (used for mesh selection) was being called 3x times per call to WM_set_framebuffer_index_color(), because of the cpack define.

9 years agoBGE Animations: Adding an option to let users choose whether or not to lock animation...
Mitchell Stokes [Fri, 12 Aug 2011 20:53:29 +0000 (20:53 +0000)]
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.

9 years agoTransform matrix Animation import fix.
Sukhitha Prabhath Jayathilake [Fri, 12 Aug 2011 20:38:29 +0000 (20:38 +0000)]
Transform matrix Animation import fix.

9 years agoNodes: make node set active function usable outside of node editor, and in doing
Brecht Van Lommel [Fri, 12 Aug 2011 18:27:48 +0000 (18:27 +0000)]
Nodes: make node set active function usable outside of node editor, and in doing
so fix a missing updating when activating a node with multiple node editors open.

9 years agoCode cleanup: fix wrong doxygen file name.
Brecht Van Lommel [Fri, 12 Aug 2011 18:24:17 +0000 (18:24 +0000)]
Code cleanup: fix wrong doxygen file name.

9 years agoCode cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.
Brecht Van Lommel [Fri, 12 Aug 2011 18:17:28 +0000 (18:17 +0000)]
Code cleanup: small glsl mesh drawing code changes, getting rid of an ugly macro.

9 years agoCode cleanup: remove seam drawing in face select mode, was left over from when
Brecht Van Lommel [Fri, 12 Aug 2011 18:13:55 +0000 (18:13 +0000)]
Code cleanup: remove seam drawing in face select mode, was left over from when
seams were edited there, now only needed in edit mode.

9 years agoModifiers: add callback to loop over each texture assigned to a modifier.
Brecht Van Lommel [Fri, 12 Aug 2011 18:11:22 +0000 (18:11 +0000)]
Modifiers: add callback to loop over each texture assigned to a modifier.

9 years agoMore work on Advanced Retargeting and some stride bone bugs
Benjy Cook [Fri, 12 Aug 2011 18:10:31 +0000 (18:10 +0000)]
More work on Advanced Retargeting and some stride bone bugs

9 years agoCode cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
Brecht Van Lommel [Fri, 12 Aug 2011 18:06:05 +0000 (18:06 +0000)]
Code cleanup: replace some manual setting of ob->recalc with DAG_id_tag_update,
is now just as fast anyway with delayed flush.

9 years agoDrat... missed one
Joshua Leung [Fri, 12 Aug 2011 07:22:29 +0000 (07:22 +0000)]
Drat... missed one

9 years agoFixing compiler warning
Joshua Leung [Fri, 12 Aug 2011 07:21:44 +0000 (07:21 +0000)]
Fixing compiler warning

9 years agoBye bye vile relics of extinct version control systems,
Joshua Leung [Fri, 12 Aug 2011 07:20:49 +0000 (07:20 +0000)]
Bye bye vile relics of extinct version control systems,
Causing a flurry of refresh file prompts post-commit,
Confusing local diffs and causing merge conflicts,
Stating the obvious; redundant and useless...

We shall not miss thou, blasted expand $keywords$

9 years agoimport common classes from bpy.types, saves ~1000 python getattrs on startup.
Campbell Barton [Fri, 12 Aug 2011 06:57:00 +0000 (06:57 +0000)]
import common classes from bpy.types, saves ~1000 python getattrs on startup.

9 years agoadd bpy.types as a module for convenient imports, eg:
Campbell Barton [Fri, 12 Aug 2011 06:31:39 +0000 (06:31 +0000)]
add bpy.types as a module for convenient imports, eg:
  from bpy.types import Menu

9 years agosequencer todo: change sequence added back (C key)
Campbell Barton [Fri, 12 Aug 2011 06:08:22 +0000 (06:08 +0000)]
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.

9 years agoadd WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this...
Campbell Barton [Fri, 12 Aug 2011 03:53:26 +0000 (03:53 +0000)]
add WM_FILESEL_FILES to WM_operator_properties_filesel, sequencer was doing this on its own.

9 years agosoft limits for add object rotation value, without cont. grab it would get to very...
Campbell Barton [Fri, 12 Aug 2011 03:18:04 +0000 (03:18 +0000)]
soft limits for add object rotation value, without cont. grab it would get to very large numbers with a small drag.

9 years agoun-inline GHash functions r26206, these are quite large functions to inline and incre...
Campbell Barton [Fri, 12 Aug 2011 02:23:06 +0000 (02:23 +0000)]
un-inline GHash functions r26206, these are quite large functions to inline and increase binary size by 30kb, (tested on stripped, cmake release build).

Ran some speed tests and difference was close to the noise level, but inlining gives only ~2 - 3% speedup with build modifier which uses ghash a lot.

9 years agoAdditional work on animation stitching, now with auto-guess capability. Only a few...
Benjy Cook [Thu, 11 Aug 2011 16:46:27 +0000 (16:46 +0000)]
Additional work on animation stitching, now with auto-guess capability. Only a few bugs left, regarding animations translation

9 years agouse correct libdir for buildbot win64.
Nathan Letwory [Thu, 11 Aug 2011 16:43:36 +0000 (16:43 +0000)]
use correct libdir for buildbot win64.

9 years agoCommiting patch from jensverwiebe for NDOF support on OSX
Sergey Sharybin [Thu, 11 Aug 2011 15:59:19 +0000 (15:59 +0000)]
Commiting patch from jensverwiebe for NDOF support on OSX

9 years agoOptimizations following intensive profiling of retarget and other lengthy functions...
Benjy Cook [Thu, 11 Aug 2011 14:50:19 +0000 (14:50 +0000)]
Optimizations following intensive profiling of retarget and other lengthy functions. Retargeting now takes ~30% less time

9 years agoAdvanced Retargeting option: If the end user armature is complex, on the level of...
Benjy Cook [Thu, 11 Aug 2011 13:47:49 +0000 (13:47 +0000)]
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

9 years agoFix for crash when using undo during sketching session.
Sergey Sharybin [Thu, 11 Aug 2011 13:40:47 +0000 (13:40 +0000)]
Fix for crash when using undo during sketching session.

Currently, grease pencil conflicts with such operators
as undo and set object mode which makes behavior totally
unpredictable and crash for some cases.

The only way to solve this proper is to ger rid of pointers
to data which can chage stored in operator custom data.

9 years agoFix #28180: crash running"My Keymap").
Brecht Van Lommel [Thu, 11 Aug 2011 11:56:02 +0000 (11:56 +0000)]
Fix #28180: crash running"My Keymap").
There isn't much point in doing this at the moment, but shouldn't crash.

9 years ago3D Audio GSoC:
Joerg Mueller [Thu, 11 Aug 2011 11:41:24 +0000 (11:41 +0000)]
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.

9 years agoAdding a readonly length_squared property to mathutils.Vector. This is simply vector...
Mitchell Stokes [Thu, 11 Aug 2011 09:40:14 +0000 (09:40 +0000)]
Adding a readonly length_squared property to mathutils.Vector. This is simply, so nothing new is really added, but it's nice for writing more intent revealing code. In other words:

if > some_distance*some_distance:

might not be quite as obvious looking as:

if vec.length_squared > some_distance*some_distance:

As to why you'd want to use length_squared over length is that length uses a square root, which isn't always necessary for simple distance checks (e.g., closest object, checks like the ones above, ect).

9 years agosvn merge -r39286:39298
Campbell Barton [Thu, 11 Aug 2011 09:28:07 +0000 (09:28 +0000)]
svn merge -r39286:39298, ensure some edits in trunk dont get merged back into pepper

9 years agofix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and...
Campbell Barton [Thu, 11 Aug 2011 08:24:56 +0000 (08:24 +0000)]
fix [#28213] Imperial unit for 0.001 inches inconsistently displayed as mils and thous

9 years agoBGE Animations: Animation updates are now handled separately from logic/physics updat...
Mitchell Stokes [Thu, 11 Aug 2011 07:19:37 +0000 (07:19 +0000)]
BGE Animations: Animation updates are now handled separately from logic/physics updates. This allows the animations to be updated at the full fps specified by the user. Before, updates were not happening frequently enough. For example, a 30fps animation my only update at 20~30fps, which would cause some noticeable lag. This my not be the best solution since at this point we may be dropping frames (not being in the while(frames) loop), and we're not updating as often as the physics engine might want for bone parented physics objects.

9 years agoSVN maintenance.
Guillermo S. Romero [Thu, 11 Aug 2011 06:40:04 +0000 (06:40 +0000)]
SVN maintenance.

9 years agouse ghash for operator and menu types, was doing string lookup in the operator list...
Campbell Barton [Thu, 11 Aug 2011 06:06:17 +0000 (06:06 +0000)]
use ghash for operator and menu types, was doing string lookup in the operator list (containing over 1000 items) for each button draw.

gives small speedup for UI drawing and overall startup time.

9 years agoifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its...
Campbell Barton [Thu, 11 Aug 2011 05:50:05 +0000 (05:50 +0000)]
ifdef'd outliner code which is spesific to gsoc pepper with '// GSOC_PEPPER' so its obvious. this will keep merging pepper changes from conflicting and can be removed when its finally merged.

9 years agomerge outliner refactor so we dont have to keep outliner.c locked in trunk.
Campbell Barton [Thu, 11 Aug 2011 05:46:18 +0000 (05:46 +0000)]
merge outliner refactor so we dont have to keep outliner.c locked in trunk.

this wont build because of changes spesific to pepper, fix coming next.

svn merge source/blender/editors/space_outliner -r36830:38987

9 years agounlocking outliner.c and removing... (merging refactor from pepper but looks like...
Campbell Barton [Thu, 11 Aug 2011 05:43:20 +0000 (05:43 +0000)]
unlocking outliner.c and removing... (merging refactor from pepper but looks like this will take a few steps)

9 years agosvn merge -r39145:39286
Campbell Barton [Thu, 11 Aug 2011 05:04:01 +0000 (05:04 +0000)]
svn merge -r39145:39286

9 years agoBGE Animations: Updating BL_ActionActuator.frame to work with the new actuator.
Mitchell Stokes [Thu, 11 Aug 2011 03:27:47 +0000 (03:27 +0000)]
BGE Animations: Updating BL_ActionActuator.frame to work with the new actuator.

9 years agoMostly finished implementation of animation stitching, with lock bone functionality...
Benjy Cook [Wed, 10 Aug 2011 20:37:57 +0000 (20:37 +0000)]
Mostly finished implementation of animation stitching, with lock bone functionality, allowing the user to choose a bone that maintains its position during the blend

9 years agoFix for previous commit, now a fake user flag is added when switching between retarge...
Benjy Cook [Wed, 10 Aug 2011 20:36:52 +0000 (20:36 +0000)]
Fix for previous commit, now a fake user flag is added when switching between retargeted animations, so they don't get lost on save

9 years agofix for regression for shape key UI, values are now editable again in the list, doubl...
Campbell Barton [Wed, 10 Aug 2011 20:12:27 +0000 (20:12 +0000)]
fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types.