Blender Git Commits

Blender Git "master" branch commits.

Page: 1276 / 5574

March 18, 2019, 03:13 (GMT)
Cleanup: style, duplicate include
March 18, 2019, 02:58 (GMT)
UI: clarify "Remap Relative" tooltip

Resolves T62612
March 18, 2019, 02:42 (GMT)
Fix T62684: Crash transforming w/ snap enabled
March 18, 2019, 02:30 (GMT)
Fix T62685: Rename 'Align' to 'Only Origins'

The RNA name didn't match the name used in the UI,
making the quick favourites menu show this as 'Align'.
March 17, 2019, 23:25 (GMT)
Cleanup: rename BLI_kdtree vars & args for clarity
March 17, 2019, 22:40 (GMT)
BLI_kdtree: refactor boids specific logic into callback

Logic to for boids to avoid head-on collisions was in BLI_kdtree.

Move this into a callback which is now defined in boids.c
so the kdtree code can be kept generic.
March 17, 2019, 20:53 (GMT)
UI: add light/world settings in shader node editor.

Material was already there. Implementation was changed so it's just a
single line of code to adapt a panel to the node editor.
March 17, 2019, 19:04 (GMT)
GPencil: Cleanup extra lines
March 17, 2019, 18:47 (GMT)
GPencil: Changes in Fill and new 3D Cursor View Plane

This commit groups several options that were tested in grease pencil branch:

- Changes to fill algorithms and improves, specially in small areas and stroke corners.
New options has been added in order to define how the fill is working and internally there are optimizations in detect the small areas in the extremes.

Kudos to @charlie for coding this fill improvements.

- New 3D cursor view plane option.

Now it's possible to lock the drawing plane to the 3D cursor and use the 3D cursor orientation. This allows more flexibility when you are drawing and reduce the need to create geometry to draw over surfaces.

- Canvas Grid now can be locked to 3D cursor.
- New option to reproject stroke using 3D cursor.
- Small tweaks and fixes.

Changes reviewed by @pepeland and @mendio
March 17, 2019, 17:07 (GMT)
Fix T62570: Append Particles System not working properly.

T62570 and T61796 show that we need two slightly different behaviors in
post-linking collection process:
* For linking, we never want to instantiate indirectly-linked
collections or objects.
* For appending however, since all collections and objects will become
local and hence need instantiation, we want to 'link to scene' all
collections first, better than instantiating the objects in the master
collection opf current scene.
March 17, 2019, 15:02 (GMT)
Fix T62589: Particle system Instance Collection option fails to set a user for a linked collection.

Forgot to tag properly RNA property in rB439437fa3a44.
Revision 0a25cea by Luca Rood
March 17, 2019, 14:44 (GMT)
Fix T62240: Bleed artifacts with degenerate triangles

This makes degenerate triangles be ignored, as they cause artifacts and
don't contribute to the result anyway. There is an extra cost for
all triangles, to check if they are degenerate. Though not ideal, this
seems to be the safest solution at the moment (see code comments).

This commit also changes the clamp value for the bleed len_fact from 5
to 10, to give good corner results with some sharper angles, considering
they will be rounded later.

A lot of the texture paint initialization code could be optimized
by caching the results throughout the session, instead of rerunning it
for each stroke. Stroke initialization is way too expensive at the
moment, and does many redundant computations.
March 17, 2019, 13:15 (GMT)
Fix T62678: Wrong text clipping

There are two issues at play here.
First, BLF_width computed a width that was not wide
enough to actually hold the text.
Second, blf_glyph_calc_rect_test computed an incorrect
rect->xmax when the glyph was moved to the left a bit.
We ignore the overlap on the left, but the right side
should still be adjusted accordingly.
March 17, 2019, 12:24 (GMT)
Cocoa: Fix missing key window after closing "About"

The cause of this issue goes deeper inside of the custom nature of
the event loop. In short, when not using [NSApp run] closing "About"
window does not make previous key window a key again.

The solution is quite similar to other projects, but we only force
key window from handler when closing one appears to be "About" window.
In all other cases we leave it up to Blender's window manager to make
decision and do not interfere with it.

Test plan:
- Open Blender application
- Go to Blender -> About Blender menu item
- Close About window
- Note that Blender's window does not become active again.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4534
March 17, 2019, 11:54 (GMT)
Merge branch 'blender2.7'
March 17, 2019, 11:36 (GMT)
Fix bl_pyapi_idprop unit test.

Scenes can now have a 'cycles' key when starting, so account for that.
March 17, 2019, 11:20 (GMT)
GPencil: Cancel all transformations in Draw mode

Actually, when you press G/R/S in Draw mode, the transformations can be done, but this is annoying in draw mode and must be captured an cancel.

This patch capture the transformation and cancel it.

Reviewed by @brecht
March 17, 2019, 11:01 (GMT)
Cleanup: remove unused buildbot code.
March 17, 2019, 11:01 (GMT)
Fix Windows 32bit buildbot trying to use CUDA, should be disabled.
March 17, 2019, 11:01 (GMT)
Cycles: optimization for constant background colors.

Skip shader evaluation then, as we already do for lights. Less than
1% faster in my tests, but might as well be consistent for both.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021