Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2424 / 5574

February 1, 2016, 09:02 (GMT)
Cycles: Fix wrong clamping used for camera border
February 1, 2016, 07:34 (GMT)
Fix missing return after NULL check, from Coverity reports.
February 1, 2016, 04:23 (GMT)
View2D: avoid divide-by-zero
February 1, 2016, 04:23 (GMT)
Cleanup: unused TransInfo members
February 1, 2016, 04:23 (GMT)
Fix transform crash in rare cases

In some cases transform modes would use the custom-data pointer,
other times the transform conversion functions would.

However with some combinations (bone mirror + bend for eg),
both conversion & transform mode would use this pointer causing a crash.

Fix this by having 2 custom-data pointers:
one for the mode, another for the data-type.

This also simplifies time-slide which was conditionally mixing mode/type data in the one array.
February 1, 2016, 02:15 (GMT)
Fix T47289: Edges don't transform in face-mode
February 1, 2016, 00:56 (GMT)
Docs: warning for loading duplicate movie-clips
February 1, 2016, 00:01 (GMT)
UI: minor tweaks to view orbit shortcuts show
January 31, 2016, 13:47 (GMT)
Cleanup: pep8
January 31, 2016, 07:08 (GMT)
Docs: add preset menu example
January 30, 2016, 22:30 (GMT)
Point Cache: fix typo in smoke_openvdb_read.
January 30, 2016, 21:33 (GMT)
Fix T47153: scroll wheel zoom fails with mouses that support smooth scroll on OS X.
January 30, 2016, 18:07 (GMT)
Fix T47263: numpad4/6 rotates around worl Z axis and not view Y axis.

Those two were the only one rotating around some world axis (turntable mode),
so better make their behavior consistent with other rotating numpad keys.

This breaks the turntable-rotation with numpad keys, though.
January 30, 2016, 17:02 (GMT)
Fix T46455: Array modifier could generate chained mapping of vertices, leading to corrupted geometry.

That was the main issue (in both T46455 and T46690), solved by 'flattening' those chains (v1 -> v2 ->v3 etc.)
before calling `CDDM_merge_verts()`.

Also added note to `CDDM_merge_verts()` that it does not support chained mapping, along with
a basic assert that should catch most of those cases in future.

The logic of 'following mapping' was also rather broken, making a special case here when using
object-controlled offset is very weak. Further more, blindly following mapping in this case
was far from ideal, this could end to merging vertices rather far from each other.

To address this issue, we now always follow mapping, but only as long as 'final' vertex remains
close enough from mapped one.

Finally, the search of 'closest' vertex to merge with was also quite bad, would just pick the first
one matching distance limit, instead of using the actual closest one - could lead to rather ugly
geometry deformations in case one would use not-so-small merge threashold!
January 30, 2016, 14:40 (GMT)
Fix memory leak in hook modifier's data copy
January 30, 2016, 14:08 (GMT)
Cycles: Pass Blender's C++ RNA structures by reference

This way we avoid passing structures which could be up to
few hundred bytes by value to the utility functions.

Ideally we'll also have to add `const` qualifier in majority
of the calls, but C++ RNA does not allow us to do that because
it does not know if some function modifies contents or not.
January 30, 2016, 02:27 (GMT)
Cleanup: correct qsort comments

Also add link to original source & parenthesize min macro.
January 30, 2016, 02:27 (GMT)
Cleanup: line length
January 30, 2016, 01:12 (GMT)
Cleanup for last commit, these variables are no longer needed.
January 29, 2016, 23:23 (GMT)
Cycles: Cleanup of OpenCL split kernel routines

The idea is to switch from allocating separate buffers for shader data's
structure of arrays to allocating one huge memory block and do some index
trickery to make it accessed as SOA.

This saves quite reasonable amount of lines of code in device_opencl and
also makes it possible to get rid of special declaration of ShaderData
structure.

As a side effect it also makes it easier to experiment with SOA vs. AOS
for split kernel.

Works fine here on NVidia GTX580, Intel CPU amd AMD Fiji cards.

Reviewers: #cycles, brecht, juicyfruit, dingto

Differential Revision: https://developer.blender.org/D1593
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021