Blender Git Commits

Blender Git "master" branch commits.

Page: 2177 / 5574

March 22, 2017, 14:27 (GMT)
Layer Unittesting: pep8 2/2

Mass replacing the common code of all tests

```
echo "Fixing $1"

ed "$1" <<'EOF'
1,/Testing/d
i

from render_layer_common import *
import unittest
import os
import sys

sys.path.append(os.path.dirname(__file__))

.
w
q
EOF
```

Using line-width of 120
March 22, 2017, 14:27 (GMT)
Layer Unittesting: pep8 1/2

Manual corrections, using line-width of 120
March 22, 2017, 13:44 (GMT)
Depsgraph: Fix missing relations update tag when typing #frame

New depsgraph requires relations to be updated after drivers changes.
March 22, 2017, 11:28 (GMT)
Cycles: fixed warnings
March 22, 2017, 11:05 (GMT)
Fix T51024: Switch install_deps to set OSL_ROOT_DIR instead of CYCLES_OSL.

Path by @alekulyn, thanks.

Differential Revision: https://developer.blender.org/D2571
March 22, 2017, 10:37 (GMT)
Fix/workaround T50533: Transparency shader doesn't cast shadows with curve segments

There seems to be a compiler bug of MSVC2013. The issue does not happen on Linux and
does not happen on Windows when building with MSVC2015.

Since it's reallly a pain to debug release builds with MSVC2013 the AVX2 optimization
is disabled for curve sergemnts for this compiler.
March 22, 2017, 09:00 (GMT)
Create correct node after image file drag&drop for Blender Render
March 22, 2017, 08:34 (GMT)
BLI_path_util: add BLI_path_name_at_index

Utility to get a file/dir in the path by index,
supporting negative indices to start from the end of the path.

Without this it wasn't straightforward to get
the a files parent directory name from a filepath.
March 22, 2017, 02:53 (GMT)
Fix for splash not opening centered

When the new window didn't end up using the size stored in the preferences
the splash would not be centered (even outside the screen in some cases).

Now centered popups listen for window resizing.
March 22, 2017, 01:17 (GMT)
Object Mode Outline: Changed algorithm a bit.

First pass find outline pixel.
Second pass expand it by 1px in each direction.
Subsequent passes fade the occluded outlines inward.
Revision c2f3ec4 by Mike Erwin
March 21, 2017, 23:38 (GMT)
OpenGL: convert one more matrix call

Missed this earlier.
Part of T49450
Revision 78878a1 by Mike Erwin
March 21, 2017, 23:36 (GMT)
fix blenderplayer build

GPU lib should not depend on editor (glutil) code.
Revision 0a274df by Mike Erwin
March 21, 2017, 22:10 (GMT)
OpenGL: add gpuLoadProjectionMatrix3D function

Make an existing 4x4 matrix the current projection.
Found a need for this while converting code to new API.
Part of T49450
Revision 6d2aca5 by Mike Erwin
March 21, 2017, 21:49 (GMT)
OpenGL: convert to new matrix API (part 5)

Pretty sure source/blender is now finished, with all legacy matrix calls confined to gpu_matrix.c.

This was the easy part, but doing it first makes the next part much easier. TODO and XXX notes describe what is left.

glMatrixMode is still in place, since the new API does not share this concept of modes. Similar for glOrtho and glFrustum which I'll tackle very soon.

Part of T49450
Revision 7aad5cf by Mike Erwin
March 21, 2017, 21:27 (GMT)
OpenGL: generic inputs for new matrix API

For functions that expect a 4x4 matrix, you can pass in that, or array[16], or float*, or... Casting at each call site can get annoying, and obscures the logic.

The C11 section still needs work, but the non-C11 macros help on the system I tested on (Mac/clang).

Part of T49450
Revision 20d02be by Mike Erwin
March 21, 2017, 20:11 (GMT)
OpenGL: remove fdrawline & other helper functions

Finally, fdrawline is no more!

Part of T49043 & T49450
Revision 3bd831d by Mike Erwin
March 21, 2017, 20:11 (GMT)
OpenGL: convert to new matrix API (part 4)

Part of T49450, fixes a Push/Pop mismatch from part yesterday's 3.
March 21, 2017, 18:29 (GMT)
Object Outline: trying something new
March 21, 2017, 16:47 (GMT)
Object Mode Engine: Support for active color.
March 21, 2017, 11:01 (GMT)
Cycles: Use more friendly GPU device name for AMD cards

For example, for RX480 you'll no longer see "Ellesmere" but will see
"AMD Radeon RX 480 Graphics" which makes more sense and allows to easily
distinguish which exact card it is when having multiple different cards
of Ellesmere codenames (i.e. RX480 and WX7100) in the same machine.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021