Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2443 / 5574

January 7, 2016, 06:45 (GMT)
Cycles: Fix wrong transparency flag being set to integrator

Patch from be28706 made it so integrator will use last shader's transparent
shadow flag, which is wrong since last shader might not have transparent
shadow while shaders prior to it might have one.
January 7, 2016, 00:38 (GMT)
Cycles: Add utility function to convert bool to string.
January 6, 2016, 23:26 (GMT)
Cleanup: Fix Cycles compile warning on MSVC.
January 6, 2016, 23:14 (GMT)
Cycles OpenCL: Change environment flags for testing.

CYCLES_OPENCL_TEST was removed, there was an insonsistency between
opencl_kernel_use_split() and opencl_get_usable_devices().

From now on, to test non whitelisted devices please use either
CYCLES_OPENCL_MEGA_KERNEL_TEST or CYCLES_OPENCL_SPLIT_KERNEL_TEST.
January 6, 2016, 22:43 (GMT)
Cycles: Refactor how we pass bounce info to light path node.

This commit changes the way how we pass bounce information to the Light
Path node. Instead of manualy copying the bounces into ShaderData, we now
directly pass PathState. This reduces the arguments that we need to pass
around and also makes it easier to extend the feature.

This commit also exposes the Transmission Bounce Depth to the Light Path
node. It works similar to the Transparent Depth Output: Replace a
Transmission lightpath after X bounces with another shader, e.g a Diffuse
one. This can be used to avoid black surfaces, due to low amount of max
bounces.

Reviewed by Sergey and Brecht, thanks for some hlp with this.

I tested compilation and usage on CPU (SVM and OSL), CUDA, OpenCL Split
and Mega kernel. Hopefully this covers all devices. :)
January 6, 2016, 20:22 (GMT)
Proper fix for memleaks when rendering partsys from edit mode...
January 6, 2016, 19:28 (GMT)
...And fix memleak in previous commit, sigh...
January 6, 2016, 19:20 (GMT)
Fix (unreported) crash when rendering hairs from edit mode (own regression in recent particle edit fix).

*sigh* hope we fix some day that recursion issue that makes it such a PITA to generate DM of other targets from DM stack...
January 6, 2016, 18:48 (GMT)
'users of ID' py API.

This mainly adds bpy.data.user_map() method, which goes over the whole Main database
to build a mapping (dict) {ID: {users_of_that_ID}}.

Very handy to check and debug ID usages, but could also be really valuable for py addons
creating temporary scenes, or some exporters, etc.

Note: current code in master's libquery misses some IDs (and reports some it should not,
like nodetrees), this is fixed in id-remap but still needs serious review before going to master.
This basically means that current bpy.data.user_map() **will not** report a complete and exhaustive
state of dependencies between IDs. Should work OK in most cases though.

Original work/idea comes from id-remap branch, was heavily reworked by @campbellbarton
and myself for master.

Reviewers: campbellbarton, sergey

Differential Revision: https://developer.blender.org/D1678
January 6, 2016, 18:09 (GMT)
Cycles: Fix possible buffer overflow in OIIO cache error message
January 6, 2016, 18:06 (GMT)
Fix T47120: CPU OSL Cycles crashes blender in latest GIT

The issue was caused by leaking error messages caused by
getting OIIO texture handle for built-in images.
January 6, 2016, 15:25 (GMT)
Cycles: Log whch optimizations are used for CPU kernels

Not fully thread-safe, but is rather harmless. Just some messages
might be logged several times.
January 6, 2016, 15:05 (GMT)
Cycles: Fix stupid mistake which was assining kernel function in a loop
January 6, 2016, 13:24 (GMT)
Save sys-info to file instead of a text block

The main reason for this change is this file is typically used when making bug reports,
its best if users attach this file to reports directly.
January 6, 2016, 11:08 (GMT)
Fix T47034: Explode "Cut Edges" looses UV's

Own regression in c61e4f2
January 6, 2016, 00:33 (GMT)
Fix Blender Player linking issue.

Removed the conflicting declaration since it is not needed anymore, as
the stipple arrays are now only used in gpu_shader_basic.c.
January 5, 2016, 17:41 (GMT)
Fix T46984: Image mapping bug

The issue was caused by wrong scaling applied on top of the image sampling.

It seems there's no reason to apply alpha clipping when using EWA filtering,
this filtering currently works in the way that it apples all needed clipping
and scaling to a clipped kernel already.
January 5, 2016, 16:18 (GMT)
Cycles: Fix memory leak in shader graph when bump graph is used
January 5, 2016, 14:59 (GMT)
Buildbot: Link libstdc++ statically
January 5, 2016, 14:42 (GMT)
CMake: Fix typo in comment
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021