February 19, 2020, 11:56 (GMT) |
readfile: Move ID refcounting to libquery. Having that extra ID users handling at readfile level, besides generic one ensured by libquery, has been something bothering me for a long time (had to fix my share of bugs due to mismatches between those two areas). Further more, work on undo speedup will require even more complex ID refcount management if we want to keep it in readfile.c area. So idea is instead to generalize what we did for linked data already when undoing: recompute properly usercount numbers after liblink step, for all IDs. Note that extra time required here is neglectable in a whole .blend file reading (few extra milliseconds when loading a full production scene e.g.). Notes: * Some deprecated data (IPOs) are not refcounted at all anymore, this should not be an issue in pratice since the are supposed to get deleted after doversion anyway. * Refcounting happens after `do_versions_after_linking`, i.e those functions won't get valid ID usercounts currently. Again, this is not a problem in current code, if needed we could recompute refcount before, and then ensure `do_versions_after_linoiing()` actually handles properly usercount, which it does not currently. Differential Revision: https://developer.blender.org/D6881 |
February 19, 2020, 11:54 (GMT) |
Fix T68878: Update shapekeys during transformation Only use the hack in `key_block_get_data` for the bmesh shapekey. The remaining shapekeys can use the original offset values. Differential Revision: https://developer.blender.org/D6516 |
Revision dc0f53c by Bastien Montagne (id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 19, 2020, 11:49 (GMT) |
Merge branch 'master' into readfile-rework-refcount-handling |
February 19, 2020, 11:28 (GMT) |
Fix T73941: Custom normals from normal edit modifier ignored by further modifiers. This commit actually fixes several issues in this modifier, but main one from the report was caused by adding a `CD_NORMAL` layer to loops to store temp real clnors. Unless we plan on modifying the topology itself, this is useless, and would require some additional 'dirty normals' tagging to work properly, so just switched to simpler, cleaner solution of having a local array of computed clnors. |
February 19, 2020, 11:20 (GMT) |
move code to other function |
February 19, 2020, 11:10 (GMT) |
Fix T73938: Cycles Vertex Color wrong if no layer is specified The node would render black in this case (but should use the 'active_render' layer choosen in the object data properties -- this is now in line to how this is handled for e.g. UVs) This introduces ATTR_STD_VERTEX_COLOR and uses this thoughout, if no particular layer is specified in the node. Maniphest Tasks: T73938 Differential Revision: https://developer.blender.org/D6887 |
February 19, 2020, 10:53 (GMT) |
GPencil: Replace Palette sort buttons by Menu |
February 19, 2020, 10:52 (GMT) |
start extracting method to init a new node type |
February 19, 2020, 10:49 (GMT) |
Subdiv: Clarify Subdiv settings The actual naming might also be a subject to change, especially the one around `level`. Tricky part here is that at some point in the API there will be change from Blender modifier's Quality to OpenSubdiv's Level, but which API level is most suitable for this? At least now meaning of settings is better documented ans should be clear what's going on. |
February 19, 2020, 10:49 (GMT) |
Merge branch 'functions' into simulation-tree |
Revision 3b1c342 by Jacques Lucke (builtin-simulation-nodes, functions, particle-solver-dev, simulation-tree) February 19, 2020, 10:49 (GMT) |
improve copying StringRef to new buffer |
February 19, 2020, 10:41 (GMT) |
Fix make deps OSL build on some systems with Qt libraries |
February 19, 2020, 09:57 (GMT) |
Merge branch 'master' into greasepencil-object |
February 19, 2020, 09:51 (GMT) |
work towards defining a node in one file |
Revision b7b8399 by Bastien Montagne (id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 19, 2020, 09:30 (GMT) |
get rid of all remaining usage of `newlibadr_us` in readfile code. Old deprecated IPOs data-blocks are not refcounted at all anymore, however that should not be an issue since after doversion we get rid of them anyway. |
February 19, 2020, 09:18 (GMT) |
Merge branch 'functions' into simulation-tree |
Revision b45ae17 by Bastien Montagne (id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 19, 2020, 09:17 (GMT) |
Merge branch 'master' into readfile-rework-refcount-handling |
Revision 3fe710a by Jacques Lucke (builtin-simulation-nodes, functions, particle-solver-dev, simulation-tree) February 19, 2020, 09:17 (GMT) |
Merge branch 'master' into functions |
February 19, 2020, 09:07 (GMT) |
February 19, 2020, 04:07 (GMT) |
Cleanup: assign Main, use existing assignments Avoid accessing inline since it's often used multiple times. In some cases it was already defined. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021