Blender Git Commits

Blender Git "master" branch commits.

Page: 2469 / 5574

November 25, 2015, 21:46 (GMT)
Fix error in shadowing cleanup (wrong pointer free)
November 25, 2015, 19:31 (GMT)
Fix T46848: more OpenNL crashes due to uninitialized variables.
November 25, 2015, 19:31 (GMT)
Fix OpenSubdiv geometry shader error on Linux / AMD.

Differential Revision: https://developer.blender.org/D1638
November 25, 2015, 18:30 (GMT)
CUEW: Update to latest version

It is now updated against CUDA Toolkit 7.5. Currently should be no functional
changes, just begin some ground work for the future.
Revision 816cdf2 by Mike Erwin
November 25, 2015, 16:51 (GMT)
OpenGL: GLSL always supported

In gpu lib:
- GPU_glsl_support() always returns true
- internal cleanup & comments

Outside gpu lib:
- remove check from various code, remove the ?else? path

- sprinkled a few C99-isms

We can remove GPU_glsl_support() when BGE stops calling it.
November 25, 2015, 16:16 (GMT)
Use different approach to the antialias node

It uses edge extrapolation code from Gimp's antialias plugin now,
which has advantage of giving symmetrical results, which makes it
possible to add two antialiased ID masks and have a constant 1.0
all over the frame. But has difference from the old implementation
because it uses 3x3 matrix only, which doesn't give so much smooth
looking edges. Perhaps it's not so bad, since if edges are really
need to be smooth one might use Blur node.

Another advantage is that the node is now nicely threaded.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Subscribers: ania

Differential Revision: https://developer.blender.org/D1617
November 25, 2015, 15:23 (GMT)
Cycles: Create proper sockets for OSL script nodes

Previously render nodes will be always created with just a VECTOR socket
type and then those sockets will try to be set as all point, vector and
normal to work around lack of such a subtype distinguishing in blender.

This change makes it so subtype is being queried from OSL itself and
proper subtupe is being used for socket.

It's still not in use for the official builds because it requires changes
applied recently on the 1.7 branch of OSL:

https://github.com/imageworks/OpenShadingLanguage/commit/f70e58f

This solves artists confusion reported in T46117.

Reviewers: #cycles, juicyfruit

Reviewed By: #cycles, juicyfruit

Subscribers: juicyfruit

Differential Revision: https://developer.blender.org/D1627
November 25, 2015, 15:22 (GMT)
Fix bplayer (c)
November 25, 2015, 15:15 (GMT)
Cycles: Whitespace cleanup from the recent changes
November 25, 2015, 15:14 (GMT)
Cycles: Fix crash in constant folding introduced by recent commit

Graph::disconnect() actually modifies links, needs to create a copy to iterate
if disconnect happens form inside the loop.

Question tho whether we can control this somehow..

Reported by BzztPloink in IRC, thanks!
November 25, 2015, 13:15 (GMT)
Sequencer: nested scene strip support (like metas)

This makes it possible to use scenes as a kind of
multi-user meta-strip (with their own time).

Currently this supports rendering & drawing nested strips,
but no convenient way to tab-enter into a scene strip.
November 25, 2015, 13:10 (GMT)
install_deps.sh: Updated official boost version (grrr).
November 25, 2015, 12:59 (GMT)
Accept non-existing files from the CLI

When a user tries to load a non-existing blend file from the CLI, the path
is set and Blender acts as if it is loaded. This allows the user to create
a new file by typing 'blender filename.blend' and then saving. This
behaviour is common in other tooling, such as vim and Mypaint.

Blender's current behaviour (print an error message and open the default
scene) doesn't make much sense. It ignores the filename passed on the CLI,
whereas with this patch that filename is actually remembered, and used when
saving.

Reviewers: campbellbarton, sergey, mont29
November 25, 2015, 12:57 (GMT)
Cycles: Refactor of constant fold.

* Move constant folding from nodes to the shader graph. This way it's part of our (later) 4-step optimization process.
* Instead of only doing a one level constant fold, we can now do a recursive constant fold, allowing us to simplify shaders much further.
Constant folding is implemented for Blackbody, Math and VectorMath nodes.

Example (the highlighted nodes are removed before rendering):
Before: http://archive.dingto.org/2015/blender/code/one_level_constant_fold.jpg
Now: http://archive.dingto.org/2015/blender/code/multi_level_constant_fold.jpg

Thanks to Sergey and Brecht for Review!
Differential Revision: https://developer.blender.org/D1626
November 25, 2015, 12:54 (GMT)
Fix T46867: Face-Mask hiding failed on mode switch

Since GPU refactor, hidden faces are cached.
However this needs to be re-calculated when state of hidden faces changes.
November 25, 2015, 12:54 (GMT)
Cleanup: use correct name in prints
November 25, 2015, 12:43 (GMT)
Fix T46646: Point Cloud Density crashes on real time rendering

The issue was caused by possible use of object->derivedFinal from the render
thread, The patch tries to eliminate (or at least minimize, huh) amount of
access to the derivedFinal of a source object. It's still possible that in
the case of particle source derived mesh will be still unsafely used, but
with the patch applied we can easily change runtime part of the code and
cache derived mesh on the preparation stage.

Some ideas for the future:

- Check whether cache() was called on the point density node when calling
calc().

- Cache derivedMesh in the runtime part of point density node to avoid
possible remained thread conflicts.

- NULL the runtime part of the node on .blend load

Reviewers: campbellbarton, plasmasolutions

Reviewed By: plasmasolutions

Differential Revision: https://developer.blender.org/D1614
November 25, 2015, 11:05 (GMT)
Cycles: Fix shader update bug introduced by recent commits

Seems set_intersection() requires passing explicit comparator if non-default
one is used for the sets. A bit weird, but can't really find another explanation
here about whats' going on here.
November 25, 2015, 10:58 (GMT)
install_deps.sh: Updated official Python (to 3.5.0) and NumPy (to 1.10.1).
November 25, 2015, 10:54 (GMT)
PyAPI: remove workaround for Py3.4 bug
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021