Blender Git Loki

Blender Git commits from all branches.

Page: 273 / 2888

July 1, 2021, 21:49 (GMT)
GHOST/wayland: try Wayland only when 'BLENDER_WAYLAND' is set
July 1, 2021, 21:49 (GMT)
July 1, 2021, 21:49 (GMT)
cmake: use extern 'wayland-protocols' if system version is insufficient
July 1, 2021, 21:49 (GMT)
cmake: add 'wayland-protocols' to 'deps' make step
July 1, 2021, 21:49 (GMT)
doc: add Wayland dependencies

The wayland support requires the following development packages:
libwayland-dev, wayland-protocols, libegl-dev, libxkbcommon-dev,
libdbus-1-dev, linux-libc-dev
July 1, 2021, 21:31 (GMT)
Merge branch 'master' into temp-gpencil-bezier-stroke-type
July 1, 2021, 20:50 (GMT)
Various Improvements
July 1, 2021, 19:35 (GMT)
USD skel export WIP.

Added USDSkelRootWriter class, to create
UsdSkelRoot parents of skinned meshes.
July 1, 2021, 17:45 (GMT)
USD skel export WIP.

Added Export Armatures USD exporter option.
Added initial, partial implementation of
USDSkinnedMeshWriter.
July 1, 2021, 15:58 (GMT)
Merge branch 'master' into curve-nodes-modifier
July 1, 2021, 14:14 (GMT)
adaptive_cloth: MeshIO: test: ReadDNAMesh: finish up
July 1, 2021, 13:25 (GMT)
adaptive_cloth: fix: MeshIO: write obj normals started with 'v ' instead of 'vn '
July 1, 2021, 13:04 (GMT)
adaptive_cloth: MeshIO: read DNA Mesh

The conversion was easy enough but the test case for this is extremely difficult.

Creating `Mesh` is not possible without initializing `idtype` using `BKE_idtype_init()` (there should actually be a check for this, at least in debug mode).

Converting this `Mesh` to `BMesh` is simple without any hassles.

Using the `BMesh`, create a cube. Now turns out that is also simple if `BMO_op_callf()` is known about. The previous approach was to create a copy of the code in `bmo_primitive.c` and use that. This also leads to problems because without the `BMOperator` functions pre-applied on the `BMesh`, `BMO_face_flag_enable()` crashes without any proper indication of what could have caused the error. Simplest way to fix is to just remove that flag check. Then found out about `BMO_op_callf()`, this really needs documentation since it has variadic arguments and is magically calling the required operator (printf style).

Now that we have the cube in the `BMesh`, converting it back to `Mesh` is another massive problem. There are many functions that can do this `BM_mesh_bm_to_me()` and `BKE_mesh_from_bmesh_eval_nomain()` are most appropriate. These functions write the CustomData blocks to `Mesh` but before doing do, set the `mvert->co` and such. For some reason, `BMesh` has not updated the blocks so `mvert->co` just has (0.0, 0.0, 0.0). After spending multiple hours on this, found one way to fix this, copy the `BMesh` which then initializes the blocks in the new `BMesh` and this can be used in `BM_mesh_bm_to_me()` to get the `Mesh` that is needed.
July 1, 2021, 12:59 (GMT)
Merge branch 'master' into soc-2021-uv-editor-improvements
July 1, 2021, 12:00 (GMT)
Merge branch 'master' into soc-2021-vse-strip-thumbnails
July 1, 2021, 10:48 (GMT)
Merge branch 'master' into geometry-nodes-unnamed-attributes
July 1, 2021, 09:50 (GMT)
Explicitly remove write for o and g.
July 1, 2021, 09:29 (GMT)
Zoom influence factor for edge scroll speed.

This allows modifying the scroll speed based on the View2D zoom factor.
With influence 0.0 (default behavior) the speed will be constant in
UI space as before.
At maximum influence 1.0 the speed will instead max out in the view
space, i.e. scrolls slower in UI space when zooming out.
At intermediate values the zoom influence is proportionally reduced,
for example at influence 0.5 the view will scroll as if zoom factor is
half of the actual zoom.

This feature is used in the node editor to slow down scrolling a bit
when zoomed out.
July 1, 2021, 09:00 (GMT)
Merge remote-tracking branch 'origin/master' into asset-browser-poselib
July 1, 2021, 06:32 (GMT)
Change the max limit for Dynamic grid

The max limit for dynamic grid was set at 12. This commit changes that
to 5000
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021