Blender Git Commits

Blender Git "master" branch commits.

1 hour 22 min ago
Cleanup: update comments

Some references to argument levels were still in comments.
3 hours 17 min ago
Cleanup: use enum for command line argument passes
3 hours 17 min ago
BLI_args: disallow zero to be used as a pass value

Introduced recently in 09139e41ed4ea.
While this worked in the cases it was used, '--threads' for example
was failing to parse the number when it's pass was set to 0.

Increase the enum values to start at 1 &
add asserts so this wont happen again.
3 hours 17 min ago
Cleanup: move WM_init & arg parsing out of if/else branch
3 hours 17 min ago
Cleanup: update old comment for why we can't use PySys_SetArgv
3 hours 17 min ago
BLI_args: refactor argument passes

Avoid passing the pass argument to BLI_argsAdd, instead set this
once for each group of passes.

This means we can add new passes without having to bump the arguments
to BLI_argsAdd.
Revision 5711b85 by Hans Goudey
5 hours 9 min ago
Cleanup: Remove unused IDProperty function

This function from 2017 came with a comment: "TODO Nuke this once its
only user has been correctly converted to use generic IDmanagement"
Since it is unused after rB91462fbb31ba, now is time to remove it.

Differential Revision: https://developer.blender.org/D9368
5 hours 30 min ago
Merge branch 'blender-v2.91-release'
5 hours 33 min ago
PyAPI: point sys.executable to the Python binary

`sys.executable` is documented to be a Python interpreter or None.

This was set to Blender's executable which caused the multiprocessing
module to spawn new instances of Blender instead of Python on WIN32.
See issue described in D7815.

Deprecate 'bpy.app.binary_path_python' & warn when using.

Blender's executable remains accessible via `bpy.app.binary_path`.
6 hours 51 min ago
UI: Move the 'Resolve Conflict' button closer to the text data-block

Moves the Text Editor 'Resolve Conflict' button closer to data-block selector and with 'Question' icon.

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

Reviewed by Hans Goudey
Revision 024b65b by Hans Goudey
8 hours 7 min ago
Cleanup: Update comment

This comment has to be updated since it was moved
from the header file to the source file.
Revision 1504ed9 by Hans Goudey
11 hours 37 min ago
Fix use after free in interface handler

ASAN reported a use after free in after rB15d78ea85b602c. This commit
removed a reassignment of the `data` variable here that was actually
required because it may have been freed earlier in the function. This
sort of error would be avoided if the same variable wasn't reused for
different purposes.
13 hours 22 min ago
GPencil: New parameter in Texture modifier to rotate Dot textures

This new parameter allows to rotate the texture of any Dot or Square stroke.

Differential Revision: https://developer.blender.org/D9343
13 hours 42 min ago
Merge branch 'blender-v2.91-release'
13 hours 43 min ago
GPencil: Fix unreported Fill when use boundary and Visble layers

The new option to filter the layers used by the Fill tool was not using the boundary strokes. The problem was the layers were skipped and any boundary stroke was not used.

Now, the layer is not skipped, but the strokes that are not boundary are skipped.
Revision 471c0bc by Ankit Meel
15 hours 31 min ago
git blame: add file to help ignore cleanup commits

wiki.blender.org/wiki/Tools/Git#Tips has been updated.

A follow up to
lists.blender.org/pipermail/bf-committers/2020-October/050698.html
will be sent after commit.

Reviewed By: brecht, campbellbarton

Differential Revision: https://developer.blender.org/D9234
15 hours 55 min ago
Fix T81854: crash when undoing switch between sculpt and edit mode.

The logic of `BKE_sculpt_update_object_for_edit` was not correct. such
low-level functions should typically never preform depsgraph evaluation
themselves, they should be able to rely on getting a fully evaluated
depsgraph and just get needed data from there.

Supporting that required fixing other broken code higher in the
callstack, namely:
* `ED_object_sculptmode_enter_ex` was freeing evaluated data, for no
valid reason it would seem.
* `sculpt_undosys_step_decode` was ensuring an evaluated depsgraph
**before** calling `ED_object_mode_generic_exit`, which would
invalidate a lot of evaluated data.

Note that it is fairly difficult to track down all code paths leading to
`BKE_sculpt_update_object_for_edit`, so there may be still cases where
this gets called with improperly evaluated depsgraph.

Reviewed By: sergey

Maniphest Tasks: T81854

Differential Revision: https://developer.blender.org/D9270
16 hours 8 min ago
Merge branch 'blender-v2.91-release'
16 hours 11 min ago
Fix T81844: Change Bone Layers fails in Pose Mode

When selecting multiple layers, the redo operator might not correctly
update the pose data. To make sure it is in a good state we have to
ensure that the pose data is good.

Reviewed By: Bastien

Differential Revision: http://developer.blender.org/D9354
19 hours 36 min ago
Cleanup: use over-line for doxy comments

Follow our code style for doxygen sections.
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020