Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1027 / 8462

December 28, 2020, 21:41 (GMT)
Merge branch 'master' into sculpt-dev
December 28, 2020, 21:34 (GMT)
Fix T84144 cursor wrap broken for Windows.

Modifies WM_BUTTON processing to reuse existing mousemove logic. Fixes
case where cursor wrap was not being handled on mouse release.

Bonus: flattened mouse move logic so all paths lead to a single return.
Removed case where wrap is not handled until subsequent mousemove as
button press may rely on updated mouse move position.
December 28, 2020, 21:16 (GMT)
Remove versioning for IDProperty groups not exposed to the UI
December 28, 2020, 21:02 (GMT)
Merge branch 'master' into refactor-idprop-ui-data
December 28, 2020, 19:19 (GMT)
Fix T84200: Rotating a paintcurve [all paintmodes] doesn?t work correctly

The transform code did not provide a 2d context to be used in 3d space.

The solution is to set all matrices for the screen space in these cases.

This commit also removes the dial3d drawing in these cases.
It was not correct anyway.
December 28, 2020, 17:18 (GMT)
Add operator to copy a modifier to all selected objects

These two operators (one for grease pencil, one for other objects)
copy a single modifier from the active object to all selected objects.
The operators are exposed in the dropdown menus in modifier headers.

Note that It's currently possible to drag and drop modifiers between
objects in the outliner, but that only works for dragging to one object
at a time. Modifiers can also be copied with the "Make Links" operator,
but that copies *all* modifiers rather than just one. The placement
and scope of these new operators allow for more useful poll messages
and error messages as well.

Every object type that supports modifiers is supported. Although hook
and collision modifiers aren't supported because of an unexplained
comment in `BKE_object_copy_modifier`, other than that, every modifier
type is supported, including particle systems, nodes modifiers, etc.

The new modifiers are set active, which required two small tweaks to
`object.c` and `particle.c`.

Reviewed By: Hans Goudey (with additional edits)

Differential Revision: https://developer.blender.org/D9537
December 28, 2020, 16:40 (GMT)
Cleanup/refactor `rna_idp_path` code.

Factorize common processes and checks, early `continue` in invalid
cases, etc.
December 28, 2020, 16:40 (GMT)
Fix T84091: IDProperties/RNA: Crash due to colliding name between custom data and static RNA property.

We have to check that the RNAProperty found in `rna_idp_path` from the
currently checked IDProperty name is actually a real runtime RNA-defined
one, and not a static C-defined RNAProperty...
December 28, 2020, 15:05 (GMT)
Merge branch 'master' into temp-gpencil-interpolate
December 28, 2020, 15:04 (GMT)
Merge branch 'master' into greasepencil-object
December 28, 2020, 14:44 (GMT)
Snap: Decrease the distance of the incremental snap in ortho view

This matches more the older versions (as shown in the T77819).
December 28, 2020, 13:21 (GMT)
Merge branch 'master' into sculpt-dev
December 28, 2020, 13:16 (GMT)
Tweak comment regarding Sculpt mode undo issues in object update code.

Original comment from rB8a9dedf82954. See also T84084.
December 28, 2020, 09:22 (GMT)
Cleanup: UI messages fixes.
December 28, 2020, 09:22 (GMT)
Cleanup: Typo: `overriden` -> `overridden`.
December 28, 2020, 08:57 (GMT)
Fix possible fall-through in outliner region listener

Reported as a strict compiler warning, and the need of fall-through is
not needed from just reading the code.

If it is something what must happen, the reasoning is to be explained
in the comment, and ATTR_FALLTHROUGH is to be used.
Revision e590d2d by Hans Goudey (master)
December 28, 2020, 03:46 (GMT)
Cleanup: Declare variables where initialized
Revision 57fe65b by Hans Goudey (master)
December 28, 2020, 03:26 (GMT)
Cleanup: Reduce indentation

Since the if statement is just a NULL check, returning early is simpler
and makes reading the rest of the funtion easier.
December 27, 2020, 21:45 (GMT)
UI: List library overrides in the Outliner

Having a centeral place to find a list of all library overrides should be
useful for managing production scenes where library overrides are used a lot.
This change adds the individually overridden properties of a data-block under
the data-block itself. Just how we show modifiers, constraints or pose channels
there. This way we can also expose library override operations/options better
in future.

There's also a filter option for the library overrides now, so they can be
hidden. It is only available in the View Layer display mode though, like the
other filter options.

One internal change this has to do is adding more informative return values to
undo pushes and the library override functions called by it. That way we can
send a notifier when library overrides change for the Outliner to know when to
rebuild the tree.

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

Reviewed by: Andy Goralczyk, Bastien Montagne, William Reynish
December 27, 2020, 19:27 (GMT)
USD importer: handle 'normals' primvar.

This fix was provided by Koen Vroeijenstijn. Added logic
to read the normals from 'primvars:normals', if this
primvar exists.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021