3 years agoInstall Deps: Use SSE2 optimizations for OIIO and OSL.
Thomas Dinges [Thu, 4 Feb 2016 22:42:39 +0000 (23:42 +0100)]
Install Deps: Use SSE2 optimizations for OIIO and OSL.

3 years agoCleanup: Update BSSRDF code comment.
Thomas Dinges [Thu, 4 Feb 2016 21:42:55 +0000 (22:42 +0100)]
Cleanup: Update BSSRDF code comment.

3 years agoSupport for cubemap reflections in the viewport
Campbell Barton [Thu, 4 Feb 2016 17:28:16 +0000 (04:28 +1100)]
Support for cubemap reflections in the viewport

D1756 by @youle, uses existing texture mapping option.

3 years agoUpdate themes
Campbell Barton [Thu, 4 Feb 2016 16:57:58 +0000 (03:57 +1100)]
Update themes

Label text editing uses colors from text buttons

3 years agoInstall_deps: Disable building tests for OSL
Thomas Beck [Thu, 4 Feb 2016 17:10:20 +0000 (18:10 +0100)]
Install_deps: Disable building tests for OSL

Since we're now on 1.7 we can skip building the OSL testsuite. It was giving various compilation errors on different machines and we don't need them just disabling them in the script.

3 years agoFix T47324: Edit-text in list view theme glitch
Campbell Barton [Thu, 4 Feb 2016 15:57:53 +0000 (02:57 +1100)]
Fix T47324: Edit-text in list view theme glitch

Use existing text select colors when text matches select color.

3 years agoInstall_deps: tweak OSL build options.
Bastien Montagne [Thu, 4 Feb 2016 15:50:46 +0000 (16:50 +0100)]
Install_deps: tweak OSL build options.

3 years agoInstall_deps: updated OSL to 1.7.1.
Bastien Montagne [Thu, 4 Feb 2016 15:35:32 +0000 (16:35 +0100)]
Install_deps: updated OSL to 1.7.1.

3 years agoCycles: Speedup of Christensen-Burley SSS falloff function
Sergey Sharybin [Thu, 4 Feb 2016 14:25:29 +0000 (15:25 +0100)]
Cycles: Speedup of Christensen-Burley SSS falloff function

The idea is simply to pre-compute fitting and parameterization
in the bssrdf_setup() function and re-use the values in both
sample() and eval().

The only trick is where to store the pre-calculated values and
the answer is inside of ShaderClosure->custom{1,2,3}. There's
no memory bump here because we now simply re-use padding fields
for the pre-calculated values. Similar trick we can do for other

Seems to give nice speedup up to 7% here on my desktop with
Core i7 CPU, SSE4.1 kernel.

3 years agoFix T47323, no Fac output in Magic texture (OSL).
Thomas Dinges [Thu, 4 Feb 2016 13:08:36 +0000 (14:08 +0100)]
Fix T47323, no Fac output in Magic texture (OSL).

3 years agoNodes: Remove code which was dead for 2 years now
Sergey Sharybin [Thu, 4 Feb 2016 08:57:00 +0000 (09:57 +0100)]
Nodes: Remove code which was dead for 2 years now

3 years agoCycles: Make Christensen-Burley a default falloff function
Sergey Sharybin [Thu, 4 Feb 2016 08:52:56 +0000 (09:52 +0100)]
Cycles: Make Christensen-Burley a default falloff function

3 years agoCycles: Implement approximate reflectance profiles
Sergey Sharybin [Wed, 3 Feb 2016 22:34:49 +0000 (03:34 +0500)]
Cycles: Implement approximate reflectance profiles

Using this paper:

This model gives less blurry results than the Cubic and Gaussian
we had implemented:

- Cubic:
- Burley:

The model is called "Christensen-Burley" in the interface, which
actually should be read as "Physically based" or "Realistic".

Reviewers: juicyfruit, dingto, lukasstockner97, brecht

Reviewed By: brecht, dingto

Subscribers: robocyte

Differential Revision:

3 years agoUse contextlib for temporary py console overrides
Campbell Barton [Thu, 4 Feb 2016 06:40:02 +0000 (17:40 +1100)]
Use contextlib for temporary py console overrides

Using context overrides means stdout/stderr overrides can't be left set by accident.

3 years agoProject Paint: add sample merged option
Campbell Barton [Thu, 4 Feb 2016 04:26:07 +0000 (15:26 +1100)]
Project Paint: add sample merged option

