Blender Git Loki

Kaikki Blender Git kommitit.

Page: 251 / 8462

September 13, 2021, 14:37 (GMT)
UI: Freestyle UI Upgrade

Suggested and funded by [[ https://blendernpr.org/| BNPR ]], this patch aims to update the long not-updated Freestyle UI

**Why do the UI upgrade:**

- Freestyle UI doesn't match the rest of Blender UI, it was neglected for a long time
- The current UI makes Freestyle workflows tedious and distracting

**Highlights:**

For before/after screenshots see https://developer.blender.org/D10505

Video:
https://youtu.be/qaXhuJW_c9U

Workflow video (older revision): https://youtu.be/IqbjIq_A800

Doc patch (WIP): https://github.com/bnpr/FreestyleUIUpgrade/blob/main/freestyle-ui-upgrade-docs.diff

Reviewed By: #user_interface, Blendify, HooglyBoogly, Severin

Differential Revision: https://developer.blender.org/D10505
September 13, 2021, 14:18 (GMT)
Templates: Set more user preference settings to be swapped

* Splash Disable
* Show gizmo navigate
* ui scale

It is a bit arbritrary now. So those are the flags I'm
setting up for the Blender 101 project (T90025).

Differential Revision: https://developer.blender.org/D12474
September 13, 2021, 13:03 (GMT)
Fluid: Initial changes for OpenMP GPU support

Contains basic support for OpenMP GPU offloading.
That is, offloading of fluid KERNEL loops to the GPU.

This branch offloads pressure and advection calls only - the 2 most
expensive operation per step. In theory though, any function can be
offloaded.

For now, this branch needs to be build with a compiler that supports
Nvidia GPU offloading. Exact GPU models need to be specified via CMake.
September 13, 2021, 12:57 (GMT)
V2D navigating flag by Richard Antalik
September 13, 2021, 12:13 (GMT)
Cleanup: Packedfile don't repeat yourself.

Introduced `BKE_packedfile_unpack` that is called from the specialized
implementation for Image, Sound, Font, Volume etc. This is in
preparation for T91252.
September 13, 2021, 11:46 (GMT)
Merge branch 'master' into cycles-x
September 13, 2021, 11:46 (GMT)
Fix too small step size for time limit button, increase from 1ms to 1s
September 13, 2021, 11:14 (GMT)
Build: show better "make update" error message when in detached HEAD state
September 13, 2021, 11:09 (GMT)
Fix: fix equality operator for fields

Instead of comparing the referenced field node by pointer,
compare the nodes directly instead. This is important
because different field nodes might be the same semantically.
September 13, 2021, 10:40 (GMT)
Various UI messages fixes and updates.
September 13, 2021, 10:17 (GMT)
Cleanup: Unused function

No functional changes.
September 13, 2021, 09:57 (GMT)
Cycles X: Store passes and buffer params in tile file metadata

Allows to fully forget about passes and parameters once the file
was fully written.

Currently should be no functional changes. Will be used when a proper
memory saving is implemented: when EXR files are read from disk and
written to Blender after all view layers were rendered.

Is debatable why we need to store actual passes: for now it was the
most local change to move towards the goal (which is to decouple
full buffers reading from the Session/PathTrace/TileManager state).
Might end up storing simplified version of passes in the BufferParams
so that we can use `get_render_tile_pixels()` without having Scene
and only relying on the RenderBuffers. In any case, we would need to
store some sort of metadata, and whether it comes to/from passes is
something we can tweak in the future.

Differential Revision: https://developer.blender.org/D12447
September 13, 2021, 09:54 (GMT)
Nodes: move some texture nodes to c++

This is necessary to be able to use them in geometry nodes.
September 13, 2021, 09:41 (GMT)
Fix `make_utils.py` recent API breackage.

rB546314fc9669 broke `svn_libraries_base_url` utils API compatibility
for no good reasons, making new `branch` argument explicitely optional.

Reported on chat by Michael Kowalski (@makowalski), thanks!
September 13, 2021, 09:41 (GMT)
Merge branch 'master' into cycles-x
September 13, 2021, 09:31 (GMT)
Sculpt dyntopo: more collapse fixes

The edge cases just never end.
September 13, 2021, 09:30 (GMT)
Fix regression test after recent fix

Was cased by 9b2b32a3338.
September 13, 2021, 08:42 (GMT)
Fix T91311: incorrect batch generation for instances

This was a mistake in {rB5a9a16334c573c4566dc9b2a314cf0d0ccdcb54f}.
September 13, 2021, 08:40 (GMT)
move some texture nodes to c++
September 13, 2021, 08:02 (GMT)
Fix T84638: Wrong scale for primitives with radius

Creating some primitives allows for a scale value (via python) that will
scale the object accordingly. For objects with a radius parameter
(like cylinders, spheres, etc.) passing a scale different to (1,1,1)
would result in unexpected behavior.

For example:
`>>> bpy.ops.mesh.primitive_uv_sphere_add(radius=2, scale=(1,1,2))`
We would expect this to create a sphere with a radius of 2
(dimensions 4,4,4) and then be scaled *2 along the z-axis
(dimensions 4,4,8). But this would previously create a scaled sphere
with dimensions (2,2,4).

The scale was simply divided by two. Maybe because the "radius"
parameter for creating the primitives was confusingly named "diameter"
(but used as the radius).

The fix adds a scale parameter to `ED_object_new_primitive_matrix`
and also renames the wrongly named "diameter" parameters to "radius".

Reviewed By: campbellbarton

Maniphest Tasks: T84638

Ref D10093
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021