blender.git
6 years agoFix T37618 Bevel mismatched offsets and bad profile plane.
Howard Trickey [Fri, 30 May 2014 20:07:45 +0000 (16:07 -0400)]
Fix T37618 Bevel mismatched offsets and bad profile plane.

Used a different technique to resolve "impossible" offset cases
that makes more consistency. Also changed the plane in which
the profile lies for the case with only one beveled edge and
more than 3 other edges.

6 years agoFix T40445: Disabled modifiers prevent cage edit mode.
Bastien Montagne [Fri, 30 May 2014 18:22:23 +0000 (20:22 +0200)]
Fix T40445: Disabled modifiers prevent cage edit mode.

No valid reason to make non-mapping modifiers break edit cage,
when they are disabled in 3DView/edit mode!

6 years agoCleanup: Remove unused total power Emission code in Cycles, that was never exposed...
Thomas Dinges [Fri, 30 May 2014 12:32:32 +0000 (14:32 +0200)]
Cleanup: Remove unused total power Emission code in Cycles, that was never exposed in the UI.

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

6 years agoFix T40438: Name of texture is not synchronize
Sergey Sharybin [Fri, 30 May 2014 10:26:29 +0000 (16:26 +0600)]
Fix T40438: Name of texture is not synchronize

6 years agoFix T40078: GLSL Lamp with OnlyShadow makes weird colors in object.
IRIE Shinsuke [Fri, 30 May 2014 07:57:15 +0000 (16:57 +0900)]
Fix T40078: GLSL Lamp with OnlyShadow makes weird colors in object.

To prevent only shadow lamps from producing negative colors, shr->diff
and shr->spec should've been clamped to positive values after lamp loop.

6 years agoBake-API: replacing some MEM_callocN by MEM_mallocN
Dalai Felinto [Fri, 30 May 2014 02:18:21 +0000 (23:18 -0300)]
Bake-API: replacing some MEM_callocN by MEM_mallocN

As suggested and reviewed by Campbell Barton. This is the most trivial of the cases. I will look if I can do it elsewhere in the bake code

6 years agoBake-API: Support for batch baking
Dalai Felinto [Fri, 30 May 2014 01:54:57 +0000 (22:54 -0300)]
Bake-API: Support for batch baking

When "Selected to Active" is not on, we bake all the selected objects.
This is the same behaviour we have for Blender Internal.

Dev note: I moved most of the validation tests to outside the bake()
routine so the function can be called in loop.

Reviewers: campbellbarton

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

6 years agoUI: fix for drawing textselect outside of button
Campbell Barton [Fri, 30 May 2014 00:20:58 +0000 (10:20 +1000)]
UI: fix for drawing textselect outside of button

also draw cursor even when there is a selection.

6 years agoFollowup to rB1973b17fce65, partially bring back GLSL lamp's previous behavior.
IRIE Shinsuke [Thu, 29 May 2014 05:53:33 +0000 (14:53 +0900)]
Followup to rB1973b17fce65, partially bring back GLSL lamp's previous behavior.

Using layer visibility in active render layer makes more accurate
preview but can cause problems in some cases:

https://developer.blender.org/rB1973b17fce65a4dfececb45b19abec37898c1ab5#comment-1

GLSL lamps now ignore layer visibility if lock_camera_and_layers is
OFF or game engine is running. The material lamp group still works
unconditionally though.

6 years agoFix T40422: EdgeSlide works incorrectly with boundry edges
Campbell Barton [Thu, 29 May 2014 15:49:36 +0000 (01:49 +1000)]
Fix T40422: EdgeSlide works incorrectly with boundry edges

6 years agoProper fix T40156 Cycles Baking and applyRotation issues
Dalai Felinto [Thu, 29 May 2014 15:20:29 +0000 (12:20 -0300)]
Proper fix T40156 Cycles Baking and applyRotation issues

This should be the final fix for the applyrotation issue. It baffles me
that the fix involves discarding the scale transformations for the
normals but it works so I'm happy with it.

Reviewers: campbellbarton

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

6 years agoMath lib: add negate_m3, negate_m4
Campbell Barton [Thu, 29 May 2014 14:26:05 +0000 (00:26 +1000)]
Math lib: add negate_m3, negate_m4

6 years agoFix T39804: cycles smoke domain visible in rendering.
Brecht Van Lommel [Thu, 29 May 2014 12:12:12 +0000 (14:12 +0200)]
Fix T39804: cycles smoke domain visible in rendering.

