blender.git
6 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 )

6 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

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

6 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 )

6 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

6 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

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

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

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

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

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

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

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

6 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

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

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

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

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

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

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

6 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

6 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

6 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

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

6 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)

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

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

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

6 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

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

6 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

6 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

6 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

6 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

6 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)

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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)

6 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

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

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

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

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

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

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

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

6 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!).

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

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

6 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

6 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

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

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

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

6 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

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

6 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

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

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

6 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

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

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

6 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
6 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

6 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

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

6 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).

6 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

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

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

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

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

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

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

6 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

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

6 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

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

6 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)

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

6 years agoImplement separate BA step for tracks which have constant zero weight
Sergey Sharybin [Thu, 27 Feb 2014 10:14:35 +0000 (16:14 +0600)]
Implement separate BA step for tracks which have constant zero weight

This is needed to minimize their reprojection error over the footage.
Without this extra step positions of such tracks were calculated by
algebraic intersection code only, which doesn't give best precision.

6 years agoFix root of the issue of bad_cast bug in localization
Sergey Sharybin [Thu, 27 Feb 2014 09:06:05 +0000 (15:06 +0600)]
Fix root of the issue of bad_cast bug in localization

No need to call l10n stuff when it's disabled in the preferences.

Reviewed by @mont29, thanks!

6 years agoResubmission: Avoid UUOC in install_deps.sh
Lawrence D'Oliveiro [Thu, 27 Feb 2014 09:01:05 +0000 (10:01 +0100)]
Resubmission: Avoid UUOC in install_deps.sh

This is a resubmission of the original patch from D255. Sorry, I didn’t understand that subsequent patches added to a diff are considered to //override// previous ones, rather than add to them.

Basically the comment for commit rB554eca1c288e has been applied to the wrong patch.

Reviewers: mont29

Reviewed By: mont29

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

6 years agoHopefully definitively fix the "enter the advanced numinput mode" issue.
Bastien Montagne [Thu, 27 Feb 2014 08:45:44 +0000 (09:45 +0100)]
Hopefully definitively fix the "enter the advanced numinput mode" issue.

Hack around event code and check against ascii code, this way keyboards with "complex" access to '=' and '*' are still able to toggle numinput modes.

6 years agoFix T38864: Crash with curves and follow path
Campbell Barton [Thu, 27 Feb 2014 08:32:45 +0000 (19:32 +1100)]
Fix T38864: Crash with curves and follow path

6 years agoFix T38844: Crash if weight track = 0
Sergey Sharybin [Thu, 27 Feb 2014 08:27:30 +0000 (14:27 +0600)]
Fix T38844: Crash if weight track = 0

Avoid zero-sized problem when doing euclidean intersection

Zero-sized problem might occur when intersecting track with
constant zero weight. For such tracks we'll just use result
of algebraic intersection.

TODO: We probably need to have a separate BA step to adjust
positions of tracks with constant zero weight.

6 years agoFix T38602: Aligned layout breaks if panel too wide
Campbell Barton [Thu, 27 Feb 2014 08:00:35 +0000 (19:00 +1100)]
Fix T38602: Aligned layout breaks if panel too wide

6 years agoFix T36654.
Antony Riakiotakis [Thu, 27 Feb 2014 07:39:04 +0000 (09:39 +0200)]
Fix T36654.

There is a key conflict between grease pencil shortcuts and sculpt
shortcuts (D and ctrl D were taken by draw brush and dyntopo toggle,
respectively). Based on feedback, change dyntopo toggle to ctrl-T and
draw brush to X.

Also add missing property update for dyntopo detail size.

6 years agoUI: avoid for divide by zero for icon buttons (no need to clip text)
Campbell Barton [Thu, 27 Feb 2014 07:29:10 +0000 (18:29 +1100)]
UI: avoid for divide by zero for icon buttons (no need to clip text)

6 years agoFix T38863: FCurve auto-clamp allows handle to move past X bounds
Campbell Barton [Thu, 27 Feb 2014 06:15:49 +0000 (17:15 +1100)]
Fix T38863: FCurve auto-clamp allows handle to move past X bounds

F-Curves with large Y axis had strange behavior where the handles could
stretch out on the X axis rather then clamping as they do at smaller sizes.

6 years agoCode cleanup: curves calculation was using offsets confusingly
Campbell Barton [Thu, 27 Feb 2014 06:03:35 +0000 (17:03 +1100)]
Code cleanup: curves calculation was using offsets confusingly

also avoid calculating handle length when align isn't used.

6 years agoFix: 'F-Curve Editor' popup text was truncated.
Campbell Barton [Thu, 27 Feb 2014 04:50:30 +0000 (15:50 +1100)]
Fix: 'F-Curve Editor' popup text was truncated.

6 years agoFix T38859: Laplacian Deform Crash
Campbell Barton [Thu, 27 Feb 2014 04:03:03 +0000 (15:03 +1100)]
Fix T38859: Laplacian Deform Crash

6 years agoFix T38851: Apply Transform doesn't work when called from search popup
Campbell Barton [Thu, 27 Feb 2014 02:39:35 +0000 (13:39 +1100)]
Fix T38851: Apply Transform doesn't work when called from search popup