This picks the on-screen color instead of using the active layers texture color.

3 years agoFix T47317: Dynamic paint crashes with no UV layer
Campbell Barton [Thu, 4 Feb 2016 03:17:52 +0000 (14:17 +1100)]
Fix T47317: Dynamic paint crashes with no UV layer

3 years agoCycles: Correction to asserts, they will never trigger before
Sergey Sharybin [Wed, 3 Feb 2016 14:01:26 +0000 (15:01 +0100)]
Cycles: Correction to asserts, they will never trigger before

3 years agoCycles: Cleanup, indentation and braces
Sergey Sharybin [Wed, 3 Feb 2016 14:00:55 +0000 (15:00 +0100)]
Cycles: Cleanup, indentation and braces

3 years agoFix T47266: Blender crashes from Scripted Expression in Driver
Sergey Sharybin [Wed, 3 Feb 2016 13:40:02 +0000 (14:40 +0100)]
Fix T47266: Blender crashes from Scripted Expression in Driver

Issue was caused by update RNA callbacks freeing the dependency
graph, which is only needed to tag depsgraph for rebuild.

Solved by using a flag for the depsgraph which indicated that it
is to be rebuilt.

3 years agoCycles: Cleanup, indentation
Sergey Sharybin [Wed, 3 Feb 2016 11:17:39 +0000 (12:17 +0100)]
Cycles: Cleanup, indentation

Not sure why it was mixed tabs and spaces, it's all just
confusing in different editors.

3 years agoFix T47302: Crash when OSL active with a viewport on rendered
Sergey Sharybin [Wed, 3 Feb 2016 11:10:00 +0000 (12:10 +0100)]
Fix T47302: Crash when OSL active with a viewport on rendered

Only happened when rendering second time with OSL enabled.
Was caused by fix for T47201. Hopefully now all the issues
are solved (meaning, we don't keep files opened and don't
crash either).

3 years agoCleanup: parenthesize macros
Campbell Barton [Wed, 3 Feb 2016 10:17:07 +0000 (21:17 +1100)]
Cleanup: parenthesize macros

3 years agoImbuf: remove libredcode
Campbell Barton [Wed, 3 Feb 2016 07:31:39 +0000 (18:31 +1100)]
Imbuf: remove libredcode

D1751, remove this library since its quite a specific - only supports an older version of this codec.

Also ffmpeg has added support for recent versions of the codec.

3 years agoCleanup: refactor tooltip data-access out of layout function
Campbell Barton [Wed, 3 Feb 2016 07:01:18 +0000 (18:01 +1100)]
Cleanup: refactor tooltip data-access out of layout function

3 years agoRemove redundant file exists checks
Campbell Barton [Wed, 3 Feb 2016 06:45:54 +0000 (17:45 +1100)]
Remove redundant file exists checks

3 years agoFix T47303: Voxel texture disappears after first frame
Campbell Barton [Wed, 3 Feb 2016 06:33:51 +0000 (17:33 +1100)]
Fix T47303: Voxel texture disappears after first frame

Failed reads didn't update the voxel 'ok' tag,
making successive reads fail (even on existing frames).

3 years agoRecent BLI_rename fix introduced error w/ blend file versioning
Campbell Barton [Wed, 3 Feb 2016 06:06:42 +0000 (17:06 +1100)]
Recent BLI_rename fix introduced error w/ blend file versioning

Rename calls didn't check if the file existed first, so missing file was counted as success and ignored.

3 years agoInclude why file operations fail in reports
Campbell Barton [Wed, 3 Feb 2016 05:37:02 +0000 (16:37 +1100)]
Include why file operations fail in reports

3 years agoFix BLI_rename returned success w/ missing source path
Campbell Barton [Wed, 3 Feb 2016 04:57:24 +0000 (15:57 +1100)]
Fix BLI_rename returned success w/ missing source path

3 years agoFix T47249: Wrong edit-mesh material color w/ hidden faces
Campbell Barton [Wed, 3 Feb 2016 04:01:50 +0000 (15:01 +1100)]
Fix T47249: Wrong edit-mesh material color w/ hidden faces

Regression in 700c40e2

Also avoid unnecessary flushes with material changes with hidden faces.