Transparent objects could become subtly visible by the different sampling
patterns for pixels covered and not covered by the object. It still converged
to the right solution but that can take a while. Now we try to use the same
sampling pattern here.

6 years agoFix T40408: world MIS + equiangular sampling giving unnecessary noise.
Brecht Van Lommel [Thu, 29 May 2014 11:20:42 +0000 (13:20 +0200)]
Fix T40408: world MIS + equiangular sampling giving unnecessary noise.

It's actually not possible to do equiangular sampling for distant lights, now
it reverts to distance sampling in this case.

6 years agoComments: Note direction in doxy args
Campbell Barton [Thu, 29 May 2014 12:05:07 +0000 (22:05 +1000)]
Comments: Note direction in doxy args

6 years agoFix T39174 Bevel didn't maintain edge attributes.
Howard Trickey [Thu, 29 May 2014 11:32:16 +0000 (07:32 -0400)]
Fix T39174 Bevel didn't maintain edge attributes.

When rebuilding the polygons that touch bevel-involved vertices,
need to copy the edge attributes from corresponding original edges.
Special treatment of corner segments, to maintain continuity of
smooth and seam attributes.
Another fix: if have four meeting edges, two opposite ones beveled
and the other two not, propgate the non-beveled-edges attributes
across the line that joins them (perpendicular to the bevel).

6 years agoCleanup: Use doxy for more structured comments
Campbell Barton [Thu, 29 May 2014 11:16:04 +0000 (21:16 +1000)]
Cleanup: Use doxy for more structured comments

6 years agoSequencer: use escaping for sequence names
Campbell Barton [Thu, 29 May 2014 10:26:19 +0000 (20:26 +1000)]
Sequencer: use escaping for sequence names

6 years agoBLI_dynstr: add assert to check curlen is correct
Campbell Barton [Thu, 29 May 2014 10:25:03 +0000 (20:25 +1000)]
BLI_dynstr: add assert to check curlen is correct

6 years agoFix OpenCL compilation error in Cycles, when building without hair support.
Thomas Dinges [Thu, 29 May 2014 10:38:03 +0000 (12:38 +0200)]
Fix OpenCL compilation error in Cycles, when building without hair support.

6 years agoFix T39686: nused omp firstprivate variable sphdata in particles
Sergey Sharybin [Thu, 29 May 2014 09:19:40 +0000 (15:19 +0600)]
Fix T39686: nused omp firstprivate variable sphdata in particles

6 years agoOSX: fix T40413, automatic threads for compile throw wrong output
Jens Verwiebe [Thu, 29 May 2014 09:15:32 +0000 (11:15 +0200)]
OSX: fix T40413, automatic threads for compile throw wrong output

6 years agoFix T40414: Multiple input nodes in a group not working.
Lukas Tönne [Thu, 29 May 2014 08:00:21 +0000 (10:00 +0200)]
Fix T40414: Multiple input nodes in a group not working.

A node group can have multiple input nodes. In the compositor that means
each of the input sockets has to be connected to the linked outputs,
which is represented by a single link on the outside of the group.

6 years agoFix T40411: UI incorrectly permits changing materal_slots on linked obdata
Campbell Barton [Thu, 29 May 2014 06:16:31 +0000 (16:16 +1000)]
Fix T40411: UI incorrectly permits changing materal_slots on linked obdata

6 years agoUI: make it clear edge functions handle multiple loops/rings
Campbell Barton [Thu, 29 May 2014 05:28:09 +0000 (15:28 +1000)]
UI: make it clear edge functions handle multiple loops/rings

6 years agoRevert "fix T40375 Glossy shader bakes different than render"
Dalai Felinto [Thu, 29 May 2014 04:16:45 +0000 (01:16 -0300)]
Revert "fix T40375 Glossy shader bakes different than render"

This reverts commit 12abe94de827d9ae9c0dd6cc49bc6c3e377842ad.

After a long discussion in the bug tracker we decided baking should use
the faces normals for glossy (and combined). This is what Blender
Internal is doing, and one of the more predictable way of yielding
predictable results.

That also means the result will not match the render perfectly, but this
is preferrable over the alternatives at hand.

Conflicts:
intern/cycles/kernel/kernel_bake.h

