blender.git
4 years agoFix T44979: Crash when rendering with more threads than the system ones
Sergey Sharybin [Mon, 8 Jun 2015 11:46:33 +0000 (13:46 +0200)]
Fix T44979: Crash when rendering with more threads than the system ones

Revert "Nodes: Remove hardcoded BLENDER_MAX_THREADS number of threads"

This reverts commit fdc653e8ce77a188138dc707207139c3d1e6b166.

The threads override is not affected by the scene, and hence the limit of the
threads was not giving correct result. Need to re-consider some things here.

4 years agoUse context manager for reading addon headers
Campbell Barton [Mon, 8 Jun 2015 11:21:54 +0000 (21:21 +1000)]
Use context manager for reading addon headers

4 years agoFix: a broken symlink to an addon resulted in a blank addon tab
Sybren A. Stüvel [Mon, 8 Jun 2015 10:08:43 +0000 (12:08 +0200)]
Fix: a broken symlink to an addon resulted in a blank addon tab

The addons tab in the User Settings window would be empty, due to
a FileNotFound error. This error can be caused by a broken symlink,
which is now treated the same was as a file that misses its bl_info
dictionary.

4 years agoRNA: Object.shape_key_remove method
Campbell Barton [Mon, 8 Jun 2015 09:49:01 +0000 (19:49 +1000)]
RNA: Object.shape_key_remove method

Python had no ability to remove shape keys
Original D1169 from @lichtwerk, with edits

4 years agoFix T44989: Crash on linking external OSL material
Sergey Sharybin [Sun, 7 Jun 2015 19:38:46 +0000 (21:38 +0200)]
Fix T44989: Crash on linking external OSL material

Issue was caused by passing NULL bmain to the path remap function when
localizing the node tree.

Paths are to be remapped, otherwise mapping of paths to OSL scripts
might happen in a wrong way.

4 years agoCycles: Fix crash doing render preview of external OSL script
Sergey Sharybin [Sun, 7 Jun 2015 19:33:48 +0000 (21:33 +0200)]
Cycles: Fix crash doing render preview of external OSL script

4 years agoCycles: Move requested feature conversion to an own function
Sergey Sharybin [Sat, 6 Jun 2015 13:33:37 +0000 (15:33 +0200)]
Cycles: Move requested feature conversion to an own function

This way it could be used for the shader/baking kernels easily n the future.
making those kernels more optimal.

4 years agoCycles: Remove round-up trickery for max closure in split OpenCL kernel
Sergey Sharybin [Sat, 6 Jun 2015 11:14:31 +0000 (13:14 +0200)]
Cycles: Remove round-up trickery for max closure in split OpenCL kernel

Round-up was only enabled for viewport render, which was for a long time hardcoded to
use 64 closures. This was done in order to avoid unnecessary kernel re-compilations
when tweaking the shader tree.

We could enable selective closure compilation in the viewport later if it'll give
measurable speed improvements, but even then round-up is to happen outside of the
device level,

This commit also removes early output which happened in cases when max closure did
not change. It was wrong because other requested kernel features might have been
changed.

4 years agoCycles: Remove requirement of using experimental kernel for hair and blur on AMD
Sergey Sharybin [Sun, 7 Jun 2015 16:22:48 +0000 (18:22 +0200)]
Cycles: Remove requirement of using experimental kernel for hair and blur on AMD

Those features are not selectively compiled, so there's no real benefit of hiding
them under the experimental feature set.

4 years agoCycles: Make hair, object and motion blur selective compiled into OpenCL
Sergey Sharybin [Fri, 5 Jun 2015 17:50:22 +0000 (19:50 +0200)]
Cycles: Make hair, object and motion blur selective compiled into OpenCL

This features are now based on the scene settings, so scenes without those features
used are rendered even faster.

This gives about 30% speedup on the AMD A10 APU here, but at the same time it does
not mean such an improvement will happen on all the hardware. That being said, the
Tonga device here seems to have no measurable difference.

In any case it seems handy to have for the future, when we'll want to support SSS
in the kernel or to port selective compilation/split kernel to CUDA devices.