3 years agoCleanup: correct comment, unused var
Campbell Barton [Wed, 3 Feb 2016 00:51:58 +0000 (11:51 +1100)]
Cleanup: correct comment, unused var

3 years agoFix T47300: SHIFT TAB, CTRL SHIFT TAB shortcuts does not toggle snap, snap mode on...
Bastien Montagne [Tue, 2 Feb 2016 20:27:33 +0000 (21:27 +0100)]
Fix T47300: SHIFT TAB, CTRL SHIFT TAB shortcuts does not toggle snap, snap mode on off anymore.

Regression from rB12c71508c2d7.

Now, we systematically first try keycode from `XLookupKeysym()`, and only fall back to
the one from `XLookupString()` if it failed to convert to a valid gkey.

3 years agoUsual i18n/UI message fixes...
Bastien Montagne [Tue, 2 Feb 2016 19:40:23 +0000 (20:40 +0100)]
Usual i18n/UI message fixes...

3 years agoCycles: Cleanup and reference actual paper used for BSSRDF sampling
Sergey Sharybin [Tue, 2 Feb 2016 17:06:03 +0000 (18:06 +0100)]
Cycles: Cleanup and reference actual paper used for BSSRDF sampling

3 years agoFix T46933: Bone axes letters may not be visible
Campbell Barton [Tue, 2 Feb 2016 16:30:36 +0000 (03:30 +1100)]
Fix T46933: Bone axes letters may not be visible

Now axis letters are view aligned.

3 years agoFix T46583: Sculpt symmetry don't work in clipping border view mode
Sergey Sharybin [Tue, 2 Feb 2016 15:04:33 +0000 (16:04 +0100)]
Fix T46583: Sculpt symmetry don't work in clipping border view mode

This is an attempt to solve the issue by doing clip test on the original
side of the stroke. Some extra testing is required.

3 years agoFix T46411: Experimental deps graph causes particles to jump around
Sergey Sharybin [Tue, 2 Feb 2016 14:43:20 +0000 (15:43 +0100)]
Fix T46411: Experimental deps graph causes particles to jump around

3 years agoDepsgraph: Fix particle system component nodes not being displayed in debug graph
Sergey Sharybin [Tue, 2 Feb 2016 14:33:50 +0000 (15:33 +0100)]
Depsgraph: Fix particle system component nodes not being displayed in debug graph

3 years agoFix T46382: Crash sharing particle system with clump or rough curves
Sergey Sharybin [Tue, 2 Feb 2016 14:01:58 +0000 (15:01 +0100)]
Fix T46382: Crash sharing particle system with clump or rough curves

Made those curves local to thread evaluation now, so there is no
threading conflict accessing them from evaluation threads anymore.

3 years agoFix T46481: Volume grid particles out of volume
Sergey Sharybin [Tue, 2 Feb 2016 12:54:53 +0000 (13:54 +0100)]
Fix T46481: Volume grid particles out of volume

The issue was caused by fix for 31017 which resulted in some
missing intersecitons recorded which screwed inner/outer checks.

This is an old bug, so didn't bother with forcing re-distribution
to happen on file open to avoid possible other regressions.

3 years agoFix T47207: Material shading incorrectly handles colorramp node
Sergey Sharybin [Tue, 2 Feb 2016 11:48:18 +0000 (12:48 +0100)]
Fix T47207: Material shading incorrectly handles colorramp node

The issue was introduced by a fix for T44713 which only made GLSL
consistent with Cycles.

Now we do have conditional averaging or proper luma weighting based
on whether we're new old old shading system. Not totally ideal but
should work for until we re-design viewport possibly breaking how
Blender Internal does implicit conversion.

3 years agoCleanup: rename uvflag -> flag for dm drawing
Campbell Barton [Tue, 2 Feb 2016 06:37:00 +0000 (17:37 +1100)]
Cleanup: rename uvflag -> flag for dm drawing

Was called both, however this isn't mainly for uv's so just call 'flag'.
Also remove redundant NULL check.

3 years agoPartial Fix T47221: Sculpt Hide fails w/ texture drawing
Campbell Barton [Tue, 2 Feb 2016 05:06:45 +0000 (16:06 +1100)]
Partial Fix T47221: Sculpt Hide fails w/ texture drawing

Support for skipping hidden faces in sculpt mode w/ texture drawing.

3 years agoUI: update dynamic tips
Campbell Barton [Tue, 2 Feb 2016 03:13:57 +0000 (14:13 +1100)]
UI: update dynamic tips