6 years agoFix T40381 and revert previous commit.
Antony Riakiotakis [Thu, 29 May 2014 02:22:44 +0000 (05:22 +0300)]
Fix T40381 and revert previous commit.

Looks like the normal update flag is used internally in the modifier
itself. So as a workaround just pass normal update to the nodes when
flood filling

6 years agoRelated to T40381,
Antony Riakiotakis [Thu, 29 May 2014 02:04:39 +0000 (05:04 +0300)]
Related to T40381,

Cleanup the normal flag or else the smooth tool will work on more and
more nodes as we sculpt.

6 years agoAdd notifiers and reuse update calls for flood fill operators
Antony Riakiotakis [Thu, 29 May 2014 01:47:42 +0000 (04:47 +0300)]
Add notifiers and reuse update calls for flood fill operators

6 years agoFix T40412: Moving mask layers does not invalidate mask drawing in the movie clip...
Thomas Beck [Wed, 28 May 2014 17:57:53 +0000 (19:57 +0200)]
Fix T40412: Moving mask layers does not invalidate mask drawing in the movie clip editor

Issue was caused by a missing WM_event_add_notifier(..) in the mask_layer_move_exec() function...

6 years agoFix T40157: Loading movies larger than 4GB in size fails
Sergey Sharybin [Wed, 28 May 2014 16:50:40 +0000 (22:50 +0600)]
Fix T40157: Loading movies larger than 4GB in size fails

Issue was caused by _wstat returning EOVERFLOW error because
of file size didn't fit into stat structure which was using
long datatype.

The idea of this patch is to use _wstat64 and _stat64 structure
which is capable storing 64bit file sizes.

Made it a typedef for stat structure used by BLI_stat function
in order to make code easier to follow and avoid ifdefs all
over the place.

Additionally solved issue with BLI_exists which was wrongly
returning False in cases destination file is larger then 4GB.

6 years agoFix T40405: Blender crashes on FBX export instantly.
Bastien Montagne [Wed, 28 May 2014 16:37:30 +0000 (18:37 +0200)]
Fix T40405: Blender crashes on FBX export instantly.
Better fix than rBbef5cb3aa2e5a: consider edges between faces with opposed normals as sharp.

In fact, previous code was broken more deeply in this case (inconsistent normals across
a 'smooth fan') - some loop normals would even never be computed!

Fixing this is possible (even wrote it, actually), but this adds more complexity
to a piece of code that is already awfully complicated, *and* normals in that kind
of smooth fan do not make much sense anyway. So simpler and nicer results with
assuming sharp edges between such 'opposed' faces!

Note that there is some face (loop) ordering black magic at work here, added more comments
to try to explain how and why all this works.

As a bonus, we do not need to check for already computed loop normals anymore, since we
know each 'smooth fan' will be walked once, and only once.

6 years agoFound another bmesh func that invalidates loop indices...
Bastien Montagne [Wed, 28 May 2014 16:34:26 +0000 (18:34 +0200)]
Found another bmesh func that invalidates loop indices...

6 years agoFix T40386: cycles anisotropic BSDF difference between SVM and OSL.
Brecht Van Lommel [Wed, 28 May 2014 14:20:12 +0000 (16:20 +0200)]
Fix T40386: cycles anisotropic BSDF difference between SVM and OSL.

6 years agoFix T40338: Vertex transform origin ignores Normalize option in graph editor
Sergey Sharybin [Wed, 28 May 2014 13:45:06 +0000 (19:45 +0600)]
Fix T40338: Vertex transform origin ignores Normalize option in graph editor

Simply apply unit scale on curve transdata and un-apply on flush.

Needs some more intense testing tho.

6 years agoFix mask transform when display aspect is not 1:1
Sergey Sharybin [Wed, 28 May 2014 12:44:15 +0000 (18:44 +0600)]
Fix mask transform when display aspect is not 1:1

Requires some more intense testing.

6 years agoFix T40405: Blender crashes on FBX export instantly.
Bastien Montagne [Wed, 28 May 2014 11:47:37 +0000 (13:47 +0200)]
Fix T40405: Blender crashes on FBX export instantly.

This crash can only happen in case faces in same 'smooth fan' have reversed normals.
To support this, we have to always keep a way to get real values in loop_to_poly,
even when loop itself is tagged as done, it might be needed in computation of one of
its neighbor's split normal later.