4 years agoFix "View All" operation in image space not available with locked interface
Sergey Sharybin [Sun, 7 Jun 2015 15:13:28 +0000 (17:13 +0200)]
Fix "View All" operation in image space not available with locked interface

4 years agoFix T44995: Crash loading packed image
Campbell Barton [Mon, 8 Jun 2015 08:21:27 +0000 (18:21 +1000)]
Fix T44995: Crash loading packed image

4 years agoAlternative fix copying windows from popup dialogs
Campbell Barton [Mon, 8 Jun 2015 05:57:42 +0000 (15:57 +1000)]
Alternative fix copying windows from popup dialogs

It could still crash if the window was freed and another was activated. see T44688.

4 years agoFix T44991: Apply transform skips poly-radius
Campbell Barton [Mon, 8 Jun 2015 02:58:50 +0000 (12:58 +1000)]
Fix T44991: Apply transform skips poly-radius

4 years agorename wiki -> manual
Campbell Barton [Mon, 8 Jun 2015 01:33:03 +0000 (11:33 +1000)]
rename wiki -> manual

4 years agoFix T44984: wrong texture clamping when applying saturation > 1.0
Bastien Montagne [Sun, 7 Jun 2015 14:53:56 +0000 (16:53 +0200)]
Fix T44984: wrong texture clamping when applying saturation > 1.0

Applying saturation > 1.0 in HSV space easily leads to negative values in RGB space,
so we have to clamp again...

4 years agoAllow compilation of cycles network with WITH_CYCLES_LOGGING is ON
Martijn Berger [Sun, 7 Jun 2015 13:24:15 +0000 (15:24 +0200)]
Allow compilation of cycles network with WITH_CYCLES_LOGGING is ON

4 years agoDon't show smoke domain when render-only enabled
Campbell Barton [Sun, 7 Jun 2015 11:52:11 +0000 (21:52 +1000)]
Don't show smoke domain when render-only enabled

D1339 from @scorpion81

4 years agoMakeDupliFace: select new objects
Campbell Barton [Sun, 7 Jun 2015 07:44:25 +0000 (17:44 +1000)]
MakeDupliFace: select new objects

4 years agoCleanup: use staticmethods
Campbell Barton [Sun, 7 Jun 2015 07:40:39 +0000 (17:40 +1000)]
Cleanup: use staticmethods

4 years agoCleanup: pep8
Campbell Barton [Sun, 7 Jun 2015 03:54:13 +0000 (13:54 +1000)]
Cleanup: pep8

4 years agoRevert "BGE : KX_VertexProxy support for more than 2 UV channel."
Mitchell Stokes [Sat, 6 Jun 2015 20:11:22 +0000 (13:11 -0700)]
Revert "BGE : KX_VertexProxy support for more than 2 UV channel."

This reverts commit fb0dd596e9a58f095730359a11759c40ea46be44.

This commit reintroduced a deprecated API that we'd rather not see in a
release. A better solution is being worked on.

4 years agoView3D: avoid jumping placing cursor /w lock on
Campbell Barton [Sat, 6 Jun 2015 16:45:26 +0000 (02:45 +1000)]
View3D: avoid jumping placing cursor /w lock on

The view would jump each time, now compensate by adjusting the cursor panning.
Less jarring and helps avoid problems when the cursor gets outside the view, see: T40353

4 years agoUse threshold for selecting side-of-axis
Campbell Barton [Sat, 6 Jun 2015 16:09:41 +0000 (02:09 +1000)]
Use threshold for selecting side-of-axis

4 years agoCleanup: Typos
Julian Eisel [Sat, 6 Jun 2015 13:32:59 +0000 (15:32 +0200)]
Cleanup: Typos

4 years agoCleanup
Campbell Barton [Sat, 6 Jun 2015 11:02:16 +0000 (21:02 +1000)]
Cleanup

4 years agoFix wrong usage of THB_NORMAL size when generating .blend file thumbnail at save...
Bastien Montagne [Fri, 5 Jun 2015 17:42:00 +0000 (19:42 +0200)]
Fix wrong usage of THB_NORMAL size when generating .blend file thumbnail at save time.

We do not use that size of preview anymore, only THB_LARGE...

