Blender Git Commits

Blender Git commits from all branches.

Page: 2364 / 2888

February 27, 2015, 12:27 (GMT)
Depsgrpah: No need to fill in entry tags when flushing updates
February 27, 2015, 12:03 (GMT)
Merge branch 'master' into depsgraph_refactor
February 27, 2015, 11:36 (GMT)
Merge branch 'cycles_memory' into gooseberry
February 27, 2015, 11:27 (GMT)
Add argument to DM_to_mesh() function to take ownership over the DM

The idea is pretty simple: instead of making temporary copy of all the
related custom data layers just pass the ownership from the DM to the
mesh.

This is really handy in cases when you've got DM which you need to
convert to Mesh datablock and wouldn't need that DM after conversion
anyway.

Foe example, render database conversion, exporters and even Modifier
Apply will benefit from this option.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1127
February 27, 2015, 10:41 (GMT)
Fixes for scons build files.
February 27, 2015, 10:08 (GMT)
Merge branch 'master' into depsgraph_refactor
February 27, 2015, 09:53 (GMT)
Fix for circular linker dependency with cache code library.

The `bf_pointcache_alembic` code is a separate library, to avoid
muddling up core code with alembic includes and preprocessor defines.
Alembic stuff only belongs strictly into alembic code and can be
disabled cleanly.

The `bf_pointcache` and `bf_pointcache_alembic` libraries had a circular
dependency, because the alembic implementation functions were called
directly. Now there is a "Factory" class to abstract the creation of
concrete implementations for readers and writers.
`bf_pointcache_alembic` defines this factory and is registered
//outside// of the core `bf_pointcache` lib, so there is no linker
circularity.
February 27, 2015, 08:38 (GMT)
Removed unused thread mutex file from pointcache lib.
February 27, 2015, 08:26 (GMT)
Removed deprecated rna_pointcache.c file.

Scons was still compilling this, since it's source files are not
explicit.
February 27, 2015, 07:46 (GMT)
Merge branch 'cycles_memory' into gooseberry
February 27, 2015, 07:00 (GMT)
Merge branch 'master' into gooseberry
February 26, 2015, 20:07 (GMT)
Add an option to mesh.calc_tessface() to get rid of polygons and loops

The purpose of this change is to add extra possibility to render engines and
export scripts to reduce peak memory footprint during their operation.

This new argument should be used with care since it'll leave mesh in not really
compatible with blender format, but it's ok to be used on temp meshes.

Unfortunately, it's hard to get scene where it'll show huge benefit because
in my tests with cycles peak memory is reached in MEM_printmemlist_stats().

However, in the file with sintel dragon it gives around 1gig of memory benefit
after removing the polys which would allow other heavy to compute stuff such as
hair (or even pointiness calculation) to not be a peak memory usage.

In any case, this change is nice to have IMO, and only means more parts of
scene export code should be optimized memory-wise.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1125
February 26, 2015, 20:01 (GMT)
Cycles: Free caches used by the synchronized objects

Issue this commit is addressed to is that particle system and particle modifier
will contain caches once derived mesh was requested and this cached data will
never be freed.

This could easily lead to unwanted memory peaks during synchronization stage
of rendering.

The idea is to have RNA function in object which would free caches which can't
be freed otherwise. This function is not intended to deal with derived final
since it might be used by other objects (for example by object with boolean
modifier).

This cache freeing is only happening in the background rendering and locked
interface rendering.

From quick tests with victor file this change reduces peak memory usage by
command line rendering by around 6% (1780MB vs. 1883MB). For rendering from
the interface it's about 12% (1763MB vs. 1998MB).

Reviewers: campbellbarton, lukastoenne

Differential Revision: https://developer.blender.org/D1121
February 26, 2015, 16:17 (GMT)
Depsgraph: Fix bad memory access in animation for proxy armatures
February 26, 2015, 16:14 (GMT)
Fix for indirectly linked object pointers in cache libraries.

These must be made "extern" to avoid losing links on loading.
February 26, 2015, 15:24 (GMT)
Fix silly error in last merge
February 26, 2015, 15:20 (GMT)
Merge branch 'master' into vertex_paint_pbvh

Conflicts:
source/blender/editors/sculpt_paint/sculpt.c
February 26, 2015, 14:50 (GMT)
Removed remaining 1 frame difference in archive storage.

This was an artifact from the previous way of mapping non-0 start frame
to time 0.0. Now we start at times > 0.0 to match with the start frame.
Both ways are possible, can be changed later if needed.
February 26, 2015, 14:38 (GMT)
Merge branch 'master' into asset-experiments
February 26, 2015, 14:37 (GMT)
Depsgraph: Code cleanup, wrong indentation
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021