Blender Git Commits

Blender Git "master" branch commits.

Page: 1701 / 5574

June 11, 2018, 08:18 (GMT)
Fix PyConsole: Drag events finished early in modal text selection
June 11, 2018, 08:03 (GMT)
Merge branch 'master' into blender2.8
June 11, 2018, 07:57 (GMT)
Fix T55140: opened image doesn't show up in movie clip editor

atoi usage in BLI_stringdec could overflow, use strtoll instead and
check
valid range with INT_MIN and INT_MAX

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D3452
Revision 05e7802 by Joshua Leung
June 11, 2018, 07:43 (GMT)
WIP: Add driver eyedropper operator button beside the "add input" button

This doesn't work currently. Needs more investigation why.
Revision 21c24c0 by Joshua Leung
June 11, 2018, 07:43 (GMT)
Drivers UI: Introduce more whitespace, to make the sections clearer
June 11, 2018, 07:34 (GMT)
Merge branch 'master' into blender2.8
Revision 7c10ed7 by Joshua Leung
June 11, 2018, 07:27 (GMT)
Cleanup: Remove the "all" parameter from "ANIM_OT_driver_button_edit"

This won't ever be used for this operator, as the "edit" operator should
only ever be used for dealign with a single driver - the one under the
cursor.
Revision 3122366 by Joshua Leung
June 11, 2018, 07:15 (GMT)
Overlays: Reserve space for a "Onion Skins" overlay

While we probably won't be getting a general purpose "Onion Skinning"
overlay anytime soon for meshes, etc. (at least not before the
depsgraph stabilises, and we also get geometry caching working),
for the Grease Pencil integration at least, it makes sense to move
GP objects to using a more general/future-proof solution, instead
of continuing to use a special/dedicated button in the header.

Currently the UI part of this is commented out. Also, the GP branch
doesn't need to move to this pre-merge. But, since 2.8 changes move
fast, it's better to reserve the space now to have it next to motionpaths,
than introduce it later.
Revision 4d67655 by Joshua Leung
June 11, 2018, 07:15 (GMT)
Drivers UI: Don't show the Copy/Paste driver dvars buttons in the popovers

The copy/paste driver variables buttons currently only work when used in the
Graph Editor as they rely on being able to have the "active F-Curve" context
info that's only present in the Graph Editor (in Drivers Editor mode).
Instead of having them constantly greyed out in the popover, it's easier
to just hide them for now. Besides, this is probably more of an "advanced"
feature that we don't need to expose in the simple UI.
June 11, 2018, 07:12 (GMT)
Fix T55349: crash adding paint slot when object is on hidden layer

use better poll and get ob with 'ED_object_active_context' (instead of
'CTX_data_active_object')

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D3467
June 11, 2018, 07:03 (GMT)
Cleanup: warnings
Revision 1ff28c2 by Joshua Leung
June 11, 2018, 06:55 (GMT)
Drivers UI Fix: Use uiLayoutSetContextFromBut() so that operators will work in the panel

This fixes the problem where the "Show in Drivers Editor" button would
not actually select and highlight the driver under the mouse.

(TODO: The channels still aren't getting selected properly in the
channels list, but at least the properties show correctly)
Revision 0c6410e by Rohan Rathi
June 11, 2018, 06:28 (GMT)
Added ability to harden normals.

Uses 2 different params: mode and strength. There are still some
hiccups with how 2.8 interacts with normals. Will resolve as
support gets better
Revision 9ab26be by Joshua Leung
June 11, 2018, 05:44 (GMT)
Driver Workflow (T55145): Tweak to default expression used for new drivers created from UI

Previously, newly created drivers were set to "Scripted Expression"
mode and had their 'expression' field set to the pre-driver value of the
property, so that adding a driver didn't cause the property to immediately
lose its old value (and potentially causing havok in the scene).
However, this had the unintended consequence of making the driver setup
workflow more cumbersome, as you first had to replace that value with
the name of the driver variable before your driver would work.

This commit works around this issue by trying to combine the best of both
worlds (quite literally): Now, the driver expression for drivers created
using Ctrl-D will be "var + <old value>".

Thus, in the simplest case, the driver will do something as soon as you fill
out the driver variable settings (e.g. just filling out the Target Object field
will do it), meaning you get your drivers working faster. Of course, it may now
be necessary to edit out the old-value, and/or it might be a bit more confusing
what/why it's there for newbies. However, the improved ease of setup, and/or
a more tangible example of how an expression may be constructed outweigh the
downsides IMO.
Revision 4605e57 by Joshua Leung
June 11, 2018, 05:35 (GMT)
Drivers Workflow (T55145): Improvements to "Add Driver" workflow

This commit implements a new behaviour for the "Add Driver" functionality
(invoked from the RMB menu on a property, or by pressing Ctrl-D).

Instead of spawning a context menu asking you to pick the way
you want to create a driver, it will now just create a driver on the
property under the mouse and then show the "Edit Drivers" popover so
that you can immediately start editing the properties of this driver.
This way, the whole process is more visual and feels less blocking /
constrained, with less upfront decisions needed immediately.

Notes:
* The new behaviour is equivalent to choosing the "Manually Create (Single)"
and then doing a "Edit Driver" on the property
* Renamed the old "ANIM_OT_driver_button_add" operator to
"ANIM_OT_driver_button_add_menu". It will probably go away
in the near future, but it's better to keep it around for a
while longer still until the new workflow settles down.
June 10, 2018, 19:27 (GMT)
Sub-panels for Cycles Depth of Field
June 10, 2018, 19:06 (GMT)
Sub-panel for camera DoF for EEVEE
June 10, 2018, 18:23 (GMT)
Workbench: Xray: Fix hairs with matcaps.
June 10, 2018, 18:02 (GMT)
Workbench: Xray: Lower hairs opacity

Since hairs are very likely to owerflow the weight buffer, we divide their
alpha value by 3.

This might become a particle system setting if needed.
June 10, 2018, 18:02 (GMT)
Workbench: Xray: Optimize and fix implementation.

There was a method explained in the Weighted Blended Order-Independent
Transparency paper to support hardware that does not support per render
target blending function.

So now only 2 geometry passes are required instead of 3 (one being the
outline/depth fill pass).

This also fix how the blending is done. There was some premult confusion
in the implementation.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021