blender.git
5 years agoFix T38970: Invert weights remove weights option not working
Campbell Barton [Wed, 5 Mar 2014 16:07:31 +0000 (03:07 +1100)]
Fix T38970: Invert weights remove weights option not working

Patch D382 from Henrik Aarnio

5 years agoPrevious linestyle icon was old patch, commit right one this time
Campbell Barton [Wed, 5 Mar 2014 15:38:29 +0000 (02:38 +1100)]
Previous linestyle icon was old patch, commit right one this time

5 years agoFix for invalid custom data checks in armature and lattice functions.
Lukas Tönne [Wed, 5 Mar 2014 14:11:36 +0000 (15:11 +0100)]
Fix for invalid custom data checks in armature and lattice functions.

Testing for custom data availability with getVertData and index 0 fails
on assert for empty meshes (the index must be in valid range). Better
use getVertDataArray which has no requirement for specific index.

5 years agoFix for un-subdivide creating duplicate faces
Campbell Barton [Wed, 5 Mar 2014 14:00:18 +0000 (01:00 +1100)]
Fix for un-subdivide creating duplicate faces

5 years agoFreestyle: Fix for incorrect comparisons of Nature values with integer and boolean...
Tamito Kajiyama [Wed, 5 Mar 2014 12:54:50 +0000 (21:54 +0900)]
Freestyle: Fix for incorrect comparisons of Nature values with integer and boolean values.

The problem is that comparisons involving the constants Nature.POINT (for vertices) and
Nature.NO_FEATURE (for edges) were evaluated in a wrong way.  It is recalled that the
Nature class is a subclass of Python's built-in int type, and that these two constants are zero
when evaluated as numbers.  The issue was caused by the implementation of the constants
in an incompatible way for comparison with Python int (and boolean) values.  Specifically,
the zero of Python int is represented by an empty array of digits, whereas the zero-valued
Nature constants were represented by an array of size 1.  Python int comparison operators
first check the lengths of the arrays of two operands, and then start comparing the digits
only when the array length is the same.  For this reason, the two Nature constants were
not properly compared with int values (and thus with boolean values).  It is noted that the
zero-valued Nature constants may result from bitwise operations on other Nature constants
(e.g., Nature.SILHOUETTE & Nature.BORDER), so this issue must have affected many
existing style modules.

The problem was reported by Folkert de Vries (flokkievids) through personal communications.
Thanks a lot!

5 years agoCode cleanup: remove long unused gamma correction tables
Campbell Barton [Wed, 5 Mar 2014 11:36:38 +0000 (22:36 +1100)]
Code cleanup: remove long unused gamma correction tables

5 years agoFix for negative gamma correction rounding to int
Campbell Barton [Wed, 5 Mar 2014 11:33:47 +0000 (22:33 +1100)]
Fix for negative gamma correction rounding to int

5 years agoFix for potential memory leak in Bullet API: freeing dynamic arrays
Lukas Tönne [Wed, 5 Mar 2014 09:00:46 +0000 (10:00 +0100)]
Fix for potential memory leak in Bullet API: freeing dynamic arrays
should use the delete[] operator instead of the plain pointer delete.

5 years agoAdded back code which was commented out for debug reasons
Sergey Sharybin [Wed, 5 Mar 2014 08:52:00 +0000 (14:52 +0600)]
Added back code which was commented out for debug reasons

Also added a patchset for Carve's memory leak fix.

5 years agoFix T38962: Boolean modifier crashes when only right operand has UV layer
Sergey Sharybin [Wed, 5 Mar 2014 08:29:02 +0000 (14:29 +0600)]
Fix T38962: Boolean modifier crashes when only right operand has UV layer

5 years agoEnable requests for buildbot and release builder
Sergey Sharybin [Wed, 5 Mar 2014 08:00:58 +0000 (14:00 +0600)]
Enable requests for buildbot and release builder

5 years agoOSX/scons: according to last commit, , use the version variable
Jens Verwiebe [Tue, 4 Mar 2014 20:08:23 +0000 (21:08 +0100)]
OSX/scons: according to last commit, , use the version variable

