Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 397 / 5574

February 8, 2021, 11:45 (GMT)
install_deps: Update TBB to 2020_U2
February 8, 2021, 11:26 (GMT)
install_deps: Update OpenXR to 1.0.14.
February 8, 2021, 10:36 (GMT)
Merge branch 'blender-v2.92-release'
February 8, 2021, 10:30 (GMT)
Fix T85426: Speed effect stretch to input not working

`seq_effect_speed_get_strip_content_length()` checked only for number
of inputs of target strip, even if it's not an effect.

Only effects are treated in different way, so check for type as well.
Broken by 93c10797dc35e17bbd96f3711a151acf2d184848

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10356
February 8, 2021, 10:14 (GMT)
Mask: Use control point position when handle is selected

This is something what comes after an experiment, which makes behavior
more desirable. Basically, for Lock-to-Selection functionality always
use control point position if any of control point itself or handles
are selected.

Initial patch from Sebastian, modification from Sergey.

Differential Revision: https://developer.blender.org/D10265
February 8, 2021, 10:10 (GMT)
Fix strict uninitialized warning for C++

Allows to compile Blender without uninitialized warning in Bullet code.
Revision 04be1e9 by Julian Eisel
February 8, 2021, 09:32 (GMT)
Code quality: Refactor asset operators using C++

* Attempt to improve readability by using focused, coherent helper classes.
* Replace ListBase with blender::Vector, which is more efficient and has a
better API.
* Split user reporting from error checking.
* Use namespace (as we usually do for C++ code).
* Remove unused headers
Revision 8acd58a by Julian Eisel
February 8, 2021, 09:32 (GMT)
Cleanup: Remove dead code for keymap Outliner display mode

This wasn't used for a long time and there are no plans to bring this back.
Revision fd05e31 by Julian Eisel
February 8, 2021, 09:32 (GMT)
Cleanup: Use enum for Outliner tree-store element types

We generally prefer using enums over precompiler defines. This adds an actual
type for the values, which the compiler can use to throw warnings, give better
messages, etc.
Revision 9d60595 by Julian Eisel
February 8, 2021, 09:32 (GMT)
Cleanup: Remove unused tree element types

These weren't used since ages. Comment out the DNA define (value shouldn't be
reused to avoid compatibility breakage) and remove icon code for the types.
Revision eb7d9e2 by Hans Goudey
February 7, 2021, 23:21 (GMT)
Cleanup: Alphabetize function order
February 7, 2021, 22:41 (GMT)
Forgot to free a bvhtree with previous commit.
February 7, 2021, 16:25 (GMT)
Fix T84493 et al: New Boolean on Suzanne.

While Boolean is not guaranteed to work if the operands are not
volume-enclosing (technically: PWN - piecewise constant winding number),
it needs to do something in those cases. This change makes
more cases meet user expectations in T84493, T64544, T83403,
T82642 (though very slow on that one).
The original new boolean code used "generalized winding number"
for this fallback; replaced this with code that uses raycasting.
Raycasting would have been faster, but for unfortunately also
switchd to per-triangle tests rather than per-patch tests since
it is possible (e.g., with Suzanne) to have patches that are
both inside and outside the other shape. That can make it much
slower in some cases, sadly.
February 7, 2021, 12:02 (GMT)
GPencil: Fix wrong python API for Point weights

The old property never worked as expected because it was impossible expose the data as props.

Now, there are two methods to handle this: weight_get and weight_set

Example use:
```import bpy
ob = bpy.context.active_object
gpd = ob.data
gps = gpd.layers[0].frames[0].strokes[0]
i = 0
print("Weightsn================================")
for pt in gps.points:
gps.points.weight_set(vertex_group_index=0, point_index=i, weight=0.5)
i +=1

i = 0
for pt in gps.points:
weight = gps.points.weight_get(vertex_group_index=0, point_index=i)
print(weight)
i +=1
```

Reviewed By: brecht

Maniphest Tasks: T84967

Differential Revision: https://developer.blender.org/D10177
b3f989
Revision ef29ebb by Julian Eisel
February 6, 2021, 18:27 (GMT)
Code quality: Port recently added asset files to C++

It seems generally preferred to have new files be created with C++.
The only reason I didn't do that when I initially created the files is that I
was unsure about some C-API aspect.

Also includes some minor C++ related cleanup (nullptr instead of NULL, remove
redundant `struct` keyword).
Revision 699b2d9 by Julian Eisel
February 6, 2021, 18:27 (GMT)
Code quality: Port recently added utility file to C++

It seems generally preferred to have new files be created with C++.
The only reason I didn't do that when I initially created the files is that I
was unsure about some C-API aspect.

Also use nullptr instead of NULL.
Revision 4cca64f by Falk David
February 6, 2021, 08:09 (GMT)
Merge branch 'blender-v2.92-release'
Revision eccc57a by Falk David
February 6, 2021, 08:07 (GMT)
Fix T85378: Shrink/Fatten display number units

Currently the displayed distance when using the shrink/fatten transform
operator does not respect the scene units (they would always be in
blender units).

This changes makes sure the number is displayed in the correct unit.

Reviewed By: mano-wii

Maniphest Tasks: T85378

Differential Revision: https://developer.blender.org/D10325
February 6, 2021, 03:08 (GMT)
UI: Fix Typos in Comments and Docs

Approximately 91 spelling corrections, almost all in comments.

Differential Revision: https://developer.blender.org/D10288

Reviewed by Harley Acheson
February 6, 2021, 02:33 (GMT)
Cleanup: compare with zero for flag checks

This is done almost everywhere already,
use this more straightforward convention.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021