Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1518 / 8462

June 29, 2020, 20:34 (GMT)
Clean up: comments, minor refactor.

Use `const char *set_name` instead of `void get_name` which was meant
to copy the buffer originally but then was neglected.

Don't expose `_export_mesh_eval` just for ensuring normals, moved it to
another function.

Use conventional destructor function names.

Upper case enums.
Revision a71d3bd by Hans Goudey (master)
June 29, 2020, 19:06 (GMT)
UI: Don't show modifier operation reports on button press

The reports should only show when using shortcuts.
Revision 1fa40c9 by Hans Goudey (master)
June 29, 2020, 19:00 (GMT)
UI: Add shortcuts for modifier panels

The shortcuts act on the modifier with its panel under the mouse.
The following shortcuts are enabled by default:
- Remove modifier: X, Delete
- Apply modifier: Ctrl A
- Duplicate modifier: Shift D
More shortcuts can be added in the keymap.

Each panel can now store a custom data RNA pointer, and a new
function is added to get the custom data for the panel under the
cursor. This custom data could be used to refactor the "List Panel
System" to generalize it and integrate it further with RNA.

The same functionality will be added in further commits where it
applies to constraints, grease pencil modifiers, and effects.

Differential Revision: https://developer.blender.org/D8031
Revision 4f8a881 by Hans Goudey (master)
June 29, 2020, 18:41 (GMT)
Fix T78444: Duplicate "From Radius" in Cast Modifier UI

This button was meant to be "Use Transform"
June 29, 2020, 18:20 (GMT)
Merge branch 'master' into greasepencil-edit-curve
June 29, 2020, 18:19 (GMT)
Merge branch 'master' into greasepencil-object
June 29, 2020, 16:20 (GMT)
Remove Threaded Sculpt option

Threaded Sculpt is now always enabled by default. If it causes
performance problems compared single threaded sculpt it should be
considered a bug.

Reviewed By: sergey

Maniphest Tasks: T77638

Differential Revision: https://developer.blender.org/D7960
June 29, 2020, 16:11 (GMT)
Fluid: Refactored gridline display for flag grid
June 29, 2020, 15:36 (GMT)
Nodes: rename node_socket.c to node_socket.cc

I have to add some C++ code in callbacks for socket types
for the new particle system.
June 29, 2020, 15:29 (GMT)
Merge branch 'master' into property-search-ui
June 29, 2020, 15:28 (GMT)
Fix compile error on Apple Clang

Needs to compile with `CMAKE_OSX_DEPLOYMENT_TARGET` of 10.14 at least to
have `std::optional<>::value()` available. So we have to increase the
minimum required compiler version, but that requires more changes. Just
fix the build error for now.
June 29, 2020, 15:28 (GMT)
UI: Show library status icons in search menus, rather than letter prefix

Rather than a `L` (linked), `O` (overridden) or `M` (missing) prefix for the
name, show the existing library status icons. See D7999 for screenshots.

Note that when using preview icons, or if the search menu contains items with
own icons (e.g. brush icons), we still fallback to the prefix solution.

Zero or fake user is still indicated with a prefix.

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

Reviewed by: Bastien Montagne, William Reynish
June 29, 2020, 15:28 (GMT)
RNA: properly tag 'embedded' ID pointers as owned.

This is important at several level, mainly for overrides currently.

Note that this also includes shape keys, since from RNA point of view
those are also 'embedded' (they are not editable, not linkable, ...).
June 29, 2020, 15:28 (GMT)
LibOverride: ignore all data arrays of meshes.

Those are not overridable, and comparing them is... costly.
June 29, 2020, 15:28 (GMT)
RNA: Add a way to prevent automatic addition of 'no ownership' flag for ID pointer properties.

Since makesrna runs after all properties have been defined, we have to
remember with a new internal flag when we explicitely disable the
'PROP_PTR_NO_OWNERSHIP' flag for a property.

Otherwise there was no way to do so for ID pointer properties...
June 29, 2020, 15:28 (GMT)
Fix ShapeKeys not being deleted together with their owner ID.

Consistency with e.g. copying (copying a mesh also duplicates its
shapekey typically).

Baby step towards getting rid of this horrible ID, some day...

Note that for now we only do that when taking BMain into account, fancy
code dealing with non-main IDs and such has to deal with those itself.
June 29, 2020, 15:28 (GMT)
Fix ID_swap not keeping original recalc flags.

Note that we might be missing more things there still, maybe some tags
e.g. should also be swapped?
June 29, 2020, 15:28 (GMT)
Add utils to remove an ID from the relations runtime data in Main.
June 29, 2020, 15:27 (GMT)
Check if there is any material to write.
June 29, 2020, 15:27 (GMT)
Cleanup: make some type casts explicit

Doing this so that I turn this into a .cc file.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021