Blender Git Commits

Blender Git "master" branch commits.

Page: 2255 / 5574

November 5, 2016, 19:58 (GMT)
[msvc2015] Add support for copying the vc runtime.

There's more dll's hanging out in the ucrt folder, but I just grabbed the ones blender requested (not sure if that's a wise idea, but it seems to work)

Reviewers: sergey, juicyfruit

Reviewed By: juicyfruit

Differential Revision: https://developer.blender.org/D2335
Revision 5b26c36 by Mike Erwin
November 5, 2016, 18:26 (GMT)
OpenGL: edge overlay shaders

As seen at #bcon16. These were produced quickly and probably need further work.

SIMPLE variant draws triangle mesh edges. Based on this research:
http://www2.imm.dtu.dk/pubdb/views/edoc_download.php/4884/pdf/imm4884.pdf
http://developer.download.nvidia.com/SDK/10/direct3d/Source/SolidWireframe/Doc/SolidWireframe.pdf

Non-SIMPLE variant can adjust thickness per edge. This can be used to draw only some edges, or accentuate some edges. Given the right inputs this is a general n-gon perimeter shader.

Part of T49165
Revision a85f68e by Mike Erwin
November 5, 2016, 17:56 (GMT)
OpenGL: further wireframe shaders

As seen at #bcon16

Geometry shader version is automatically used on modern GL runtimes. Legacy version is used on pre-3.2 systems (Mac, Mesa compat profile). They have the same inputs and visual result.

TODO: specialized versions that are less flexible -- draw ALL edges or draw JUST silhouette edges.

Part of T49165
November 5, 2016, 13:23 (GMT)
change default for quicktime suport for macOS to off
November 4, 2016, 13:49 (GMT)
cycles, cuDeviceComputeCapability is deprecated as of cuda 5.0
November 4, 2016, 08:55 (GMT)
Fix T49905: Segfault when copying object data of linked object.

We have to clear `newid` of all datablocks, not only object ones.

Note that this whole stuff is still using some kind of older, primitive
'ID remapping', would like to see whether we can replace it with new,
more generic one, but that's for another day.
November 4, 2016, 07:34 (GMT)
Fix (unreported) asserts in `make_object_duplilist_real()`.

Code would try to add multiple time the same key in `parent_gh` (for this
ghash a lot of dupliobjects may generate same key).

Was making the tool unusable in debug builds.

Also optimise things a bit by avoiding creating parent_gh when only
`use_base_parent` is set.
November 4, 2016, 07:11 (GMT)
Fix T49918: Make duplicates real crash on clicking operator toggles.

handle_mutex may be NULL here...
November 3, 2016, 20:10 (GMT)
Fix T49903: Blender crashes -> Append Group incl. Object using boolean modifier

New code dealing with getting rid of lib-only cycles of data-blocks
could add several time the same datablock to the list of candidates. Now
this is avoided, and pointers are further cleaned up as double-safety
measure.
November 3, 2016, 19:08 (GMT)
install_deps cleanup: some Debian stuff was still present in the 'generic compile-only' part of the script.
November 3, 2016, 12:26 (GMT)
Add 'Set From Faces' tool to custom split normals.

Feature request during bconf, makes sense to have it even as an hack for
now, since this is probably one of the most common use cases. This should
be redone in bmesh once we have proper custom noramls handling in edit mode...
November 3, 2016, 12:25 (GMT)
Depsgraph: Add code for timing despgraph builder
November 3, 2016, 11:38 (GMT)
Cycles: Fix missing underscore in geom_object.h
November 3, 2016, 10:31 (GMT)
Fix T49826: NEW-DEPSGRAPH - Texture is not updated after changing its space color

The issue was caused by image ID nodes not being in the depsgraph.

Now, tricky part: we only add nodes but do not add relations yet. Reasoning:

- It's currently important to only call editor's ID update callback to solve
the issue, without need to flush changes somewhere deeper.

- Adding relations might cause some unwanted updates, so will leave that for
a later investigation.
November 3, 2016, 10:19 (GMT)
Depsgraph: Fix wrong comparison of ID type vs. node type
November 3, 2016, 09:25 (GMT)
Fix T49857: Blender crashes after adding texture node to compositing tree
November 3, 2016, 02:15 (GMT)
Cycles: Fix OpenCL build error caused by light termination commit
November 3, 2016, 02:08 (GMT)
Cycles: Fix T49901: OpenCL build error after recent light texture coordinate commit

Basically, the problem here was that the transform that's used to bring texture coordinates
to world space is either fetched while setting up the shader (with Object Motion is enabled) or
fetched when needed (otherwise). That helps to save ShaderData memory on OpenCL when Object Motion isn't needed.

Now, if OM is enabled, the Lamp transform can just be stored inside the ShaderData as well. The original commit just assumed it is.
However, when it's not (on OpenCL by default, for example), there is no easy way to fetch it when needed, since the ShaderData doesn't
store the Lamp index.

So, for now the lamps just don't support local texture coordinates anymore when Object Motion is disabled.
To fix and support this properly, one of the following could be done:
- Just always pre-fetch the transform. Downside: Memory Usage increases when not using OM on OpenCL
- Add a variable to ShaderData that stores the Lamp ID to allow fetching it when needed
- Store the Lamp ID inside prim or object. Problem: Cycles currently checks these for whether an object was hit - these checks would need to be changed.
- Enable OM whenever a Texture Coordinate's Normal output is used. Downside: Might not actually be needed.
November 2, 2016, 17:08 (GMT)
Depsgraph: Fix race condition writing drivers to array property

Animation system has separate fcurves for each of array elements and
dependency graph creates separate nodes for each of fcurve, This is
needed to keep granularity of updates, but causes issues because
animation system will actually write the whole array to property when
modifying single value (this is a limitation of RNA API).

Worked around by adding operation relation between array drivers
so we never write same array form multiple threads.
November 2, 2016, 14:35 (GMT)
tests: Update hash for OBJ

Was a recent update of UV precision.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021