Blender Git Commits

Blender Git "master" branch commits.

Page: 2302 / 5574

Revision 25872ca by Julian Eisel
August 12, 2016, 23:35 (GMT)
Fix error in GPencil V2 version patching

GPencil conversion would just always run for file version 2.77.3. This wasn't an issue in master, but possibly for other branches that used the 2.77.3 block.

Wasn't aware that you have to add the asterisk for pointers either, this is kinda weird. Anyway, it's running correctly now.
Revision dfbc51f by Mike Erwin
August 12, 2016, 21:20 (GMT)
cleanup: ortho grid drawing

Getting this ready for Gawain treatment.

Removed setlinestyle(0) -- solid lines are the default, hope this isn't
really needed.

Eliminated redundant math.

Arithmetic is still double precision, passed to OpenGL as single
precision. Even though it said GL_DOUBLE before, values were converted
to GL_FLOAT internally.

Use C99-isms for declaring variables close to where they're used.

Minor whitespace tweaks.
August 12, 2016, 12:59 (GMT)
Depsgraph: tag relations for update when aterial slots changes

New dependency graph puts materials to the graph in order to deal with animation
assigned to them and things like that. This leads us to a requirement to update
relations when slots changes.

This fixes: T49075 Assignment of a keyframed material using the frame_change_pre handler
doesn't update the keyframe using the new dependency graph
August 12, 2016, 11:58 (GMT)
Depsgraph: Tag relations for update when making datablocks single user

This is mainly required for the new dependency graph where non-object
datablocks are a part of dependency graph.

This solves issue when making mesh shared by multiple objects a single
user one.
August 11, 2016, 23:19 (GMT)
Fix T49045: splash not working correctly on OS X, after recent bugfix.
August 11, 2016, 23:01 (GMT)
Fix T49071: Cycles OSL build problem with oslc compilers that can't find their own stdosl.h.
August 11, 2016, 20:47 (GMT)
Cycles: Enable half float support (4 channels and 1 channel) on CUDA.

Atm OpenEXR half files benefit from this and will use only 1/2 of the memory now. More space for HDRs!

Part of my GSoC 2016.
August 11, 2016, 20:30 (GMT)
Cycles: Change code order for Image Data Types.

Now we have the 4 component ones first (float4, byte4, half4) followed by the 1 component ones (float, byte, half).
Makes code a bit more consistent and also reduces code a bit when enabling half support on GPU in next commit.

This also exposed a typo in half CPU images for 3D textures, which wasn't used yet, but good to have that one fixed anyway.
Revision 3aed54d by Mai Lavelle
August 11, 2016, 19:09 (GMT)
Cycles: Fix change of sign warning
Revision 013a5c2 by Mai Lavelle
August 11, 2016, 18:35 (GMT)
Cycles: Remove odd definition from CMake file

This was causing Cycles standalone to fail to build from Blender repo.
Hopefully nothing breaks from removing this.
August 11, 2016, 10:36 (GMT)
Fix T49004 and motion blur of cloth, softbody, etc past the end frame.

Point cache read code contains checks designed to prevent it reading
stale data when the relevant simulation code should instead compute
the next frame from the previous one. However in some situations like
motion blur subframes the simulation can't possibly do it and just
exits. This causes completely incorrect motion blur at or after the
last cached frame.

To fix, add a parameter that tells the cache code whether it should
apply the checks and exit, or read what it can even if stale (true
means exactly same as old behavior).

Doing this in cache rather than clamping the frame number better in
the caller lets it handle the case of incomplete cache that stops
before the official last frame.

Reviewed By: mont29, lukastoenne

Maniphest Tasks: T49004

Differential Revision: https://developer.blender.org/D2144
August 11, 2016, 08:12 (GMT)
Cycles: Use static assert to control structures alignment
August 11, 2016, 08:08 (GMT)
Revert "Cycles Tests: Add test for correct 16 byte alignment of KernelData structs"

Using unit tests is a wrong way to control static behavior of the
application. They should only be used for checking dynamic behavior,
all the rest is easily controllable at compile time.

Doing tests at ocmpile time are actually more robust approach since
we don't have strict policy of runnign unit tests before accepting
any change.

Proper alignment control is coming shortly.

This reverts commit 7c3a06c34918567e6b0ab67bded60725ff63073b.
Revision 4565f3d by Mike Erwin
August 11, 2016, 05:06 (GMT)
use new immediate mode for UI_draw_box_shadow

This serves as a good example of the Gawain API. (I?ve thought of a
better way to draw drop shadows, but that can wait!)

Part of T49043.

This is what I had in mind for D1753.
Revision 7664d94 by Mike Erwin
August 11, 2016, 04:11 (GMT)
Gawain: allow partial vertex specification

If you don?t specify a vertex?s color, it will use the color of the
previous vertex. Similar for all other attributes.

This matches the legacy behavior of glColor, glNormal, etc. *except* in
Gawain the first vertex of each immBegin must be fully specified. There
is no ?current? color in the new system.
Revision 4aadf73 by Mike Erwin
August 10, 2016, 22:01 (GMT)
Gawain: tweak immediate mode API

Should be simpler to use now.

Made vertex format structure private. New immVertexFormat() function
clears and returns the format. Devs can start with add_attrib(format...)
and not have to clear it first.

immBindProgram automatically packs the vertex format if needed.

Updated 3D cursor drawing to use new API.
Revision f537d96 by Mike Erwin
August 10, 2016, 20:09 (GMT)
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
Revision adbbcefe by Mike Erwin
August 10, 2016, 20:08 (GMT)
Gawain: fewer glEnable/DisableVertexAttribArray calls

Track previously enabled attrib locations so we can call OpenGL only
when needed.

Same result, fewer GL calls.
August 10, 2016, 18:49 (GMT)
Cycles Tests: Add test for correct 16 byte alignment of KernelData structs
Revision 4d1bf14 by Mai Lavelle
August 10, 2016, 18:08 (GMT)
Cycles Standalone: Fix building after microdisp changes
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021