Blender Git Commits

Blender Git "master" branch commits.

Page: 2439 / 5574

January 11, 2016, 05:08 (GMT)
Fix T47154: Sequencer add/subtract ignored alpha
January 11, 2016, 03:59 (GMT)
Fix error in white-balance w/ float buffer
January 11, 2016, 02:19 (GMT)
Fix memory & file-handle leak w/ custom data write
Revision 74f291c by Joshua Leung
January 11, 2016, 02:11 (GMT)
Fix T47101 - Grease Pencil eraser doesn't work when activated using D+RMB when using a tablet

When using D+RMB using a tablet (e.g. holding down the side button of the stylus
while hovering it over the surface of the tablet) to erase, the tablet would
report zero-pressure. This causes problems when using the new pressure-sensitive
Grease Pencil eraser, causing it to have no effect.
January 11, 2016, 01:32 (GMT)
Report errno string when writing files fails

Screenshot ignored errors, some render code printed 'Saved' without checking for failure.

note: errno is now cleared from IMB_saveiff so all callers don't need to.
January 11, 2016, 01:01 (GMT)
Cleanup: use const image-format arg
January 11, 2016, 00:29 (GMT)
WM: show file selector errors in header

Was too easy to miss errors from the file selector, now show in the info header.
January 11, 2016, 00:23 (GMT)
Fix GL regression from D1645

Push/Pop mismatch caused GL_STACK_UNDERFLOW
January 10, 2016, 22:23 (GMT)
DNA: remove 'long' type

Turns out even in files this was used, it was only for runtime members that are now ignored.
January 10, 2016, 22:23 (GMT)
DNA: print errors to stderr

Wasn't showing error output in some cases.

Also reduce variable scope in calculate_structlen
January 10, 2016, 22:23 (GMT)
Cleanup: warnings (misleading-indentation)
January 10, 2016, 20:52 (GMT)
Cycles: Add utility funcs to UI code, to check GPU usage.

Can be useful sometimes, and we already have this for CPU. Required for
some further work here.
January 10, 2016, 18:05 (GMT)
OpenGL Smoke: fix color issue, and clarify meaning of variables in the shader.
January 10, 2016, 10:37 (GMT)
Smoke: fix for missing viewport color update.

Active color wasn't copied over if it differs from what the user plugged
in in the UI. Also use a darker color for the default color so smoke
doesn't doen't appear too bright.

Reported in IRC by mib2berlin.
January 10, 2016, 08:45 (GMT)
Some minor fixes from coverity reports.
January 10, 2016, 06:36 (GMT)
OpenGL: port smoke drawing code to GLSL.

Beside the obvious ARB -> GLSL change, the texture slicing algorithm had
to be rewritten.

Although this new algorithm has the same behaviour as the old one (view
aligned slicing), it works with an arbitrary number of slices (which
could eventually be set by the user), which means we can preallocate the
buffer. The previous algorithm would slice from the begining to the end
of the volume's bbox, and draw the slices as it generates them.

Also support for ARB program was removed.

Patch by myself, with some minor fixes by Brecht.

Reviewers: brecht, #opengl_gfx

Differential Revision: https://developer.blender.org/D1694
January 9, 2016, 23:50 (GMT)
Cycles: Fix Uninitialized Value compiler warning in the scoped_timer

Although the code made it impossible to use time_start_ uninitialized, at least GCC did
still produce multiple warnings about it.
Since time_dt() is an extremely cheap operation and functionality does not change in any way when
removing the check in the constructor, this commit removes the check and therefore the warning.
January 9, 2016, 23:24 (GMT)
Cycles: Read Wave texture profile in the XML parser
January 9, 2016, 23:13 (GMT)
Cycles: Adding Hilbert Spiral as a tile order for rendering

This patch adds the "Hilbert Spiral", a custom-designed continuous space-filling curve, as a tile order for rendering in Cycles.
It essentially works by dividing the tiles into tile blocks which are processed in a spiral outwards from the center. Inside each
block, the tiles are processed in a regular Hilbert curve pattern. By rotating that pattern according to the spiral direction,
a continuous curve is obtained, which helps with cache coherency and therefore rendering speed.

The curve is a compromise between the faster-rendering Bottom-to-Top etc. orders and the Center order, which is a bit slower,
but starts with the more important areas. The Hilbert Spiral also starts in the center (unless huge tiles are used) and is still
marginally slower than Bottom-to-Top, but noticeably faster than Center.

Reviewers: sergey, #cycles, dingto

Reviewed By: #cycles, dingto

Subscribers: iscream, gregzaal, sergey, mib2berlin

Differential Revision: https://developer.blender.org/D1166
January 9, 2016, 20:47 (GMT)
DNA: remove endian switching long checks

This wasn't correct, and long was only ever used in cases we can now ignore.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021