Revision 3a86873 by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) 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. |
Revision 44b1680 by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
WIP |
Revision 46af186 by Campbell Barton / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) 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. |
Revision 596c20c by Sybren A. Stüvel / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Alembic tests: make failures a bit easier to diagnose. |
Revision 5f67253 by Thomas Beck / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) 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 |
Revision 6493328 by Sergey Sharybin / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) 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 |
Revision 749a8da by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Fix compiler warnings from own recent rB0d5c7e5e36b9. |
Revision 77046ba by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) 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. |
Revision 7803105 by Lukas Stockner / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Fix unreported: Copy-pasting nodes crashes when they have an undefined type |
Revision b72ba5c by Sybren A. Stüvel / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) 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. |
Revision babc0c9 by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Fix (unreported) bad copying code of Surface Deform modifier. |
Revision d0af31b by Sybren A. Stüvel / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Fix T51762: Unit test script_alembic_import is failing. Implemented workaround for use with the legacy depsgraph. |
Revision d8de772 by Campbell Barton / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Docs: Fix file:line links in generated API docs |
Revision e61dbcd by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Fix T51774: Children particles hair interpolation not correct with textures or dp. Children where always getting at least one segment of fixed length... Now fully hidden ones (zero length) get no segment at all. Note that even very short ones keep getting one 'unit' length segment - would rather avoid changing that at this point, given how complex children particles 'length' can get with all kind of modifiers... Think we can live with that for now anyway. |
Revision f453008 by Campbell Barton / Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 20, 2017, 15:55 (GMT) |
Add Cone: tip soft-min should be zero Default value should be included in range. |
Revision 23941b4 by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 16, 2017, 08:48 (GMT) |
Add same new ID freeing API as copying one. Idea is the same, looks like it will be a tad simpler than with copy though, since we should not need to change each ID type freeing func, as ID usercount handling is done in main BKE_library code (would like to do that for copy as well, but it's not that simple). |
Revision 7edeccf by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 16, 2017, 08:48 (GMT) |
Fleshing a bit new copy logic (using Object datablock as Guinea pig). |
Revision 8d22d5a by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 16, 2017, 08:48 (GMT) |
Layout initial ideas/code structure of new ID copying. |
Revision fa64dfa by Bastien Montagne (asset-engine, asset-engine--archived, id_copy_refactor, id_override_static) June 16, 2017, 08:48 (GMT) |
On second thought, avoid adding new stuff to ID. We can extend ID->tag and store there our few alloc-related tags. |
June 14, 2017, 13:34 (GMT) |
Merge branch 'master' into asset-engine Conflicts: source/blender/blenloader/intern/readfile.c |
|