Revision f5e020a by Campbell Barton July 14, 2016, 07:30 (GMT) |
PyAPI: fix memory leaks in dictionary assignment Thanks to K�vin Dietrich for spotting driver leak, checked other uses of PyDict_SetItem and found more. |
Revision cca57bf by Campbell Barton July 14, 2016, 05:51 (GMT) |
PyAPI: Use module names on initializaton No need to re-convert from C strings to PyUnicode. |
Revision 0690895 by Germano Cavalcante July 14, 2016, 03:47 (GMT) |
Improves the accuracy of snap to edges Recently the snap to edges has been changed to work with coordinates 2d. Thus, the lambda of the snap pointon on edge becomes different from the actual lambda in a 3d edge. The solution to correct the lambda was this: ``` if (is_persp) { const float fac = depth_a / (depth_a + depth_b); lambda *= (1.0f + (fac - 0.5f) * (1.0f - lambda)); ```` ... But the lambda was still not very accurate. Now the function uses the `dist_squared_ray_to_seg_v3` to get the coordinate of the snap point on the edge. And then tests that point. The accuracy returned to normal values. |
Revision 6771165 by Campbell Barton July 14, 2016, 03:37 (GMT) |
Cleanup: style |
Revision 1b8e7b5 by Campbell Barton July 14, 2016, 03:28 (GMT) |
Use BLI_endian_switch in dna_genfile |
Revision b014f03 by Germano Cavalcante July 14, 2016, 03:02 (GMT) |
Simplify snapping functions from D2104: reference all repeated (and strange) equations (example: mul_m4_m4m4(pmat_local, pmat, obmat)) in the function `precalc_project. This is useful for maintenance. |
Revision 743f931 by Campbell Barton July 14, 2016, 01:12 (GMT) |
Revision 91bda21 by Kévin Dietrich July 13, 2016, 22:24 (GMT) |
Fix T48845: Crash when right-clicking on a curve property Caused by typo in rBd2312602125a452e6562a76ab91779943c67396d |
Revision 029de80 by Sergey Sharybin July 13, 2016, 13:00 (GMT) |
Fix T48734: Driver not updating when using Single From Driver within same object |
Revision afe954e by Campbell Barton July 13, 2016, 12:24 (GMT) |
Fix T48839: Selection from pose mode gives wrong snap results Current code changes the selection then then runs ED_armature_sync_selection to copy to the bones rootsel flag from the parents tipsel. Use this logic for entering edit-mode too. |
Revision 2aa0569 by Campbell Barton July 13, 2016, 09:55 (GMT) |
Boolean Modifier: Add back BMesh option There are still issues with overlapping geometry, however some of the issues reported are are causing problems, or fail entirely with Carve too. |
Revision 95b1cf6 by Sergey Sharybin July 13, 2016, 08:55 (GMT) |
Depsgraph: Make proxy behavior closer to old depsgraph Fixes possible missing update of proxy_from pointer before using it in relations builder. |
Revision c0d8166 by Sergey Sharybin July 13, 2016, 08:41 (GMT) |
Revert "Depsgraph: Russian electric tape bodge to have multiple proxies work" This reverts commit 47d0d9cca4d0c3ccbdc368e97fc24652379fd368. Reverting the commit. Not only it did not solve all the cases of proxy popping, but also broke real cases with single proxy involved. |
Revision 527674b by Sergey Sharybin July 13, 2016, 08:07 (GMT) |
Depsgraph: Accumulate object layers from all bases This solves bug when same object is instanced from multiple bases. |
Revision 8939787 by Campbell Barton July 13, 2016, 04:44 (GMT) |
Use BLI_bvhtree_walk_dfs for snapping The snapping functions when performed in the perspective view, have some problems in the threshold (a distortion) and in the clip plane (the normal is incorrect). These problems can be only observed when making the snap to edges or to vertices (nearest to ray function). This patch propose a totally different solution. The idea is to project the edges of bvh nodes and test the 2d projection of the snap element. For this it used the BLI_bvhtree_walk_dfs function. It is important to pay particular attention also to the changes in `ED_transform_snap_object_project_view3d_ex` |
Revision 7a633d7 by Campbell Barton July 13, 2016, 03:57 (GMT) |
Revision eb04908 by Bastien Montagne July 12, 2016, 19:11 (GMT) |
Fix 48831, Step II: UI icon code was not able to update/generate 'auto ID icon' from non-ID icon draw code. Now using generic icon rendering system in that case too, instead of custom code which was only handling 'deferred' custom file-loaded icons. |
Revision 51812fb by Bastien Montagne July 12, 2016, 19:11 (GMT) |
Fix 48831, Step I: Mismatch issues bewteen ID icon and preview system. - icon_id from ID and PreviewImage were not guaranteed to be in sync. - PreviewImage one was not reset on file read. - Through RNA e.g., it was possible to ensure an ID icon via its preview image, which was running code designed for custom previews/icons system, instead of generating correct 'auto ID icon'. |
Revision 5fae250 by Sergey Sharybin July 12, 2016, 15:38 (GMT) |
Revert "OpenJPEG: update to 2.1 from 1.5" This reverts commit f12204196fb1ee985ab9745cf9c70877601145f9. Campbell, sorry. have to revert this for the time being. We've missed some very important bits, such as: - FFmpeg is usually linked against OpenJPEG - OIIO needs OpenJPEG as well. For FFmpeg issues we can either disable OpenJPEG there (since we don't really use it), or bump FFmpeg to version 3.1.1 which can use either of OpenJPEG 1.5 or 2.1. For OIIO we do need OpenJPEG support (otherwise Cycles will not be able to use j2k/j2c textures) and currently there is NO solution to make OIIO working with OpenJPEG 2.1. According to Matthias Fauconneau (aka mfv) Larry is working on the patch to get OIIO work with OpenJPEG 2.1, but it'll take some time still. I've tried to look into support of some sort of build system flag and do ifdefs, but it all becomes quite nasty, especially with bundled OpenJPEG bumped to 2.1. Surely such an update is something we'll have to apply to but at this exact moment it causes quite some pain for all developers. Suggest to wait for until OIIO supports OpenJPEG 2.1 and then go with the updates for real. |
Revision 51b274a by Sergey Sharybin July 12, 2016, 13:41 (GMT) |
Fix T48818: Objects with alpha maps cast wrong ray shadows in BI |
|
|
|


Master Commits
MiikaHweb | 2003-2021