Blender Git Loki

Kaikki Blender Git kommitit.

Page: 262 / 8462

September 8, 2021, 07:56 (GMT)
Fix T90825: Performance texture painting with limited scale.

Improve texture painting/uv editing performance when limited scale is active.
Cause of the slow down is that the image editor draws the image in maximum resolution,
but the 3d viewport uses the limited scale. The variation reuses the same GPU texture
and needed to be uploaded/scaled twice to the GPU.

This patch will adds texture slots that can hold the scaled down and the maximum
resolution image. This would allow better cache hits and reuse of existing caches.

Maximum resolution textures are reused for limited scale when they fit to reduce memory
and CPU footprint.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D12388
September 8, 2021, 07:49 (GMT)
Sculpt dyntopo:

* BLI_table_gset now internally uses a SmallHash instead of
a GHash. Profiling revealed this to be quite a bit
faster.
* This is something of a stopgap until C++-afication of
pbvh, when we'll have our pick of a bunch of
really nice C++ hashmap libs.
* pbvh_collapse_edge bites the dust; dyntopo now uses
BM_collapse_edge. Of the three topology operations
(subdivide edge, collapse edge, dissolve 3/4 valence
vertex) only dissolve still has a dyntopo-specific
implementation.
* Fixed a bunch of annoying memory corruption bugs.
* Non-manifold triangles are now detected in more
places.

SmallHash changes:

* Enabled removal
* Fixed infinite loop bug caused by
improperly counting free*d* cells
versus free cells.
* Added a BLI_smallhash_ensure_p method
that works just like the GHash version.

Sculpt replay system

* Roughed out a simple system to record and
play back sculpt strokes using a simple
text format.
* This is exclusively for
performance profiling and unit tests.
* For each brush stroke the system saves a copy
of the active StrokeCache and PaintStroke
and parts of Sculpt.

This should make profiling DRAM thrashing a lot
easier.
September 8, 2021, 06:47 (GMT)
Asset: Dropping Material assets on material slot under mouse cursor.

This patch allows dropping material assets from material slot under the mouse
cursor. Before this change the material slot had to be hand-picked from the
properties panel.

For consistency it is chosen to do this in any shading mode as the tooltip shows
what is exactly going to happen during release.

The feature also works for other object types than Meshes as it uses the drawn surface on the
GPU to detect the material slots. Performance of this patch has been tested with AMD GCN3.0
cards and are very responsive.

Reviewed By: fclem, Severin

Differential Revision: https://developer.blender.org/D12190
September 8, 2021, 06:25 (GMT)
Fix T91225: Quick Favorites and shortcuts are broken for some properties

Caused by {rB3e4d720ae483}.

Before above commit, this had a different path handling and
RNA_path_from_ID_to_struct() was always used [which kind of took care of
this]. Now this is only used if ptr represents an ID itself, so we are
"loosing" part of the path.

This patch adds the path back on the member_id in
wm_context_member_from_ptr() for everthing related to space_data, so
WM_context_path_resolve_property_full() can construct a full path even
for these.

Maniphest Tasks: T91225

Differential Revision: https://developer.blender.org/D12418
September 7, 2021, 23:23 (GMT)
Fix non-exiting property in keymap

In e6a1d488ab79 `deselect_all` property was removed from
`sequencer.select` operator but some keymap items were missed, which was
caught by tests by buildbot.
September 7, 2021, 22:23 (GMT)
VSE strip thumbnails

The goal is to provide thumbnails in the rectangle coloured strips. Works for
movie clips and image sequences. The thumbnails are loaded from source
using separate thread and stores them in cache. The drawing is called inside the
drawing for each strip, and takes images from cache. Drawing is below the
handles from one end of strip to other, inside view only. The job for caching
is called when images are not available, or there is view change.

All strip operations are valid, and overlap of strip adds transparency to the
image. Images are shown only when strip size is wide enough for clear
visibility of images, and the thumbnails represent source footage clearly.

Cache is limited to 5000 thumbnails and performs cleanup of non visible images
when limit crossed.

Related Task : T89143

Maniphest Tasks: T89143

Differential Revision: https://developer.blender.org/D12266
September 7, 2021, 22:09 (GMT)
Fix typo.
September 7, 2021, 22:07 (GMT)
Rename GPUPatchMap to DRWPatchMap.
September 7, 2021, 22:05 (GMT)
Cleanup code style for comments in draw/intern/shaders/.
Revision 1680c3d by Hans Goudey (master)
September 7, 2021, 22:05 (GMT)
UI: Remove label of mode in Point Instance node

There isn't enough space for this label at the default node width, and
it was obvious what the drop-down is doing anyway.
September 7, 2021, 22:01 (GMT)
Cleanup: VSE select operator

Operator combines more features and it wasn't very transparent which
properties are used in which feature and how they are used.

Features linked_time, side_of_frame and linked_handle are
isolated, logic moved into own function.

deselect_all property was removed as it practically equals to
!extend in all cases.

Functional change: Dragging existing selection will not change active
strip. Previously this could happen if click happened on strip that
wasn't active.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D12320
September 7, 2021, 21:59 (GMT)
Fix crash when compiling face varying path evaluation shader.
September 7, 2021, 21:39 (GMT)
Fix T90967: Snapping not working with single strip

Even if `snap_targets` `SeqCollection` is empty, there can be static
snap points defined, so don't condition snapping on non-zero target
count.

Differential Revision: https://developer.blender.org/D12400
September 7, 2021, 20:28 (GMT)
Merge branch 'master' into subdivision_work
September 7, 2021, 19:10 (GMT)
Animation: Implement generic slider in graph_slider_ops

This patch implements the generic slider from
`ed_draw.c` to the `GRAPH_OT_decimate` operator
This draws a useful UI and enables precision mode and stepping
Overshoot is disabled
The status message is moved to the workspace footer

Reviewed by: Sybren A. St�vel
Differential Revision: https://developer.blender.org/D9361
Ref: D9361
September 7, 2021, 18:40 (GMT)
Fix Cycles crash rendering background mode after recent changes

Don't create GPU display then.
Revision a392609 by Hans Goudey (master)
September 7, 2021, 18:28 (GMT)
Cleanup: Move function to versioning_common.cc
September 7, 2021, 18:14 (GMT)
Remove changes to the Point Translate node
September 7, 2021, 18:05 (GMT)
Merge branch 'master' into temp-geometry-nodes-fields
September 7, 2021, 17:25 (GMT)
Cycles X: Tweak to tile buffer temporary file name

Was suggested by Brecht in review, but somehow got lost in updates.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021