Revision a928a9c by Kévin Dietrich January 31, 2017, 06:00 (GMT) |
Revision d07e241 by Germano Cavalcante January 31, 2017, 02:49 (GMT) |
Fix bug not reported: Ruler/Protractor: Snap to vertices and edges was not considering the depth variation Taking advantage of the area, the depth is decreased 0.01 BU to each loop to give priority to elements in order: Vertice > Edge > Face. This increases the threshold and improves the snap to multiple elements |
Revision b841d60 by Germano Cavalcante January 31, 2017, 01:49 (GMT) |
Snap System: Return depth by snapping to edges and vertices, because the Ruler only works right this way The Ruler snaps to the element with the lowest depth. |
Revision a50b173 by Germano Cavalcante January 31, 2017, 01:27 (GMT) |
Use the same solution to test the pixel distance to the AABB, with BoundBox The previous solution took arbitrary values to determine if the mouse was near or not to the Bound Box (it simply scaled the Bound Box). Now the same function that detected the distance from the BVHTree nodes to the mouse is used in the Bound Box |
Revision 4e10253 by Tamito Kajiyama January 31, 2017, 00:08 (GMT) |
Freestyle: Use of the Fill Range by Selection operator in the mesh edit mode. This revision extends the functionality of the "Fill Range by Selection" button in the "Distance from Camera/Object" modifiers so that only selected mesh vertices in the edit mode are taken into account (instead of considering all vertices when in the object mode) to compute the min & max distances from the reference. This will give users much finer control on the range values. |
Revision bc4aeef by Bastien Montagne January 30, 2017, 21:33 (GMT) |
Make 'make local' twice quicker. Use new Main->relations ID usages mapping in BKE_library_make_local(). This allows a noticeable simplification in code, and can be up to twice quicker as previous code (Make Local: All from 2 to 1 minute e.g. in a huge production file with thousands of linked data-blocks). Note that new code has been successfuly tested with several complex cases (production files from Agent327), as well as some testcases from recent bug reports related to that function. But as always, nothing beats real usage by real users, so please check this before we release 2.79. ;) Main areas that would be affected: Make Local operations (L shortcut in 3DView), and append from libraries. |
Revision eadfd90 by Bastien Montagne January 30, 2017, 21:33 (GMT) |
Optimization: pass Main to BKE_library_foreach_ID_link() and use its relations. Use Main->relations in BKE_library_foreach_ID_link(), when possible (i.e. IDWALK_READONLY is set), and if the data is available of course. This is quite minor optimization, no sensible improvements are expected, but does not hurt either to avoid potentially tens of looping over e.g. objects constraints and modifiers, or heap of drivers... |
Revision fbd28d3 by Bastien Montagne January 30, 2017, 21:33 (GMT) |
Fix missing non-ID nodetrees in ID relationships built from library_query.c This shall fix both existing code (bpy mapping, and local/lib usages checks), and new Main->relations generation. |
Revision 4443bad by Bastien Montagne January 30, 2017, 21:33 (GMT) |
Add optional, free-after-use usages mapping of IDs to Main. The new MainIDRelations stores two mappings, one from ID users to ID used, the other vice-versa. That data is assumed to be short-living runtime, code creating it is responsible to clear it asap. It will be much useful in places where we handle relations between IDs for a lot of them at once. Note: This commit is not fully functional, that is, the infamous, ugly, PoS non-ID nodetrees will not be handled correctly when building relations. Fix needed here is a bit noisy, so will be done in next own commit. |
Revision 997a210 by Germano Cavalcante January 30, 2017, 21:30 (GMT) |
Fix T49632: Grease pencil in "Edit Strokes" mode: Snap tool did not snap points to active object A simple confusion between enums: ~SNAP_NOT_ACTIVE~ |
Revision 4580ace by Kévin Dietrich January 30, 2017, 09:46 (GMT) |
Alembic/CacheFile: fix crash de-referencing NULL pointer. |
Revision 62f2c44 by Sergey Sharybin January 30, 2017, 08:26 (GMT) |
Cleanup: Unused function and and variables in snap code Please doublecheck ED_transform_snap_object_project_ray_ex() is really valid, it's weird to have extra arguments here unused. |
Revision 505ff16 by Germano Cavalcante January 30, 2017, 05:49 (GMT) |
Snap System: BVH: ignore AABBs behind ray This provides a slight improvement in performance in specific cases, such as when the observer is inside a high poly object and executes snap to edge or vertex |
Revision 318ee2e by Germano Cavalcante January 30, 2017, 05:26 (GMT) |
Fix unreported bug: parameter ray_start repeated The bug would only be seen in terms of performance |
Revision 167ab03 by Germano Cavalcante January 30, 2017, 05:19 (GMT) |
Solve compilation error: Field has incomplete type 'enum eViewProj' Error reported by @tomjpsun Patch D2491 |
Revision cdff659 by Tamito Kajiyama January 30, 2017, 03:18 (GMT) |
Freestyle: Fix (unreported) wrong distance calculation in the Fill Range by Selection operator. Distance calculation performed by the "Fill Range by Selection" button of the "Distance from Camera" color, alpha and thickness modifiers was incorrect, limiting the usefulness of the functionality. The problem was that the distance between the camera and individual vertex locations was calculated in the world space, which was inconsistent with the distance calculation done by the modifiers in the camera space. |
Revision 6c23a1b by Germano Cavalcante January 29, 2017, 17:19 (GMT) |
Remove `BKE_boundbox_ray_hit_check` Remove `BKE_boundbox_ray_hit_check` since it is no longer being used and can be easily replaced by `isect_ray_aabb_v3_simple` |
Revision b99491c by Ray molenkamp January 29, 2017, 17:00 (GMT) |
[msvc] Set proper OpenSubdiv flags when not using find_package to find opensubdiv. Fixes T50548 |
Revision cf6ca22 by Germano Cavalcante January 29, 2017, 16:56 (GMT) |
New math_geom function `isect_ray_aabb_v3_simple` The new `isect_ray_aabb_v3_simple` function replaces the `BKE_boundbox_ray_hit_check` and can be used in BVHTree Root (first AABB). So it is much more efficient. |
Revision dead79a by Germano Cavalcante January 29, 2017, 16:13 (GMT) |
Rename func `set_SnapData` to `snap_data_set` Don't use CamelCase in functions and try to keep area affected first, and action last, in names |
|
|
|


Master Commits
MiikaHweb | 2003-2021