Age | Commit message (Collapse) | Author |
|
I have to add some C++ code in callbacks for socket types
for the new particle system.
|
|
Needs to compile with `CMAKE_OSX_DEPLOYMENT_TARGET` of 10.14 at least to
have `std::optional<>::value()` available. So we have to increase the
minimum required compiler version, but that requires more changes. Just
fix the build error for now.
|
|
Rather than a `L` (linked), `O` (overridden) or `M` (missing) prefix for the
name, show the existing library status icons. See D7999 for screenshots.
Note that when using preview icons, or if the search menu contains items with
own icons (e.g. brush icons), we still fallback to the prefix solution.
Zero or fake user is still indicated with a prefix.
Differential Revision: https://developer.blender.org/D7999
Reviewed by: Bastien Montagne, William Reynish
|
|
This is important at several level, mainly for overrides currently.
Note that this also includes shape keys, since from RNA point of view
those are also 'embedded' (they are not editable, not linkable, ...).
|
|
Those are not overridable, and comparing them is... costly.
|
|
pointer properties.
Since makesrna runs after all properties have been defined, we have to
remember with a new internal flag when we explicitely disable the
'PROP_PTR_NO_OWNERSHIP' flag for a property.
Otherwise there was no way to do so for ID pointer properties...
|
|
Consistency with e.g. copying (copying a mesh also duplicates its
shapekey typically).
Baby step towards getting rid of this horrible ID, some day...
Note that for now we only do that when taking BMain into account, fancy
code dealing with non-main IDs and such has to deal with those itself.
|
|
Note that we might be missing more things there still, maybe some tags
e.g. should also be swapped?
|
|
|
|
Doing this so that I turn this into a .cc file.
|
|
The report does not include any file, but probably that file is using the
settings for unified colors, which are currently not available in the UI,
so it always paints black. This enables unified colors and secondary
colors for sculpt vertex colors, so it should solve that issue.
Unified color does not make much sense now as the Paint tool is the only
one that has paint capabilities, but it will do in the future when
sculpt and paint at the same time is enabled and the paint capability is
added to more tools.
Reviewed By: sergey
Maniphest Tasks: T78323
Differential Revision: https://developer.blender.org/D8136
|
|
The defaults for the Smear tool were making it too weak in high poly
meshes, specially the alpha/pressure option enabled by default. Now this
option is disabled, it has a linear pressure curve and less spacing.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D8134
|
|
Useful for identifying how the value is used and which edge
is considered in the snap.
|
|
generated geometry
|
|
|
|
|
|
|
|
These functions were using the old gpencil or gp prefix.
|
|
Forgot to free the tangent layer for bmesh in the drawing code.
|
|
Reviewers: sergey
Differential Revision: https://developer.blender.org/D8150
|
|
This is not likely to be the silver bullet but it fix the common case.
|
|
|
|
|
|
Pass `IMB_Proxy_Size` to `seq_can_use_proxy` and remove duplicate check.
|
|
`std::optional` can be used now, because we switched to C++17.
|
|
Also create the 'simple fill' in case there are only empty material
slots.
Maniphest Tasks: T78401
Differential Revision: https://developer.blender.org/D8151
|
|
And also remove some sRGB hack.
|
|
This fixes the issue by using the polyline shader but this does not gives
the best results.
A better way would be to have a dedicated shader for the lines to avoid
the line break at every angle change.
|
|
|
|
|
|
Better readability and allows adding new struct members without
adding empty slots to every 'MeshExtract' struct.
|
|
This is possible, because we use C++17 now.
|
|
Caused by short overflow, change to int instead.
Maniphest Tasks: T78415
Differential Revision: https://developer.blender.org/D8148
|
|
|
|
|
|
In the viewport an object can be set to be displayed as wire. When
rendering the viewport this setting is ignored and follows the
path or doing a final render. This patch will add an exception
when rendering a viewport render.
Reviewed By: Clément Foucault
Differential Revision: https://developer.blender.org/D8043
|
|
No other areas were tagged for redraw.
|
|
|
|
|
|
Now, instead of select the section of the stroke that is below circle, only the points inside circle are selected.
Also fixed a bug when segment selection mode is enabled.
Differential Revision: https://developer.blender.org/D8141
|
|
Workaround by adding a special case for that driver in gpu_extensions.c
|
|
Since the function only iterates over the input members,
and matches their identifiers, `bNode *`can be `const`.
All other usages of the `nodeFindSocket` use it with
other functions that modify the node. (e.g.: ``nodeAddLink` )
But an exporter needs the node to be a `const`, so this
creates unnecessary and slightly unsafe design changes.
Reviewed By: JacquesLucke
Differential Revision: https://developer.blender.org/D8142
|
|
... or glBindSamplers.
|
|
Thanks to J. Fran Matheu for pointing this out.
|
|
This was introduced in rBd7b10e5b740fe2.
|
|
This will be used to reference the content of a CustomData structure
in C++ code, that does not need to know who owns the data but only
works with it.
|
|
And better identify what is bool and what is flag in the
proportional edit properties.
|
|
This reverts commit 5c48592ccde08e18d13255e89d09067d5dc0f771.
Ii introduced a stupid error.
Fix T78352
|
|
If the object hadn't material, the index of material was negative.
|
|
|