Useful for progress ETA to continuously update.

This adds API option not to activate new regions GL state which isn't needed in many cases.

3 years agoFix T47256: Progress bar doesn't update w/ mouse-over
Campbell Barton [Tue, 2 Feb 2016 03:06:06 +0000 (14:06 +1100)]
Fix T47256: Progress bar doesn't update w/ mouse-over

3 years agoUse simpler method to check the planes view aligned
Campbell Barton [Tue, 2 Feb 2016 01:03:32 +0000 (12:03 +1100)]
Use simpler method to check the planes view aligned

3 years agoMatch armature/object select grouped order
Campbell Barton [Tue, 2 Feb 2016 01:39:31 +0000 (12:39 +1100)]
Match armature/object select grouped order

3 years agoCleanup: style
Campbell Barton [Tue, 2 Feb 2016 00:56:30 +0000 (11:56 +1100)]
Cleanup: style

3 years agoArmature select similar: children, immediate-children en sibligns selection.
Michał Ziobro [Mon, 1 Feb 2016 23:28:34 +0000 (00:28 +0100)]
Armature select similar: children, immediate-children en sibligns selection.

Reviewed By: brecht

Differential Revision:

3 years agoFix build error on OS X in previous commit, this define should stay.
Brecht Van Lommel [Mon, 1 Feb 2016 23:38:14 +0000 (00:38 +0100)]
Fix build error on OS X in previous commit, this define should stay.

3 years agoFix T47293: game engine crashes since Bullet upgrade.
Brecht Van Lommel [Mon, 1 Feb 2016 23:16:31 +0000 (00:16 +0100)]
Fix T47293: game engine crashes since Bullet upgrade.

This restores a modification that was there before.

3 years agoFix double metadata prefix when using strip's metadata
Sergey Sharybin [Mon, 1 Feb 2016 17:09:15 +0000 (18:09 +0100)]
Fix double metadata prefix when using strip's metadata

3 years agoCorrection to previous fix of multiple releases of same ImBuf
Sergey Sharybin [Mon, 1 Feb 2016 16:10:40 +0000 (17:10 +0100)]
Correction to previous fix of multiple releases of same ImBuf

Original change in d631252 was not quite correct because it
was missing release since the acquire() will return NULL.

Hopefully now all the cases are covered.

3 years agoFix T47288 Vector transform not behaving correctly with camera space and cycles
Alexander Romanov [Mon, 1 Feb 2016 15:46:32 +0000 (18:46 +0300)]
Fix T47288 Vector transform not behaving correctly with camera space and cycles

3 years agoFix potential access uninitialized metadata
Sergey Sharybin [Mon, 1 Feb 2016 15:33:29 +0000 (16:33 +0100)]
Fix potential access uninitialized metadata

3 years agoRemove debug-only code which sneaked in
Sergey Sharybin [Mon, 1 Feb 2016 15:29:45 +0000 (16:29 +0100)]
Remove debug-only code which sneaked in

3 years agoFix wrong information used for stamp when "Strip Metadata" is used
Sergey Sharybin [Mon, 1 Feb 2016 15:09:21 +0000 (16:09 +0100)]
Fix wrong information used for stamp when "Strip Metadata" is used

Such configuration used to cause quite confusing situation when
stamp will use actual scene's statistics but metadata from strip
will be used for the saved file (basically, causing different
information stamped and saved as metadata).

Don't think it was desired behavior and it's something what
artists here in the studio wants to be fixed.

3 years agoAdd theme settings for keyframe indication in 3D View
Gaia Clary [Mon, 1 Feb 2016 13:01:02 +0000 (14:01 +0100)]
Add theme settings for keyframe indication in 3D View

3 years agoCleanup: FileData->flags: Convert defines to anonymous enum.
Bastien Montagne [Mon, 1 Feb 2016 13:03:31 +0000 (14:03 +0100)]
Cleanup: FileData->flags: Convert defines to anonymous enum.

3 years agoFix T47238: Bug w/ view aligned constraint plane
Campbell Barton [Mon, 1 Feb 2016 10:42:39 +0000 (21:42 +1100)]
Fix T47238: Bug w/ view aligned constraint plane

When constraining on 2 axis, it was possible the plane was view-aligned causing odd glitches.