5 years agoEdit to last commit, use the version veriable
Campbell Barton [Tue, 4 Mar 2014 19:45:29 +0000 (06:45 +1100)]
Edit to last commit, use the version veriable

5 years agoBuild system: option to copy 'requests' from scons.
Campbell Barton [Tue, 4 Mar 2014 19:36:50 +0000 (06:36 +1100)]
Build system: option to copy 'requests' from scons.

5 years agoOSX/cmake: copy release/site-packages for OSX ( static py for now )
Jens Verwiebe [Tue, 4 Mar 2014 19:31:07 +0000 (20:31 +0100)]
OSX/cmake: copy release/site-packages for OSX ( static py for now )

5 years agoBuild system: add cmake option to install requests
Campbell Barton [Tue, 4 Mar 2014 18:39:53 +0000 (05:39 +1100)]
Build system: add cmake option to install requests

5 years agoFollow up to the offset scale fix for texture painting: texture mask had
Antony Riakiotakis [Tue, 4 Mar 2014 18:35:39 +0000 (20:35 +0200)]
Follow up to the offset scale fix for texture painting: texture mask had
the same issue.

5 years agoOSX/scons: copy release/site-packages for OSX ( static py for now )
Jens Verwiebe [Tue, 4 Mar 2014 17:41:19 +0000 (18:41 +0100)]
OSX/scons: copy release/site-packages for OSX ( static py for now )

5 years agoBuild system: use lstrip with scons
Campbell Barton [Tue, 4 Mar 2014 17:19:55 +0000 (04:19 +1100)]
Build system: use lstrip with scons

5 years agoBuild system copy release/site-packages for windows
Campbell Barton [Tue, 4 Mar 2014 17:12:21 +0000 (04:12 +1100)]
Build system copy release/site-packages for windows

5 years agoFix simplify brush not supporting autosmooth. There is no reason why
Antony Riakiotakis [Tue, 4 Mar 2014 16:57:30 +0000 (18:57 +0200)]
Fix simplify brush not supporting autosmooth. There is no reason why
this should be so and it's useful to quickly decimate and smooth at the
same time.

5 years agoFix volume scatter render issue introduced by recent bugfix.
Brecht Van Lommel [Tue, 4 Mar 2014 16:17:33 +0000 (17:17 +0100)]
Fix volume scatter render issue introduced by recent bugfix.

5 years agoFix T38945, empty "System Bookmarks" and "Recent" panel were drawn in the File Browse...
Thomas Dinges [Tue, 4 Mar 2014 15:47:07 +0000 (16:47 +0100)]
Fix T38945, empty "System Bookmarks" and "Recent" panel were drawn in the File Browser, although these were disabled in User Preferences.

5 years agoFix compilation error windows
Sergey Sharybin [Tue, 4 Mar 2014 14:36:05 +0000 (20:36 +0600)]
Fix compilation error windows

5 years agoFix T38936 Bevel strange flickering on big meshes.
Howard Trickey [Tue, 4 Mar 2014 14:29:31 +0000 (09:29 -0500)]
Fix T38936 Bevel strange flickering on big meshes.

Last change to bevel had a check for what was supposed
to be an "on edge" new vertex being off the edge.
The test tolerance was too small. This fixes that.

5 years agoFix T38918: Boolean modifier crashes when using specific topology
Sergey Sharybin [Tue, 4 Mar 2014 14:01:58 +0000 (20:01 +0600)]
Fix T38918: Boolean modifier crashes when using specific topology

There were loads of issues in the code still which are mow likely fixed:

- Hole resolver hook had memory leak -- it didn't free face with holes
  when triangulating it.

- Original edge mapping didn't work correct. old code related on the fact
  that loop order is not changing when constructing the MeshSet class, but
  in fact it does change.

  Currently used edge map for this because it was easiest way to do it now,
  but after the release we're to change it. Main reason is that face mapping
  is not correct as well (and it was never correct actually). So we'll need
  to construct Mesh structures by our own to be sure we're using correct
  original index mapping.

