Blender Git Commits

Blender Git commits from all branches.

Page: 2015 / 2888

June 8, 2016, 19:45 (GMT)
Depsgraph: Accidentally removed one line too much
June 8, 2016, 19:45 (GMT)
Depsgraph: Cleanup and code simplification

This is mainly a maintenance commit which was aimed to make work with
this module more pleasant and solve such issues as:

- Annoyance with looong files, which had craftload in them
- Usage of STL for the data structures we've got in BLI
- Possible symbol conflicts
- Not real clear layout of what is located where

So in this commit the following changes are done:

- STL is prohibited, it's not really predictable on various compilers,
with our BLI algorithms we can predict things much better.

There are still few usages of std::vector, but that we'll be
solving later once we've got similar thing in BLI.

- Simplify foreach loops, avoid using const_iterator all over the place.

- New directory layout, which is hopefully easier to follow.

- Some files were split, some of them will be split soon.

The idea of this is to split huge functions into own files with
good documentation and everything.

- Removed stuff which was planned for use in the future but was never
finished, tested or anything.

Let's wipe it out for now, and bring back once we really start using
it, so it'll be more clear if it solves our needs.

- All the internal routines were moved to DEG namespace to separate
them better from rest of blender.

Some places now annoyingly using DEG::foo, but that we can olve by
moving some utility functions inside of the namespace.

While working on this we've found some hotspot in updates flush, so
now playback of blenrig is few percent faster (something like 96fps
with previous master and around 99-100fps after this change).

Not saying it's something final, there is still room for cleanup and
API simplification, but those might happen as a regular development
now without doing any global changes.
June 8, 2016, 19:45 (GMT)
more correct Normal Map node behavior for tangent mapping in Cycles Viewport
June 8, 2016, 19:45 (GMT)
Add upstream information to libraries
June 8, 2016, 19:45 (GMT)
Cycles: Simplify code around debug stats in BVH traversing
June 8, 2016, 19:45 (GMT)
Add some more information about extern libraries
June 8, 2016, 19:45 (GMT)
OpenGL: use EXT version of FBOs

Blender 2.7x supports OpenGL 2.1 which has FBO only as an extension.

It was working fine, but this is more correct.
June 8, 2016, 19:45 (GMT)
fixed collada api call for blenderplayer
June 8, 2016, 19:45 (GMT)
moved is_leaf_bone() to collada utils for reuse in exporter and importer
June 8, 2016, 19:45 (GMT)
fix: Import of meshes with holes is now reported as WARNING (unsupported)
improved: add support for bone tail export/import using Blender Collada profile

Differential Revision: https://developer.blender.org/D2031
June 8, 2016, 19:45 (GMT)
fix: Import of meshes with holes is now reported as WARNING (unsupported)
June 8, 2016, 19:45 (GMT)
Image viewer scopes update: OMP->BLI_task.

Gives over 50% faster scope update (from 4.5ms to 2.2ms here with SD shot)!
Probably mostly due to more clever usage of thread-local data (which avoids any lock,
when OMP code had a rather stupid critical section for minmax)...
June 8, 2016, 19:45 (GMT)
Correct invalid pointer-pair compare check
June 8, 2016, 19:45 (GMT)
Cleanup: glsl style
June 8, 2016, 19:45 (GMT)
BMesh: don't alloc zero sized select elem array
June 8, 2016, 19:45 (GMT)
Fix T48514: Cycles toon glossy BSDF not respecting reflective caustics option.
June 8, 2016, 19:45 (GMT)
Cycles CUDA: reduce branched path stack memory by sharing indirect ShaderData.

Saves about 15% for the branched path kernel.
June 8, 2016, 19:45 (GMT)
Fix T47257: bevel crash when there are internal faces.

Bevel had assumed that when rebuilding a face that touches
a vertex with beveled edges, the edges of the face at that vertex
would be adjacent in internal order. That is not necessarily true
if there are edges with more than two faces attached.
We could just prohibit beveling any edges that touch a vertex
where this happens (we already don't bevel non-manifold edges)
but the use case in the model of T47257 seems reasonable.
Also had to fix the edge-ordering code, and the face reconstruction
code to take care of cases where the face normal may not be as expected.
June 8, 2016, 19:45 (GMT)
dd upstream information to libraries
June 8, 2016, 19:45 (GMT)
Depsgraph: Simplify some loops using foreach()
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021