3 years agoAvoid duplicate getConstraintSpaceDimension calls
Campbell Barton [Mon, 1 Feb 2016 07:06:34 +0000 (18:06 +1100)]
Avoid duplicate getConstraintSpaceDimension calls

3 years agoCMake: Silent Numpy warning on OSX
Sergey Sharybin [Mon, 1 Feb 2016 09:39:16 +0000 (10:39 +0100)]
CMake: Silent Numpy warning on OSX

It is in the archive actually and being installed nicely by the looks of it.

3 years agoCMake: Attempt to fix wrong installation folder for requests on OSX
Sergey Sharybin [Mon, 1 Feb 2016 09:38:34 +0000 (10:38 +0100)]
CMake: Attempt to fix wrong installation folder for requests on OSX

3 years agoSequencer: IF effect strip only affects on a single strip use source metadata for...
Sergey Sharybin [Mon, 1 Feb 2016 09:19:55 +0000 (10:19 +0100)]
Sequencer: IF effect strip only affects on a single strip use source metadata for the result

This way it's possible to have some color-correction modifications on
top of the render result and yet still have proper metadata stored.

Usecase: Access per-frame render-time of the movie frames from the
final export.

3 years agoCycles: Fix wrong clamping used for camera border
Sergey Sharybin [Mon, 1 Feb 2016 09:02:24 +0000 (10:02 +0100)]
Cycles: Fix wrong clamping used for camera border

3 years agoFix missing return after NULL check, from Coverity reports.
Bastien Montagne [Mon, 1 Feb 2016 07:34:29 +0000 (08:34 +0100)]
Fix missing return after NULL check, from Coverity reports.

3 years agoView2D: avoid divide-by-zero
Campbell Barton [Mon, 1 Feb 2016 04:05:45 +0000 (15:05 +1100)]
View2D: avoid divide-by-zero

3 years agoCleanup: unused TransInfo members
Campbell Barton [Mon, 1 Feb 2016 02:33:22 +0000 (13:33 +1100)]
Cleanup: unused TransInfo members

3 years agoFix transform crash in rare cases
Campbell Barton [Mon, 1 Feb 2016 04:15:10 +0000 (15:15 +1100)]
Fix transform crash in rare cases

In some cases transform modes would use the custom-data pointer,
other times the transform conversion functions would.

However with some combinations (bone mirror + bend for eg),
both conversion & transform mode would use this pointer causing a crash.

Fix this by having 2 custom-data pointers:
one for the mode, another for the data-type.

This also simplifies time-slide which was conditionally mixing mode/type data in the one array.

3 years agoFix T47289: Edges don't transform in face-mode
Campbell Barton [Mon, 1 Feb 2016 02:15:02 +0000 (13:15 +1100)]
Fix T47289: Edges don't transform in face-mode

3 years agoDocs: warning for loading duplicate movie-clips
Campbell Barton [Mon, 1 Feb 2016 00:55:59 +0000 (11:55 +1100)]
Docs: warning for loading duplicate movie-clips

3 years agoUI: minor tweaks to view orbit shortcuts show
Campbell Barton [Mon, 1 Feb 2016 00:01:00 +0000 (11:01 +1100)]
UI: minor tweaks to view orbit shortcuts show

3 years agoCleanup: pep8
Campbell Barton [Sun, 31 Jan 2016 13:47:10 +0000 (00:47 +1100)]
Cleanup: pep8

3 years agoDocs: add preset menu example
Campbell Barton [Sun, 31 Jan 2016 07:04:57 +0000 (18:04 +1100)]
Docs: add preset menu example

3 years agoPoint Cache: fix typo in smoke_openvdb_read.
Kévin Dietrich [Sat, 30 Jan 2016 22:29:59 +0000 (23:29 +0100)]
Point Cache: fix typo in smoke_openvdb_read.

3 years agoFix T47153: scroll wheel zoom fails with mouses that support smooth scroll on OS X.
Brecht Van Lommel [Sat, 30 Jan 2016 21:33:20 +0000 (22:33 +0100)]
Fix T47153: scroll wheel zoom fails with mouses that support smooth scroll on OS X.

3 years agoFix T47263: numpad4/6 rotates around worl Z axis and not view Y axis.
Bastien Montagne [Sat, 30 Jan 2016 18:07:36 +0000 (19:07 +0100)]
Fix T47263: numpad4/6 rotates around worl Z axis and not view Y axis.