6 years agoAdd asserts to BKE_mesh_normals_loop_split
Campbell Barton [Wed, 28 May 2014 10:49:34 +0000 (20:49 +1000)]
Add asserts to BKE_mesh_normals_loop_split

6 years agoFix T40272: Error setting option flags2 to value fastpskip
Sergey Sharybin [Wed, 28 May 2014 10:11:59 +0000 (16:11 +0600)]
Fix T40272: Error setting option flags2 to value fastpskip

6 years agoStyle cleanup
Sergey Sharybin [Wed, 28 May 2014 09:56:54 +0000 (15:56 +0600)]
Style cleanup

6 years agoFix T40403: Particles disappear after rendering
Sergey Sharybin [Wed, 28 May 2014 09:28:52 +0000 (15:28 +0600)]
Fix T40403: Particles disappear after rendering

Read the comment in ensure_curve_cache, it tells it all.

6 years agoFix T40383: Keying node doesn't work
Sergey Sharybin [Wed, 28 May 2014 08:28:21 +0000 (14:28 +0600)]
Fix T40383: Keying node doesn't work

We should actually re-consider whether zero-sized kernels are allowed
for edge detection.

6 years agoFix T40399, OpenCL compile error.
Thomas Dinges [Wed, 28 May 2014 07:36:15 +0000 (09:36 +0200)]
Fix T40399, OpenCL compile error.

6 years agoFix T40388: 2.70a - Blender Render - Texture Stack - persistent checkbox state.
Bastien Montagne [Wed, 28 May 2014 06:19:41 +0000 (08:19 +0200)]
Fix T40388: 2.70a - Blender Render - Texture Stack - persistent checkbox state.

Reset 'use_texture' flag of a material tex slot when creating/assigning
a texture to an empty slot.

6 years agoFCurve: Setting extrapolation needs to recalc handles
Campbell Barton [Wed, 28 May 2014 02:24:47 +0000 (12:24 +1000)]
FCurve: Setting extrapolation needs to recalc handles

6 years agoFix 40343: Using replace mesh (e.g., LODs) on a skinned mesh crashes.
Mitchell Stokes [Wed, 28 May 2014 00:05:35 +0000 (17:05 -0700)]
Fix 40343: Using replace mesh (e.g., LODs) on a skinned mesh crashes.

Need to use parent->AddRef() in a few places.

6 years agoBGE: Accidentally committed some debug code in 8dafbe.
Mitchell Stokes [Tue, 27 May 2014 21:32:32 +0000 (14:32 -0700)]
BGE: Accidentally committed some debug code in 8dafbe.

6 years agoBGE cleanup: Removing some potential memory leaks from KX_NavMeshObject when it fails...
Mitchell Stokes [Tue, 27 May 2014 21:19:45 +0000 (14:19 -0700)]
BGE cleanup: Removing some potential memory leaks from KX_NavMeshObject when it fails to build a navmesh.

6 years agoBGE cleanup: Remove unused KX_TrackToActuator::m_tracktime member.
Mitchell Stokes [Tue, 27 May 2014 21:12:53 +0000 (14:12 -0700)]
BGE cleanup: Remove unused KX_TrackToActuator::m_tracktime member.

6 years agoFix T40362: Projected texture from spotlight doesn't scale with spotsize when changed...
Mitchell Stokes [Tue, 27 May 2014 20:48:03 +0000 (13:48 -0700)]
Fix T40362: Projected texture from spotlight doesn't scale with spotsize when changed in-game via Python

GPULamp::winmat needs to be updated after the spot size has changed.

6 years agoFix T40387, image api save and pack did not fire notifiers.
Antony Riakiotakis [Tue, 27 May 2014 20:00:33 +0000 (23:00 +0300)]
Fix T40387, image api save and pack did not fire notifiers.

6 years agoFix T40344: Levels of Detail not smooth with Armature Modifier
Mitchell Stokes [Tue, 27 May 2014 19:52:56 +0000 (12:52 -0700)]
Fix T40344: Levels of Detail not smooth with Armature Modifier

Due to skinning changes for multi-threaded animations, the LOD check was
being done after skinning. Now the LOD check is run before animations.
This means the culling information is a frame old, but this should be
fine.

6 years agoCycles: new camera_direction_from_point
Dalai Felinto [Tue, 27 May 2014 13:56:59 +0000 (10:56 -0300)]
Cycles: new camera_direction_from_point