4 years agoFix T44961, bevel spikes out when certain angles near 180.
Howard Trickey [Fri, 5 Jun 2015 16:56:49 +0000 (12:56 -0400)]
Fix T44961, bevel spikes out when certain angles near 180.

Made the test for whether one can "see" an adjacent edge less
knife-close to 180. This means it will chose to slide along
such an edge less often, and avoid some spikes.

4 years agoCleanup:
Antony Riakiotakis [Fri, 5 Jun 2015 14:13:15 +0000 (16:13 +0200)]
Cleanup:

Get rid of static functions that pass the exact same arguments in the
same order to other function.

4 years agoCycles: Initial support for OpenCL capabilities reports
Sergey Sharybin [Fri, 5 Jun 2015 12:13:59 +0000 (14:13 +0200)]
Cycles: Initial support for OpenCL capabilities reports

For now it's just generic information, still need to expose memory, workgorup
sizes and so on.

4 years agoFix T44960: Crash with 'Shape Cut' in edit hair mode.
Bastien Montagne [Fri, 5 Jun 2015 10:56:56 +0000 (12:56 +0200)]
Fix T44960: Crash with 'Shape Cut' in edit hair mode.

This is only supported for mesh objects so far.
Also, abort in case there are no faces in dm (instead of crashing on NULL BVH tree...).

4 years agoDepsgraph: Report to the console when the new depsgraph is used
Sergey Sharybin [Fri, 5 Jun 2015 00:34:33 +0000 (05:34 +0500)]
Depsgraph: Report to the console when the new depsgraph is used

4 years agoDepsgraph: Fix typo in header guard comment
Sergey Sharybin [Thu, 4 Jun 2015 22:37:14 +0000 (03:37 +0500)]
Depsgraph: Fix typo in header guard comment

4 years agoImBuf: Fix compilation error with latest OIIO
Sergey Sharybin [Wed, 3 Jun 2015 16:34:42 +0000 (21:34 +0500)]
ImBuf: Fix compilation error with latest OIIO

Latest OIIO libraries are using Boost libraries from the public headers.

4 years agoBMesh: decimator, allow vgroup factor over 1
Campbell Barton [Fri, 5 Jun 2015 05:26:37 +0000 (15:26 +1000)]
BMesh: decimator, allow vgroup factor over 1

Can be useful to apply more extreme weighting

4 years agoCheck ftell return values
Campbell Barton [Fri, 5 Jun 2015 01:46:01 +0000 (11:46 +1000)]
Check ftell return values

4 years agoBGE: correct ftell use in LoadGlobalDict
Jorge Bernal [Fri, 5 Jun 2015 01:14:09 +0000 (11:14 +1000)]
BGE: correct ftell use in LoadGlobalDict

4 years agoBGE Cleanup: remove dead code for collide, visible and twoside variables
Jorge Bernal [Fri, 5 Jun 2015 00:24:23 +0000 (02:24 +0200)]
BGE Cleanup: remove dead code for collide, visible and twoside variables

As material is not NULL at this stage there is no need to do a NULL
check. Also to remove dead code

Reviewers: dfelinto, panzergame, hg1, moguri

Reviewed By: panzergame, hg1, moguri

Projects: #game_engine

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

4 years agoNew "use placeholders" feature of the sequencer did not detect correct
Antony Riakiotakis [Thu, 4 Jun 2015 18:40:11 +0000 (20:40 +0200)]
New "use placeholders" feature of the sequencer did not detect correct
filenames.

Added BLI_path utility functions to decompose a path name and
extract the frame number. It should be useful in autocollapse
feature as well

4 years agoBMesh decimate, improve behavior with weights
Campbell Barton [Thu, 4 Jun 2015 09:49:59 +0000 (19:49 +1000)]
BMesh decimate, improve behavior with weights

Add slider to adjust the influence of weights relative to geometry distortion.
This allows subtle influences to be applied - without drastic changes in behavior.

4 years agoFix modifiers stack not recalculated when mapping requirements change
Antony Riakiotakis [Thu, 4 Jun 2015 15:39:43 +0000 (17:39 +0200)]
Fix modifiers stack not recalculated when mapping requirements change

