Blender Git Commits

Blender Git "master" branch commits.

Page: 2262 / 5574

October 21, 2016, 00:49 (GMT)
Cycles: Fix another OpenCL logging issue

Previously an error message would be printed whenever the OpenCL build produced output.
However, some frameworks seem to print extra information even if the build succeeded, so now the actual returned error is checked as well.
When --debug-cycles is activated, the build output will always be printed, otherwise it only gets printed if there was an error.
Revision 224d70c by Mike Erwin
October 20, 2016, 20:55 (GMT)
OpenGL: draw lamp objects with new imm mode

Previous commit in blender2.8 branch had some... unintended
consequences. This one should be better.

Part of T49043. Also uses new matrix API (T49450)
Revision 4ea6917 by Mike Erwin
October 20, 2016, 18:33 (GMT)
OpenGL: box & circle outline functions that work with 3D position (z=0)

New immediate mode API is strict about attribute formats. These new functions make existing code easier to port.

Supports T49043
Revision c6abbb4 by Mike Erwin
October 20, 2016, 18:29 (GMT)
Gawain: closer integration of immediate mode & matrix APIs

- any shader program can use matrix state (not only built-in shaders)
- you can mix matrix & begin/end calls, and the bound shader will use the latest matrix state

Part of T49450 & T49043
Revision a92d20a by Mike Erwin
October 20, 2016, 18:18 (GMT)
OpenGL: dirty bit for GPU matrix API

Have matrices changed since the most recent bind?

Part of T49450
October 20, 2016, 17:43 (GMT)
Alembic: only export custom data (UVs, VCols) once, on the first frame.

This would cause Alembic to throw an exception and fail exporting
animations because it was trying to recreate and overwrite the
attributes for each frame.
October 20, 2016, 11:33 (GMT)
Fix T49797: Exception from scene update handler might leak external engine descriptors

This was causing memory leaks in Cycles.

Some more detailed information in the comment in the code.

Seems to be safe and nice enough for 2.78a.
October 20, 2016, 01:44 (GMT)
immediate mode: outliner background

I tried using immRecti instead, but it didn't work. The current approach
should be more efficient anyways (since GL_TRIANGLE_FAN wouldn't work
here).
October 19, 2016, 23:59 (GMT)
immediate mode: ed_util.c

note: I switched one of the glVertex2iv into glVertex2fv to use the same attrib_id
October 19, 2016, 22:31 (GMT)
Python API: add full_path parameter for bpy.ops.ui.copy_data_path_button.

Also use the operator as part of the UI keymap now, to deduplicate code and let
users configure a custom shortcut.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2303
October 19, 2016, 16:06 (GMT)
Fix T49793 : Fix enabling SSE2 globally for msvc.

When feeding msvc both /arch:sse2 and /arch:sse it's not smart enough to pick the best option, just goes with the last option
October 19, 2016, 12:32 (GMT)
Fix T49775: Appending data with internal dependency cycles prevents correct clearing of linked data-blocks.

This is not a simple fix, but imho still needs to be backported to 2.78a...
Revision 9941bc3 by Mike Erwin
October 19, 2016, 08:01 (GMT)
OpenGL: draw empties with new imm mode

Part of T49043
Revision 625f1a1 by Mike Erwin
October 19, 2016, 00:57 (GMT)
OpenGL: draw cameras using new matrix API

Also removed some extra push/pops.
Ref T49450
Revision 05117d7 by Mike Erwin
October 19, 2016, 00:27 (GMT)
OpenGL: draw cameras with new immediate mode

Mostly the same as before. Except:
- avoid drawing same lines multiple times
- helper functions take "bool filled" argument instead of GLenum
- drawcamera_volume draws its own near & far planes
Revision 54a0ff3 by Mike Erwin
October 19, 2016, 00:22 (GMT)
Gawain: yet another way to set uniform color

Revision e9268ab by Mike Erwin
October 18, 2016, 21:34 (GMT)
fix narrow text entry fields

widget_draw_text was calculating wrong display length when field is too narrow to show entire input string. Gawain assert caught this 11 function calls away!

Thanks to @ianwill for reporting.
Revision 117af23 by Mike Erwin
October 18, 2016, 17:12 (GMT)
skip drawing of gpencil strokes with overall thickness <= zero

Fixes an assert in drawing code.

Might need further work to support variable-thickness strokes (from pressure-sensitive stylus). This all is due for geometry shader overhaul anyway.
Revision 46a0698 by Mike Erwin
October 18, 2016, 17:07 (GMT)
draw gpencil dots smooth

Some strokes are just single dots. Draw these smooth / antialiased.
Revision 827ad41 by Mike Erwin
October 18, 2016, 17:03 (GMT)
OpenGL: new built-in shader for smooth round 3D points

By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021