Those two were the only one rotating around some world axis (turntable mode),
so better make their behavior consistent with other rotating numpad keys.

This breaks the turntable-rotation with numpad keys, though.

3 years agoFix T46455: Array modifier could generate chained mapping of vertices, leading to...
Bastien Montagne [Sat, 30 Jan 2016 16:17:05 +0000 (17:17 +0100)]
Fix T46455: Array modifier could generate chained mapping of vertices, leading to corrupted geometry.

That was the main issue (in both T46455 and T46690), solved by 'flattening' those chains (v1 -> v2 ->v3 etc.)
before calling `CDDM_merge_verts()`.

Also added note to `CDDM_merge_verts()` that it does not support chained mapping, along with
a basic assert that should catch most of those cases in future.

The logic of 'following mapping' was also rather broken, making a special case here when using
object-controlled offset is very weak. Further more, blindly following mapping in this case
was far from ideal, this could end to merging vertices rather far from each other.

To address this issue, we now always follow mapping, but only as long as 'final' vertex remains
close enough from mapped one.

Finally, the search of 'closest' vertex to merge with was also quite bad, would just pick the first
one matching distance limit, instead of using the actual closest one - could lead to rather ugly
geometry deformations in case one would use not-so-small merge threashold!

3 years agoFix memory leak in hook modifier's data copy
Sergey Sharybin [Sat, 30 Jan 2016 14:40:24 +0000 (15:40 +0100)]
Fix memory leak in hook modifier's data copy

3 years agoCycles: Pass Blender's C++ RNA structures by reference
Sergey Sharybin [Sat, 30 Jan 2016 13:18:29 +0000 (14:18 +0100)]
Cycles: Pass Blender's C++ RNA structures by reference

This way we avoid passing structures which could be up to
few hundred bytes by value to the utility functions.

Ideally we'll also have to add `const` qualifier in majority
of the calls, but C++ RNA does not allow us to do that because
it does not know if some function modifies contents or not.

3 years agoCleanup: correct qsort comments
Campbell Barton [Sat, 30 Jan 2016 02:26:11 +0000 (13:26 +1100)]
Cleanup: correct qsort comments

Also add link to original source & parenthesize min macro.

3 years agoCleanup: line length
Campbell Barton [Sat, 30 Jan 2016 02:25:04 +0000 (13:25 +1100)]
Cleanup: line length

3 years agoCleanup for last commit, these variables are no longer needed.
Thomas Dinges [Sat, 30 Jan 2016 01:12:59 +0000 (02:12 +0100)]
Cleanup for last commit, these variables are no longer needed.

3 years agoCycles: Cleanup of OpenCL split kernel routines
Sergey Sharybin [Thu, 29 Oct 2015 15:56:27 +0000 (20:56 +0500)]
Cycles: Cleanup of OpenCL split kernel routines

The idea is to switch from allocating separate buffers for shader data's
structure of arrays to allocating one huge memory block and do some index
trickery to make it accessed as SOA.

This saves quite reasonable amount of lines of code in device_opencl and
also makes it possible to get rid of special declaration of ShaderData

As a side effect it also makes it easier to experiment with SOA vs. AOS
for split kernel.

Works fine here on NVidia GTX580, Intel CPU amd AMD Fiji cards.

Reviewers: #cycles, brecht, juicyfruit, dingto

Differential Revision:

3 years agoCMake: Remove per-module Werror settings
Sergey Sharybin [Fri, 29 Jan 2016 23:04:52 +0000 (00:04 +0100)]
CMake: Remove per-module Werror settings

Seems i was the only one who was really up to using it and
i do have gcc-5 finally backported and installed here so
such a fine-tune flags are no longer needed.

3 years agoCycles: Remove code which was commented out for ages now
Sergey Sharybin [Fri, 29 Jan 2016 17:59:37 +0000 (18:59 +0100)]
Cycles: Remove code which was commented out for ages now

It was mainly unfinished code for volume in a split kernel which
should be done differently anyway to avoid such a code copy-paste.

The code didn't really work, so likely nobody will cry.

3 years agoCycles: Remove some unused variables from split kernel function
Sergey Sharybin [Fri, 29 Jan 2016 17:54:18 +0000 (18:54 +0100)]
Cycles: Remove some unused variables from split kernel function

