Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 448 / 5574

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, 16:40 (GMT)
Cleanup/refactor `rna_idp_path` code.

Factorize common processes and checks, early `continue` in invalid
cases, etc.
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: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: Typo: `overriden` -> `overridden`.
December 28, 2020, 09:22 (GMT)
Cleanup: UI messages fixes.
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
December 28, 2020, 03:46 (GMT)
Cleanup: Declare variables where initialized
Revision 57fe65b by Hans Goudey
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.
Revision aa64fd6 by Julian Eisel
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
Revision 960a0b8 by Julian Eisel
December 27, 2020, 14:55 (GMT)
Fix T84101: Duplicate operator not available for some data-block selectors

In some operators that previously allowed duplicating the selected data-block,
the operator would not be available now. 2250b5cefee7 split the "new" operators
into "new" and "delete" to allow clearly differentiating between the two. But I
apparently didn't amend all affected data-block selectors to use the added
"duplicate" operators.
I went over all operators that were split now and made sure all affected
data-block selectors are updated.
Revision e56fe47 by Julian Eisel
December 27, 2020, 14:11 (GMT)
Fix crash when saving render from temporarily maximized render window

Steps to reproduce were:
* Start with factory defaults
* Set "Render in" to "Maximized Area"
* Render
* Open "Save as"
* Click Cancel

Mistake in 78d2ce19c4fb. Was using the wrong area pointer, which I think
didn't make a difference in most cases, but here it did.
Revision 7916c59 by Hans Goudey
December 26, 2020, 22:50 (GMT)
UI: Grammar: "Clean Up" vs "Cleanup" in operator name

"Cleanup" is a noun while "Clean Up" is the verb.
December 25, 2020, 22:13 (GMT)
Fix unreported: Cycles CLI device override doesn't set peer memory usage flag

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9929
December 25, 2020, 00:41 (GMT)
Simplification of Wintab event handling.

Previously Wintab packets were added to a local queue to be processed
during Win32 mouse events, in order to correlate Wintab to Win32
mouse buttons. Wintab packets before Win32 mouse down events were
expired on a timer.

This commit drives mouse events during Wintab events when a device is
in range. When a Wintab button is found it is dispatched if an
equivalent event can be popped from the Win32 event queue. If a Win32
mouse button event is not associated with a Wintab event, it falls
through to WM_BUTTON handling. All Wintab packets are handled as they
are received.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9908
December 24, 2020, 19:11 (GMT)
UI: Cleanup spelling of compound words

Approximately 138 changes in the spelling of compound words
and proper names like "Light Probe", "Shrink/Fatten", "Face Map".
In many cases, hyphens were used where they aren't correct, like
"re-fit". Other common changes include:
- "Datablock" -> "data-block"
- "Floating point" -> "floating-point"
- "Ngons" -> "n-gons"

These changes help give the language used in the interface
a consistent, more professional feel.

Differential Revision: https://developer.blender.org/D9923
December 24, 2020, 17:07 (GMT)
Cleanup: Fix capitalization in various UI strings

Approximately 195 changes of capitalization to conform to MLA title style.
UI labels and property names should use MLA title case, while descriptions
should be capitalized like regular prose, generally with only the start of
a sentence capitalized.

Differential Revision: https://developer.blender.org/D9922
December 24, 2020, 13:19 (GMT)
Cleanup: compiler warning
December 24, 2020, 12:53 (GMT)
Cycles: remove surface area computation for meshes with OSL

This is relatively expensive and as per the OSL spec, this value is not
expected to be meaningful for non-light shaders. This makes viewport updates
a little faster.

As a side effect also fixes T82723, viewport refresh issue with volume density.
December 24, 2020, 11:59 (GMT)
Fix T84016: Cycles baking crash with OptiX after recent changes

This worked for CPU + GPU, but not GPU only.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021