Blender Git Loki

Blender Git commits from all branches.

Page: 406 / 2888

April 22, 2021, 14:10 (GMT)
GPencil: Only update weights for bezier strokes

Set the update flag to only update the weights when regenerating the
polyline.
April 22, 2021, 14:09 (GMT)
Asset Browser: simple panel mix-in class for specific categories

Add a class `AssetBrowserSpecificCategoryPanel` that only shows if the
asset browser is showing a specific set of categories. This makes it
simple for the Pose Library panels to only show when the user has selected
the Animations category.
April 22, 2021, 13:56 (GMT)
GPencil: Fix bezier stroke weight painting

The last element of a bezier stroke could not be weight painted.
This was because the checks use line segments to test for a hit and then
pick the first point of that segment to paint the weight. This causes the
problems for the last point.

Instead of testing of the segment is inside the circle, we just test
if the points are inside the circle.

Note that this should also be done for poly strokes at some point,
because it makes the code simpler.
April 22, 2021, 13:56 (GMT)
Use "Spreadsheet" instead of "SpreadSheet"
April 22, 2021, 13:56 (GMT)
Remove unecessary comment
April 22, 2021, 13:56 (GMT)
Fix memory leak
April 22, 2021, 13:54 (GMT)
Merge branch 'master' into temp-spreadsheet-row-filter
April 22, 2021, 13:53 (GMT)
GPencil: More work on weights transfer
April 22, 2021, 10:32 (GMT)
Fix compilation error with strict flags

It could be seen as too much of a boiler plate code to explicitly
mention all kernels, but when one does not constantly work with the
related code it is a bit hidden to see where modifications are to
be made when new kernel is added. Having compiler to nag about places
where modification might be needed is personally found to be very
helpful.
April 22, 2021, 10:32 (GMT)
Cycles: Refactor of OptiX queue

- Use early output instead of indented if-else block.
- Use nullptr instead of NULL.

Should be no functional changes, just making code a bit more modern
and easier to follow.
April 22, 2021, 10:32 (GMT)
Cycles: Use best suitable BVH layout for OptiX

Restore back the decision between fast-to-trace and fast-to-update
BVH types. Based on the BVH type which is available via the BVH
parameters.

The BVHType is now moved from render/ to bvh/ so that the device
can easily access the enum values.
April 22, 2021, 10:03 (GMT)
Basic snapping support for dropping objects

Uses the same snapping logic as the placement plane from the Add Object
tool, which means it matches the plane that we already draw as a
preview.

This is quite primitive at this point - you can't change options for the
snapping like the up-axis or the snapping target - but it already feels
quite great.
Another limitation is that it uses the origin of the dropped object to
place it, the bounding box should give better results in practice. This
is something we can add.
April 22, 2021, 09:09 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib

I had to manually add a `bContext *` parameter to a
`node_geometry_add_attribute_search_button()` call to fix a compiler
error.
April 22, 2021, 08:15 (GMT)
Merge branch 'master' into asset-browser-snap-dragging
April 22, 2021, 08:04 (GMT)
Merge branch 'temp-gpencil-bezier-stroke-type' of git.blender.org:blender into temp-gpencil-bezier-stroke-type
April 22, 2021, 08:01 (GMT)
GPencil: Fix merge issues

April 22, 2021, 07:54 (GMT)
GPencil: Add weight transfer for cyclic strokes

This adds the code that transfers the weights for cyclic bezier strokes
to the polyline.
April 22, 2021, 07:40 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type

Conflicts:
source/blender/editors/gpencil/gpencil_data.c
source/blender/editors/gpencil/gpencil_edit.c
April 22, 2021, 07:37 (GMT)
Merge branch 'master' into greasepencil-object
April 22, 2021, 03:47 (GMT)
Geometry Nodes Curves: Refactor NURBS sampling

This is basically a template for a similar thing I'll do to bezier
splines. The idea is that every spline type is responsible for the
mapping of values from orginal control points to the evaluated
points based on a given resolution, and then the base class will
handle the rest.

This commit leaves the branch in a half-refactored state.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021