February 20, 2020, 12:00 (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 20, 2020, 12:00 (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 |
February 20, 2020, 12:00 (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 20, 2020, 12:00 (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 20, 2020, 12:00 (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 20, 2020, 12:00 (GMT) |
Fix make deps OSL build on some systems with Qt libraries |
February 20, 2020, 12:00 (GMT) |
February 20, 2020, 12:00 (GMT) |
Cleanup: assign Main, use existing assignments Avoid accessing inline since it's often used multiple times. In some cases it was already defined. |
February 20, 2020, 12:00 (GMT) |
BLI_math: unify zero area checks for barycentric weight calculation This applies the change from T73348 fix to related functions. Instead of checking against an epsilon to avoid divide by zero, perform the division and check the result is finite. This is needed since small faces can have an area under 'FLT_EPSILON', and dividing by values close to zero can result in 'inf'. |
February 20, 2020, 12:00 (GMT) |
EEVEE: Color Ramp Ease Optimisation This patch provides an optimisation for Ease (Smoothstep) setting in the color ramp node. This optimisation exists already for Constant and Linear modes. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6880 |
February 20, 2020, 12:00 (GMT) |
DRW: New High Quality Normal & Tangent extract This patch adds a dedicated path to extract 16bit normals instead of packing them into 10bits/comp. The tangents are also packed to 10bits/comp if not using the new High Quality Normal option. Fix T61024 Degraded texture shading on dense meshes Reviewed By: brecht Differential Revision: https://developer.blender.org/D6614 |
February 20, 2020, 12:00 (GMT) |
GPU: Fix huge performance regression regarding instancing Under some circumstances, MultiDrawIndirect was disabled to improve perf. of average scene. But this conflicted with the normal instancing buffer filling if only 1 or 2 instances were needed to fill the buffer. All consecutive drawcalls could not be batched together and performance would degrade rapidly. This patch make my instance test scene go from 11fps back to 40fps where it should have been. |
February 20, 2020, 12:00 (GMT) |
GPU: Limit Mesa workaround to older version |
February 20, 2020, 12:00 (GMT) |
Modifiers: UVWarp modifier add invert vgroup option Adds the invert vgroup option to the UVWarp modifier. Adds a flag and char padding to the DNA. Differential Revision: https://developer.blender.org/D6841 |
February 20, 2020, 12:00 (GMT) |
Modifiers: Bevel modifier add invert vgroup option Adds the invert vgroup option to the Bevel modifier. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6845 |
February 20, 2020, 12:00 (GMT) |
Fix crash loading .blend file saved with Blender 2.25 pathJumper.blend from 2.25 release demo files in demos225.zip |
February 20, 2020, 12:00 (GMT) |
Modifiers: Explode modifier add invert vgroup option Adds the invert vgroup option to the Explode modifier. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6844 |
February 20, 2020, 12:00 (GMT) |
Fix Cycles fluid motion blur not working after recent refactor This also re-enables the fluid motion blur test. |
February 20, 2020, 12:00 (GMT) |
Sculpt: Update red cursor color Some users reported that the previous red color of the cursor was too saturated and that can be distracting. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6828 |
February 20, 2020, 12:00 (GMT) |
Modifiers: Laplacian Deform modifier add invert vgroup option Adds the invert vgroup option to the Laplacian Deform modifier. Differential Revision: https://developer.blender.org/D6843 |
|
|
|


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