Blender Git Commits

Blender Git "master" branch commits.

Page: 546 / 5574

October 8, 2020, 10:50 (GMT)
Cleanup/refactor: `BKE_libblock_alloc` -> `BKE_id_new` in ID creation code.

Better use higher-level code from common ID management when possible.
Helps to de-duplicate logic, and reduces outside usages of more
'dangerous' functions.

Note that we could get rid of many of those `BKE_<id_type>_add`
functions now, but on the other hand several of those take extra
parameters and perform additional actions, so think we can keep them all
for now as 'non-standard ID specific creation functions'.
October 8, 2020, 09:40 (GMT)
Cleanup: Remove `BKE_mask_copy_nolib()` and `BKE_mask_free()`.

Generic ID management code can now do those local temp copy handling, so
no need for duplicated own code for that.

No behavioral changes expected here.
October 8, 2020, 08:25 (GMT)
Fluid: Fix particle helper grid export

Only export helper levelset and velocity (belonging to previous state) at the beginning of an (adaptive) frame.
October 8, 2020, 06:55 (GMT)
Cleanup: use '_' prefix for internal bpy.ops variables

Even though these weren't included in __dir__, they are still accessible
from `vars(bpy.ops)`, use '_' to hint they are private.
October 8, 2020, 06:45 (GMT)
PyAPI: use real modules for bpy.ops

Python 3.7x added support for module `__getattr__` & `__dir__`.

Make use of this for operator access,
previously these were module like classes.

No functional changes, this is mostly to use a type which is expected,
rather than faking the type with a class instance.
October 8, 2020, 05:27 (GMT)
PyDoc: fix most of the sphinx-build warnings

Use `.. currentmodule::` instead of `.. module::` for `bpy.types` and
`bpy.ops`. This change fixes most of the errors.

Ref D9139
October 8, 2020, 04:41 (GMT)
Cycles: fix UpdateTimeStats::clear() not resetting total times to zero
October 8, 2020, 01:32 (GMT)
PyDoc: support building without sphinx_rtd_theme

This is no longer bundled with sphinx, support building without it.
Revision 9c8334a by Hans Goudey
October 8, 2020, 00:48 (GMT)
UI: Fix alignment in object type visibility popover

After rBeb911610d05 there are some differences in how the layout code
decides whether to add decorators (aka animation buttons). Whether or
not that logic is correct, it's nice to specify that we don't want them
turned on in this popover.
October 8, 2020, 00:08 (GMT)
Fix recent update to sphinx_doc_gen.sh

2f1a0f6f0eabe090d3ea95c4f508ef72454369a2 copied Makefile syntax into a
shell script. Use sphinx-builds 'auto' command to set the number of
jobs to run.
October 7, 2020, 23:53 (GMT)
Cleanup: use doxy sections for fmodifier.c
October 7, 2020, 21:43 (GMT)
Fix sculpt raycast function returning wrong value

When sampled normals were disabled SCULPT_cursor_geometry_info_update
was returning false instead of the value from the raycast data.
October 7, 2020, 21:25 (GMT)
PyDoc: Use explicit class names to refence class

This fixes the link and makes it more clear which class the note is
talking about
October 7, 2020, 21:00 (GMT)
PyDoc: Render in text class name using class link syntax
October 7, 2020, 20:17 (GMT)
PyDoc: Fix typo in extern audaspace documentation

A PR has also been sent upstream:
https://github.com/neXyon/audaspace/pull/33
October 7, 2020, 19:51 (GMT)
PyDoc: Fix sphinx warnign from missing newline
October 7, 2020, 18:38 (GMT)
Cleanup: Remove redundant if-condition
October 7, 2020, 17:31 (GMT)
Fix T81480: Input 0 to scale in redo panel resets to 1

Checking if `t->values[i] != 0.0f;` is not the best solution for all
transform cases.
October 7, 2020, 16:13 (GMT)
Cleanup: inconsistent parameter name

Found by clang-tidy.
October 7, 2020, 16:05 (GMT)
Refactor: remove `BKE_<id_type>_copy` functions.

Those were only shallow wrappers around `BKE_id_copy`, barely used (even
fully unused in some cases), and we want to get rid of those ID-specific
helpers for the common ID management tasks. Also prevents weird custom
behaviors (like `BKE_object_copy`, who was the only basic ID copy
function to reset user count of the new copy to zero).

Part of 71219.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021