Reported by pixaal on irc, basically reproducable by inserting bevel
modifier on cube and entering/exiting texture paint mode.

Now object stores last needsMapping variable as well as customdata mask.

Also now texture painting only needs mapping when we are in texture
paint selection mode, so modifiers that don't support mapping can still
be used to paint now.

4 years agoFix tooltip colors not initialized correctly
Julian Eisel [Thu, 4 Jun 2015 15:04:48 +0000 (17:04 +0200)]
Fix tooltip colors not initialized correctly

Already committed similar fix (rBbeaed66f292dd) but saw it appearing on
other peoples screens a few times since them. Never was able to recreate
though.
This should make sure everything is initialized fine, so if we see it
appearing again, then it's likely because of manual tweaks or the
version saved in the .blend.

4 years agocorrect last commit
Campbell Barton [Thu, 4 Jun 2015 13:47:03 +0000 (23:47 +1000)]
correct last commit

4 years agoBMesh: decimator minor edits
Campbell Barton [Thu, 4 Jun 2015 08:00:49 +0000 (18:00 +1000)]
BMesh: decimator minor edits

4 years agoFix buffer overrun searching program path on win32
Campbell Barton [Thu, 4 Jun 2015 06:48:56 +0000 (16:48 +1000)]
Fix buffer overrun searching program path on win32

4 years agoLoading raw targa now sets the filetype
Campbell Barton [Thu, 4 Jun 2015 06:36:11 +0000 (16:36 +1000)]
Loading raw targa now sets the filetype

4 years agoCleanup: redundant checks
Campbell Barton [Thu, 4 Jun 2015 05:51:49 +0000 (15:51 +1000)]
Cleanup: redundant checks

4 years agoFix for leak creating stereo images
Campbell Barton [Thu, 4 Jun 2015 05:40:17 +0000 (15:40 +1000)]
Fix for leak creating stereo images

4 years agoCleanup: clarify order of precedence: &/?
Campbell Barton [Thu, 4 Jun 2015 05:28:26 +0000 (15:28 +1000)]
Cleanup: clarify order of precedence: &/?

4 years agoFix T41177. Bevel shouldn't try to slide along edge when can't see it.
Howard Trickey [Wed, 3 Jun 2015 19:18:41 +0000 (15:18 -0400)]
Fix T41177. Bevel shouldn't try to slide along edge when can't see it.

4 years agoI18n extract: better handling of commandline args.
Bastien Montagne [Wed, 3 Jun 2015 15:15:00 +0000 (17:15 +0200)]
I18n extract: better handling of commandline args.

4 years agoMake reading previews from .blend file more robust.
Bastien Montagne [Wed, 3 Jun 2015 14:42:08 +0000 (16:42 +0200)]
Make reading previews from .blend file more robust.

Hit a case here where rect pointer was not NULL, when h & w were both zero...
Shall not happen, but better not crash on such cases!

4 years agoDo not show brush cursor for fill brush (size not supported)
Antony Riakiotakis [Wed, 3 Jun 2015 10:04:47 +0000 (12:04 +0200)]
Do not show brush cursor for fill brush (size not supported)

4 years agoFix inconsistencies in texture paint UI T44929, T44927:
Antony Riakiotakis [Wed, 3 Jun 2015 09:33:33 +0000 (11:33 +0200)]
Fix inconsistencies in texture paint UI T44929, T44927:

* lock alpha only works in projective painting
* fill threshold only works in 2D painting

4 years agoFix error calculating bmesh normals
Campbell Barton [Wed, 3 Jun 2015 08:10:43 +0000 (18:10 +1000)]
Fix error calculating bmesh normals

edge vector stack was left un-cleared.

4 years agoBLI_stack: gtest for clear
Campbell Barton [Wed, 3 Jun 2015 08:09:12 +0000 (18:09 +1000)]
BLI_stack: gtest for clear

4 years agoBLI_stack, add clear function.
Campbell Barton [Wed, 3 Jun 2015 08:06:47 +0000 (18:06 +1000)]
BLI_stack, add clear function.

4 years agoCorrect own fix reference before assignment
Campbell Barton [Wed, 3 Jun 2015 07:08:28 +0000 (17:08 +1000)]
Correct own fix reference before assignment

