Blender Git Commits

Blender Git "gooseberry_farm" branch commits.

Page: 54 / 93

March 6, 2015, 16:24 (GMT)
Fix T43900: "Operator Mesh Add" template fails
Another script that was missing the lookup_table call.
March 6, 2015, 16:24 (GMT)
Revert "COLLADA - support for shadeless material (SHADER_CONSTANT)"

This reverts commit 04b0a9f4b885e8e3b0b3207f3b3cda74b936df3e.
March 6, 2015, 16:22 (GMT)
Attempted fix for OpenAL synchronization.

This hit animators already, basically when using sound sync we can
hit negative frames. This happens because we always subtracted the full
range of the triple buffer size from the timing, even when buffers were
flushed.

Also, old code read the offset from the offset of the reader. The
problem here, is that due to threading there is a time offset between
the when this offset is set and when it is offloaded to the buffers,
which means that we could get quite some variance between time
reporting.

Now sounds keep a private byte offset which is incremented right before
invalidating old buffers. This should make the combination of OpenAL
time report + byte offset more accurate. For even more accuracy we might
spinlock while updating those values but for now left it as is for fear
of the lock interfering with frame update performance. We can try to be
smarter here, storing old value while update is happening, and use
trylock and the old values if it fails but for now commit the simple
version.
March 5, 2015, 18:15 (GMT)
Merge branch 'master' into gooseberry
March 4, 2015, 13:13 (GMT)
Don't re-typedef structure in wm_types.h

This makes strict compilers to give quite a few of warnings.
March 4, 2015, 13:06 (GMT)
Fix T43878: Applying non-constructive modifiers crashing blender

The issue was caused by recent DM to mesh conversion which was taking ownership,
and it was failing if there are any referenced layers in the custom data.

Now disable passing ownership if there are any referenced layers.
March 3, 2015, 10:09 (GMT)
Merge branch 'master' into gooseberry
March 1, 2015, 14:41 (GMT)
Merge branch 'master' into gooseberry

Conflicts:
source/blender/physics/intern/BPH_mass_spring.cpp
March 1, 2015, 11:42 (GMT)
Merge branch 'master' into gooseberry

Conflicts:
source/blender/physics/intern/BPH_mass_spring.cpp
February 27, 2015, 14:07 (GMT)
Merge branch 'cycles_memory' into gooseberry
February 27, 2015, 14:06 (GMT)
Fix blenderplayer
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, 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, 11:40 (GMT)
Fix for child particle clumping noise, using the orco parent location
for clumping instead of deformed location.

The orco location must be used for roughness to ensure a stable shape,
but for moving child keys toward the parent (clumping) the deformed
location must be used.
February 26, 2015, 04:53 (GMT)
RNA: correct limits
February 24, 2015, 18:17 (GMT)
Pointer property for selecting particle systems in the particle instance
modifier.

Internally the property is still an integer index, but using a pointer
with a dropdown is much more convenient.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021