Blender Git Commit Log

All Blender Git commits.

Page: 5027 / 8462

February 27, 2015, 09:54 (GMT)
Fix T43605: Spot Cone+Curve creates odd shadow

Curves could leave glFrontFace in an unknown state.
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, 09:16 (GMT)
Fix T42833: Kink on nurbs curve

Threshold for normalizing was too big.
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 27, 2015, 06:43 (GMT)
Fix T43807: invalid mesh from 2-sided cyclic curve
February 27, 2015, 04:57 (GMT)
cleanup: typos
February 27, 2015, 04:26 (GMT)
MEM_SAFE_FREE caused issues /w const & GCC5
February 27, 2015, 03:52 (GMT)
cleanup: double promotion
Revision 2a5e92c by Mike Erwin (master)
February 27, 2015, 02:21 (GMT)
cleanup: use GHOST_PRINT instead of stdio

Mostly from my own NDoF stuff.
Revision 6cb692f by Mike Erwin (master)
February 27, 2015, 00:53 (GMT)
cleanup: ghost Win32 event processing functions

Removed window arg from key conversion functions.

Removed processModifierKeys declaration since that function was
apparently never implemented.

Using Win32-specific classes instead of their generic superclass -- this
helps in a few cases like WinTab.
February 27, 2015, 00:14 (GMT)
Compile fixes for mingw64

* m_hDC was always included after m_hWnd in all the constructors and other functions,
but the order was reversed in the struct, meaning that they would not get initialised
correctly

* Got rid of the gotos for the error handling case in initializeDrawingContext()
This was causing "jump to label ... crosses initialisation" errors for the calls
to get GL version string info (i.e. const char *vendor = ...; etc.) I wasn't sure
if those glGetString calls needed the rest of the context to be defined first, so
I decided to leave them where they are now, and got rid of the gotos (which were
making this particular piece of code a bit confusing) instead.


TODO:
There are still a bunch of warnings about around 660, which I haven't managed to solve
(but at least they won't prevent Blender from compiling)

narrowing conversion of '(stereoVisual ? 1063 : 1061)' from 'int' to
'DWORD {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
Revision 7aa91f5 by Mike Erwin (master)
February 26, 2015, 23:40 (GMT)
cleanup: ghost Win32 IME

Took out lots of redundant function calls (getters). Also wrapped more
code in WITH_INPUT_IME guards.
February 26, 2015, 22:53 (GMT)
Fix T43806: Knife project crashes

Need to re-create the bmbvh after executing the cut.
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
Revision 90cc264 by Mike Erwin (master)
February 26, 2015, 19:12 (GMT)
cleanup: spelling & typos

Comments only, no functional change.
February 26, 2015, 19:08 (GMT)
BGE: Fix for CreateConstraint API

This patch fix two bugs related to CreateConstraint().
1. Disable linked collision only working with 6DoF constraints.
2. If all pivot axis rotations setted to zero the linked object disappears.

{F101374}

Reviewers: moguri, sybren, brita_, lordloki

Reviewed By: lordloki

Subscribers: p9ablo

Differential Revision: https://developer.blender.org/D704
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021