- Carve might produce faces with ears, which is forbidden in Blender.
  it wasn't an issue in old integration because triangulation will remove
  the ears. So for now simply added ears removing back as a hook.

  But actual reason of the ears is to be investigated really.

  This hook will only work for NGons, quads are assumed not be able to
  have ears. So this additional hook shouldn't slow down things much.

- Carve's hole resolver produces duplicated faces in some cases. Still not
  sure what is the reason of this. Code here is not so much straightforward,
  this is to be investigated later.

  For now solved the issue as own hole resolver which checks for duplicated
  faces after the hole resolving.

  The additional checks here will only run if the mesh actually have hole
  and wouldn't introduce slowdown for faces which doesn't have holes.

- Made it so if edge user triangulation gets a split (for example, in cases
  when this edge intersects with the second operand) it wouldn't be dissolved.

  This prevents cases of crappy topology after dissolving in several cases.

- Edge dissolver didn't check for whether edge is a non-manifold. We couldn't
  really dissolve open manifold edges.

  The bad thing about this is that mesh triangulation might produce non-manifold
  edges and they wouldn't be dissolved. Not worst case in the world, but would
  be nice to have it solved somehow.

- Exporting mesh form Carve to Blender might have produced duplicated edges
  in cases when several non-manifold faces shared the edge. This is also fixed
  now.

- Mesh triangulation might have produced duplicated faces, which is really bad.
  Fixed by keeping a track on which faces we've created and skipping adding new
  triangle if we already have one.

This all might introduce some slowdown, but we're too close to the release now,
so would rather have it slower but robust. After the release we might look into
ways to speed things up.

5 years agoFix T38944, Fonts too small in Movie Clip Editor on Retina display.
Thomas Dinges [Tue, 4 Mar 2014 13:26:31 +0000 (14:26 +0100)]
Fix T38944, Fonts too small in Movie Clip Editor on Retina display.

Thanks to Sergey for suggesting this fix.

5 years agoBuild system support for numpy on ms-windows
Campbell Barton [Tue, 4 Mar 2014 13:20:11 +0000 (00:20 +1100)]
Build system support for numpy on ms-windows

5 years agoFix F62828. UV stitch code did not handle non manifold edges very well.
Antony Riakiotakis [Tue, 4 Mar 2014 12:36:46 +0000 (14:36 +0200)]
Fix F62828. UV stitch code did not handle non manifold edges very well.
This made loops in linked lists of uvedges from duplicate members
causing a hang. Now check all previous links before adding a new one. It
is not much slower in practice because non-manifolds are not that
frequent.

5 years agoFix for regression noted in T38942: Blender Internal rendering can lead
Lukas Tönne [Tue, 4 Mar 2014 10:22:56 +0000 (11:22 +0100)]
Fix for regression noted in T38942: Blender Internal rendering can lead
to wrong obmats of nested dupli objects.

Restoring obmats after BI nested dupli object rendering has to happen
in reverse order, so higher level omats are applied last.

5 years agoFix T38941: Laplacian Deform crashes on OSX
Bastien Montagne [Tue, 4 Mar 2014 08:09:38 +0000 (09:09 +0100)]
Fix T38941: Laplacian Deform crashes on OSX

When vgroup was invalid somehow (e.g. empty, as in this case) and bind could not happen, code was dereferencing a NULL pointer...

5 years agoScons: remove lcms reference
Campbell Barton [Tue, 4 Mar 2014 01:42:17 +0000 (12:42 +1100)]
Scons: remove lcms reference

5 years agoIcon for LineStyle
Campbell Barton [Mon, 3 Mar 2014 16:47:58 +0000 (03:47 +1100)]
Icon for LineStyle

patch T37008 from Michael P.

5 years agoFix T36496: unwanted behavior with NLA strip blend mode Replace.
Brecht Van Lommel [Mon, 3 Mar 2014 15:34:10 +0000 (16:34 +0100)]
Fix T36496: unwanted behavior with NLA strip blend mode Replace.

If you have two overlapping NLA strips it automatically blends between them.
However it was also blending between the first strip and the rest pose
(e.g. 0,0,0 for locations and 1,1,1 for scale).

