Blender Git Commit Log

All Blender Git commits.

Page: 1886 / 8462

February 7, 2020, 16:31 (GMT)
remove poll for OBJECT_OT_parent_clear

This works on selected_editable_objects, so no active object mandatory.

After deletion of the active object and using slection tools such as
e.g. box select, the lack of an active object would prevent this
operator from being called without good reason.

Also cannot think of any other existing poll that would really make
sense (Editor type, ...).

ref T68975

Maniphest Tasks: T68975

Differential Revision: https://developer.blender.org/D6773
February 7, 2020, 16:23 (GMT)
Cleanup: add extern "C"
February 7, 2020, 16:23 (GMT)
BLI: add index_range method to some data structures

This can be used to iterate over all indices with less code.
February 7, 2020, 16:22 (GMT)
Cleanup: Improve usage of extern "C"
February 7, 2020, 16:12 (GMT)
GPencil: Rename collision to boundbox

The initial use of the variables was collision, but now are used for more things, so it's better put a more general name.
February 7, 2020, 15:46 (GMT)
GPencil: Fix merge errors

Also, the modiifer reuse precalculated bounding box data.
February 7, 2020, 15:42 (GMT)
Cleanup: Animation, split driver evaluation into separate functions

No functional changes.
February 7, 2020, 15:42 (GMT)
Cleanup: Animation, reduce indentation by reordering conditions

This turns error condition checks into precondition checks, grouping the
non-error functionality together towards the bottom of the function and
error-handling functionality towards the top.

No functional changes.
February 7, 2020, 15:38 (GMT)
Merge branch 'greasepencil-object' into greasepencil-refactor

Conflicts:
source/blender/blenloader/intern/readfile.c
February 7, 2020, 15:36 (GMT)
Merge branch 'master' into greasepencil-object
February 7, 2020, 15:36 (GMT)
Fix T73625: GPencil array offset wrong whe use Scale or Rotation

This is not 100% a bug but a design change. The old method used the object origin as pivot point for Scale a nd Rotation, so when you moved the stroke in edit mode, the whole array ittems where offset because the pivot point distance changed.

Now, before applying scale and rotation, the stroke is moved to object origin to keep the offset when scale or rotate, so these transformations are done in stroke local space.
February 7, 2020, 15:29 (GMT)
Cleanup: Rename `BKE_library_idmap` file to `BKE_main_idmap`

Part of T72604:
> Proposal: BKE_library and BKE_main API naming: prefixes conventions
February 7, 2020, 15:14 (GMT)
Merge branch 'undo-experiments' into undo-experiments-swap-reread-datablocks
February 7, 2020, 15:14 (GMT)
Merge branch 'libquery-handle-ui-pointers' into undo-experiments
February 7, 2020, 15:13 (GMT)
libquery: add optional handling of 'UI' ID pointers.

Handling those through different ways /might/ be needed sometimes, but
in most case this is just a nest of issues, since you can easily forget
to take them into account.

Note that this should be a 'non-functional' change, as this new behavior
is not used anywhere yet.
February 7, 2020, 14:35 (GMT)
Build optimization: Compile glew for size rather than speed with msvc.

Glew.obj is one of the more expensive targets we have to build clocking in
at 34.907 seconds.

The root cause [1] is the msvc inliner is not super thrilled with the
glewIsSupported supported function, this patch changes the buildflags
of extern_glew to optimize for size rather than speed.

Given glew is only in play at initalization time there will be no
performance impact.

Time to build glew.obj

Before: 34.907s
After : 1.961s

[1] https://developercommunity.visualstudio.com/content/problem/732941/slow-compilation-of-glewc-for-visual-studio-2019-x.html

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

Reviewers: brecht, sergey, fclem
February 7, 2020, 14:29 (GMT)
Cleanup: `make format`

Remember to run `make format` after cleanups/renames/...
February 7, 2020, 14:27 (GMT)
BuildSystem/Cleanup: Fix warning behaviour regarding library dependencies

Adding USD to a lite build fails to build due to boost errors, when you turn
boost on and rebuild still boost errors, boost was silently turned off since
it was not deemed needed. Once boost was forced on, it still fails due to TBB
being off.

This patch fixes:

- The Silent disabling of boost
- Add a check that USD is is not on before doing that
- move the TBB checks to a central location rather than the individual platform files
- Add USD to the TBB checks.

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

Reviewers: brecht, sybren
February 7, 2020, 14:21 (GMT)
Merge branch 'blender-v2.82-release'
February 7, 2020, 14:19 (GMT)
OpenVDB: Added missing macros in fluid wrapper file

These were needed to compile when WITH_FLUID=1 and WITH_OPENVDB=0.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021