Blender Git Commits

Blender Git "master" branch commits.

Revision 1724333 by Hans Goudey
3 hours 18 min ago
Cleanup: Remove unecessary helper function

Retrieving a mesh's looptris now take's a const mesh after
rB5f8969bb4b4, which removes the need for this function.
Since it's only two lines, avoiding the use of a separate function
in this case is simpler.
Revision 2f63303 by Hans Goudey
18 hours 18 min ago
Cleanup: Use const mesh arguments

These functions do not change their source or input mesh, so it can
be passed with const, which means in one case that a function doesn't
have to be responsible for freeing its argument mesh, which is a clearly
better separation of concerns.
Revision 8063f10 by Hans Goudey
19 hours 16 min ago
Cleanup: Remove unused includes
Revision 37e2fec by Hans Goudey
19 hours 26 min ago
Cleanup: Voxel remesh function naming

- Remove BKE prefix for static functions
- Make specific intermediate functions static
- Avoid unecessary "_to_mesh_nomain" suffix
Revision 7c961e7 by YimingWu
19 hours 42 min ago
LineArt: Fix(unreported): Child object respect collection visibility.
Revision 5249081 by Hans Goudey
19 hours 53 min ago
Cleanup: Reorder functions

The Quadriflow remeshing was in the middle of the voxel remesh code.
Revision d91c266 by YimingWu
20 hours 15 min ago
LineArt: Material flag versioning correction.

By the patch made it in master the version value already advanced (see https://developer.blender.org/D11839), so this versioning code needs to be moved down to that point.
20 hours 29 min ago
UI: Show a notification when saving preferences

So far the only way to know if they were saved properly was
to check the terminal.

Also notify when preferences fail to save.
Revision 35894dc by Hans Goudey
1 day and 2 hours ago
Cleanup: Simplify logic, follow style guide for integer types

- Use `int` instead of `unsigned int` for mesh indices
- Use C++ types (Array, float3, IndexRange)
- Use range based for loops
Revision 54bd5ef by Hans Goudey
1 day and 3 hours ago
Fix build error in debug builds and uninitialized structs

This BMesh iterator hadn't been used in C++ code yet, and needed
a macro for a proper cast. The parameter structs need to be initialized
when declared without designated initializers.
1 day and 3 hours ago
Compositor: Fix wrong number of threads during constant folding

The variable was uninitialized at that point of execution.
1 day and 3 hours ago
Cleanup: unneeded default constructor definitions
1 day and 3 hours ago
Compositor: Buffer iterators tests

See D11882 for a description of the iterators.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D12001
Revision 4dbf4eb by Julian Eisel
1 day and 3 hours ago
Assets: Rename "Mark Asset" operator to "Mark as Asset"

This naming change was agreed on during the asset workshop. See
https://code.blender.org/2021/06/asset-browser-workshop-outcomes/#terms-definitions.
Revision 96fb21f by Julian Eisel
1 day and 4 hours ago
UI: Move Mark/Clear asset out of ID Data in Outliner context menu

They are now always shown in the top-level of the Outliner context menu.
Having them in the ID Data submenu was just a hassle to work with, and
often confusing to users - even if technically correct (the asset status
is part of the ID data).

Part of T82680.
Revision a9ea310 by Hans Goudey
1 day and 4 hours ago
Cleanup: Move remesh files to C++

This will be helpful for some cleanups I'd like to do, including
removing the unecessary C API for OpenVDB and unifying some
attribute transfer code.
Revision f783601 by Julian Eisel
1 day and 4 hours ago
Fix incorrect poll function used for file path dropping

The operator to drop file paths into the File Browser was just checking
if there's an active window. This wasn't really an issue since the
operator was only used as drop-operator for the File Browser. But the
operator would show up in the operator search. Plus, for asset browsing,
we'll also have to check the file browsing mode, so the more specific
poll function will be needed.
Revision 0b10a96 by Julian Eisel
1 day and 4 hours ago
Assets: Disable File Browser only operators for asset browsing

These operators shouldn't be available in the Asset Browser.

https://developer.blender.org/T83556

Added a comment to each operator poll assignment to explicitly mention
the intention. That should also remind devs to decide if the operator
should apply for both file & asset browsing when copy & pasting operator
definition code.
1 day and 5 hours ago
Cleanup: clarify license and origin of voronoi and dithering code
1 day and 5 hours ago
Cleanup: compiler warnings
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021