3rd fix for silly exception conversion!

4 years agoFix memory leak loading multi-layer OpenEXR
Campbell Barton [Wed, 3 Jun 2015 06:23:32 +0000 (16:23 +1000)]
Fix memory leak loading multi-layer OpenEXR

4 years agoFix memory leak loading single-layer OpenEXR
Campbell Barton [Wed, 3 Jun 2015 06:07:27 +0000 (16:07 +1000)]
Fix memory leak loading single-layer OpenEXR

Internal EXR API specifically avoids freeing non-file streams.

4 years agoFix for RMB Menu title including shortcut
Campbell Barton [Wed, 3 Jun 2015 04:57:14 +0000 (14:57 +1000)]
Fix for RMB Menu title including shortcut

4 years agoFix UI string clip (reverse search separator char)
Campbell Barton [Wed, 3 Jun 2015 05:01:02 +0000 (15:01 +1000)]
Fix UI string clip (reverse search separator char)

The string may have many '|' characters, only the last is clipped.

4 years agoCleanup: check button flag for shortcut delimiter
Campbell Barton [Wed, 3 Jun 2015 04:34:04 +0000 (14:34 +1000)]
Cleanup: check button flag for shortcut delimiter

4 years agoFix multires update (reading `char *` as an `int *`)
Campbell Barton [Wed, 3 Jun 2015 03:40:39 +0000 (13:40 +1000)]
Fix multires update (reading `char *` as an `int *`)

4 years agoFix object align crash (use-after-free)
Campbell Barton [Wed, 3 Jun 2015 03:40:00 +0000 (13:40 +1000)]
Fix object align crash (use-after-free)

4 years agoCleanup: metaballs called memcpy with NULL source
Campbell Barton [Wed, 3 Jun 2015 02:35:37 +0000 (12:35 +1000)]
Cleanup: metaballs called memcpy with NULL source

Simplify logic and use realloc

4 years agoCorrect vert/edge slide poll functions
Campbell Barton [Wed, 3 Jun 2015 03:41:30 +0000 (13:41 +1000)]
Correct vert/edge slide poll functions

Would crash trying to access outside the 3D view.

4 years agoCorrect own recent error printing Python exception
Campbell Barton [Wed, 3 Jun 2015 02:36:32 +0000 (12:36 +1000)]
Correct own recent error printing Python exception

4 years agoFix race condition
Campbell Barton [Wed, 3 Jun 2015 01:00:48 +0000 (11:00 +1000)]
Fix race condition

Exposed when checking on T44871

4 years agoImBuf: Fix memory leak around EXR handle's multiView
Sergey Sharybin [Tue, 2 Jun 2015 17:42:51 +0000 (22:42 +0500)]
ImBuf: Fix memory leak around EXR handle's multiView

4 years agoFix T44742. Bevel now avoids vertex meshes when only two edges are beveled.
Howard Trickey [Tue, 2 Jun 2015 13:25:05 +0000 (09:25 -0400)]
Fix T44742. Bevel now avoids vertex meshes when only two edges are beveled.

Also, changed the algorithm for generating the vertex meshes when not all
edges into a vertex are beveled. Now it tries to slide along edges that
form part of the silhouette when possible; when not possible, it tries
to snap to the best plane in between the beveled edges.

4 years agoFix T36994: Make link modifier fails (soft body)
Campbell Barton [Tue, 2 Jun 2015 10:23:01 +0000 (20:23 +1000)]
Fix T36994: Make link modifier fails (soft body)

4 years agoCleanup: use const for object copy funcs
Campbell Barton [Tue, 2 Jun 2015 10:21:45 +0000 (20:21 +1000)]
Cleanup: use const for object copy funcs

4 years agoFix operator exec /w popups that close the window
Campbell Barton [Tue, 2 Jun 2015 08:57:52 +0000 (18:57 +1000)]
Fix operator exec /w popups that close the window

Related to T44688, note supporting this case isn't so nice,
but seems it can be made to work.

4 years agoFix compilation error after recent commit
Sergey Sharybin [Tue, 2 Jun 2015 08:11:03 +0000 (13:11 +0500)]
Fix compilation error after recent commit

