9 years agoSpot Light spot_blend animation im/export.
Sukhitha Prabhath Jayathilake [Tue, 5 Jul 2011 18:02:08 +0000 (18:02 +0000)]
Spot Light spot_blend animation im/export.

9 years agoMerging from trunk up to r38119.
Joerg Mueller [Tue, 5 Jul 2011 13:54:25 +0000 (13:54 +0000)]
Merging from trunk up to r38119.

9 years agoFix #27855: crash on enabling high resolution smoke.
Brecht Van Lommel [Tue, 5 Jul 2011 12:25:56 +0000 (12:25 +0000)]
Fix #27855: crash on enabling high resolution smoke.

Wavelet tile generation code was reading outside of array bounds, and as a
result could give a noise.wavelets file with nan values. Now that problem
is fixed, and existing files with nan are ignored.

9 years agoAdded access to denoising and new constraints functionality to UI script
Benjy Cook [Tue, 5 Jul 2011 10:57:29 +0000 (10:57 +0000)]
Added access to denoising and new constraints functionality to UI script

9 years agoAdded One-Sided distance constraint. Also fixed some bugs and syntax in constraint...
Benjy Cook [Tue, 5 Jul 2011 10:56:34 +0000 (10:56 +0000)]
Added One-Sided distance constraint. Also fixed some bugs and syntax in constraint and retarget scripts

9 years agoAdded denoising function. Uses a type of median filter to smooth out spikes, typical...
Benjy Cook [Tue, 5 Jul 2011 10:55:35 +0000 (10:55 +0000)]
Added denoising function. Uses a type of median filter to smooth out spikes, typical of sensor noise in motion capture data

9 years agoFix part of #27858: crash trying to apply subsurf modifier as shape key,
Brecht Van Lommel [Tue, 5 Jul 2011 10:35:48 +0000 (10:35 +0000)]
Fix part of #27858: crash trying to apply subsurf modifier as shape key,
fix found by Bastian Schreiber.

9 years agoFix #27826: bone envelope head/tail radius not dynamically updated in viewport.
Brecht Van Lommel [Tue, 5 Jul 2011 10:04:40 +0000 (10:04 +0000)]
Fix #27826: bone envelope head/tail radius not dynamically updated in viewport.

9 years agoFix #27846: time extend / E key not work in sequence editor.
Brecht Van Lommel [Tue, 5 Jul 2011 09:47:09 +0000 (09:47 +0000)]
Fix #27846: time extend / E key not work in sequence editor.

9 years agoFix #27810: bones drawn blue in 2.49 file, was still checking stride bone
Brecht Van Lommel [Tue, 5 Jul 2011 09:35:38 +0000 (09:35 +0000)]
Fix #27810: bones drawn blue in 2.49 file, was still checking stride bone
flag for drawing even though that feature is no longer in 2.5.

9 years agoFix #27863: converting curve spline type from python crashes.
Brecht Van Lommel [Tue, 5 Jul 2011 08:57:11 +0000 (08:57 +0000)]
Fix #27863: converting curve spline type from python crashes.

9 years agoFix: #27861 bevel angle limit at 90° wasn't working well on cube, tweaked
Brecht Van Lommel [Tue, 5 Jul 2011 08:28:54 +0000 (08:28 +0000)]
Fix: #27861 bevel angle limit at 90° wasn't working well on cube, tweaked
epsilon value to be a bit smaller.

9 years agofix [#27862] OpenGL render animation don't respect .png RGB option.
Campbell Barton [Tue, 5 Jul 2011 07:46:25 +0000 (07:46 +0000)]
fix [#27862] OpenGL render animation don't respect .png RGB option.

9 years agoBGE Animations: Various fixes and bits of cleanup to get the action actuator to behav...
Mitchell Stokes [Tue, 5 Jul 2011 05:22:02 +0000 (05:22 +0000)]
BGE Animations: Various fixes and bits of cleanup to get the action actuator to behave more like it did in trunk. The Pepper version is still more sensitive to pulses than the trunk version, but this is more accurate. I might try to address this, but I'm not sure.

9 years agoFix for [#27182] particle/collision kill interacting strangely
Janne Karhu [Tue, 5 Jul 2011 02:56:14 +0000 (02:56 +0000)]
Fix for [#27182] particle/collision kill interacting strangely
* Particle die time wasn't taken correctly into account in certain situations when calculating dynamics.

9 years agoFix for [#27579] Particles Cache Problem
Janne Karhu [Tue, 5 Jul 2011 02:18:55 +0000 (02:18 +0000)]
Fix for [#27579] Particles Cache Problem
* Horrors from the ancient world of deprecated code: object animation offset can't really work correctly with particles unless point cache takes full control of particle system timing.
* Disabled the non-working offset control from effecting particles so that for now particles will work consistently and the offset is only applied to the object.

9 years agoReduce duplicate code
Joshua Leung [Tue, 5 Jul 2011 01:55:03 +0000 (01:55 +0000)]
Reduce duplicate code

9 years agoBugfix #27856: Transforming Grease Pencil frames in Action Editor
Joshua Leung [Tue, 5 Jul 2011 01:54:01 +0000 (01:54 +0000)]
Bugfix #27856: Transforming Grease Pencil frames in Action Editor
didn't perform updates

* This problem was caused by a typo when adapting old code
* Fixed crash where keyframes-update was being called in Grease Pencil
transforms too

Outliner/Datablocks Viewer doesn't update that nicely when these
keyframes get modified. Outside of gdb, I managed to get a few non-
repeatable crashes here; while debugging though, there was only some
lagging oddness if panning before the tree updated.

9 years agoFix for [#27347] Particle x-axis mirror editing not working as expected.
Janne Karhu [Tue, 5 Jul 2011 01:49:34 +0000 (01:49 +0000)]
Fix for [#27347] Particle x-axis mirror editing not working as expected.
* The x-mirror editing didn't mirror strand lengths.

9 years agoblenderplayer bundle in OSX doesn't need script folder (untested)
Dalai Felinto [Tue, 5 Jul 2011 00:30:27 +0000 (00:30 +0000)]
blenderplayer bundle in OSX doesn't need script folder (untested)
I can't test this here, somehow blender+scons is failing in my building env.
but it should work. Basically it skips the copy of the script folder for the

I will test it once buildbot get pass this review ;)

9 years agoBGE Animations: Updating some copy+pasted license blocks.
Mitchell Stokes [Mon, 4 Jul 2011 21:21:49 +0000 (21:21 +0000)]
BGE Animations: Updating some copy+pasted license blocks.

9 years agoBGE Animations: Adding preliminary support for blend shape actions on different layer...
Mitchell Stokes [Mon, 4 Jul 2011 21:19:11 +0000 (21:19 +0000)]
BGE Animations: Adding preliminary support for blend shape actions on different layers. This, and shape action blending in general still require more work though.

9 years ago(no commit message)
Sukhitha Prabhath Jayathilake [Mon, 4 Jul 2011 19:41:33 +0000 (19:41 +0000)]

9 years agoLight(spot) spot_size (fall of angle in COLLADA) animation support completed.
Sukhitha Prabhath Jayathilake [Mon, 4 Jul 2011 19:30:58 +0000 (19:30 +0000)]
Light(spot) spot_size (fall of angle in COLLADA) animation support completed.

9 years agoUpdated the indent, sorry!
Jeroen Bakker [Mon, 4 Jul 2011 19:22:37 +0000 (19:22 +0000)]
Updated the indent, sorry!

9 years ago====== Proposal: Nodes property windows enhancement ======
Jeroen Bakker [Mon, 4 Jul 2011 18:48:36 +0000 (18:48 +0000)]
====== Proposal: Nodes property windows enhancement ======

===== Situation before this patch =====

in the current situation inside the node editor there is a properties panel (press 'n'-key). This pabel displays some information about the node, backdrop and grease pencil. The UI of the property panel is typically vertical oriented. Nodes in the other hand are not oriented in a direction. Both area's are draw via the same draw function.

With some nodes this will create not user-friendly UI. Try the color-balance for instance). The 3 color circles are drawn next to each other, it would be better to draw them below each other.

When creating more complex nodes you don't want to display all handles in the node-panel and in the properties panel. For instance fine-tuning handles you only want to appear in the property panel to reduce place in the node itself.

===== Situation after this patch  =====

This patch separates the draw functions of the property panel and the node panel.
When no special draw function is created for the property panel, the draw function of the node will be used as 'fallback'

===== Impact =====

==== BKE_node.h ====

add a new uifunc (called uifuncbut) to the bNodeType struct. The definition is the same as the uifunc.

==== node_buttons.c ====

if the uifuncbut is set, call it. currently calls the uifunc method

==== drawnode.c ====

static void node_composit_set_butfunc(bNodeType *ntype). set the uifuncbut function where needed. When at the end of the method uifuncbut is still empty, set uifuncbut to the uifunc.

===== Final note =====

! PS. this is not limited to the compositor it also works for Materials and Textures !
! PPS. For other branching creating their own node-tree. Please make sure that your uifuncbut is set NULL or a valid draw function !

9 years agoCurrent situation
Jeroen Bakker [Mon, 4 Jul 2011 18:14:41 +0000 (18:14 +0000)]
Current situation

A mesh can consist out of multiple material. Take a character with clothing's. the skin can be a different material as the different clothing's. During compositing it is a common use-case to only do a part of the composit on only a specific material. Currently this can not be done.

In blender movies this feature is known to be implemented, but until now it never got integrated into trunk.

With material index the Blender internal renderer will be capable of creating a buffer containing the material indexes of the first pixel-hit. This will be implemented in the same manner as the object index.

In the compositor the ID Mask node can be used to extract the information out of the Render pass.
User interface

On the properties-space the next changes will be done

    Scene⇒Render layer⇒Passes⇒Material index will be added
    Material⇒Options⇒Pass index will be added


    Material struct will get an new field called “index”. this will be a short-type.
    Material struct the field pad will be removed.
    A new Render-layer pass will be added (bit 1«18)


    Material RNA is updated (based on “pass index” from object)
    Render layer RNA is updated (based on IndexOB)

Blender internal renderer

The Blender internal renderer will process the render pass as a copy of the Object index.
Blender compositor

The render layer input will get a new output socket called “IndexMA”

An example on how to use material index can be found at:

This is also example of a commit message longer than the commit itself :)

9 years agolight SpotLight blend and size parameters animation export. on going.
Sukhitha Prabhath Jayathilake [Mon, 4 Jul 2011 15:33:39 +0000 (15:33 +0000)]
light SpotLight blend and size parameters animation export. on going.

9 years agobind marker camera now uses active object rather then scene camera (was requested...
Campbell Barton [Mon, 4 Jul 2011 15:09:02 +0000 (15:09 +0000)]
bind marker camera now uses active object rather then scene camera (was requested a few times)

9 years agoFix #27849: 3D manipulator widget lost on mesh in edge mode.
Brecht Van Lommel [Mon, 4 Jul 2011 13:48:18 +0000 (13:48 +0000)]
Fix #27849: 3D manipulator widget lost on mesh in edge mode.

The manipulator was always using vertex selection flags, but those are only
valid in vertex mode, as selection flag flushing only happens in the direction
vertex -> edge -> face. Now use edge/face selection flags when needed.

9 years agoPaths: remove some temporary code that was only needed for 2.57.
Brecht Van Lommel [Mon, 4 Jul 2011 13:33:47 +0000 (13:33 +0000)]
Paths: remove some temporary code that was only needed for 2.57.

9 years agoFix #27785: blenderplayer + eltopo linking error.
Brecht Van Lommel [Mon, 4 Jul 2011 13:03:41 +0000 (13:03 +0000)]
Fix #27785: blenderplayer + eltopo linking error.

9 years agoFinished Freeze constraint, and target space option for Freeze and Point constraints.
Benjy Cook [Mon, 4 Jul 2011 11:35:29 +0000 (11:35 +0000)]
Finished Freeze constraint, and target space option for Freeze and Point constraints.

9 years agoBug report (IRC)
Ton Roosendaal [Mon, 4 Jul 2011 11:28:39 +0000 (11:28 +0000)]
Bug report (IRC)

Knife cut with long mouse trails failed, increased max amount of input points
4 fold (1024).

9 years agoFix #27850: keyboards with a comma instead of a dot on the numpad now get
Brecht Van Lommel [Mon, 4 Jul 2011 10:56:59 +0000 (10:56 +0000)]
Fix #27850: keyboards with a comma instead of a dot on the numpad now get
converted to a dot when typing into number buttons, for easier number entry.

9 years agoApply patch 4636051. COLLADA: Export selection.
Nathan Letwory [Mon, 4 Jul 2011 08:59:28 +0000 (08:59 +0000)]
Apply patch 4636051. COLLADA: Export selection.
Original patch by Jan Diederich, adapted by Pelle Johnsen. Review assistance by Daniel Tavares.

This patch adds an option to export only the selection.

9 years agofix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectors
Campbell Barton [Mon, 4 Jul 2011 08:13:27 +0000 (08:13 +0000)]
fix for own error in intersect_line_sphere_2d(), using 3d function on 2d vectors

9 years agofix for crash when setting layers or saving when there is no active scene - only...
Campbell Barton [Mon, 4 Jul 2011 05:23:36 +0000 (05:23 +0000)]
fix for crash when setting layers or saving when there is no active scene - only really happens when running python scripts on startup.

9 years agoFirst stages of easier "expressions" creation...
Joshua Leung [Mon, 4 Jul 2011 03:12:28 +0000 (03:12 +0000)]
First stages of easier "expressions" creation...

It is now possible to create "scripted expression" drivers by simply
clicking on some property, and typing some short Python expression
prefixed with a '#'. This will result in a scripted expression driver,
with the typed-in text being created.

For example, you can click on X-Location of the default cube, and
and a new driver will be created for the x-location of the cube. This
will use the current frame value, and modulate this with a sine wave.

Do note though, that the current frame is a special case here. In the
current implementation, a special "frame" driver variable, which
references the current scene frame is created automatically, so that
this simple and (assumed) common case will work straight out of the

Future improvements:
- Explore possibilities of semi-automated extraction of variables from
such expressions, resulting in automated variable extraction. (Doing
away with variables completely is definitely 100% off the agenda
- Look into some ways of defining some shorthands for referencing
local data (possibly related to variable extraction?)

9 years agoAdded smoothing variables to constraint creation, and now Active checkbox is function...
Benjy Cook [Sun, 3 Jul 2011 21:25:54 +0000 (21:25 +0000)]
Added smoothing variables to constraint creation, and now Active checkbox is functional.Also initial work was done on the freeze constraint.

9 years agoFixed some issues with stride bone and original empty creation and parenting. Now...
Benjy Cook [Sun, 3 Jul 2011 21:23:41 +0000 (21:23 +0000)]
Fixed some issues with stride bone and original empty creation and parenting. Now there is no longer a constraint cycle issue when using IK constraints

9 years agofix for building WITH_PYTHON_MODULE
Campbell Barton [Sun, 3 Jul 2011 19:15:46 +0000 (19:15 +0000)]
fix for building WITH_PYTHON_MODULE

9 years agoAs per discussion: allow bone transforms again for proxy'ed bones.
Ton Roosendaal [Sun, 3 Jul 2011 18:21:37 +0000 (18:21 +0000)]
As per discussion: allow bone transforms again for proxy'ed bones.

9 years agoLight Color Animation Import Complete.
Sukhitha Prabhath Jayathilake [Sun, 3 Jul 2011 17:26:02 +0000 (17:26 +0000)]
Light Color Animation Import Complete.

9 years agoCMake file to build ghost tests again.
Campbell Barton [Sun, 3 Jul 2011 16:17:38 +0000 (16:17 +0000)]
CMake file to build ghost tests again.

9 years agochanged the max decimal points to show from 7 to 6, since with float precision proble...
Campbell Barton [Sun, 3 Jul 2011 13:20:21 +0000 (13:20 +0000)]
changed the max decimal points to show from 7 to 6, since with float precision problems the median point of a selection could be 0.0000003

9 years agoAnimationType flag. AnimationType Enum update.
Sukhitha Prabhath Jayathilake [Sun, 3 Jul 2011 13:01:52 +0000 (13:01 +0000)]
AnimationType flag. AnimationType Enum update.

9 years agoAnimationType Enum.
Sukhitha Prabhath Jayathilake [Sun, 3 Jul 2011 12:33:52 +0000 (12:33 +0000)]
AnimationType Enum.

9 years agoExperimental depsgraph tweak:
Joshua Leung [Sun, 3 Jul 2011 11:56:24 +0000 (11:56 +0000)]
Experimental depsgraph tweak:
Objects with drivers are now treated as needing updates when the
current frame changes. This assumption has been documented in the
code, and should at least mean that users who try to use drivers for
creating simple time-based expressions that this should work.

- It is still recommended to create a "cfra" driver variable instead
of actually inlining bpy.context.scene.frame_current into the
expressions. Not only does the latter look rather nasty to type/have
in the expression, but it is also less future-proof for when I get
around to actually working on a beefed-up depsgraph (nothing official
on that front yet...)

9 years agofind_frames() calls removed.
Sukhitha Prabhath Jayathilake [Sun, 3 Jul 2011 11:28:40 +0000 (11:28 +0000)]
find_frames() calls removed.

9 years agoLight Animation Identification.
Sukhitha Prabhath Jayathilake [Sun, 3 Jul 2011 11:07:34 +0000 (11:07 +0000)]
Light Animation Identification.

9 years agofix 2 bugs in project from view from a camera object
Campbell Barton [Sun, 3 Jul 2011 10:48:18 +0000 (10:48 +0000)]
fix 2 bugs in project from view from a camera object
- panorama mode was scaled 2x too high.
- scaled camera objects would incorrectly effect the result.

9 years agofix [#27839] UV 'Project from view' ignores camera lens shift
Campbell Barton [Sun, 3 Jul 2011 07:37:33 +0000 (07:37 +0000)]
fix [#27839] UV 'Project from view' ignores camera lens shift

9 years agofix for python error when pinning a non mesh object in mesh editmode.
Campbell Barton [Sun, 3 Jul 2011 07:21:33 +0000 (07:21 +0000)]
fix for python error when pinning a non mesh object in mesh editmode.

9 years agofix for error when moving module, broke fracture tools and select internal face operator.
Campbell Barton [Sun, 3 Jul 2011 04:28:41 +0000 (04:28 +0000)]
fix for error when moving module, broke fracture tools and select internal face operator.

9 years agoBGE Animations: Making the action actuator's loop end play mode work better.
Mitchell Stokes [Sun, 3 Jul 2011 02:57:50 +0000 (02:57 +0000)]
BGE Animations: Making the action actuator's loop end play mode work better.

9 years agoBGE Animations: Reimplementing support for the "Flipper" play mode of the action...
Mitchell Stokes [Sun, 3 Jul 2011 02:51:14 +0000 (02:51 +0000)]
BGE Animations: Reimplementing support for the "Flipper" play mode of the action actuator.

9 years agoBGE Animations: Adding in layer weights to allow for layer blending.
Mitchell Stokes [Sun, 3 Jul 2011 01:59:17 +0000 (01:59 +0000)]
BGE Animations: Adding in layer weights to allow for layer blending.

9 years agoEarly commit of mocap constraint work. Still very much a WIP, but Point constraints...
Benjy Cook [Sat, 2 Jul 2011 18:24:05 +0000 (18:24 +0000)]
Early commit of mocap constraint work. Still very much a WIP, but Point constraints should work - but buggy.

9 years agofix for error in cmake files
Campbell Barton [Sat, 2 Jul 2011 07:55:06 +0000 (07:55 +0000)]
fix for error in cmake files

9 years agoLight Sid addressing edited.
Sukhitha Prabhath Jayathilake [Sat, 2 Jul 2011 05:05:03 +0000 (05:05 +0000)]
Light Sid addressing edited.

9 years agofix for building headless
Campbell Barton [Fri, 1 Jul 2011 15:15:22 +0000 (15:15 +0000)]
fix for building headless

9 years agoPackaging variable named 'a' for release
Ton Roosendaal [Fri, 1 Jul 2011 14:46:14 +0000 (14:46 +0000)]
Packaging variable named 'a' for release

9 years agoupdate checksums for x3d tests
Campbell Barton [Fri, 1 Jul 2011 13:39:35 +0000 (13:39 +0000)]
update checksums for x3d tests

9 years agoquick explode failed if executed with no active object
Campbell Barton [Fri, 1 Jul 2011 13:26:20 +0000 (13:26 +0000)]
quick explode failed if executed with no active object

9 years agouv mirror poll function wasnt checking UV's were available on the mesh.
Campbell Barton [Fri, 1 Jul 2011 13:25:00 +0000 (13:25 +0000)]
uv mirror poll function wasnt checking UV's were available on the mesh.

9 years agocmake was installing text as a directory rather then coping the files within it.
Campbell Barton [Fri, 1 Jul 2011 13:10:49 +0000 (13:10 +0000)]
cmake was installing text as a directory rather then coping the files within it.

9 years agominor pep8 edits
Campbell Barton [Fri, 1 Jul 2011 12:33:34 +0000 (12:33 +0000)]
minor pep8 edits

9 years agoNLA Strip Drawing Tweaks
Joshua Leung [Fri, 1 Jul 2011 12:21:13 +0000 (12:21 +0000)]
NLA Strip Drawing Tweaks

* Removed frame-number display from NLA strips. Indeed doing so makes
things look cleaner/easier to identify.
* When transforming NLA strips, the "temp-metas" (purple strips) get
their frame extents drawn on either end, like in the sequencer, which
seems to be easier to read than the ones inside the strips.


The downside of this tweak is that there is no longer any visual
feedback for which strips run reversed instead of forwards, as that
used to be shown using the frame extents stuff.

9 years agoadd 'bgl' OpenGL doc to sphinx
Campbell Barton [Fri, 1 Jul 2011 11:16:42 +0000 (11:16 +0000)]
add 'bgl' OpenGL doc to sphinx

9 years agomoving BGL to rst format, first move file.
Campbell Barton [Fri, 1 Jul 2011 11:13:26 +0000 (11:13 +0000)]
moving BGL to rst format, first move file.

9 years agofix [#27820] foreach_get on bpy_prop_collections returns weird results
Campbell Barton [Fri, 1 Jul 2011 08:48:00 +0000 (08:48 +0000)]
fix [#27820] foreach_get on bpy_prop_collections returns weird results

9 years agoFix #27816: Outliner does not update when parents are cleared
Sergey Sharybin [Fri, 1 Jul 2011 05:58:28 +0000 (05:58 +0000)]
Fix #27816: Outliner does not update when parents are cleared

Added NC_OBJECT|ND_PARENT notifier to OBJECT_OT_parent_clear operator.

9 years agoown change to cmake files broke MSVC2010 with Debug configuration, reported by Alex K
Campbell Barton [Fri, 1 Jul 2011 03:40:12 +0000 (03:40 +0000)]
own change to cmake files broke MSVC2010 with Debug configuration, reported by Alex K

9 years agoKeying Set UI - Icons for Paths in List
Joshua Leung [Fri, 1 Jul 2011 03:35:59 +0000 (03:35 +0000)]
Keying Set UI - Icons for Paths in List

The Keying Set paths list now shows the icon of the type of ID-block
that a path item refers to. This make it easier to make snese of the
paths shown in the list.

9 years agoIcons!
Joshua Leung [Fri, 1 Jul 2011 02:37:44 +0000 (02:37 +0000)]

Animation Editor toggle tweaks:
* By popular request, curve visibility toggles in the Graph Editor are
now represented using the eyeball icons
* Muting is now represented by a speaker icon (a speaker for this
purpose seems fairly common?)

New icons:
* Keying Sets now have their own icons (as found in a proposal on
jendrzych's "Pixel Sized" blog)
* Drivers also have their own icon now. This is just a hacky one I've
devised which doesn't look that great. Suggestions on this are very

9 years agoBGE Animations: Fixing a bug where an action actuator could update a frame property...
Mitchell Stokes [Thu, 30 Jun 2011 20:08:05 +0000 (20:08 +0000)]
BGE Animations: Fixing a bug where an action actuator could update a frame property when it wasn't active.

9 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.

9 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.

9 years agofix for own error in script edits, broke bpy_extras.mesh_utils.ngon_tesselate
Campbell Barton [Thu, 30 Jun 2011 16:06:30 +0000 (16:06 +0000)]
fix for own error in script edits, broke bpy_extras.mesh_utils.ngon_tesselate

9 years agofix for own mistake with key shortcuts r37850
Campbell Barton [Thu, 30 Jun 2011 15:43:38 +0000 (15:43 +0000)]
fix for own mistake with key shortcuts r37850

9 years agoTodo item:
Ton Roosendaal [Thu, 30 Jun 2011 15:02:03 +0000 (15:02 +0000)]
Todo item:

Closed regions didn't always draw the (+) icon right place, confusing
for users.

Next to that, I think this icon is using a bad metaphor or visual language,
Illustrated best if you close a header in outliner or buttons. Icons are
UI widgets, for screen/editor layouts different controls can be stylized.

My preference is something that aligns visually to the seperators between
regions; for testing and hacking pleasure I've added two quick versions,
a small tabbish thing and a triangle. Enable these with debug menu,
ALT+CTRL+D, values 1 or 2.

This is simply drawn with opengl now. An image for it can be made as well.


There's other design ideas to explore as well, like making region deviders
8-10 pixels wide, with a 'drag me' dot on it or so. That takes some screen
estate though, and will require to add big editor-dividers too...
Fun stuff for the mockup-mafia to check on, we have time :)

9 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.

9 years agoWhen duplicating nodes in a tree, also copy the links between selected nodes, as...
Lukas Toenne [Thu, 30 Jun 2011 12:37:59 +0000 (12:37 +0000)]
When duplicating nodes in a tree, also copy the links between selected nodes, as well as input links from non-selected to selected nodes.

9 years agoFix for undefined "index" in key.c.
Sergey Sharybin [Thu, 30 Jun 2011 07:35:41 +0000 (07:35 +0000)]
Fix for undefined "index" in key.c.

Probably forgotten to be remaned to defgrp_index after
recent commit here.

9 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

9 years agoimprove error report [#27775] External Image Editor Preference does not work
Campbell Barton [Thu, 30 Jun 2011 04:32:59 +0000 (04:32 +0000)]
improve error report [#27775] External Image Editor Preference does not work
also correct tooltip typo.

9 years agoreplace inline loops for get_weights_array with calls to defvert_find_weight()
Campbell Barton [Thu, 30 Jun 2011 03:04:39 +0000 (03:04 +0000)]
replace inline loops for get_weights_array with calls to defvert_find_weight()

9 years agominor change in logic for adding a new hook, ignore zero weight verts in a vgroup.
Campbell Barton [Thu, 30 Jun 2011 02:52:13 +0000 (02:52 +0000)]
minor change in logic for adding a new hook, ignore zero weight verts in a vgroup.

9 years agofix/workaround [#27807] bake malloc loop if Deep Shadow && strand && children
Campbell Barton [Thu, 30 Jun 2011 02:02:16 +0000 (02:02 +0000)]
fix/workaround [#27807] bake malloc loop if Deep Shadow && strand && children

render strands use the window matrix and window size which were both zero while baking, this caused divides by 0 and eternal malloc loop.
So set unit window matrix and dummy view size.
This is more a workaround then a fix but avoids crashing.

9 years agominor edits, no functional change.
Campbell Barton [Thu, 30 Jun 2011 01:40:20 +0000 (01:40 +0000)]
minor edits, no functional change.

9 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

9 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.

9 years agoFix windows cmake build, this line got accidentally removed in variable renaming.
Brecht Van Lommel [Wed, 29 Jun 2011 17:56:32 +0000 (17:56 +0000)]
Fix windows cmake build, this line got accidentally removed in variable renaming.

9 years agoAddon UI: button for removing addons which are installed to user/home paths, this...
Campbell Barton [Wed, 29 Jun 2011 15:56:22 +0000 (15:56 +0000)]
Addon UI: button for removing addons which are installed to user/home paths, this is not displayed  for system addons, or ones which come with blender.

9 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

9 years agoincorrectly had CMake storing directory names as filepaths
Campbell Barton [Wed, 29 Jun 2011 13:16:11 +0000 (13:16 +0000)]
incorrectly had CMake storing directory names as filepaths
also correct compiler warning for collada and remove print from own last commit.

9 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.

9 years agoconsole autocomp import now excludes '_' prefixed variables and the results are sorted.
Campbell Barton [Wed, 29 Jun 2011 10:47:43 +0000 (10:47 +0000)]
console autocomp import now excludes '_' prefixed variables and the results are sorted.

9 years agoCorrected link to FFmpeg homepage.
Sergey Sharybin [Wed, 29 Jun 2011 09:46:00 +0000 (09:46 +0000)]
Corrected link to FFmpeg homepage.