Blender Git Commits

Blender Git "master" branch commits.

Page: 2291 / 5574

September 3, 2016, 10:51 (GMT)
Fix T49228: Separate by material, materials dissappear after reload.

Yet another mismatch where code would decrease usercount (of Material here) but never increase it again
when re-assigning the datablock...
September 3, 2016, 09:47 (GMT)
Fix T49229: ID user decrement error when deleting group instance twice.

Another great example of inconsistency in usercount handling - dupli_group was considered
as refcounted by readfile.c code (and hence by library_query.c one, which is based on it),
but not by editor/BKE_object code, which never increased group's usercount when creating
an instance of it etc.

To be backported to 2.78.
September 2, 2016, 09:44 (GMT)
Point submodules to latest master branches

We did not update them for really long time and the currently used
hashes are quite old and probably wouldn't work without manually
updating all submodules.

Not as if it's something totally crucial (we ask to update submodules
all the times and that's what `make update` does) but updating hashes
will save some cloning/checkout time.
September 2, 2016, 09:37 (GMT)
Blender 2.78 commit!

Includes:

- Version bump to 2.78
- Doxy file update
- New splash screen
- Wrapped some do_versions with version check
- Updated template to use proper font

After poking around a lot it seems Droid Sans was used during 2.7x series.
(or at least difference between using this font and comparing to previous
splash screens gives none visible difference).
September 2, 2016, 07:58 (GMT)
Fix T49180: Cycles MIS Map for Animated Environment Texture Movie Doesn't Update on Frame Change

Not really ideal fix at all, but we are at RC today, so better to play really safe.
September 2, 2016, 07:14 (GMT)
Cycles: Silence strict compiler warning in release build
September 2, 2016, 06:37 (GMT)
Fix T49222: Image Save settings are overridden by the File Save Screen ones.

There were two inconsistencies in how 'save image' op initiated its settings:
* It would always use ImBuf->planes value.
* It would always use Image views settings.

Both of those settings should come from scene->r.im_format (as everything else)
when saving render/compo result...
Revision e7ea1ae by Mai Lavelle
September 2, 2016, 02:45 (GMT)
Cycles microdisplacement: Improved automatic bump mapping

Object coordinates can now be used in the displacement shader and will give
correct results, where as before bump mapping was calculated from the displace
positions and resulted in incorrect shading.

This works by evaluating the shader in two parts, first bump then surface, and
setting the shader state to match what it would be if the surface was
undisplaced for the bump shader evaluation. Currently only `P` is set as if
undisplaced, but other shader variables could be set as well, such as `I` or
`time`. Since these aren't set to anything meaningful for displacement I left
them out of this patch, we can decide what to do with them separately.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2156
Revision 62aecbd by Mai Lavelle
September 2, 2016, 02:45 (GMT)
Cycles: Store undisplaced coordinates for meshes when needed

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2156
Revision 9f1c423 by Mai Lavelle
September 2, 2016, 02:44 (GMT)
Cycles: remove duplicate shader storage

Storing multiple copies of a shader was needed when the displacement method was
a mesh option and could be different for each mesh. Now that its a shader option
this is unnecessary.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2156
September 1, 2016, 20:00 (GMT)
Fix T49215
September 1, 2016, 19:16 (GMT)
Fix T49224: Crash due to dangling value in 'Object.proxy_from' pointer.

Why/how this may happen remains a mystery, so for now simply clearing this runtime-only
pointer on Object reading...
September 1, 2016, 16:54 (GMT)
Math Lib: avoid char > int conversion w/ line plot
September 1, 2016, 16:54 (GMT)
Curve Fitting: correct initial handle sign

In practice the initial values are almost never used.
Revision 96dd194 by Julian Eisel
September 1, 2016, 14:55 (GMT)
Fix crash calling wm.open_mainfile from menu with --debug-memory enabled

Didn't do any bisecting, but guess it's caused rBb54e95a5c8dcb7 (2.74 is fine, 2.75 isn't).
I think this fix makes some other hacks redundant but need to check details (will do when we're back to bcon1 to avoid regressions).
Revision e240025 by Julian Eisel
September 1, 2016, 14:37 (GMT)
Fix T49199: Combination of dialog + wm.open_mainfile causes crash

Issue was that the wm.open_mainfile OP caused all handlers to be removed and since rB45592291 cancelled (which is correct in general), the menu that triggered the OP should not be cancelled though.
Not sure if this is a nice fix or not, it's however the safest fix I found. A different fix would be to call UI_popup_block_close before WM_operator_call_ex (in dialog_exec_cb), but not sure how safe this is and want to further investigate if it makes other hacks/fixes redundant.

There's still a crash with --debug-memory that confused the heck out of me (since I always have --debug-memory enabled), but I'll commit fix for that separately.
September 1, 2016, 13:45 (GMT)
D2184 Stamp: Make drawing stamp labels optional.

When using metadata stamping, it's often handy to have "Camera" in
front of the camera name, "Marker" in front of the marker text, etc.,
but sometimes those get in the way. This patch allows an artist to
turn those labels on/off.

Reviewed by: sergey, mont29, venomgfx
September 1, 2016, 13:30 (GMT)
pydoc: added missing 'compress' parameter to b.t.BlendDataLibraries.write
September 1, 2016, 13:27 (GMT)
OpenSubdiv: Fix missing object ORCO when Subsurf uses OpenSubdiv but disabled fore viewport
Revision f7263b8 by Sergey Sharybin
September 1, 2016, 10:14 (GMT)
Cleanup: Reduce amount of misleading indentation

Was polluting compile output too much.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021