Reviewers: brecht

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

6 years agofix T40375 Glossy shader bakes different than render
Dalai Felinto [Tue, 27 May 2014 13:03:15 +0000 (10:03 -0300)]
fix T40375 Glossy shader bakes different than render

Comments from Brecht Van Lommel:
"""
Currently the viewing direction for each pixel is set to the normal, so
at every pixel glossy is evaluated as if you're looking straight at it.
Blender Internal works the same.
"""

This patch makes baking glossy as viewed from the camera.

Reviewers: brecht

CC: zanqdo
Differential Revision: https://developer.blender.org/D555

6 years agoCycles CUDA: use fewer registers for sm_50 cards for better performance.
Brecht Van Lommel [Tue, 27 May 2014 13:09:00 +0000 (15:09 +0200)]
Cycles CUDA: use fewer registers for sm_50 cards for better performance.

6 years agoFix T40379: world MIS causing too much CUDA memory usage.
Brecht Van Lommel [Tue, 27 May 2014 11:20:07 +0000 (13:20 +0200)]
Fix T40379: world MIS causing too much CUDA memory usage.

The kernel for baking the world texture was the same as the one used for
baking. Now that's separate which allows the kernel to reserve much less
memory.

6 years agoRevert fix for T38594, caused T40186 (just accept limitation for now)
Campbell Barton [Tue, 27 May 2014 11:28:42 +0000 (21:28 +1000)]
Revert fix for T38594, caused T40186 (just accept limitation for now)

6 years agoPIL_time is no longer used in BLI_random.
Lukas Tönne [Tue, 27 May 2014 06:25:36 +0000 (08:25 +0200)]
PIL_time is no longer used in BLI_random.

The last remnant of using the system time for random seed was removed
in rBafb4b65, now seeds are always explicit for BLI_random.

6 years agoFix T40373: Adding movie creates overlapping audio strips
Campbell Barton [Tue, 27 May 2014 05:18:31 +0000 (15:18 +1000)]
Fix T40373: Adding movie creates overlapping audio strips

6 years agoCorrect ortho_v2_v2 arg size
Campbell Barton [Tue, 27 May 2014 04:42:22 +0000 (14:42 +1000)]
Correct ortho_v2_v2 arg size

6 years agoBSD's was using too many build threads for convenience makefile
Campbell Barton [Mon, 26 May 2014 23:45:51 +0000 (09:45 +1000)]
BSD's was using too many build threads for convenience makefile

D431 from Aaron Peterson

6 years agofix T40322: Glitch in baking a mixed SSS shader
Dalai Felinto [Mon, 26 May 2014 19:55:16 +0000 (16:55 -0300)]
fix T40322: Glitch in baking a mixed SSS shader

6 years agoUsual UI messages tweaks.
Bastien Montagne [Mon, 26 May 2014 18:12:03 +0000 (20:12 +0200)]
Usual UI messages tweaks.

6 years agoAttempted fix for T40363: CUDA 30% slowdown in testbuilds compared to 2.70.
Brecht Van Lommel [Mon, 26 May 2014 14:48:30 +0000 (16:48 +0200)]
Attempted fix for T40363: CUDA 30% slowdown in testbuilds compared to 2.70.

CMake had this --fast-math flag but scons not, makes a big difference on some
files. Slightly slower rendering might still happen though, but it should not
be this much.

6 years agoFix for curve map-taper being greyed out incorrectly
Campbell Barton [Mon, 26 May 2014 12:09:22 +0000 (22:09 +1000)]
Fix for curve map-taper being greyed out incorrectly

6 years agoFix T40223: Errors in bevel_factor_mapping_start/end
Campbell Barton [Mon, 26 May 2014 13:55:34 +0000 (23:55 +1000)]
Fix T40223: Errors in bevel_factor_mapping_start/end

Initial patch by Lukas Treyer with own fixes added

6 years agoFix for out of bounds read calculating spline mapping
Campbell Barton [Mon, 26 May 2014 11:57:53 +0000 (21:57 +1000)]
Fix for out of bounds read calculating spline mapping