This is ok if the blend mode is Add or Multiply since then you are adding onto
the rest pose, but for Replace you want to be able to mix between two poses
and not take the rest pose into account at all.

What this does is that to not do any blending for the first strip if it has
blend mode Replace. If someone wants the old behavior (from bugfix commit
27d792fa9ca1) they can still make an action with the rest pose and use that
as the first strip.

5 years agoFix for bmesh triangulate creating duplicate edges
Campbell Barton [Mon, 3 Mar 2014 15:07:23 +0000 (02:07 +1100)]
Fix for bmesh triangulate creating duplicate edges

5 years agoDebug function to check valid bmesh now detects duplicate edges
Campbell Barton [Mon, 3 Mar 2014 14:48:16 +0000 (01:48 +1100)]
Debug function to check valid bmesh now detects duplicate edges

5 years agoUI: "Option" panel in 'Particle Edit' mode was appearing in Tools and GP tab, now...
Thomas Dinges [Mon, 3 Mar 2014 09:37:27 +0000 (10:37 +0100)]
UI: "Option" panel in 'Particle Edit' mode was appearing in Tools and GP tab, now only show in Tools.

Patch by Kévin Dietrich.

Reviewed by: dingto
Differential Revision: https://developer.blender.org/D378

5 years agoUI: Splash text for 'a' releases and the upcoming 'Release Candidate'
Campbell Barton [Mon, 3 Mar 2014 06:29:03 +0000 (17:29 +1100)]
UI: Splash text for 'a' releases and the upcoming 'Release Candidate'

This avoids re-uploading splashes for minor version changes.

Enabling now so any glitches can be found before we do the real rc.

5 years agoFixes for view3d rotate axis snapping
Campbell Barton [Mon, 3 Mar 2014 03:58:07 +0000 (14:58 +1100)]
Fixes for view3d rotate axis snapping

- turntable would lockup when snapping, not allowing further rotation.
- userpref rotate-about-selection was ignored (causing strange panning)

5 years agoFix issue with texture painting: Tex slot scale was being applied twice.
Antony Riakiotakis [Sun, 2 Mar 2014 17:40:39 +0000 (19:40 +0200)]
Fix issue with texture painting: Tex slot scale was being applied twice.

5 years agoFix for own mistake: arc diff swallowed a commit somehow, breaking
Lukas Tönne [Sun, 2 Mar 2014 16:04:24 +0000 (17:04 +0100)]
Fix for own mistake: arc diff swallowed a commit somehow, breaking
compilation.

5 years agoSwitch Dyntopo enable back to Ctrl-D.
Antony Riakiotakis [Sun, 2 Mar 2014 15:21:41 +0000 (17:21 +0200)]
Switch Dyntopo enable back to Ctrl-D.

Grease pencil straight line can still be enabled by first pressing D
then Ctrl and looks like there is no final consensus on key shortcut.
Better leave this as before and solve after release.

5 years agoFix T37334: Better "internal links" function for muting and node disconnect.
Lukas Tönne [Sun, 2 Mar 2014 15:04:25 +0000 (16:04 +0100)]
Fix T37334: Better "internal links" function for muting and node disconnect.

Implements a more flexible internal connect function for standard nodes
(compositor, shader, texture). Allow feasible datatype connections by
priority.

The priorities for common datatypes in compositor, shader and texture
nodes are encoded in a simple function. Certain impossible connections
(e.g. color -> cycles shader) are excluded by giving them -1 priority.

Priority overrides link status: If a higher priority input can be found,
this will be used regardless of link status. Link status only comes into
play for inputs with same priority.

Reviewers: brecht

CC: sebastian_k
Differential Revision: https://developer.blender.org/D356

5 years agoFix for problem with fly speed, caused by other speed tweaks.
Campbell Barton [Sun, 2 Mar 2014 14:08:55 +0000 (01:08 +1100)]
Fix for problem with fly speed, caused by other speed tweaks.

5 years agoFound another place where nproc can be used
Lawrence D'Oliveiro [Sun, 2 Mar 2014 09:28:42 +0000 (10:28 +0100)]
Found another place where nproc can be used

