Blender Git Commits

Blender Git "id_copy_refactor" branch commits.

Page: 3 / 4

June 20, 2017, 15:55 (GMT)
Fixed bl_load_py_modules / script_load_modules unit test

It tried to assert that
addons/io_blend_utils/blender_bam-unpacked.whl/__init__.py was loaded when
the io_blend_utils module was imported. However, this happens only on
demand, and not directly when importing the add-on.
June 20, 2017, 15:55 (GMT)
Fix (unreported) memory leak in Fluid modifier copying.

Also generally simplify/sanitize this copy code.
June 20, 2017, 15:55 (GMT)
Fix (unreported) bad copying code in Mesh Deform modifier.
June 20, 2017, 15:55 (GMT)
Fix (unreported) missing Image usercount increase when copying UVProject modifier.
June 20, 2017, 15:55 (GMT)
Fix (unreported) bad copying of Ocean modifier.

Was needlessly complicated code, forgot to copy a value (foam_fade), and
was utterly leaking memory!
June 20, 2017, 15:55 (GMT)
PyAPI: Fix warning about indent
June 20, 2017, 15:55 (GMT)
Add Mesh and Key support to new copying code.
June 20, 2017, 15:55 (GMT)
Make object copying fully compatible/aware of new copy flag system.

(continuation of previous WIP commit, sorry about that one :/ ).

This commits changes quite a few things, distributing new copying flags
into sub-data copying code (mostly concerns ID refcounting or not).

It also removes ID refcounting handling from Modifiers' copy callback
(this was ugly from the start, proved to be problematic in current
master, and generally bad practice). This is now done by calling code.

Also, it brings back ID refcounting handling to main BKE_library's copy
code, which means in generic ID copying lower-level IDType-specific copy
code should not use it at all. Support at lower-level remains needed
though, unfortunately, to cope with partial copying tools etc.
June 20, 2017, 15:55 (GMT)
WIP
June 20, 2017, 15:55 (GMT)
Cleanup: doxygen comments

Also remove duplicate & mismatching comments from grease-pencil header.
Keep comments close to implementation to avoid getting out of sync.
June 20, 2017, 15:55 (GMT)
Alembic tests: make failures a bit easier to diagnose.
June 20, 2017, 15:55 (GMT)
Fix T51840: UI redraw in node editor header missing on pointcache bake

Missing a notifier handler in the node editor
June 20, 2017, 15:55 (GMT)
Guarded allocator: Fix type in macro definition

The crash did not happen yet because we always had proper vmemh defined in
the parent scope.

Patch by Ivan Ivanov (aka obiwanus), thanks!

Differential Revision: https://developer.blender.org/D2715
June 20, 2017, 15:55 (GMT)
Fix compiler warnings from own recent rB0d5c7e5e36b9.
June 20, 2017, 15:55 (GMT)
Fix (unreported) Dynamic Paint modifier not increasing ID usercount in copy function.

*Sigh* One more example of why we should keep ID management handling in
as few places as possible! It's impossible to keep more than a few
places in sync regarding which ID pointer is refcounted etc.
June 20, 2017, 15:55 (GMT)
Fix unreported: Copy-pasting nodes crashes when they have an undefined type
June 20, 2017, 15:55 (GMT)
Use for/else instead of setting 'ok' variable.

This is more efficient, and this use case is exactly what the else clause
is for.
June 20, 2017, 15:55 (GMT)
Fix (unreported) bad copying code of Surface Deform modifier.
June 20, 2017, 15:55 (GMT)
Fix T51762: Unit test script_alembic_import is failing.

Implemented workaround for use with the legacy depsgraph.
June 20, 2017, 15:55 (GMT)
Docs: Fix file:line links in generated API docs
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021