Blender Git Commit Log

All Blender Git commits.

Page: 4362 / 8462

June 8, 2016, 19:45 (GMT)
CMake: Solve compilation error with pre-compiled libraries and new GCC-6

Since version 6 G++ switched to C++11 by default, which breaks some logic
around WITH_CXX11 checks in out CMake files, leading to compilation errors.
This is easy to solve by explicitly enabling older C++ standard when C++11
was not explicitly enabled by CMake options.

However, G++-6 will also use new ABI by default even if older standard was
specified in the compiler options. This is being addressed by a special
define flag.

This tricks made it possible to use new G++-6 without need to recompile
any of pre-compiled libraries.

However, this might break compilation with existing system libraries, which
might already be using new ABI. We can't address this automatically, so
now we simply default WITH_C11 and WITH_CXX11 options to whatever defaults
of the current compiler are. This means, for G++-6 we'll set WITH_CXX11 to
truth. This should make linking with system libraries working just fine,
but to make pre-compiled libraries we still might need to disable CXX11.

This should work fine work for a new environments with G++-6 and install_deps
script run from scratch there, because C++ standard will be the same for
both Blender dependencies and Blender itself.
June 8, 2016, 19:45 (GMT)
Fix T48476: 'Recalculate Bone to Cursor' fails
June 8, 2016, 19:45 (GMT)
Cleanup: remove unused doxy config
June 8, 2016, 19:45 (GMT)
ndof: simplify Mac build

We don?t require the 3Dconnexion driver framework at build time.

No special link flags or include paths needed.
June 8, 2016, 19:45 (GMT)
Python API: add material to uniforms from gpu.export_shader.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D1457
June 8, 2016, 19:45 (GMT)
Forgot to remove omp header include...
June 8, 2016, 19:45 (GMT)
Dynamicpaint: fix (unreported) missing progress bar in early baking stage.

Nothing was shown in UI during pre-bake step, while it can take several minutes
to complete with heavy geometry.
June 8, 2016, 19:45 (GMT)
DynamicPaint: massive refactor, replace all OpenMP usage by BLI_task and other optimizations.

This commit makes Dynamicpaint modifier evaluation (during playback) a few percents quicker.
However, it makes dynapaint's 'image sequence' baking about 33% quicker (from 119 to 77 seconds
in own heavy test), partly due to switch to BLI_task itself (about 20%), and partly due to
optimizations (remaining ~13%).

As usual, did a lot of tests here to ensure nothing is broken, but a lot more users' testing would definitively
be welcome too! ;)

Note that some quite meaningless omp forloops have been removed (parallelizing thousands of vec copy does
make it two or three times quicker, but the few hundreds of microseconds gained do not make any difference
in a hundreds millisecond process).

Also, this code could still use a lot more cleanup (naming etc.), the way it (tries to) handle malloc faults
is also totally flacky and makes the code horribly verbose and convoluted in some places - without actually
catching all possible faults (memarena could make it more easy to handle here), etc.
June 8, 2016, 19:45 (GMT)
BKE Mesh mapping: add 'vert to looptri' mapping generator.
June 8, 2016, 19:45 (GMT)
GPencil: Add hotkeys for the "Delete Active Frame" operator

Usage:
* D+X - Works anytime, anywhere
* Shift-X - Works in EditMode only
* Via Delete Menu - EditMode only

Often doing video tutorials or perhaps during dailies/shot review you want to
quickly get rid of a quick scribble you made for making a point, without having
to undo (i.e. maybe you edited some objects in between) and/or without having
to use the eraser (i.e. it'd take too long to cover the entire area).
June 8, 2016, 19:45 (GMT)
GP Sculpt: Make the cursor more visible on light backgrounds

On light coloured backgrounds (especially on white), it was impossible to see
where the cursor was. This commit adds a second ring (black) to the cursor so
that on light backgrounds, even if the light ring isn't visible the black one
will be.
June 8, 2016, 19:45 (GMT)
Hopefully fix OMP/MSVC crap...
June 8, 2016, 19:45 (GMT)
Dynapaint: Serious cleanup and optimization of dynamicPaint_createUVSurface (mostly).

Gives 3-4% speedup in pre-bake step (from 112 to 108 seconds with own heavy test file).

Note that here we have a huge potential performance boost if we replace the flat
`Bounds2D *faceBB` array of UV tris bounding boxes by a real 2D AABB tree (right now,
we can loop over all UV triangles times the number of pixels of the surface times 5...).
June 8, 2016, 19:45 (GMT)
Fix GLSL shader failing to compile on OSX

Bit operations are not supported on legacy profile of OSX.
June 8, 2016, 19:45 (GMT)
Makefile: Use hidden FORCE target
June 8, 2016, 19:45 (GMT)
Support Cycles wave texture in GLSL viewport.
June 8, 2016, 19:45 (GMT)
Support Cycles noise texture in GLSL viewport
June 8, 2016, 19:45 (GMT)
Cleanup: Don't use f suffix for values in GLSL

Was giving an issues in the past, will avoid it for now.
June 8, 2016, 19:45 (GMT)
Support voronoi texture in GLSL shading

It gives some slight differences on the plane corners, but can't
really figure out source of the issue here yet.

It's still better than fully white texture for the previews anyway.

At this point we should perhaps ifdef chunks of the code in order
to have faster GLSL compilation and probably even faster compiled
code. Will look into this shortly.
June 8, 2016, 19:45 (GMT)
Support Cycles magic texture in GLSL viewport
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021