Blender Git Commits

Blender Git "master" branch commits.

Page: 1848 / 5574

March 19, 2018, 10:17 (GMT)
Merge branch 'master' into blender2.8
March 19, 2018, 08:12 (GMT)
Cleanup: type conversion warning
March 19, 2018, 07:19 (GMT)
Fixed typo Python API

`mathutils.geometry.barycentric_transform` used `tri_a[1-3]` for the
target triangle, but in fact they are `tri_b[1-3]`
March 18, 2018, 15:05 (GMT)
Merge branch 'master' into blender2.8
March 18, 2018, 14:37 (GMT)
Fix ugly recursive pattern in RNA PointCache data layout.

PointCache was having a collection of items of PointCache type, having a
collection of items of PointCache type, having...

Nuff said.

For now, chose the 'ugly' way to fix it, that is, the one that changes
nothing to API and scripts using it: we define another 'PointCacheItem'
RNA type for items of our point cache collection, which has exact same
interface as PointCache except for the collection.

This is doomed to be rewritten at some point anyway, not worth spending
time trying to define a really correct data layout for now.
March 18, 2018, 04:10 (GMT)
CMake: disable boost for lite builds
March 18, 2018, 04:08 (GMT)
Cleanup: kdopbvh, only set parent nodes once
March 18, 2018, 04:08 (GMT)
Cleanup: use MEM_SAFE_FREE
March 18, 2018, 04:08 (GMT)
mathutils: replace interp w/ blend when standalone
March 17, 2018, 18:47 (GMT)
build_environment: remove msvc compiler warning from boost.

Even the boost people have given up trying to keep up with the rapid release
of new msvc versions, and have removed the warn for now see: https://github.com/boostorg/config/commit/5ad0730630188b55e2ee554dec53b5498fc0a030#diff-eac863c1d46c77471e54e8818aab7534
March 17, 2018, 18:45 (GMT)
MSVC: ignore warning c4828 The file contains a character that is illegal.

The only place this warning is coming from is from comments in headers of 3rd party libs. we can safely repress this warning for now.
March 17, 2018, 18:08 (GMT)
Eevee: Volumetrics: Fix crash when using smoke volumes.
March 17, 2018, 17:48 (GMT)
DRW: Fix error in texture binding / unbinding.
March 17, 2018, 17:23 (GMT)
GWN: Element Buffer: Refactor / Optimisation.

- Upload the data to the GPU directly when creating the element buffer in
GWN_indexbuf_build_in_place().

- Convert data in place when squeezing the indices and removing the need
for another allocation.

- GWN_indexbuf_build_in_place() can be used with already used element
buffers and reupload their data without changing vbo id (keeping vaos
up to date).
March 17, 2018, 15:59 (GMT)
DRW: Move cache time to GPUViewport for profiling

This enables us to average this timer over time like the others.
March 17, 2018, 15:59 (GMT)
GWN: Vertex Buffer refactor.

We now alloc a vbo id on creation and let OpenGL manage its memory directly.
We use glMapBuffer to get this memory location.

This enables us to reuse and modify any vertex buffer directly without
destroying it with its associated Batches.

This commit does not really improve performance but will let us implement
more optimizations in the future.

We can also resize the buffer even if this can be slow if we need to keep
the existing data.

The addition of the usage hint makes dynamic buffers not a special case
anymore, simplifying things a bit.
Revision 9ed7093 by Gaia Clary
March 17, 2018, 13:24 (GMT)
Merge branch 'master' into blender2.8
Revision 64fbd50 by Gaia Clary
March 17, 2018, 13:16 (GMT)
Refactor: Collada: remove param, changed order of params in Function call

* In the Collada Module parameters are typically ordered
in a similar way. I changed this to:

extern std::string get_joint_id(Object *ob, Bone *bone);

* The Object parameter was not used in get_joint_sid().
I changed this to:

extern std::string get_joint_sid(Bone *bone);
March 16, 2018, 16:50 (GMT)
Merge branch 'master' into blender2.8
March 16, 2018, 16:49 (GMT)
Fix (unreported) a broken 'RNA diff collection' case.

When a name property is defined for collection's struct, but no name is
actually set, we want to also fallback to index case. We cannot handle
empty names to address items of a collection!
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021