/proc/cpuinfo is a Linux-specific thing. Using GNU [[ http://www.gnu.org/software/coreutils/manual/html_node/nproc-invocation.html | nproc ]] should be more portable.

Reviewers: mont29

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D377

5 years agoCycles: remove ccl_align macro for GPU as unused and unsupported in OpenCL
Sv. Lockal [Sun, 2 Mar 2014 08:44:52 +0000 (12:44 +0400)]
Cycles: remove ccl_align macro for GPU as unused and unsupported in OpenCL

5 years agoFix for collapse ignoring pinned panels
Campbell Barton [Sun, 2 Mar 2014 01:15:09 +0000 (12:15 +1100)]
Fix for collapse ignoring pinned panels

5 years agoFix T38873: Crashing on undo of ocean modifier.
Bastien Montagne [Sat, 1 Mar 2014 19:46:58 +0000 (20:46 +0100)]
Fix T38873: Crashing on undo of ocean modifier.

Issue of this bug is that most part of fftw is not thread safe, only compute-intensive fftw_execute & co are.

Since smoke was affected by this issue as well, a global fftw mutex was added to BLI_threads.
Audaspace also uses fftw in one of its readers (AUD_BandPassReader.cpp),
but this is not an issue currently since this code is disabled in CMake/scons files.

There was another threading issue with smoke, we need to copy dm used by emit_from_derivedmesh(),
as it is modified by this func.

Reviewers: sergey, brecht

Reviewed By: brecht

CC: brecht
Differential Revision: https://developer.blender.org/D374

5 years agoFix T38900: cycles OSL crash running getmessage("trace", "geom:name", name)
Brecht Van Lommel [Sat, 1 Mar 2014 13:57:25 +0000 (14:57 +0100)]
Fix T38900: cycles OSL crash running getmessage("trace", "geom:name", name)

5 years agoNDOF: add navigation modes to user preferences
Campbell Barton [Sat, 1 Mar 2014 10:47:46 +0000 (21:47 +1100)]
NDOF: add navigation modes to user preferences

also comment debug prints for raytracing

5 years agoFix for using non camera objects as a camera having zero area view-frame
Campbell Barton [Sat, 1 Mar 2014 10:41:07 +0000 (21:41 +1100)]
Fix for using non camera objects as a camera having zero area view-frame

5 years agoFix for some unlikely memory leaks, remove redundant checks
Campbell Barton [Sat, 1 Mar 2014 09:14:20 +0000 (20:14 +1100)]
Fix for some unlikely memory leaks, remove redundant checks

5 years agoResolve T38899: changes to Ctrl+Selectmouse conflict with LMB select
Campbell Barton [Sat, 1 Mar 2014 08:26:55 +0000 (19:26 +1100)]
Resolve T38899: changes to Ctrl+Selectmouse conflict with LMB select

5 years agoFix for memory leak in particle brush
Campbell Barton [Sat, 1 Mar 2014 05:25:37 +0000 (16:25 +1100)]
Fix for memory leak in particle brush

5 years agoFix Snap to Symmetry failing to select the vertex from the right side
Campbell Barton [Sat, 1 Mar 2014 04:40:20 +0000 (15:40 +1100)]
Fix Snap to Symmetry failing to select the vertex from the right side

5 years agoFix for own error with updating view2d for NDOF
Campbell Barton [Sat, 1 Mar 2014 04:28:51 +0000 (15:28 +1100)]
Fix for own error with updating view2d for NDOF

5 years agoCode cleanup: correct abs use and quiet warnings
Campbell Barton [Sat, 1 Mar 2014 03:20:54 +0000 (14:20 +1100)]
Code cleanup: correct abs use and quiet warnings

5 years agoFix for baked FCurve subframe interpolation (bad abs use)
Campbell Barton [Sat, 1 Mar 2014 03:12:11 +0000 (14:12 +1100)]
Fix for baked FCurve subframe interpolation (bad abs use)

5 years agoFix for sequencer invalid rounding, double wipe at 0 angle
Campbell Barton [Sat, 1 Mar 2014 02:39:36 +0000 (13:39 +1100)]
Fix for sequencer invalid rounding, double wipe at 0 angle

5 years agoFCurve Transform: scaling no longer changes hansle types
Campbell Barton [Sat, 1 Mar 2014 02:06:07 +0000 (13:06 +1100)]
FCurve Transform: scaling no longer changes hansle types

This matches 3d view and means you can change the amplitude of a curve
while keeping auto-clamped handles.

5 years agoCode cleanup: comment unused code in calchandleNurb_intern
Campbell Barton [Sat, 1 Mar 2014 01:57:15 +0000 (12:57 +1100)]
Code cleanup: comment unused code in calchandleNurb_intern

Also remove outdated comments.

5 years agoReadme: Small adjustment for IRC link.
Thomas Dinges [Sat, 1 Mar 2014 00:25:46 +0000 (01:25 +0100)]
Readme: Small adjustment for IRC link.

5 years agoCleanup: Fix some typos in the code.
Thomas Dinges [Sat, 1 Mar 2014 00:21:25 +0000 (01:21 +0100)]
Cleanup: Fix some typos in the code.

5 years agoPartial fix for T38871, Bevel could create a far-out spike.
Howard Trickey [Fri, 28 Feb 2014 16:05:53 +0000 (11:05 -0500)]
Partial fix for T38871, Bevel could create a far-out spike.

There needed to be a check that when a newly created point is
supposed to be on an edge, that it stays within the bounds
of either end of the edge.
This fixes the hole-in-cube example in the bug, but not
the boolean modifier one, which still needs more work.

5 years agoFix T38887: error in (still unused) freestyle math function implementation.
Brecht Van Lommel [Fri, 28 Feb 2014 17:15:24 +0000 (18:15 +0100)]
Fix T38887: error in (still unused) freestyle math function implementation.

5 years agoFix T38885: missing image editor paint brush updates after recent UI changes.
Brecht Van Lommel [Fri, 28 Feb 2014 17:12:05 +0000 (18:12 +0100)]
Fix T38885: missing image editor paint brush updates after recent UI changes.

5 years agoFix T38881: cloth preset rubber not working with "translated data names" i18n option
Bastien Montagne [Fri, 28 Feb 2014 16:28:01 +0000 (17:28 +0100)]
Fix T38881: cloth preset rubber not working with "translated data names" i18n option

Actually, was broken for any custom modifier name, since it was explicitly using 'Cloth' one. Changed to mimic other cloth pressets (wonder why this one was different!).

5 years agoFix for transform setting T_CAMERA
Campbell Barton [Fri, 28 Feb 2014 14:21:25 +0000 (01:21 +1100)]
Fix for transform setting T_CAMERA

This was only set when the camera was active, however non active cameras
can be transformed too.

5 years agoUpdate patch for mesh_simplifier
Sergey Sharybin [Fri, 28 Feb 2014 13:09:22 +0000 (19:09 +0600)]
Update patch for mesh_simplifier

5 years agoProper solution for crash of GP when marker is not exist on current frame
Sergey Sharybin [Fri, 28 Feb 2014 13:05:09 +0000 (19:05 +0600)]
Proper solution for crash of GP when marker is not exist on current frame

5 years agoFix for crash copying from non RNA color buttons
Campbell Barton [Fri, 28 Feb 2014 12:45:31 +0000 (23:45 +1100)]
Fix for crash copying from non RNA color buttons

5 years agoNDOF: minor tweaks based on feedback.
Campbell Barton [Fri, 28 Feb 2014 11:07:53 +0000 (22:07 +1100)]
NDOF: minor tweaks based on feedback.

- invert Y axis when swap YZ is enabled.
- allow rotating when not in ortho mode.

5 years agoCrazyspace: calculate normal around a (0,0,0)
Campbell Barton [Fri, 28 Feb 2014 10:23:06 +0000 (21:23 +1100)]
Crazyspace: calculate normal around a (0,0,0)

instead of creating a new triangle in the models space and using that.

5 years agoFix Crazyspace with proportional editing
Campbell Barton [Fri, 28 Feb 2014 10:10:32 +0000 (21:10 +1100)]
Fix Crazyspace with proportional editing

5 years agoPyAPI: correct warning with dynamic enums
Campbell Barton [Fri, 28 Feb 2014 09:35:47 +0000 (20:35 +1100)]
PyAPI: correct warning with dynamic enums

5 years agoFix T38407: Bone roll calculation flips local axes at wrong rotation angle
Bastien Montagne [Fri, 28 Feb 2014 09:47:28 +0000 (10:47 +0100)]
Fix T38407: Bone roll calculation flips local axes at wrong rotation angle

Just remove that rotation special case for now, at least fixes the glitch along Z axis when rotating around Y axis in report.

Anyway, there is no reason for such special handling, we do not have real rotation in editbone...

5 years agoRevert editbone roll correction changes.
Bastien Montagne [Fri, 28 Feb 2014 09:35:11 +0000 (10:35 +0100)]
Revert editbone roll correction changes.

This reverts commit f72acc38d 65c5be967 eff6b385e 3fe487217

5 years agoSupport planar sample formats in audio mixdown
Sergey Sharybin [Fri, 28 Feb 2014 09:15:04 +0000 (15:15 +0600)]
Support planar sample formats in audio mixdown

Now libav-10 should work for output of ac3 container.

5 years agoFix T38872: Crazyspace could use stale derivedMesh data.
Campbell Barton [Fri, 28 Feb 2014 09:11:41 +0000 (20:11 +1100)]
Fix T38872: Crazyspace could use stale derivedMesh data.

5 years agoCode cleanup: move edit-derivedmesh free to BKE_editmesh_free_derivedmesh
Campbell Barton [Fri, 28 Feb 2014 09:02:30 +0000 (20:02 +1100)]
Code cleanup: move edit-derivedmesh free to BKE_editmesh_free_derivedmesh

5 years agoFix T38467: Animation playback is not synchronized when Screen Layout changes
Bastien Montagne [Fri, 28 Feb 2014 09:04:57 +0000 (10:04 +0100)]
Fix T38467: Animation playback is not synchronized when Screen Layout changes

When both old and new screens share the same scene, "transfer" playback to new screen, else stop playback.

5 years agoFix T38877: F-Curve modal input is incorrect when set to Imperial units.
Bastien Montagne [Fri, 28 Feb 2014 08:51:05 +0000 (09:51 +0100)]
Fix T38877: F-Curve modal input is incorrect when set to Imperial units.

Using length units outside of 3dview does not make sense...

5 years agoAttempt to fix mixdown when building without sndfile
Sergey Sharybin [Fri, 28 Feb 2014 08:44:01 +0000 (14:44 +0600)]
Attempt to fix mixdown when building without sndfile

This case was handled specially in writeffmpeg.c and seems it makes
audio export happy in all cases now.

TODO: libav-10 doesn't work with AC3 codec yet because this bloody
library ONLY supports FLTP format and FFmpeg ONLY supports FLT.

This is not fun guy, it really isn't! Where's your conscience??

CC: nexyon
5 years agoCorrection to previous commit: it was unable to change format for some containers
Sergey Sharybin [Fri, 28 Feb 2014 08:07:23 +0000 (14:07 +0600)]
Correction to previous commit: it was unable to change format for some containers

5 years agoFix T38883: Toolbar origin buttons missing for armature
Campbell Barton [Fri, 28 Feb 2014 06:37:49 +0000 (17:37 +1100)]
Fix T38883: Toolbar origin buttons missing for armature

Also allow mirror for any object type

5 years agoFix T38768: New "audio" button in 2.70 release does not 'mixdown' audio
Sergey Sharybin [Fri, 28 Feb 2014 06:23:28 +0000 (12:23 +0600)]
Fix T38768: New "audio" button in 2.70 release does not 'mixdown' audio

Issue was caused by the way how audio output works from audaspace.
Now made it much closer to what's happening in ffmpeg.c and writeffmpeg.c.

Also fixed issues with incompatible combinations of codecs and formats
in mixdown settings.

5 years agoFix T38817: FCurve autoclamp error
Campbell Barton [Fri, 28 Feb 2014 01:09:17 +0000 (12:09 +1100)]
Fix T38817: FCurve autoclamp error

Animating large values with auto handles didn't work well,
(large variations on the Y axis would shrink handles).

5 years agoRevert own changes to CLAMP and CLAMPIS, caused T38875
Campbell Barton [Fri, 28 Feb 2014 00:47:02 +0000 (11:47 +1100)]
Revert own changes to CLAMP and CLAMPIS, caused T38875

5 years agoCode cleanup: style/warnings
Campbell Barton [Fri, 28 Feb 2014 00:04:15 +0000 (11:04 +1100)]
Code cleanup: style/warnings

5 years agoKeymap: update 3dsmax
Campbell Barton [Thu, 27 Feb 2014 23:33:57 +0000 (10:33 +1100)]
Keymap: update 3dsmax

5 years agoFix T38876: hide area split widget in lower left of widget on OS X.
Brecht Van Lommel [Thu, 27 Feb 2014 22:39:40 +0000 (23:39 +0100)]
Fix T38876: hide area split widget in lower left of widget on OS X.

This is already used by the operating system for window resizing, you must use
the widget in the top right of the area to split.

5 years agoFix use of uninitialized variable in some cases with scatter + emission volume.
Brecht Van Lommel [Thu, 27 Feb 2014 20:25:50 +0000 (21:25 +0100)]
Fix use of uninitialized variable in some cases with scatter + emission volume.

5 years agoBlender Internal: Bring back previous behavior that rendered viewport uses render...
IRIE Shinsuke [Thu, 27 Feb 2014 20:17:16 +0000 (05:17 +0900)]
Blender Internal: Bring back previous behavior that rendered viewport uses render visibility rather than viewport visibility.

Commit 162d6c73e3d0 changed the behavior of rendered viewport to use
viewport visibility, but that can cause some problems. For example,
mesh deform cage is drawn as a solid/textured mesh (not a wireframe
mesh) and its unnecessary surfaces and shadows mess up the preview.

5 years agoFix compile error when compiling without python.
Brecht Van Lommel [Thu, 27 Feb 2014 20:16:01 +0000 (21:16 +0100)]
Fix compile error when compiling without python.

5 years agoFix cycles wrong volume scatter value in light path node.
Brecht Van Lommel [Thu, 27 Feb 2014 20:09:27 +0000 (21:09 +0100)]
Fix cycles wrong volume scatter value in light path node.

Thanks to Thomas for spotting this.

Differential Revision: https://developer.blender.org/D370

5 years agoCycles: Fix mistake in PathRayFlag, one value was used twice.
Thomas Dinges [Thu, 27 Feb 2014 19:41:36 +0000 (20:41 +0100)]
Cycles: Fix mistake in PathRayFlag, one value was used twice.

5 years agopatch cmake_linux_install.sh to do multithreaded build
Lawrence D'Oliveiro [Thu, 27 Feb 2014 14:59:58 +0000 (15:59 +0100)]
patch cmake_linux_install.sh to do multithreaded build

The script ##cmake_linux_install.sh## is currently invoking ##make## in single-threaded mode; this patch changes it to take advantage of all available CPU threads.

Reviewers: mont29

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D358

5 years agoFix T38847: Reject reuse of child bones as root bones. That doesn't make sense anyways.
gaiaclary [Thu, 27 Feb 2014 14:23:18 +0000 (15:23 +0100)]
Fix T38847: Reject reuse of child bones as root bones. That doesn't make sense anyways.

5 years agoCycles: compile fix after rB7808360c5f (own mistake)
Sv. Lockal [Thu, 27 Feb 2014 13:29:35 +0000 (17:29 +0400)]
Cycles: compile fix after rB7808360c5f (own mistake)

5 years agoCycles: fix crash in SSE hair and half-floats on x86+vc2008
Sv. Lockal [Thu, 27 Feb 2014 10:49:21 +0000 (14:49 +0400)]
Cycles: fix crash in SSE hair and half-floats on x86+vc2008

MSVC 2008 ignores alignement attribute when assigning from unaligned
float4 vector, returned from other function. Now Cycles uses unaligned
loads instead of casts for win32 in x86 mode.