3 years agoinstall_deps: disable ffmpeg in oiio, we do not need it and this lib varies too much...
Bastien Montagne [Fri, 29 Jan 2016 16:05:01 +0000 (17:05 +0100)]
install_deps: disable ffmpeg in oiio, we do not need it and this lib varies too much accross distros...

3 years agoFix i18n-related points in T47265 - mostly, fix non-translated items in enum-search...
Bastien Montagne [Fri, 29 Jan 2016 14:05:51 +0000 (15:05 +0100)]
Fix i18n-related points in T47265 - mostly, fix non-translated items in enum-search popup menu.

3 years agoBuildbot: Update master configuration
Sergey Sharybin [Fri, 29 Jan 2016 12:47:47 +0000 (17:47 +0500)]
Buildbot: Update master configuration

3 years attempt to add OpenVDB, not working for now.
Bastien Montagne [Fri, 29 Jan 2016 10:05:37 +0000 (11:05 +0100)] attempt to add OpenVDB, not working for now.

OpenVDB is like a 30-years old lib when it comes to building it - not even a script!
This makes it impossible to auto-build (install_deps is not a new CMake!).

So for now, just storing some template code for it, and expected version/deps data
in --show-deps option.

3 years agoSequencer: It is now possible to append strip's modifiers to all selected ones
Sergey Sharybin [Fri, 29 Jan 2016 08:17:33 +0000 (09:17 +0100)]
Sequencer: It is now possible to append strip's modifiers to all selected ones

Previously it was only possible to replace all existing modifiers with the
new list, which isn't so great for grading.

Ideally we should also have some sort of merge policy here, but that's for

3 years agoSkip save-as history running from another Operator
Campbell Barton [Fri, 29 Jan 2016 06:00:32 +0000 (17:00 +1100)]
Skip save-as history running from another Operator

So scripts can call Save-As without adjusting 'Recent Files'.
Uses same logic and file reading,

3 years agoFix T47271: Vertex Group to Selected missing update
Campbell Barton [Fri, 29 Jan 2016 04:05:14 +0000 (15:05 +1100)]
Fix T47271: Vertex Group to Selected missing update

3 years agoFix crash running transform in background mode
Campbell Barton [Fri, 29 Jan 2016 04:03:49 +0000 (15:03 +1100)]
Fix crash running transform in background mode

3 years agoCleanup: remove unused code
Campbell Barton [Fri, 29 Jan 2016 03:31:29 +0000 (14:31 +1100)]
Cleanup: remove unused code

3 years agoCycles: Remove few function arguments needed only for the split kernel
Sergey Sharybin [Thu, 14 Jan 2016 14:58:22 +0000 (19:58 +0500)]
Cycles: Remove few function arguments needed only for the split kernel

Use KernelGlobals to access all the global arrays for the intermediate
storage instead of passing all this storage things explicitly.

Tested here with Intel OpenCL, NVIDIA GTX580 and AMD Fiji, didn't see
any artifacts, so guess it's all good.

Reviewers: juicyfruit, dingto, lukasstockner97

Differential Revision:

3 years agoFFmpeg: Experiment with use of nb_frames from a stream when known
Sergey Sharybin [Thu, 28 Jan 2016 15:38:05 +0000 (16:38 +0100)]
FFmpeg: Experiment with use of nb_frames from a stream when known

The idea is to use known number of frames in the stream when possible
instead of trying to deduct it from a stream duration and time base,
which could potentially give some rounding errors.

This, i.e., solves quicktime encoded files from animators to open
just fine in sequencer.

Another report done by the main Nieve guy (aka venomgfx)

3 years agoCycles: Make OpenCL's argument wrapper able to get int/float values directly
Sergey Sharybin [Thu, 28 Jan 2016 14:03:01 +0000 (15:03 +0100)]
Cycles: Make OpenCL's argument wrapper able to get int/float values directly

3 years agoFix T47228: Ghost not handling predictably keycodes when first keymap is non-latin.
Bastien Montagne [Thu, 28 Jan 2016 13:57:33 +0000 (14:57 +0100)]
Fix T47228: Ghost not handling predictably keycodes when first keymap is non-latin.

Why this is not working in original code and works int this one remains mystery
(see comments for details).

Note that we still do not support at all non-latin keymaps for our shortcuts,
this would be nice to add someday, but that's a TODO, not a bug.

Reviewers: sergey, campbellbarton

Reviewed By: campbellbarton

Differential Revision: