Blender Git Commits

Blender Git "master" branch commits.

Page: 753 / 5574

May 27, 2020, 10:07 (GMT)
OpenSubdiv: Cleanup, move utility function to base type conversion
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor, move type conversion to base fodler
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor, move evaluator to own folder
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Completely disable topology verification

Previously it was enabled for debug builds, now it is to be enabled
explicitly.

The reason for this is to reduce overhead when debugging other areas
which might involve subdivision surface. When conversion is to be
debugged set this manually in the code.
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor, move edge map to base folder
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor creation of topology refiner

Consolidate it inside of the topology refiner implementation class,
which would allow to store extra data acquired during construction
of the OpenSubdiv's object.
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor, use C++ allocation for internal classes

Only use OBJECT_GUARDED_{NEW. DELETE} for structures which are part of
public C-API (and hence can not have new/delete operators overloaded).

Could try being brave and override new/delete from under C++ ifdef.
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor, move topology refiner factory to topology folder
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor, move topology refiner to own folder

In the future factory will also be moved there.
May 27, 2020, 10:07 (GMT)
OpenSubdiv: Refactor, move device specific code to own files

Also, move all device files to own folder.

Makes it so checks for device availability are done in a localized
place.
May 27, 2020, 10:06 (GMT)
UI: Skip unnecessary cursor setting

Currently, in sculpting, weight paint and vertex paint modes every cursor
movement triggers redraw of a brush. During that redraw, native cursor is set.
Under the hood, setting the cursor causes freeing of previous cursor and
allocating a new one. In most cases, in previously mentioned modes, recreating
cursor is unnecessary since cursor stays the same.

This patch adds a check which skips cursor change if requested cursor is
already set. The check could be added in pain_cursor.c, but I felt adding it
inside WM_cursor_set function would hopefully skip more unnecessary cursor
reallocations.

Differential Revision: https://developer.blender.org/D7828

Reviewed by: Julian Eisel
May 27, 2020, 10:01 (GMT)
Merge remote-tracking branch 'origin/blender-v2.83-release'
May 27, 2020, 10:00 (GMT)
Fix T77105: Crashes when clicking "new scene" button

This was introduced on ecc395e473d.

Effectively this is reverting that commit for cases when
scene->toolsettings->sculpt is NULL. But since the facesets are only
working for sculpting this should be fine.
May 27, 2020, 08:10 (GMT)
Cycles: Upgraded Embree to version 3.10.0

Enabled round linear hair in Embree.

Differential Revision: https://developer.blender.org/D7623
May 27, 2020, 06:54 (GMT)
Cleanup: remove unused Main struct from snap context
May 27, 2020, 06:47 (GMT)
Gizmo: lazy initialize snap context

ED_gizmotypes_snap_3d_context_get could have returned NULL,
rename _get(..) to _ensure(..) and initialize the snap context
in this function.
May 27, 2020, 03:16 (GMT)
Ruler: Implement Snap Gizmo

The snap point can now be viewed when activating the tool.
May 27, 2020, 03:14 (GMT)
Gizmo Library: New Snap Gizmo

Generic snap gizmo to be used for different tools.

The Gizmo can be configured initially by the following properties:
- `"snap_elements_force"`, `"prev_point"`

The following properties can be read as return:
- `"location"`, `"normal"`, `"snap_elem_index"`

This property can be linked to another (tool_setting.snap_elements):
- `"snap_elements"`

And this 3 extra utilities have been added:
- `ED_gizmotypes_snap_3d_draw_util`,
- `ED_gizmotypes_snap_3d_context_get`,
- `ED_gizmotypes_snap_3d_update`.

Differential Revision: https://developer.blender.org/D7071
May 27, 2020, 02:24 (GMT)
Gizmo: add flag to disable tooltip

For some gizmos that follow the mouse cursor, this gets in the way.
May 27, 2020, 02:09 (GMT)
Cleanup: pass const wm for WM_keymap_active
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021