6 years agoCurve Mapping: disable for cyclic curves (it doesn't make much sense and is buggy)
Campbell Barton [Mon, 26 May 2014 11:50:17 +0000 (21:50 +1000)]
Curve Mapping: disable for cyclic curves (it doesn't make much sense and is buggy)

6 years agoFix for out of bounds reads with curve bevel mapping
Campbell Barton [Mon, 26 May 2014 11:39:46 +0000 (21:39 +1000)]
Fix for out of bounds reads with curve bevel mapping

6 years agoFix T40345: cycles volume render + AO pass not working correct.
Brecht van Lommel [Mon, 26 May 2014 10:50:57 +0000 (12:50 +0200)]
Fix T40345: cycles volume render + AO pass not working correct.

6 years agoFix T40306: cycles baking not distributing work among CPU cores well.
Brecht van Lommel [Mon, 26 May 2014 11:40:16 +0000 (13:40 +0200)]
Fix T40306: cycles baking not distributing work among CPU cores well.

6 years agoFix T40315: Boolean modifier with Freestyle edges
Sergey Sharybin [Mon, 26 May 2014 10:45:43 +0000 (16:45 +0600)]
Fix T40315: Boolean modifier with Freestyle edges

6 years agoFix T40354: Camera Tracks in the Dope Sheet can't be deselected
Sergey Sharybin [Mon, 26 May 2014 10:36:20 +0000 (16:36 +0600)]
Fix T40354: Camera Tracks in the Dope Sheet can't be deselected

6 years agoFix T40359: Scene / Color Management: White Point Mapping Has Limit
Sergey Sharybin [Mon, 26 May 2014 10:28:07 +0000 (16:28 +0600)]
Fix T40359: Scene / Color Management: White Point Mapping Has Limit

6 years agoFix for a missing code update in my commit rB08528f577dcb.
Tamito Kajiyama [Mon, 26 May 2014 07:46:14 +0000 (16:46 +0900)]
Fix for a missing code update in my commit rB08528f577dcb.

6 years agoWorkaround T40317: Ghost/Win32 keys sticking for new windows
Campbell Barton [Mon, 26 May 2014 06:31:06 +0000 (16:31 +1000)]
Workaround T40317: Ghost/Win32 keys sticking for new windows

Ghost win32 ignores key-up events for newly activated windows.
for now just disable code for win32 to initialize modifiers for new windows.

6 years agoFix for thinning strokes at intersections between visible and background hidden lines.
Tamito Kajiyama [Mon, 26 May 2014 01:53:42 +0000 (10:53 +0900)]
Fix for thinning strokes at intersections between visible and background hidden lines.

This commit is intended to fully fix the problem described in
https://developer.blender.org/T36425#19 (see also the previous commit rB08528f577dcb).

Addition of a small offset (to avoid singularity in stroke rendering due to overlapping vertices)
was not performed for all overlapping vertices.

Removed the StrokeCleaner and related helper functions which were added as a
temporary workaround in rB2a5b6d9c8f16.

6 years agoFix for BLI_delete failing on files containing quotes
Campbell Barton [Mon, 26 May 2014 00:23:05 +0000 (10:23 +1000)]
Fix for BLI_delete failing on files containing quotes

6 years agoFix curve switch direction ignoring active vertex
Campbell Barton [Sun, 25 May 2014 23:34:14 +0000 (09:34 +1000)]
Fix curve switch direction ignoring active vertex

6 years agoEditCurve: Replace -1 with CU_ACT_NONE define
Campbell Barton [Sun, 25 May 2014 23:17:00 +0000 (09:17 +1000)]
EditCurve: Replace -1 with CU_ACT_NONE define

6 years agoFix for curve having invalid active vertex after setting type
Campbell Barton [Sun, 25 May 2014 23:11:42 +0000 (09:11 +1000)]
Fix for curve having invalid active vertex after setting type

also allow passing NULL vertex to BKE_curve_nurb_vert_active_set

6 years agoFix Sequencer OpenGL render ignoring preview channel
Campbell Barton [Sun, 25 May 2014 13:49:53 +0000 (23:49 +1000)]
Fix Sequencer OpenGL render ignoring preview channel

6 years agoFreestyle: Partial fix for thinning strokes due to flipping stroke directions at...
Tamito Kajiyama [Sun, 25 May 2014 07:16:00 +0000 (16:16 +0900)]
Freestyle: Partial fix for thinning strokes due to flipping stroke directions at TVertices.

A description of the problem is found in https://developer.blender.org/T36425#19 .

The cause of the issue was identified as roudning errors in Operators::createStroke() due
to insufficient numerical precision.  Precision promotion from float to double was done in
the return values of getPoint3D/2D methods in Interface0D and its subclasses in C++
(data members stored in the 0D classes have already been in double precision).

6 years agoFix T40438: Pressing G key to move the camera quits Blender.
Bastien Montagne [Sun, 25 May 2014 09:06:32 +0000 (11:06 +0200)]
Fix T40438: Pressing G key to move the camera quits Blender.

6 years agoRevert "Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shader"
Dalai Felinto [Sat, 24 May 2014 17:21:18 +0000 (14:21 -0300)]
Revert "Cycles-Bake: fix T40322 Glitch in baking a mixed SSS shader"

This reverts commit 81b129d3b837e31c0d6d2a9d2a6e39d39e47c1ec.

This is not the correct fix yet. More details in T40322

6 years agoFix T40331: Incorrect display of path of editted data.
Bastien Montagne [Sat, 24 May 2014 14:02:10 +0000 (16:02 +0200)]
Fix T40331: Incorrect display of path of editted data.

6 years agomsvc 2008 platofrm suffix changed to be -vc9
Martijn Berger [Sat, 24 May 2014 09:20:18 +0000 (11:20 +0200)]
msvc 2008 platofrm suffix changed to be -vc9

6 years agoCleanup: Comments and unused variables.
Thomas Dinges [Sat, 24 May 2014 05:28:01 +0000 (07:28 +0200)]
Cleanup: Comments and unused variables.

6 years agoSome operation allowed to set invalid active scene render layer
Sergey Sharybin [Fri, 23 May 2014 16:30:36 +0000 (18:30 +0200)]
Some operation allowed to set invalid active scene render layer

Forbid this now and do tricks in the versioning code to repair
corrupted files.

Thanks to Pablo, Caminandes and Koro for discovering this bug!

6 years agoFix crash rendering linked scenes in compo
Sergey Sharybin [Fri, 23 May 2014 15:40:45 +0000 (17:40 +0200)]
Fix crash rendering linked scenes in compo

Simply linking scene (lib.blend) without compo into another one (compo.blend),
using it in a compositor and rendering it would crash.

6 years agoFix T40320: wrong render layer visibility with cycles deformation motion blur.
Brecht Van Lommel [Fri, 23 May 2014 14:10:07 +0000 (16:10 +0200)]
Fix T40320: wrong render layer visibility with cycles deformation motion blur.

6 years agoOptimization of keying clip operations
Sergey Sharybin [Fri, 23 May 2014 14:02:45 +0000 (16:02 +0200)]
Optimization of keying clip operations

Gives around 20%-30% speedup by doing early exit from
kernel traversal cycle.

6 years agoReport to the console when custom ocio config is used
Sergey Sharybin [Fri, 23 May 2014 11:48:05 +0000 (13:48 +0200)]
Report to the console when custom ocio config is used

6 years agoFix T40325: Part II
Bastien Montagne [Fri, 23 May 2014 11:05:40 +0000 (13:05 +0200)]
Fix T40325: Part II

Use same cursors for GRIP buttons as for window resize e.g.

6 years agoSpelling fix
Sergey Sharybin [Fri, 23 May 2014 11:04:15 +0000 (13:04 +0200)]
Spelling fix

6 years agoChecker Deselect: keep active item selected by default
Campbell Barton [Fri, 23 May 2014 10:49:30 +0000 (20:49 +1000)]
Checker Deselect: keep active item selected by default

6 years agoFix T40324: Checker deselect fails for edge-rings
Campbell Barton [Fri, 23 May 2014 10:37:46 +0000 (20:37 +1000)]
Fix T40324: Checker deselect fails for edge-rings

6 years agoBMesh Walker: add face-shell walker
Campbell Barton [Fri, 23 May 2014 10:29:15 +0000 (20:29 +1000)]
BMesh Walker: add face-shell walker

6 years agoBMesh Walker: rename BMW_SHELL -> BMW_VERT_SHELL
Campbell Barton [Fri, 23 May 2014 07:10:48 +0000 (17:10 +1000)]
BMesh Walker: rename BMW_SHELL -> BMW_VERT_SHELL

6 years agoBMesh Walker: typecheck args for walker->begin()
Campbell Barton [Fri, 23 May 2014 07:05:57 +0000 (17:05 +1000)]
BMesh Walker: typecheck args for walker->begin()