Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1497 / 5574

October 26, 2018, 04:05 (GMT)
PyAPI: raise error when toolbar panels use tabs

Add-ons that register panels in the toolbar can
no longer use 'bl_categories' (tabs).
October 26, 2018, 01:43 (GMT)
Correction for Gizmo.draw_custom_shape utility API
October 26, 2018, 01:40 (GMT)
PyAPI: gpu utility module to create new batches

Support the common case of creating batches from python geometry,
a shader and optionally indices.

See D3779
October 26, 2018, 01:13 (GMT)
Update gpu offscreen PyAPI example
October 26, 2018, 00:59 (GMT)
Fix parsing single int for uniform_int

This worked for float but not int.
October 26, 2018, 00:48 (GMT)
Cleanup: minor change to last commit
October 26, 2018, 00:26 (GMT)
Update Gizmo.draw_custom_shape for API changes
October 25, 2018, 23:46 (GMT)
WM: default tool was being set for space types w/o tools

Add mask for space types so we don't accidentally add tools
for space types that don't support it.
Revision 6c86e1a by Campbell Barton
October 25, 2018, 22:30 (GMT)
PyAPI: draw handlers now store args in the capsule context

Was using the handlers custom-data which crashes
when Blender frees the screen data before Python removes the handler.
October 25, 2018, 21:49 (GMT)
PyAPI: Temp workaround for crash removing cursor

Opening a new file frees the cursors,
add check if the cursor is still valid.

This leaks a Python reference, so a better solution is needed.
October 25, 2018, 21:06 (GMT)
PyAPI: Make GPUVertFormat() argument optional
October 25, 2018, 17:15 (GMT)
GP: Add warning when mix Build and Time Offset
October 25, 2018, 14:50 (GMT)
GP: Include option to render layers by view layer

This allows to make composition getting each grease pencil layer in a different render output.
October 25, 2018, 12:50 (GMT)
Cycles: Overhaul ensure_valid_reflection to fix issues with normal- and bumpmapping

This function is supposed to prevent the black artifacts caused by strong normal- or bumpmapping, but failed in some cases.

Now the code correctly handles all test files and previous issues I am aware of and also has extensive comments describing
the algorithm and the math behind it.

Basically, the main problem was that there can be multiple valid solutions that fulfil the reflection angle criterium,
but I had assumed that only one would exist and therefore simply picked the first solution with a positive term in srqt().
Now, the code uses additional validity checks and a simple heuristic to pick the best valid solution.

Additionally, the code messed up very shallow reflections even if the normal map strength was zero due to the constant
limit for the outgoing ray angle, which caused shallow incoming rays to fail the initial test even when reflected directly
on Ng. Now, the code accounts for this by reducing the threshold in the case of a shallow incoming ray, ensuring that at
least N=Ng is always a valid solution.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D3816
October 25, 2018, 11:41 (GMT)
Cleanup: comments and unused code
October 25, 2018, 10:05 (GMT)
Tool System: draw circle-select brush outline
October 25, 2018, 10:05 (GMT)
Tool System: support custom cursor drawing
October 25, 2018, 10:05 (GMT)
PyAPI: initial gpu_extras module (circle drawing utility)
October 25, 2018, 09:34 (GMT)
PyAPI: rename GPL VertBuf.attr_fill identifier to id

This is used elsewhere in the API and its a common abbreviation.
October 25, 2018, 07:32 (GMT)
Depsgraph: don't lose the update tag on rebuild for op nodes with a name.

This fixes a missing update when clearing the Text On Curve
(follow_curve) option of a text object.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021