Blender Git Commits

Blender Git "master" branch commits.

Page: 2218 / 5574

February 6, 2017, 17:11 (GMT)
Standardization and style for BKE_bvhutils

Add `bvhtree_from_mesh_edges_ex` and callbacks to nearest_to_ray (Similar to the other functions of this code)
February 6, 2017, 16:42 (GMT)
Fix 'public' global 'g_atexit' var in Blender.

No reason to not make this private to this file, and it gave conflict
when using bpy as module and loading it in a GLib application (which
also has a g_atexit var).
February 6, 2017, 15:54 (GMT)
OpenGL immediate mode: interface_draw.c (cont)

ui_draw_but_HISTOGRAM
UI_draw_text_underline (untested)
February 6, 2017, 14:29 (GMT)
Fix compilation error after recent change
February 6, 2017, 14:19 (GMT)
OpenGL immediate mode: interface_draw.c (cont)

Replaced GL_POLYGON in various places.
Ported UI_draw_roundbox_unfilled
February 6, 2017, 14:04 (GMT)
Add shortcuts for unsigned int, short, long and char

Feel free to use those in the new code.

And stay away from simple "unsigned".
February 6, 2017, 13:47 (GMT)
Use hash instead of linear lookup in armature deform

This avoids calling linear lookup 100s of time when dealing with
real-life character.

Still some tweaks possible.
February 6, 2017, 13:21 (GMT)
Multi-thread displace modifier

The title says it all actually. Use BLI task to loop over vertices
and distort their locations. Gives 2x FPS increase in a file with
just time-dependent displace modifier on my desktop.
February 6, 2017, 13:06 (GMT)
OpenGL immediate mode: interface_draw.c
February 6, 2017, 11:43 (GMT)
Immediate mode: edit_curve_paint 1/2

Part of T49043
February 6, 2017, 11:37 (GMT)
Displace modifier: Use special version of texture sampling

This version will give less spin locks and now well-tested by render engines.

This should reduce amount of threading overhead when having multiple objects
with displace modifier enabled.

In the future this will also help us threading the modifier.

There are more modifiers which could benefit from this, but let's first
investigate the new behavior with one of them.
February 6, 2017, 11:23 (GMT)
Add special texture sampling function which takes image pool argument

Using image pool will reduce number of thread locks when acquiring image.
Useful when it's needed to sample texture fewzillion times a second.
February 6, 2017, 10:18 (GMT)
Fix memory leak when building without audaspace
February 6, 2017, 09:44 (GMT)
C++ conformance fixes (MSVC /permissive-)

We (the Microsoft C++ team) use the Blender project as part of our "Real world code" tests.
I noticed a place in WIN32 specific code (dvpapi.cpp:85) where a string literal is losing
its const-ness when being passed to BLI_dynlib_open(). This is not permitted when using the
/permissive- conformance compiler switch (see our blog
https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/)

My suggested fix is to add const and propagate it where needed. Another possible fix would be
to explicitly cast away the const.

Reviewers: mont29, sergey, LazyDodo

Subscribers: Blendify, sergey, mont29, LazyDodo

Tags: #platform:_windows

Differential Revision: https://developer.blender.org/D2495
February 6, 2017, 04:01 (GMT)
fix T50602: Avoid crash when executing `transform_snap_context_project_view3d_mixed` with `dist_px` NULL
Revision c3e2faa by Mike Erwin
February 5, 2017, 06:01 (GMT)
BLF: simplify API for default font

We had two versions of several BLF functions -- one for a specific font ID & another for the default font.

New BLF_default function lets us simplify this API & delete the redundant code.
Revision 5ad5bb2 by Mike Erwin
February 5, 2017, 05:54 (GMT)
fix most UI text color

There are still many places to fix. I'll miss the bright yellow!

This commit also uses the new BLF_default function where possible.

Part of T49043 since we call glColor less often.
Revision 5908382 by Mike Erwin
February 5, 2017, 04:12 (GMT)
add BLF_default function

So we don't need two versions of all other BLF functions -- one for specific font ID & another for the default font.
Revision 627566c by Mike Erwin
February 5, 2017, 00:35 (GMT)
OpenGL: use GL4 on Linux when available

Minimum target is still 3.3

On AMD pro driver, asking for a 3.3 context gives us *exactly* 3.3, not 3.3+ as desired.

Have not tested proprietary NV or Intel drivers, but this fix should work on all vendors.
February 4, 2017, 22:06 (GMT)
Cleaning of the last commit: lack of attention with the debug of time X(

This was a stupid mistake
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021