7 years agoMerged changes in the trunk up to revision 45133.
Tamito Kajiyama [Sun, 25 Mar 2012 08:20:19 +0000 (08:20 +0000)]
Merged changes in the trunk up to revision 45133.

Conflicts resolved:

7 years agostyle cleanup: operator/whitespace
Campbell Barton [Sat, 24 Mar 2012 11:27:52 +0000 (11:27 +0000)]
style cleanup: operator/whitespace

7 years agofix for error adding vertex colors in editmode.
Campbell Barton [Sat, 24 Mar 2012 11:02:28 +0000 (11:02 +0000)]
fix for error adding vertex colors in editmode.

also correct delete_customdata_layer having invalid 'tot' in editmode, seems harmless for now but better assign correct value.

7 years agofix for crash removing vertex colors in editmode.
Campbell Barton [Sat, 24 Mar 2012 10:41:42 +0000 (10:41 +0000)]
fix for crash removing vertex colors in editmode.

7 years agostyle cleanup: follow style guide for/with/if spacing
Campbell Barton [Sat, 24 Mar 2012 07:52:14 +0000 (07:52 +0000)]
style cleanup: follow style guide for/with/if spacing

7 years agostyle cleanup: pep8, indentation
Campbell Barton [Sat, 24 Mar 2012 07:36:32 +0000 (07:36 +0000)]
style cleanup: pep8, indentation

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 07:09:57 +0000 (07:09 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:38:07 +0000 (06:38 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:24:53 +0000 (06:24 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agostyle cleanup: follow style guide for formatting of if/for/while loops, and else...
Campbell Barton [Sat, 24 Mar 2012 06:18:31 +0000 (06:18 +0000)]
style cleanup: follow style guide for formatting of if/for/while loops, and else if's

7 years agoconvert spaces to tabs and some formatting.
Campbell Barton [Sat, 24 Mar 2012 04:39:53 +0000 (04:39 +0000)]
convert spaces to tabs and some formatting.

7 years agoAdding back delete edge loop to delete menu
Daniel Salazar [Sat, 24 Mar 2012 04:16:44 +0000 (04:16 +0000)]
Adding back delete edge loop to delete menu

7 years agostyle cleanup: mainly for mesh code, also some WM function use.
Campbell Barton [Sat, 24 Mar 2012 02:51:46 +0000 (02:51 +0000)]
style cleanup: mainly for mesh code, also some WM function use.

7 years agoSVN maintenance.
Guillermo S. Romero [Sat, 24 Mar 2012 01:42:08 +0000 (01:42 +0000)]
SVN maintenance.

7 years agocode cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
Campbell Barton [Sat, 24 Mar 2012 01:24:58 +0000 (01:24 +0000)]
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).

7 years agocode cleanup: bmesh_ source files in our editor dir, they are the same as other...
Campbell Barton [Sat, 24 Mar 2012 00:20:36 +0000 (00:20 +0000)]
code cleanup: bmesh_  source files in our editor dir, they are the same as other editmesh_ files.

7 years agocode cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c
Campbell Barton [Fri, 23 Mar 2012 23:41:33 +0000 (23:41 +0000)]
code cleanup: re-shuffle some functions so EDBM_ functions are in bmesh_utils.c

remove bmesh_selecthistory.c, only wrapped a few functions.

7 years agofix for error with saving files after double clicking, the 'need_active' setting...
Campbell Barton [Fri, 23 Mar 2012 22:31:14 +0000 (22:31 +0000)]
fix for error with saving files after double clicking, the 'need_active' setting was getting saved which caused save to fail when not caused by double click afterwards.

7 years agocode cleanup: more consistent naming for mesh operator functions.
Campbell Barton [Fri, 23 Mar 2012 21:25:07 +0000 (21:25 +0000)]
code cleanup: more consistent naming for mesh operator functions.

7 years agoSequence Editor Themes:
Thomas Dinges [Fri, 23 Mar 2012 20:50:38 +0000 (20:50 +0000)]
Sequence Editor Themes:
* Preview Background is now themeable. Patch by Pablo Vazquez (venomgfx).

7 years agocode cleanup: use zero_v3
Campbell Barton [Fri, 23 Mar 2012 20:18:09 +0000 (20:18 +0000)]
code cleanup: use zero_v3

7 years agoBetter smoothing for sculpt cube falloff.
Nicholas Bishop [Fri, 23 Mar 2012 16:59:23 +0000 (16:59 +0000)]
Better smoothing for sculpt cube falloff.

The cube test, used by the clay strips brush, now smooths the corners
of the cube using the brush curve.

7 years ago3D View Themes:
Thomas Dinges [Fri, 23 Mar 2012 16:14:25 +0000 (16:14 +0000)]
3D View Themes:
* Camera and Empty colour is now themeable. Patch by Pablo Vazquez (venomgfx) with some minor edits.

7 years agoKnifetool: add help message in header line
Howard Trickey [Fri, 23 Mar 2012 14:52:00 +0000 (14:52 +0000)]
Knifetool: add help message in header line

7 years agoFixed a couple of typos in the Python API docs
Howard Trickey [Fri, 23 Mar 2012 14:29:59 +0000 (14:29 +0000)]
Fixed a couple of typos in the Python API docs

7 years agofix for cmake error on non osx systems
Campbell Barton [Fri, 23 Mar 2012 10:39:59 +0000 (10:39 +0000)]
fix for cmake error on non osx systems

7 years agobmesh editmode - split dissolve into its own menu. mesh delete code was getting quite...
Campbell Barton [Fri, 23 Mar 2012 10:30:42 +0000 (10:30 +0000)]
bmesh editmode - split dissolve into its own menu. mesh delete code was getting quite messy and mixed in too much different functionality just to add in same menu. Now use a pu menu for delete key which can call different ops.

7 years agoFix for jump to keyframe operator reusing property values incorrect
Sergey Sharybin [Fri, 23 Mar 2012 10:18:45 +0000 (10:18 +0000)]
Fix for jump to keyframe operator reusing property values incorrect

7 years agoFix for [#30438] x=zero not accepted for a bone tail.
Bastien Montagne [Fri, 23 Mar 2012 09:18:00 +0000 (09:18 +0000)]
Fix for [#30438] x=zero not accepted for a bone tail.

In fact, problem was in vec_roll_to_mat3(), which has to detect when the bone is aligned with its Y axis, using a threshold. This one have been raised to quite a high value due to bug [#23954], then lowered a bit due to [#27675] (which is imho in fine the same problem as 30438).

Reset it to its org value (very low 1e-13), as testing file given with firt bug did not show any problem anymore... So now, instead of 1/1000 of bone length from Y axis, we have about 3.25*10-7... Only (hardly) noticeable at max zoom level in 3D view.

7 years agofix for error with console command history not working, using previous settings.
Campbell Barton [Fri, 23 Mar 2012 07:08:28 +0000 (07:08 +0000)]
fix for error with console command history not working, using previous settings.

7 years agofix [#30632] Edge Split Modifier (creates invalid mesh)
Campbell Barton [Fri, 23 Mar 2012 05:43:56 +0000 (05:43 +0000)]
fix [#30632] Edge Split Modifier (creates invalid mesh)

bug was caused by modifying loops vert value in a BM_LOOPS_OF_VERT iterator.

7 years agominor speedup to vertex split function, avoid a hash lookup when its not needed.
Campbell Barton [Fri, 23 Mar 2012 05:18:03 +0000 (05:18 +0000)]
minor speedup to vertex split function, avoid a hash lookup when its not needed.

7 years agofile selector text field and file renaming were doing undo pushes.
Campbell Barton [Fri, 23 Mar 2012 03:21:59 +0000 (03:21 +0000)]
file selector text field and file renaming were doing undo pushes.

7 years agoedge split bmesh operator wasnt accessible (defined but not used), for some reason...
Campbell Barton [Fri, 23 Mar 2012 03:10:44 +0000 (03:10 +0000)]
edge split bmesh operator wasnt accessible (defined but not used), for some reason it had a 'numcuts' option.

add edge split to mesh edge menu.

7 years agodoc cleanup: minor corrections and improvements to docstrings + recent doc changes.
Campbell Barton [Fri, 23 Mar 2012 01:55:38 +0000 (01:55 +0000)]
doc cleanup: minor corrections and improvements to docstrings + recent doc changes.

7 years agomore face -> tessface edits
Campbell Barton [Fri, 23 Mar 2012 01:10:41 +0000 (01:10 +0000)]
more face -> tessface edits

7 years agolast commit broke cycles, also add BMESH_TODO's for python scripts that need upgrading.
Campbell Barton [Fri, 23 Mar 2012 00:56:22 +0000 (00:56 +0000)]
last commit broke cycles, also add BMESH_TODO's for python scripts that need upgrading.

7 years agorna/python api change: rename Mesh.faces --> tessfaces, since existing scripts are...
Campbell Barton [Fri, 23 Mar 2012 00:28:29 +0000 (00:28 +0000)]
rna/python api change: rename Mesh.faces --> tessfaces, since existing scripts are using this to modify the mesh and its confusing that the edits are not kept.

This also makes it clearer that the faces are for tessellated results only.

Added a section on the Gotcha's about upgrading scripts, the pros and cons of MeshTessFace/MeshPoly/BMFace.
and spesifically how to upgrade importers and exporters for 2.63+.

7 years agoFix for step-by-step tracking issue caused by operator presets changes
Sergey Sharybin [Thu, 22 Mar 2012 21:33:52 +0000 (21:33 +0000)]
Fix for step-by-step tracking issue caused by operator presets changes

7 years agopatch [#30620] Wiki Quick Hack: Make Tooltip Text Colour Themeable
Campbell Barton [Thu, 22 Mar 2012 20:24:11 +0000 (20:24 +0000)]
patch [#30620] Wiki Quick Hack: Make Tooltip Text Colour Themeable
from luke frisken (lfrisken), with some edits.

some tooltip colors weren't visible with different backgrounds, now the base tooltip color is used and tinted for python/alert/shortcuts etc. the tint colors are still hard coded.

7 years agopatch [#30636] Enable full screen mode with SDL2
Campbell Barton [Thu, 22 Mar 2012 18:47:52 +0000 (18:47 +0000)]
patch [#30636] Enable full screen mode with SDL2
from Wander Costa (walac)

7 years agoCorrection recent start/end range values for frames: it was impossible to set
Sergey Sharybin [Thu, 22 Mar 2012 17:27:37 +0000 (17:27 +0000)]
Correction recent start/end range values for frames: it was impossible to set
start frame = end frame which is useful in some cases.

Also made behavior of S/E operators equal to sliders in timeline.

7 years agoFix for #30627. This improves the behaviour of the internal_reconnect function for...
Lukas Toenne [Thu, 22 Mar 2012 16:07:41 +0000 (16:07 +0000)]
Fix for #30627. This improves the behaviour of the internal_reconnect function for dissolving, detaching and muting nodes a bit. Instead of only linking a single, perfectly matching socket pair it now connects all outputs of a type to the first input of the same. Also if no such connections can be made it simply links the first connected input to the first connected output. This is the previous behaviour of the delete_reconnect operator (ctrl+x).

7 years agoFix for Add Movie Strip and Add Sound Strip operators and operator property re-use...
Sergey Sharybin [Thu, 22 Mar 2012 14:33:51 +0000 (14:33 +0000)]
Fix for Add Movie Strip and Add Sound Strip operators and operator property re-use system.

7 years agopatch [#30635] Fix SDL2 version check by Wander Costa (walac)
Dalai Felinto [Thu, 22 Mar 2012 14:06:42 +0000 (14:06 +0000)]
patch [#30635] Fix SDL2 version check by Wander Costa (walac)

7 years ago#collada skeleton animation import, fixes #29246
Arystanbek Dyussenov [Thu, 22 Mar 2012 13:35:52 +0000 (13:35 +0000)]
#collada skeleton animation import, fixes #29246

Apply part of the patch #30070 by Juha Mäki-Kanto, that takes into account the transform of non-joint type parent in bone animation computation. Thanks!

7 years agoFix [#30614] (some Display settings are uneeded for non-geometry/material object...
Bastien Montagne [Thu, 22 Mar 2012 13:27:24 +0000 (13:27 +0000)]
Fix [#30614] (some Display settings are uneeded for non-geometry/material object types, and armature have no boundbox).

This commit:
* Removes the Wire and Color options from the UI for all object types but meshes, curves/surfaces/texts, and metas.
* Adds a basic bounding box drawing (and computing) for armatures.

7 years agoFix #30491: Not Updating Scene Length
Sergey Sharybin [Thu, 22 Mar 2012 13:22:28 +0000 (13:22 +0000)]
Fix #30491: Not Updating Scene Length
(also fixes special request from Ian for Mango)

Added operator to update actual content length of all selected strips.
Can be useful for scenes and movies as well after doing making changes to

Can be improved further to deal better with cases when strip has got effect
and it's get reshuffled because of overlapping after changing it's length.

7 years agoQuick Mango request: Adjustable contrast/intensity for unselected F-Curves in
Joshua Leung [Thu, 22 Mar 2012 12:19:31 +0000 (12:19 +0000)]
Quick Mango request: Adjustable contrast/intensity for unselected F-Curves in
Graph Editor

Under User Preferences -> Editing, there's a new setting "F-Curve Visibility"
which controls the how much F-Curves blend in with the background colour.
Increasing this value makes F-Curves stand out more, at the expense of making it
less obvious which F-Curve is active.

7 years agobmesh py api:
Campbell Barton [Thu, 22 Mar 2012 09:29:18 +0000 (09:29 +0000)]
bmesh py api:
  added BMFace.material_index

7 years agoFix #30575: Text gets wrongly clipped when using accented letters
Sergey Sharybin [Thu, 22 Mar 2012 09:20:22 +0000 (09:20 +0000)]
Fix #30575: Text gets wrongly clipped when using accented letters

Clipping functions used for drawing weren't using stepping and always were assuming
letters are single byte encoded. Now they're using correct stepping.

7 years agoRenaming CD_WEIGHT_MCOL/MLOOPCOL and their masks from WEIGHT to PREVIEW, as this...
Bastien Montagne [Thu, 22 Mar 2012 08:41:50 +0000 (08:41 +0000)]
Renaming CD_WEIGHT_MCOL/MLOOPCOL and their masks from WEIGHT to PREVIEW, as this layer is now also used for various preview tasks in Object mode.

“Cleanup” commit, no functional changes.

7 years agocode cleanup: remove BMesh * args from query functions which don't need it
Campbell Barton [Thu, 22 Mar 2012 07:53:11 +0000 (07:53 +0000)]
code cleanup: remove BMesh * args from query functions which don't need it

7 years agostyle cleanup: spaces aroudn operators for operator definitions.
Campbell Barton [Thu, 22 Mar 2012 07:26:09 +0000 (07:26 +0000)]
style cleanup: spaces aroudn operators for operator definitions.

7 years agobmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_val...
Campbell Barton [Thu, 22 Mar 2012 05:13:43 +0000 (05:13 +0000)]
bmesh: debugging function to help resolve issues with corrupt mesh data - BM_mesh_validate()

7 years agofix for python called operators getting/setting the operator last used state, also...
Campbell Barton [Thu, 22 Mar 2012 02:00:14 +0000 (02:00 +0000)]
fix for python called operators getting/setting the operator last used state, also set to false when accessed from blenders UI

7 years agostyle cleanup: enforce macros using a semicolon.
Campbell Barton [Thu, 22 Mar 2012 01:35:13 +0000 (01:35 +0000)]
style cleanup: enforce macros using a semicolon.

7 years agofix [#30623] user-defined render presets bug
Campbell Barton [Wed, 21 Mar 2012 22:29:49 +0000 (22:29 +0000)]
fix [#30623] user-defined render presets bug

this report exposed multiple bugs in blender when using a non utf8 compatible home directory.

- bpy.utils.script_paths() would crash when homedir wasn't utf8 (reported bug)
- PyC_DefaultNameSpace() - would raise an error when running when __file__ was non utf8.
- preset filepath property was not set to accept non utf8.
- bpy.paths.display_name would raise an error on non utf8 paths, (used for preset draw)

7 years agoFix #30504 selecting self-intersecting face loop won't work correctly.
Antony Riakiotakis [Wed, 21 Mar 2012 21:40:42 +0000 (21:40 +0000)]
Fix #30504 selecting self-intersecting face loop won't work correctly.

Added generic secondary hash to walker. In faceloop select it is used to remember if edge has been previously visited, in addition to the hash used for faces. This solves the case where walker stops if it finds an already added face.

7 years agofix issue with own recent commit - was accessing freed 'wm' on loading files.
Campbell Barton [Wed, 21 Mar 2012 21:01:58 +0000 (21:01 +0000)]
fix issue with own recent commit - was accessing freed 'wm' on loading files.

7 years ago== Sequencer ==
Peter Schlaile [Wed, 21 Mar 2012 18:02:29 +0000 (18:02 +0000)]
== Sequencer ==

This adds movieclip input support to the sequencer, thereby making
undistorted and stabilized footage available without a seperate render step.

Also: removes some old cruft code from the sequencer:

* new_tstripdata wasn't used anymore
* StripElems were allocated for SCENE strips on full length, wasting memory
  Added a comment, that hopefully makes things a little bit clearer:
  StripElems are *only* usefull for MOVIE + IMAGE strips for all other strip
  types one can set this pointer to NULL. (If that should cause otherwise
  problems, then the code that doesn't check for NULL is to blame!)

7 years agoFix for crash on selecting loop in cases when some edges aren't connected to any...
Sergey Sharybin [Wed, 21 Mar 2012 17:34:31 +0000 (17:34 +0000)]
Fix for crash on selecting loop in cases when some edges aren't connected to any faces.

7 years agoUse linear interpolation for intersecting tracks when joining them together.
Sergey Sharybin [Wed, 21 Mar 2012 17:21:27 +0000 (17:21 +0000)]
Use linear interpolation for intersecting tracks when joining them together.

7 years agoTracking objects were creating with zero scale.
Sergey Sharybin [Wed, 21 Mar 2012 16:45:27 +0000 (16:45 +0000)]
Tracking objects were creating with zero scale.

7 years agoQuick fix to broken text editor/console from r45051.
Bastien Montagne [Wed, 21 Mar 2012 15:51:15 +0000 (15:51 +0000)]
Quick fix to broken text editor/console from r45051.

Note: not completely sure this is the way to go, but at least it works (and is easy to revert in case there is better solution ;) ).

7 years agoFix #30616: Inconsistency Del and Backspace of resetting values
Sergey Sharybin [Wed, 21 Mar 2012 14:19:45 +0000 (14:19 +0000)]
Fix #30616: Inconsistency Del and Backspace of resetting values

Color circle, waveform and histogram were still using Del key for resetting value.
Changed to backspace.

7 years agoFix #30622: documentation example code for bge.types.KX_MeshProxy did not work,
Sergey Sharybin [Wed, 21 Mar 2012 14:13:54 +0000 (14:13 +0000)]
Fix #30622: documentation example code for bge.types.KX_MeshProxy did not work,
using fix suggested by Ryan King.

7 years agoFix blenderplayer utf8 cmake for MinGW (linking order matters for gcc)
Antony Riakiotakis [Wed, 21 Mar 2012 12:35:39 +0000 (12:35 +0000)]
Fix blenderplayer utf8 cmake for MinGW (linking order matters for gcc)

7 years agomodify osx CMake hack so the CMake files can be parsed more easily by naive my error...
Campbell Barton [Wed, 21 Mar 2012 12:15:02 +0000 (12:15 +0000)]
modify osx CMake hack so the CMake files can be parsed more easily by naive my error checker.

7 years agomove some bmesh headers into intern/ since they are not used externally.
Campbell Barton [Wed, 21 Mar 2012 12:08:16 +0000 (12:08 +0000)]
move some bmesh headers into intern/ since they are not used externally.

7 years agofix [#30613] B-mesh - inset created invalid mesh
Campbell Barton [Wed, 21 Mar 2012 11:31:40 +0000 (11:31 +0000)]
fix [#30613] B-mesh - inset created invalid mesh

inset could make a quad that used the same vertex multiple times.

7 years agopartial fix for bug [#30613], inset creating invalid meshes, however its still possib...
Campbell Barton [Wed, 21 Mar 2012 09:39:45 +0000 (09:39 +0000)]
partial fix for bug [#30613], inset creating invalid meshes, however its still possible to cause a crash with a different selection, will fix next.

7 years agostyle cleanup: bmesh
Campbell Barton [Wed, 21 Mar 2012 09:10:08 +0000 (09:10 +0000)]
style cleanup: bmesh

7 years agoFix for [#30499] video sequencer crashes when moving around within a sequence.
Joerg Mueller [Wed, 21 Mar 2012 09:04:34 +0000 (09:04 +0000)]
Fix for [#30499] video sequencer crashes when moving around within a sequence.

7 years agorename ngon tessellate function.
Campbell Barton [Wed, 21 Mar 2012 08:35:50 +0000 (08:35 +0000)]
rename ngon tessellate function.

7 years agofix [#30617] regression: select similar no threshold
Campbell Barton [Wed, 21 Mar 2012 07:49:05 +0000 (07:49 +0000)]
fix [#30617] regression: select similar no threshold

7 years agowm/operator code:
Campbell Barton [Wed, 21 Mar 2012 06:33:31 +0000 (06:33 +0000)]
wm/operator code:
Change operator previous settings initialization not to use the redo stack since this gets cleared and it means only redo operators can re-use last settings.

now this works for import/export as well.

7 years agobmesh docs:
Campbell Barton [Wed, 21 Mar 2012 05:33:37 +0000 (05:33 +0000)]
bmesh docs:
- add examples for custom-data access
- group BMesh types logically in docs
- added missing docstrings

needed to add grouping functionality to sphinx for this.

7 years agominor changes to sphinx doc generator title formatting
Campbell Barton [Wed, 21 Mar 2012 04:43:17 +0000 (04:43 +0000)]
minor changes to sphinx doc generator title formatting

7 years agostarting blender with -W option would cause other windows (like user preferences...
Campbell Barton [Tue, 20 Mar 2012 23:52:23 +0000 (23:52 +0000)]
starting blender with -W option would cause other windows (like user preferences to be fullscreen too), now only override once.

7 years agopatch [#30593] Minor 3D View Hint Changes
Campbell Barton [Tue, 20 Mar 2012 23:44:02 +0000 (23:44 +0000)]
patch [#30593] Minor 3D View Hint Changes
from Harley Acheson (harley)

7 years agofix for Quaternion.to_axis_angle() returning a zero axis vector.
Campbell Barton [Tue, 20 Mar 2012 23:37:54 +0000 (23:37 +0000)]
fix for Quaternion.to_axis_angle() returning a zero axis vector.

7 years agoFix for compiling bplayer on cmake/win after adding utf support.
Alexander Kuznetsov [Tue, 20 Mar 2012 23:10:46 +0000 (23:10 +0000)]
Fix for compiling bplayer on cmake/win after adding utf support.

Reported by Miika

7 years agopatch [#30602] Wiki Quick Hack: Apply Transformation To Lattices
Campbell Barton [Tue, 20 Mar 2012 23:09:28 +0000 (23:09 +0000)]
patch [#30602] Wiki Quick Hack: Apply Transformation To Lattices
from Justin Dailey (dail)

7 years agospelling cleanup: tesselate -> tessellate (last of these found)
Campbell Barton [Tue, 20 Mar 2012 22:56:26 +0000 (22:56 +0000)]
spelling cleanup: tesselate -> tessellate (last of these found)

7 years agodisable re-using 'number_cuts' setting on operators, problem was that you could subdi...
Campbell Barton [Tue, 20 Mar 2012 22:27:08 +0000 (22:27 +0000)]
disable re-using 'number_cuts' setting on operators, problem was that you could subdiv a plane many times but then go to subdivide a high poly mesh and it would start with really high subdiv value (possibly running out of ram and crashing).

7 years agopatch from Richard Shaw, exclude ffmpeg files when its disabled.
Campbell Barton [Tue, 20 Mar 2012 22:00:21 +0000 (22:00 +0000)]
patch from Richard Shaw, exclude ffmpeg files when its disabled.

also fix for incorrect text in mesh specials menu - Select Inverse was called (De)Select All.

7 years agofix to possible bug running python callbacks -* to support handlers...
Campbell Barton [Tue, 20 Mar 2012 20:37:40 +0000 (20:37 +0000)]
fix to possible bug running python callbacks -* to support handlers removing themselves from the list.

7 years agoSmoke bugfix: Collision objects were completely broken in some cases since no tessfac...
Daniel Genrich [Tue, 20 Mar 2012 20:32:17 +0000 (20:32 +0000)]
Smoke bugfix: Collision objects were completely broken in some cases since no tessfaces were generated. (Thanks to Campbell for giving me the solution)

7 years agoPatch #30611: grey out bone show wireframe option if no custom shape is set,
Brecht Van Lommel [Tue, 20 Mar 2012 20:06:10 +0000 (20:06 +0000)]
Patch #30611: grey out bone show wireframe option if no custom shape is set,
since it only has an effect in that case. Patch by Sebastian Nell.

7 years agoFix related #30606: missing undo push editing node inputs in properties editor.
Brecht Van Lommel [Tue, 20 Mar 2012 19:56:45 +0000 (19:56 +0000)]
Fix related #30606: missing undo push editing node inputs in properties editor.

7 years agoFix #30543: tessellating ngons with small angles was failing. There was a quite
Brecht Van Lommel [Tue, 20 Mar 2012 19:32:31 +0000 (19:32 +0000)]
Fix #30543: tessellating ngons with small angles was failing. There was a quite
arbitrary limit of pi/24 for picking 3 vertices to use for computing a normal,
now it uses vertices with the maximum angle between them.

7 years agoFix #30603: cycles incorrect ray differentials when rendering with panorama
Brecht Van Lommel [Tue, 20 Mar 2012 19:32:12 +0000 (19:32 +0000)]
Fix #30603: cycles incorrect ray differentials when rendering with panorama
camera, causing bump map issues.

7 years agoRemaining fix for #30606. Added a simple link limit check when replacing nodes and...
Lukas Toenne [Tue, 20 Mar 2012 17:56:12 +0000 (17:56 +0000)]
Remaining fix for #30606. Added a simple link limit check when replacing nodes and relinking inputs, to avoid double links on inputs.

7 years agoSmoke bugfix: Fix copy paste + bad "if's" resulting in missing releation in depsgraph...
Daniel Genrich [Tue, 20 Mar 2012 17:51:14 +0000 (17:51 +0000)]
Smoke bugfix: Fix copy paste + bad "if's" resulting in missing releation in depsgraph (smoke collision groups not working, collision object relations wrong).

7 years agoFix #30600: extrude in vertex select mode did not copy attributes like smooth/flat
Brecht Van Lommel [Tue, 20 Mar 2012 17:02:03 +0000 (17:02 +0000)]
Fix #30600: extrude in vertex select mode did not copy attributes like smooth/flat
flag from adjacent face. It did work for edge select mode, now uses same code.

7 years agoCorrection for previous commit to make normals direction always inside
Sergey Sharybin [Tue, 20 Mar 2012 17:00:25 +0000 (17:00 +0000)]
Correction for previous commit to make normals direction always inside

7 years agoPartial fix for #30606. In node tree updates also update the sock->link pointers...
Lukas Toenne [Tue, 20 Mar 2012 16:59:00 +0000 (16:59 +0000)]
Partial fix for #30606. In node tree updates also update the sock->link pointers when only the NTREE_UPDATE_NODES flag is set, this happens when duplicating a node, which can lead to wrong pointers on the duplicated but unlinked node.

7 years agoFix #30420: Metaball Shading Inverted in Raytrace Reflection (Blender Internal)
Sergey Sharybin [Tue, 20 Mar 2012 16:17:34 +0000 (16:17 +0000)]
Fix #30420: Metaball Shading Inverted in Raytrace Reflection (Blender Internal)

Issue was caused by negative scale of camera. Metabolls are using procedural
normals and in case of negative scaled camera normals for them shall be flipped.

7 years agoCycles: fix issue reported in IRC, rendering a material that mixes a transparent
Brecht Van Lommel [Tue, 20 Mar 2012 16:16:17 +0000 (16:16 +0000)]
Cycles: fix issue reported in IRC, rendering a material that mixes a transparent
and glass BSDF would give a different result with/without using light passes.