4 years agoFix T44921: Node editor, nodes position not maintained after Material panel changes
Sergey Sharybin [Tue, 2 Jun 2015 07:32:43 +0000 (12:32 +0500)]
Fix T44921: Node editor, nodes position not maintained after Material panel changes

Also improved a bit behavior of adding new nodes, now they will not overlap that
badly. Still not ideal, but further improvements better not to happen at bcon4.

4 years agoFix T44922: Split kernel renders black when using Bump node
Sergey Sharybin [Tue, 2 Jun 2015 06:53:10 +0000 (11:53 +0500)]
Fix T44922: Split kernel renders black when using Bump node

Was missing feature detection in the BumpNode in the previous selective nodes
compilation commit.

4 years agoFix own mistake searching python binary
Campbell Barton [Tue, 2 Jun 2015 05:42:03 +0000 (15:42 +1000)]
Fix own mistake searching python binary

4 years agoSimplify Win32 extension check
Campbell Barton [Tue, 2 Jun 2015 05:38:14 +0000 (15:38 +1000)]
Simplify Win32 extension check

4 years agoFix drawing text on >2gig buffers (stamp for eg)
Campbell Barton [Tue, 2 Jun 2015 04:59:31 +0000 (14:59 +1000)]
Fix drawing text on >2gig buffers (stamp for eg)

4 years agoFix T44869: Crash rendering >2gb images
Campbell Barton [Tue, 2 Jun 2015 02:58:53 +0000 (12:58 +1000)]
Fix T44869: Crash rendering >2gb images

4 years agoFix T44919: BGE marhutils attrs leak memory
Campbell Barton [Tue, 2 Jun 2015 01:04:56 +0000 (11:04 +1000)]
Fix T44919: BGE marhutils attrs leak memory

4 years agoUI: tweaks to ID and non ID preview templates
Ines Almeida [Sun, 31 May 2015 17:15:10 +0000 (19:15 +0200)]
UI: tweaks to ID and non ID preview templates

- label is shown on a UI_UNIT_Y heigh instead of 0.2 * total button size
- vertically centering non-ID previews labels
- making some constants dependent on ui units

4 years agotemplate id previews: changes for consistency with icon views template
Ines Almeida [Mon, 25 May 2015 20:55:48 +0000 (21:55 +0100)]
template id previews: changes for consistency with icon views template

- elongate the buttons to acomodate the icon without the label overlapping.
- removing the blue background
- adding a consistent margin all around the popup

4 years agotemplate ID previews: quick fix for buttons region overlapping the search button
Ines Almeida [Sun, 31 May 2015 13:42:44 +0000 (15:42 +0200)]
template ID previews: quick fix for buttons region overlapping the search button

4 years agoFix T44908: Blender crashes when trying to use cycles experimental displacement
Sergey Sharybin [Mon, 1 Jun 2015 18:59:23 +0000 (23:59 +0500)]
Fix T44908: Blender crashes when trying to use cycles experimental displacement

The issue was caused by the reshuffle needed to make objects flags have proper
object's bounding box to solve regressions in SSS objects intersecting volumes.

There's actually a feedback loop happening here, which is now solved in quite
naive way -- for the true displacement we consider all objects are capable of
intersecting volumes, synchronize object flags prior to displacement shader
tasks runs and then re-update object flags for proper bounding box.

Not sure what will be the proper solution here, we can't do preliminary check
of intersection for displacement shader, but on the other hand we don't really
need this flag for displacement shader anyway.

4 years agoThumbnails: fix bad handling of invalid thumbnails, cleanup and deduplication.
Bastien Montagne [Mon, 1 Jun 2015 17:41:51 +0000 (19:41 +0200)]
Thumbnails: fix bad handling of invalid thumbnails, cleanup and deduplication.

Invalid thumbnails (missing mtime metadata) are to be re-generated, not ignored!

4 years agoFont Preview: much better handling of i18n case.
Bastien Montagne [Mon, 1 Jun 2015 17:21:27 +0000 (19:21 +0200)]
Font Preview: much better handling of i18n case.

We have to regenerate previews when we change language. But we also need to do it
when translation is changed or added for a language, etc.

