Blender Git Commits

Blender Git "master" branch commits.

Page: 563 / 5574

Revision 15afaa3 by Hans Goudey
September 23, 2020, 21:24 (GMT)
Property Search: Fix matches in headers not used for expansion

Setting the search match flag every time property search runs can
invalidate the results for panel headers. Instead, clear the flag on
every redraw and or the result of every search in the panel to it.
September 23, 2020, 17:49 (GMT)
Fluid: Fix clang-tidy error

Issue was introduced in rB8d1123ba220b.
Revision ffde556 by Hans Goudey
September 23, 2020, 17:06 (GMT)
Fix incorrect comparison for panel sorting

"Reported" by Valentin (Poulpator).
Revision bf0cefe by Hans Goudey
September 23, 2020, 16:17 (GMT)
UI: Clarify curve geometry factor and mapping tooltips

The "bevel_factor" for curves also applies when there is no bevel and
only extrusion. rB4e667ecef92f addressed this by moving the factor
and mapping properties to their own subpanel, but the property
descriptions still don't reflect that. This commit replaces "Bevel" with
"Geometry" for this situation. The property identifiers are not changed.
September 23, 2020, 14:08 (GMT)
Fix T81057: PoseBone Constraints are displayed in Object Constraints tab

Own mistake in rB9dcae4eb17d7b.

We cannot use ED_object_constraint_active_list in uiTemplateConstraints
since it is dependent on mode (pose vs. object). Now get object
constraints directly when use_bone_constraints is false.

Note: unfortunately a derivate of this bug has made its way into 2.90.1

Maniphest Tasks: T81057

Differential Revision: https://developer.blender.org/D8989
September 23, 2020, 13:54 (GMT)
Fix T80833: Fluid Initial Velocity 'Source' incorrect when enabling Inflow

Do not escape flow / effector objects if they have a disabled use flow / use effector flag.

Vertex velocities still need to be kept track of in order to have correct object velocities when enabling flows / effectors intermittenly. It is possible though to skip the emission loop if the flags are disabled.
September 23, 2020, 13:54 (GMT)
Missed in last commit

It is necessary to confirm the constrian.
September 23, 2020, 13:45 (GMT)
Fix T81069: Can't lock axis with move anymore, using Shift+MMB

This fixes and reverts commit c7287ffaec59cecd4b63b4bb2ea1aaf44f09f704

Due to hardcodded keys, the modifier for auto contrain plane did not
work with custom keymaps and was in conflict with other keyitems.

Its usability is also confusing since it cannot be used without
`MOD_PRECISION`

But instead of removing it, it is better to make this modifier compatible
with custom keymaps and keep the conflict.
September 23, 2020, 12:57 (GMT)
Cleanup: remove dead code in point cache and openvdb wrapper

Reviewers: brecht

Differential Revision: https://developer.blender.org/D8988
September 23, 2020, 11:28 (GMT)
Fix T81081: GPencil preset error

Caused by still having 'texture_opacity' in the preests and the preset
operator (but this was removed in the 2.83 rewrite).

Maniphest Tasks: T81081

Differential Revision: https://developer.blender.org/D8990
September 23, 2020, 09:39 (GMT)
Cleanup: remove last uses of WITH_SMOKE
September 23, 2020, 09:39 (GMT)
Cleanup: remove smoke code from pointcache

This code is not used by the new fluid simulation system.
Therefore, it does not make sense to keep it around.
We do want to integrate the fluid system with the generic cache
system eventually, but refactoring the system is easier when there
is less dead code that has to be refactored.

Note, I could not remove BKE_ptcache_id_from_smoke entirely yet,
because the depsgraph seems to expect that object that
uses DEG_add_collision_relations also has a pointcache.
That is because it wants to reset the point cache when any of the
other objects changed (this does not work with fluids currently).

Reviewers: sebbas

Differential Revision: https://developer.blender.org/D8987
September 23, 2020, 09:23 (GMT)
Windows Release: Script creation of MSIX package

Script create_msix_package.py will download the ZIP file
from the given URL. It will create the MSIX package
with the version number and publisher ID given.

Strongly recommended are the path to a valid PFX file, and the
password to use that PFX file. These are needed for signing
the resulting MSIX package. The signing step is optional though,
but the resulting MSIX package cannot be installed outside of the
Microsoft Store

Example

set VERSION=2.83.2.0
set URL=https://download.blender.org/release/Blender2.83/blender-2.83.2-windows64.zip
set PUBID=CN=PUBIDHERE
set PFX=X:pathtocert.pfx
set PFXPW=pwhere

python create_msix_package.py --version %VERSION% --url %URL% --publisher %PUBID% --pfx %PFX% --password %PFXPW%

Requirements:
* Python default from the Microsoft Store should do (3.8)
* requests can be installed with `pip install requests`

Note that for an LTS release that gets uploaded to its own LTS application release
in the store you need to specify the `--lts` switch on the command-line to the script.

Upon completion there will be a file with the
name blender-2.83.2.0-windows64.msix. In case PFX file and its password were
given on the command line MSIX package will also be signed for the Microsoft Store.

Related Wiki page: https://wiki.blender.org/wiki/Process/Release_On_Windows_Store

Reviewed By: jbakker

Maniphest Tasks: T77348, T79356

Differential Revision: https://developer.blender.org/D8310
September 23, 2020, 09:07 (GMT)
LibOverride: Add operator to convert a proxy object into an override.

In the end the process is surpringly simple, we only need to manually
convert the proxy itself into an override (which is trivial), and then
run common code with the default 'make override' operation.

Fix T81059: Add operator to convert proxies to library overrides.
September 23, 2020, 09:07 (GMT)
Fix (unreported) LibOverride: RNA asserts when applying overrides.

Some RNA setters require ID data they operate on to be in G_MAIN.
Unfortunately, when we apply overrides as part of a .blend file reading,
new Main is not yet made global one, so we have to do it temporarily
here.

This is a fairly ugly hack, but it should be harmless and safe.
September 23, 2020, 09:07 (GMT)
LibOverride: Tweak override creation code.

This is a first step towards supporting conversion of proxies, done
separately to make it easy to pinpoint in case it would create problems.

It is not expected to cause any change in behavior currently.
September 23, 2020, 08:22 (GMT)
Cleanup: remove 'r_' prefix for variables

This is for return arguments, also remove redundant NULL check.
September 23, 2020, 06:59 (GMT)
Keymap: use release event instead of click

Minor change to last commit, prefer release as click depends on
not moving the mouse cursor.
September 23, 2020, 06:55 (GMT)
Keymap: use D-key click to avoid conflict with grease pencil drawing
September 23, 2020, 05:51 (GMT)
Fix T73858: Gizmo.use_draw_scale doesn't work as expected
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021