Blender Git Commits

Blender Git "master" branch commits.

Page: 338 / 5574

March 22, 2021, 07:04 (GMT)
RNA: use boolean array for transarency masks

There is no need to expose this as multiple properties,
also use `use_` prefix for boolean properties.
March 22, 2021, 03:48 (GMT)
Cleanup: spelling, expand on comments
March 22, 2021, 03:39 (GMT)
Cleanup: clang-format
March 22, 2021, 03:38 (GMT)
Revert "Disable clang-format for objective-C bits in GHOST."

This reverts commit 1cb9612d736f8513d7d4cfc01da6c4e386efcc4f.

We can now rely on the clang-format version as it's distributed
with pre-compiled binaries.
March 22, 2021, 03:35 (GMT)
Cleanup: disable clang-format for 'intern/libmv/third_party' headers
March 22, 2021, 03:25 (GMT)
Cleanup: clang-format, trailing space

Minor manual tweak to prevent wrapping an array into columns.
Revision 2a06657 by Hans Goudey
March 22, 2021, 00:21 (GMT)
Cleanup: Don't use class method to override equality operator

This won't make a difference in this case, but it's consider better
practice since there is no vagueness about implicit conversion.
March 21, 2021, 18:49 (GMT)
Cleanup: compile errors on macos
March 21, 2021, 18:33 (GMT)
Functions: refactor virtual array data structures

When a function is executed for many elements (e.g. per point) it is often the case
that some parameters are different for every element and other parameters are
the same (there are some more less common cases). To simplify writing such
functions one can use a "virtual array". This is a data structure that has a value
for every index, but might not be stored as an actual array internally. Instead, it
might be just a single value or is computed on the fly. There are various tradeoffs
involved when using this data structure which are mentioned in `BLI_virtual_array.hh`.
It is called "virtual", because it uses inheritance and virtual methods.

Furthermore, there is a new virtual vector array data structure, which is an array
of vectors. Both these types have corresponding generic variants, which can be used
when the data type is not known at compile time. This is typically the case when
building a somewhat generic execution system. The function system used these virtual
data structures before, but now they are more versatile.

I've done this refactor in preparation for the attribute processor and other features of
geometry nodes. I moved the typed virtual arrays to blenlib, so that they can be used
independent of the function system.

One open question for me is whether all the generic data structures (and `CPPType`)
should be moved to blenlib as well. They are well isolated and don't really contain
any business logic. That can be done later if necessary.
March 21, 2021, 17:40 (GMT)
UI: Title case for Proxy Setup and fix typo
March 21, 2021, 14:33 (GMT)
Functions: move CPPType creation related code to separate header

This does not need to be included everywhere, because it is only
needed in very few translation units that actually define CPPType's.
March 21, 2021, 13:29 (GMT)
Cleanup: fix compiling with older compiler on macos

We cannot use `std::variant` yet, because not all of the compilers
we support have a working version of it yet. For now, I just replaced
it with multiple `std::option` which is good enough, because currently
`CellValue` is only used for the cells that are actually drawn in
the spreadsheet.
March 21, 2021, 03:51 (GMT)
Cleanup: move some headers from MOD_lineart.h to source files
March 21, 2021, 03:30 (GMT)
Cleanup: redundant headers in 'source/blender/gpencil_modifiers'
March 21, 2021, 03:22 (GMT)
Cleanup: correct variable name mixup in BLI_str_quoted_substrN

Also expand doc-string for `BLI_str_escape_find_quote`
March 21, 2021, 03:12 (GMT)
Fix uninitialized memory use loading movie sequence strips

When the movie wasn't found, uninitialized values would be used for
the original width/height.

Also use int instead of float as the image size is stored as an int.
March 21, 2021, 03:01 (GMT)
Fix failure to set transform rotate around single

Regression in 201ab7c54025afc42570ce3df3d2bb7f37fe36be
March 21, 2021, 03:00 (GMT)
Cleanup: use static local variables
March 21, 2021, 03:00 (GMT)
Cleanup: unused return statements
March 21, 2021, 03:00 (GMT)
Cleanup: remove redundant NULL checks
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021