Previously, we were storing one preview per language, which was also stuffing
preview dir with (potentially) tens of PNGs per font file, if user plays with translations.

Now we use a better system, which is storing an additional optional metadata in previews
(some hexdigest), that Blender can use in addition to datetime to decide when to regenerate
previews.

This is only used (and needed) by font previews so far, but can easily be reused for other
types of previews if needed.

4 years agoFont Preview: fallback to default english strings in case translated ones have not...
Bastien Montagne [Mon, 1 Jun 2015 15:12:56 +0000 (17:12 +0200)]
Font Preview: fallback to default english strings in case translated ones have not enough chars in current font.

This avoids some ugly 'missing char' in previews - not all cases of course, but most common ones.

A complete solution would be much much more involved, and probably not worth it here.
Definitively not before a release, at least!

4 years agoFix T44915 vertex color lost when adding new layer in edit mode.
Antony Riakiotakis [Mon, 1 Jun 2015 17:06:46 +0000 (19:06 +0200)]
Fix T44915 vertex color lost when adding new layer in edit mode.

Was copying new layer colors to old layer colors.

4 years agoDisable writing a crash file completely on Windows.
Antony Riakiotakis [Mon, 1 Jun 2015 16:54:03 +0000 (18:54 +0200)]
Disable writing a crash file completely on Windows.

We had some reports where users did not even read the "Not supported on
release builds" message, and arguably writing a file sort of indicates
that the file may include something useful.

4 years agoCycles XML API: * Add Bump and Holdout Node * Add todo comments for various things...
Thomas Dinges [Thu, 21 May 2015 19:56:42 +0000 (21:56 +0200)]
Cycles XML API: * Add Bump and Holdout Node * Add todo comments for various things. * SSS falloff now works.

4 years agoCycles: Number keys 0-3 can be used in interactive mode now to set max bounces.
Thomas Dinges [Tue, 19 May 2015 10:47:38 +0000 (12:47 +0200)]
Cycles: Number keys 0-3 can be used in interactive mode now to set max bounces.

4 years agoCycles: Fix wrong max nodes group used for the viewport render
Sergey Sharybin [Mon, 1 Jun 2015 14:36:44 +0000 (19:36 +0500)]
Cycles: Fix wrong max nodes group used for the viewport render

4 years agoCycles: Strip meaningless empty output form the MVidia OpenCL compiler
Sergey Sharybin [Mon, 1 Jun 2015 14:36:13 +0000 (19:36 +0500)]
Cycles: Strip meaningless empty output form the MVidia OpenCL compiler

4 years agoCycles: Assert in the cases when SVM node was not handled
Sergey Sharybin [Mon, 1 Jun 2015 13:21:29 +0000 (18:21 +0500)]
Cycles: Assert in the cases when SVM node was not handled

This will help figuring out cases when node was not properly handled by the SVM
by aborting execution on CPU, where all the nodes are expected to be supported.

4 years agoCycles: Implement selective nodes compilation
Sergey Sharybin [Mon, 1 Jun 2015 12:48:45 +0000 (17:48 +0500)]
Cycles: Implement selective nodes compilation

This commits finishes initial selective nodes compilation into kernel, which
helps a lot performance-wise for AMD OpenCL kernels.

Split by node groups is based on statistics from simple scenes like BMW and
more complex scenes like mango and gooseberry production files. Further
tweaks are always possible, but it should be a good starting point.

TODO: Still need to ignore unused nodes when calculating requested shader
features.

4 years agoCycles: Fix some typos in the selective modes compilation
Sergey Sharybin [Mon, 1 Jun 2015 13:55:29 +0000 (18:55 +0500)]
Cycles: Fix some typos in the selective modes compilation

4 years agoCycles: Code cleanup, spaces around keyword and brace
Sergey Sharybin [Mon, 1 Jun 2015 13:11:57 +0000 (18:11 +0500)]
Cycles: Code cleanup, spaces around keyword and brace

4 years agoCycles: Fix missing features gathering from the bump graph
Sergey Sharybin [Mon, 1 Jun 2015 10:52:00 +0000 (15:52 +0500)]
Cycles: Fix missing features gathering from the bump graph