Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 314 / 5574

April 11, 2021, 03:09 (GMT)
Cleanup: spelling
April 11, 2021, 02:14 (GMT)
Fix T87355: Crash using menu search from the top bar

Menu search used an area with a NULL data pointer,
replace this with a dummy pointer.

Caused by 3f3b4745b6ad99a0503fba4793d0f1febedadebc.
April 11, 2021, 02:00 (GMT)
Cleanup: further cleanup to man page generator

- Raw strings (since backslashes were used for un-escaped characters).
- Parse the version string, avoiding color management errors being
included.
April 10, 2021, 16:36 (GMT)
LibOverride: Fix resync bug on recursive overrides.

Linked override were not properly ignored in some part of the code,
leading to invalid resync results in some cases with recursive overrides
(i.e. overrides of overrides).

Reported by Andy @eyecandy from the studio.
April 10, 2021, 13:25 (GMT)
LibOverride: Fix (unreported) assert when creating overrides of linked overrides.

We do not want to copy exiting overrides data from linked ID when
creating its local override (be it either a template, or because linked
ID is itself an override of another lib data).

Note that this was not a very serious issue, would just cause some memory
leak since override data is re-created on newly copied local data
anyway.

These use cases have been very little tested so far, but both complex
production pipeline and future restrictive workflow will make them fairly
common...
April 10, 2021, 13:25 (GMT)
LibOverride: Add own flag to copy or not overrides to ID copy code.

Relying on only no-main for that was weak, and inn the end it turns out
we sometimes also need to ifnore override data during copy of Main
data-blocks.

NOTE: The new `LIB_ID_COPY_NO_LIB_OVERRIDE` is also added to the
`LIB_ID_COPY_LOCALIZE` set of flags.

NOTE: The fact that we may now copy liboverrides in some non-main cases
may cause issues in some cases, pretty impossible to track all possible
ones from reading the code... Would not expect too many problem though,
usages of `LIB_ID_CREATE_NO_MAIN` by itself are not so common.
April 10, 2021, 07:54 (GMT)
Cleanup: minor improvements & type hints for man-page generator

- Use main() function.
- Use argparse for parsing arguments.
- Keep under 120 column width.
- Use type hints (passes `mypy --strict`).
April 9, 2021, 21:26 (GMT)
Transform: Use "orient_matrix" as a default when available

The "orient_matrix" parameter was only used when contraint was defined.

This change will hardly be noticed by the user, but it can be useful for
addon developers.

Possibly resolves T85734.
April 9, 2021, 15:05 (GMT)
Fix T87167: Object dragged from Outliner into Geo Nodes doesn't auto update

Add call to `DEG_relations_tag_update`

Differential Revision: https://developer.blender.org/D10928
April 9, 2021, 14:26 (GMT)
Compositor: Output where debug is stored.
April 9, 2021, 11:48 (GMT)
Fix T86928: OSL script compilation failed

Tell `FindOSL.cmake` where to find the shader header files. These have
moved from `${LIBDIR}/osl/shaders` to `${LIBDIR}/osl/share/OSL/shaders`
when OSL was upgraded (T85365).
April 9, 2021, 11:09 (GMT)
Cleanup: use nullptr.
April 9, 2021, 11:07 (GMT)
GPU: Enable suggest-override for CPP.
April 9, 2021, 10:39 (GMT)
Blender README: Fix the full license name.

Patch suggested and reviewed by Sergey Sharybin.
April 9, 2021, 10:04 (GMT)
Compositor: Enable suggest-override warning.

Compostior relies heavilly on overridden methods. The override keyword has been added
in this module and is desired. The benefit of the override keyword is
that it reports an error when not applied to a (base) virtual method and report
what will not match when refactoring the code to be closer to blender style guide.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D10846
April 9, 2021, 10:03 (GMT)
Cleanup: defer importing nodeitems_utils (missed last commit)
April 9, 2021, 09:00 (GMT)
Cleanup: use our own code style for doxy-gen comment blocks
April 9, 2021, 09:00 (GMT)
Cleanup: defer importing nodeitems_utils
April 9, 2021, 08:26 (GMT)
Fix T87117: Geometry Nodes: Add missing Map Range modes to shader node

Add missing modes as reported in T87117 bug report.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10885
April 9, 2021, 08:20 (GMT)
Spreadsheet: persistent column storage and data source

A `DataSource` provides columns for the spreadsheet to display.
Every column has a SpreadsheetColumnID as identifier. Columns
are not generated eagerly anymore, instead the main spreadsheet
code can request a column from a data source with an column
identifier. The column identifiers can be stored in DNA and allow us
to store persistent data per column.

On the user level the only thing that changes is that columns are
not shown in alphabetical order anymore. Instead, new columns
are always added on the left. The behavior can be changed,
however I'd prefer not to automate this too much currently. I think
we should just add operators to hide/reorder/resize columns soonish.

Differential Revision: https://developer.blender.org/D10901
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021