Blender Git Commits

Blender Git "master" branch commits.

Page: 191 / 5574

Revision 5249081 by Hans Goudey
July 31, 2021, 01:51 (GMT)
Cleanup: Reorder functions

The Quadriflow remeshing was in the middle of the voxel remesh code.
Revision d91c266 by YimingWu
July 31, 2021, 01:29 (GMT)
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.
July 31, 2021, 01:15 (GMT)
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
July 30, 2021, 19:08 (GMT)
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
July 30, 2021, 18:28 (GMT)
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.
July 30, 2021, 18:20 (GMT)
Compositor: Fix wrong number of threads during constant folding

The variable was uninitialized at that point of execution.
July 30, 2021, 18:20 (GMT)
Cleanup: unneeded default constructor definitions
July 30, 2021, 18:20 (GMT)
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
July 30, 2021, 18:18 (GMT)
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
July 30, 2021, 17:41 (GMT)
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
July 30, 2021, 17:15 (GMT)
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
July 30, 2021, 17:07 (GMT)
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
July 30, 2021, 17:07 (GMT)
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.
July 30, 2021, 16:44 (GMT)
Cleanup: clarify license and origin of voronoi and dithering code
July 30, 2021, 16:44 (GMT)
Cleanup: compiler warnings
July 30, 2021, 16:44 (GMT)
Fix EGL version being printed on every startup

After the switch to enable EGL over GLX. No need to print this debugging
information always.
Revision b90887d by Julian Eisel
July 30, 2021, 16:42 (GMT)
Cleanup: Refactor logic of file deletion poll callback

* Early exit instead of complex if-else blocks.
* Avoid iterating over entire file list.
* Use `true`/`false` for boolean values.
* Declare variables in smaller scopes.
Revision 3b2a6bf by Julian Eisel
July 30, 2021, 14:43 (GMT)
UI: Don't show Windows file association operator in search on other OSes

The Windows-specific "Register File Association" operator would show in
the search menu of other platforms. Decided to not disable it at
compile-time, like we do it with "Toggle System Console" (another
Windows-only operator), because that would require workarounds for the
translation tools. Instead the operator poll function always returns
false on unsupported platforms now.
Revision 3316e28 by Julian Eisel
July 30, 2021, 14:25 (GMT)
Preferences: Move "Register File Association" to preferences level

The operator was register as a "file" operator, which are by convention
used for File Browser operators only. Move it to the "preferences"
operators, where it's displayed in the UI too.
July 30, 2021, 14:23 (GMT)
Cleanup: remove disabled code from property lookup

This allowed custom ID-properties to share a name-space
with regular properties which won't work well as the names may collide.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021