Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2213 / 5574

February 10, 2017, 23:42 (GMT)
cleanup from recent commits

coding style, float literals

Converted some (expr / literal) to (expr * literal) where it does not impact readability.

Simplified a few function calls.
February 10, 2017, 23:39 (GMT)
OpenGL immediate mode: clip_graph_draw.c

Part of T49043 and T49042
February 10, 2017, 23:39 (GMT)
OpenGL immediate mode: gluSphere replacement

Updated interface_draw.c to use the new sphere batch.
February 10, 2017, 23:39 (GMT)
OpenGL immediate mode: fix Waveform Font color
February 10, 2017, 23:39 (GMT)
OpenGL immediate mode: interface_draw.c (cont)

ui_draw_but_COLORBAND
Introduced a new checker shader to be used mostly on transparent areas.

OpenGL immediate mode: interface_draw.c (cont)

ui_draw_but_UNITVEC
Introduced a new shader to be used for simple lighting.
February 10, 2017, 23:36 (GMT)
OpenGL immediate mode: Convert leftover UI_ThemeColor calls

Some `UI_ThemeColor` calls were left in converted files, in some cases
because they were just overlooked, and in the case of text drawing,
because the new BLF color functions were not yet implemented at the
time of conversion.

Also converted one `drawcircball` call that was left in
transform_constraints.c

Part of T49043
February 10, 2017, 23:18 (GMT)
fix clang warning

uninitialized variable (glGen functions set the value)
February 10, 2017, 23:18 (GMT)
OpenGL immediate mode: uvedit_draw.c

Still has one `UI_ThemeColor` call, because drawing is happening in a DM
drawing callback which hasn't been converted yet.

Also has some old gl calls that are #ifdef'ed out.

This also changes active face drawing in UVs from stippled to a solid
color, which makes active faces much more visible, and also looks nicer.
The same should probably be done for active face drawing in the 3d view.
(has been discussed with merwin on IRC)

Part of T49043
February 10, 2017, 21:50 (GMT)
Use dummy versionning numbers for missing libraries.

We now assert that we now file version of libraries (needed for
do_version after linking step), so for missing libraries, set dummy
numbers (using version of main .blend file actually).
February 10, 2017, 19:46 (GMT)
Use OBACT_NEW to show the object edit mode
February 10, 2017, 17:10 (GMT)
De-duplicate min/max calculation in F-Curve normalization
February 10, 2017, 16:29 (GMT)
Complete immUniform functions to support 2float and 3float
February 10, 2017, 13:52 (GMT)
CTests: Initial work to cover Cycles nodes with OpenGL tests

Works similar to regular Cycles tests, just does OpenGL render to
get output image.

Seems to work fine with the only funny effect: Blender window will
pop up for each of the tests. This is current limitation of our
OpenGL context. Might be changed in the future.
February 10, 2017, 13:08 (GMT)
Cleanup: Trailing whitespace
February 10, 2017, 12:34 (GMT)
Cycles: Cleanup, move EdgeMap to blender_util

it's better place for such an utility structure. Still not fully ideal tho.
February 10, 2017, 12:34 (GMT)
Cycles: Make an utility class for edge map

Simplifies some logic.
February 10, 2017, 12:34 (GMT)
Cycles: Fix pointiness attribute giving wrong results with autosplit

Basically made the algorithm to handle vertices with the same coordinate
as a single vertex.
February 10, 2017, 12:34 (GMT)
Cycles: Cleanup: Use less indentation by inverting condition
February 10, 2017, 12:34 (GMT)
Cycles: Calculate all vertex attribute after faces generation

This way the calculation is not spread over multiple places.
February 10, 2017, 12:34 (GMT)
Cycles: Cleanup: use vector instead of bare malloc

This way memory is more "manageable" and easier to follow.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021