7 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

7 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

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

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

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

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

7 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

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

7 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

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:

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

7 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 [[ | nproc ]] should be more portable.

Reviewers: mont29

Reviewed By: mont29

Differential Revision:

7 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

7 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

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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

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

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

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

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

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

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

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

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

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

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

7 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

7 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

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

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

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

7 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

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

7 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

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

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

7 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

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

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

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

7 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

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

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

7 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

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

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

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

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

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

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

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

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

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

The script 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:

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

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

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

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

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

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

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:

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

7 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

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

7 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

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

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

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

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

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

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

7 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

7 years agoFix T38834: Knife constraint is offset after moving the view
Campbell Barton [Thu, 27 Feb 2014 02:28:25 +0000 (13:28 +1100)]
Fix T38834: Knife constraint is offset after moving the view

7 years agoFix T38858: Crazy spaces was unpredictable with co-linear edges
Campbell Barton [Thu, 27 Feb 2014 01:28:40 +0000 (12:28 +1100)]
Fix T38858: Crazy spaces was unpredictable with co-linear edges

7 years agoFix for VIEW3D_OT_camera_to_view with quadview, disable in camera view
Campbell Barton [Thu, 27 Feb 2014 00:33:27 +0000 (11:33 +1100)]
Fix for VIEW3D_OT_camera_to_view with quadview, disable in camera view

7 years agoFix for view3d name getting concatenated
Campbell Barton [Thu, 27 Feb 2014 00:30:12 +0000 (11:30 +1100)]
Fix for view3d name getting concatenated

7 years agoTransform: remove recently added ival2, use editbones temp data
Campbell Barton [Wed, 26 Feb 2014 22:47:37 +0000 (09:47 +1100)]
Transform: remove recently added ival2, use editbones temp data

7 years agoRNA: rename matrix_for_frame -> matrix_from_frame
Campbell Barton [Wed, 26 Feb 2014 21:38:14 +0000 (08:38 +1100)]
RNA: rename matrix_for_frame -> matrix_from_frame

7 years agoFix T38678: Long strings on Search widget not getting shortened/no tooltip.
Bastien Montagne [Wed, 26 Feb 2014 20:53:56 +0000 (21:53 +0100)]
Fix T38678: Long strings on Search widget not getting shortened/no tooltip.

Note this commit only makes search menus wider and adds shortening to their strings.
Adding tooltips here is not trivial, would need much bigger changes...

Reviewers: brecht

Reviewed By: brecht

Differential Revision:

7 years agoFix T38843: Bone parallel to world z axis flicking when scale in edit mode.
Bastien Montagne [Wed, 26 Feb 2014 20:28:11 +0000 (21:28 +0100)]
Fix T38843: Bone parallel to world z axis flicking when scale in edit mode.

This commit hopefully fixes all glitches we had when bone was Z-aligned. Note that when you init a transform
with a Z-aligned bone and change it to be non-Z-aligned, you will still get some brutal roll change,
there is not much things we can do here afaik...

7 years agoFix T38856: mark seam in search menu clearing the seam in some cases.
Brecht Van Lommel [Wed, 26 Feb 2014 19:56:36 +0000 (20:56 +0100)]
Fix T38856: mark seam in search menu clearing the seam in some cases.

It should not remember the operator property for the next time here.

7 years agoFix T36652: .blend file with minimized window not loading correctly on Windows.
Brecht Van Lommel [Wed, 26 Feb 2014 19:50:55 +0000 (20:50 +0100)]
Fix T36652: .blend file with minimized window not loading correctly on Windows.

7 years agoFix T37756: file > open with file selector already open not restoring screen correctly.
Brecht Van Lommel [Wed, 26 Feb 2014 18:50:12 +0000 (19:50 +0100)]
Fix T37756: file > open with file selector already open not restoring screen correctly.

7 years agoFix T38853: right click menu add driver should not be possible to redo.
Brecht Van Lommel [Wed, 26 Feb 2014 17:54:40 +0000 (18:54 +0100)]
Fix T38853: right click menu add driver should not be possible to redo.

This was already disabled for the keyframing operators, needs to be done for
drivers as well as this doesn't work.

7 years agoFix T38855: DIRECTORY_PATH vs. DIR_PATH inconsistency in python API docs.
Brecht Van Lommel [Wed, 26 Feb 2014 17:50:27 +0000 (18:50 +0100)]
Fix T38855: DIRECTORY_PATH vs. DIR_PATH inconsistency in python API docs.

7 years agoFix for bug reported by Pablo Vasquez (venomgfx) on IRC: Single layer
Lukas Tönne [Wed, 26 Feb 2014 17:44:32 +0000 (18:44 +0100)]
Fix for bug reported by Pablo Vasquez (venomgfx) on IRC: Single layer
renders were broken.

This was caused by rB1a79abdad2443ff9f12e7efd95ee78a264a9d60a which
makes a copy of the render layer list for thread safety. The single
layer passed to this function is still in the original list though, so
to get the correct index it has to be looked up there. Otherwise no
active index is set and all layers are rendered every time.

7 years agoFix T38710: volume render issue with transparent surfaces.
Brecht Van Lommel [Wed, 26 Feb 2014 17:47:50 +0000 (18:47 +0100)]
Fix T38710: volume render issue with transparent surfaces.

7 years agoFurther work to fix T38726: signal viewport to update when adding/removing render...
IRIE Shinsuke [Wed, 26 Feb 2014 17:35:55 +0000 (18:35 +0100)]
Further work to fix T38726: signal viewport to update when adding/removing render layers.

Reviewers: brecht

Differential Revision:

7 years agoLocale_wrapper: make the bad_cast catch more clear and fix the std::exception message
Jens Verwiebe [Wed, 26 Feb 2014 16:33:26 +0000 (17:33 +0100)]
Locale_wrapper: make the bad_cast catch more clear and fix the std::exception message

7 years agoFix T38726: missing rendered viewport update when removing render layer.
Brecht Van Lommel [Wed, 26 Feb 2014 16:29:50 +0000 (17:29 +0100)]
Fix T38726: missing rendered viewport update when removing render layer.

7 years agoFix T38831: blender internal enabling shadow pass changes material node diffuse.
Brecht Van Lommel [Wed, 26 Feb 2014 15:55:50 +0000 (16:55 +0100)]
Fix T38831: blender internal enabling shadow pass changes material node diffuse.

It would include/exclude shadow depending on the pass being disabled/enabled,
but that should have no influence on the combined render result. Now it always
includes shadow.

7 years agoNicer solution to T38846: Split off the render layer forcing from the
Lukas Tönne [Wed, 26 Feb 2014 13:56:27 +0000 (14:56 +0100)]
Nicer solution to T38846: Split off the render layer forcing from the
validity check for render operator.

This way scene DNA can stay read-only there, cleaner and we don't have
to pass an awkward bool pointer around.